Plan
Premium
Country
Germany
Device
Lenovo ThinkPad P17 Gen2i
Operating System
Ubuntu Desktop 22.10 x64
App Version
spotify-1:1.1.84.716-2
My Issue
Linux client freezes with a cpu load of 100% when pasting songs/URLs from the clipboard if the data contains empty lines or the very last line is terminated with a newline, i.e. an empty line after the list.
Steps to Reproduce
Observed Behaviour
The Spotify Desktop App becomes (mostly) unresponsive and the process produces a 100% load on that one single core where it is actually running. The app will never return and must be killed.
Expected Behaviour
When pasting ANY text data the app should parse that data for any valid URLs and add them to the playlist within a reasonably short amount of time without freezing. Copying a whole message from a WhatsApp or e-mail containing some URLs would be a common use case.
Additional Remarks
This behaviour is reproducible: After experiencing the problem on my desktop machine, I was able to reproduce exactly the same behaviour on a blank machine by installing the operating systen, the desktop app and following the steps mentioned above. Deleting ~/.cache/spotify and/or ~/.config/spotify or reinstalling the application also did not help.
Please fix.
Thank you.
Ralf
I'm on Arch Linux and I confirm this. I've had this issue for more than a year at this point.
I've tried all installation methods: spotify-launcher, official snap and AUR. I tried removing configuration and cache. Nothing helped. I'm pretty sure this is the first mention I've found of this exact bug.
In my case, this doesn't significantly add CPU load, but some apps like Telegram and Slack also end up freezing. They all unfreeze after a minute or two.
The issue does seem to be related to newline characters, however for me it's not necessary to manipulate tracks in a text editor after copying from Spotify client to reproduce this. It gets pasted fine after I pass the copied links through the text editor.
Another Arch user also reproduced the issue. You can also find my log in that thread. This forum filters my post when I post it for some reason.
https://bbs.archlinux.org/viewtopic.php?pid=2086959#p2086959
App version 1.84.716.gc5f8b819-2
Hey there you, Yeah, you! 😁 Welcome - we're glad you joined the Spotify Community! While you here, let's have a fun game…