Spotify crashes in Linux under Wine

I have been using Spotify on Linux for quite a while now, under Wine. Suddenly it decided not to work a any more.  I was getting the following error when trying to run the new 0.6.2 version.  “The program Spotify.exe has encountered a serious problem and needs to close.”

Trying to run it from the command line showed me yet another error message: “wine: Unhandled page fault on read access to 0x00000068 at address 0x7bc368b5 (thread 0042), starting debugger…”

UPDATE: Please first try the WinHTTP.dll fix posted by Nick in the comments section.

My simple solution: After searching in various forums and blogs and trying a myriad of  “fixes” that took me nowhere. The simplest answer I found was to remove the Spotify app from Facebook. I can now listen to my Spotify  play lists on my Open SUSE Linux. It does mean that you will be without the Facebook integration, which for me is not a big deal.

To delete Spotify from your Facebook account go to Privacy Setting >> Apps and Websites >> edit (Spotify) >> remove application

Spotify does have a Linux version of its software, which is currently in preview version and only available for Debian/Ubuntu  paid subscribers.  On their website they said: “As we haven’t found a reliable way to display ads yet, this version (Linux Preview) is only available to Spotify Premium and Unlimited subscribers. ”  Fair enough I would say…

Technorati Tags: , , , , , , , , ,

Leave a comment ?

34 Comments.

  1. Worked like a charm! Joli OS (Ubuntu-based) Linux!

  2. Hey! I managed to fix my crashing problems by downloading winhttp.dll (From any site, google it.), and extracting that to Windows32 through the C Drive. Then, go to wine config and add an exception under the library tab for winhttp. Spotify worked great for me after doing this, having the only problems that it doesnt show facebook names or pictures, and playlists made on your account on another computer are hidden in the Windows Media PLayer tab, but are still there.
    You’re Welcome!

    • I tried this fix under OpenSUSE, it did show my friends list but still crashed Spotify. What Linux distro are you running and what version of Spotify? My Wine is “emulating” Windows 7, so I copied winhttp.dll from a Windows 7 machine. Any ideas? Thank you!

    • The DLL replacement worked fine on Ubuntu 11.04 & Wine 1.3 (PPA). Thanks a lot !

    • I have now update OpenSUSE to 12.1 and the winhttp.dll fix work perfectly. Thank you Nick. I will also update the post.

    • More info: on Open SUSE 12.1 I downloaded the WinHTTP.dll from http://www.dll-files.com/dllindex/dll-files.shtml?winhttp unziped and copied it to

      /home/’your user name’/.wine/drive_c/windows/system32

      Installation:

      1. open Applications/Configure wine
      2. click on Library
      3. under “New override for Library” find and select winhttp, click add, then ok
      4. restart Spotify.

      If the “Connect to Facebook” pop-up fails to work, just connect to Facebook via http://spotify.com and restart Spotify after that.

      • I’m also using the most recent version of wine, spotify and opensuse, and my spotify won’t work. Tried your hints but no luck. Any idea? I have the backtrace if you need it.

        • In my case it was helpful in the end to change the Version of Windows in the Wine Configuration. It was set to Windows 7, but it worked better as XP. Also I removed the access to Facebook and then tried the winHTTP fix, only then re-enabled FB.

          • I have tried all of those and it still crashes when starting. If I do the winhttp thing, it says “WINHTTP.dll cannot be found” or something… can’t disable FB because I can’t login.

            • I don’t find a reason why it’s not working. Using opensuse 12.1, now also tried with wine 1.2, but it behaves the same…

              • @Rolle. Do not use the winhttp.dll from the link above, which is a windows 7 dll. Use a native windows xp winhttp.dll, set your wine windows version to windows xp and you´re good to go. At least it worked for me.

  3. Awesome. You made my day.

  4. great man, works well on fedora14

  5. amazing fix for sure worked on ubuntu 10.04 lts you guys rock

  6. Thank you!
    Worked perfectly on PclinuxOS!

  7. for me only worked with a native windows xp winhttp.dll, not with the one from the website you mentioned (which is windows 7).

  8. It worked on Ubuntu 11.10 but then I get a popup from Spotify about Facebook which is gray and cant be clicked away. I hope anyone has a solution for this..

  9. I googled around a bit and found that the linux version is working with the free account. Still when adds pop up I cannt click them away. A temporary solution for this which I found on another forum is to select the music you want to play and switch to the tap ´what´s new´. The adds won´t show up in the ´what´s new´ section. Now waiting for an upgrade.

  10. I installed Spotify using winetricks so to update the .dll file you also need to use Winetricks.

    open winetricks -> Select spotify (Spotify – All the music, all the time) –> hit OK -> Click Install a Windows DLL or component –> hit OK –> Scroll all the way down to winhttp and select and hit OK.

    Also you might need to tell it to run in windows xp in winetricks by going to “Change settings” instead of “Install a Windows DLL or component” Once your in change setting scroll ALLLL the way down to the bottom and select winxp and hit OK.

    This got it working for me using ubuntu 11.10 (just downloaded a week ago) and using winetricks.

  11. There is some weird window. I was able to work around by killing the window manager (in KDE, “killall kwin”) and then closing the spotify dialogs. After that, I ran kwin again (“kwin &”), and seems to work now. In Ubuntu, you probably should be able to replace the “kwin” with “unity”, but I have not tested that, so don’t try that if you have any unsaved work, because it might cause your log-in session to go haywire…

    Also, for me, only the alternative version from dll-files.com worked, and I had to set the library to (native, builtin) from winecfg – although I think that might be the default value anyway.

  12. Rutger, your comment was the most helpful. Yes, the preview version works perfect with free account, despite what mentioned on spotify.com

  13. I also had this problem, and took the suggestion to disable connection to facebook. After that it no longer crashed on start, but using the search function will still crash spotify.

  14. works incredibly well on openSuSe 12.1 !!!

  15. Sweet, I was having this problem on Ubuntu, the DLL fix worked. Thanks!

  16. Nice, I already had winhttp and added the exception — this seems to have stopped the crash I was experiencing.

  17. :grin: Great work my friend, works like a charm !

  18. Thanks very much for this valuable piece of information! I removed the Spotify from Facebook, and suddenly Spotify stopped crashing!

  19. Thanks for the post. It worked like a charm after i added the XP version of winhttp.dll
    P.S. Running on Ubuntu 10.04

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>