I have the same problem! It just started today, even though I've never had problems in the past. I've tried a lot of different solutions, including uninstalling Spotify and reinstalling. All to no avail. It seems to be related to switching the audio source. I am using the "SRS Audio Control Panel" and switching between "HD Audio 2nd Output" (my head phones audio jack), and "Speakers". If I start Spotify with one of the options selected, it works just fine. But if I leave Spotify open and then switch, it will freeze Spotify and the current song locks into a 1 second loop. Strange that this just starts without warning. Someone, please help!
This happens on windows 10 as well. I discovered it when I got a new pair of headphones and wanted to quickly compare the sound quality. If I listen to a song with one pair, pause the song, plug in the new pair, and try to play the song again, Spotify stays frozen until I kill the process.
One workaround I've been using is to play a few seconds of the song using the speakers of my laptop (with both pairs disconnected) in between the headphones. Spotify doesn't freeze when I do that.
Same exact problem here. Also on Windows 7. I switched between back jack (speakers) and front jack (headphones) on Spotify for years at this point, and have never had a problem until very recently (most likely the most recent update). First noticed it today. Now any time I transition from one to the other, Spotify freezes up with 1 second loop of the current song and I have to kill via Task Manager. All my other programs have no difficulty switching back and forth.
I reviewed the rest of the replies on this thread. Reverting to version 18.104.22.1682 fixed this for me for the time being. Hopefully they fix it in future versions. So in the meantime you guys can try reverting.
If you want to disable auto update after installing 22.214.171.1242.g3d5c231c do the following steps:
1. create the folder Update in \Users\YOUR_USERNAME\AppData\Local\Spotify if it does not already exist
2. create two empty text files inside the folder and name them update.json and spotify_installer-TTTT.exe (no .txt at the end!, if a newer version is released you need to change the version number on the exe)
3. make the update folder and the two files read-only (via right-click -> properties)
replace TTTT with 126.96.36.199.gf6bc1b6b-12 (posts with the full installer name are blocked automatically)"