http://bugs.winehq.org/show_bug.cgi?id=29750
Jan-Peter Nilsson peppe@bsnet.se changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |peppe@bsnet.se
--- Comment #2 from Jan-Peter Nilsson peppe@bsnet.se 2012-02-18 04:27:15 CST --- Hi
With a recent update of Spotify I also hit this problem.
After some debugging it turns out that the reason is that Spotify have started sending queries to api.facebook.com and the winhttp callbacks RESOLVING_NAME/NAME_RESOLVED/CONNECTING_TO_SERVER/CONNECTED_TO_SERVER does not contain the context given to WinHttpSendRequest(). So instead of the expected context value Spotify gets 0 and tries to use that.
Setting request->hdr.context directly in WinHttpSendRequest() resolves the problem for me.
Based on the traces it seems likely that a few other Spotify bugs share the same root cause. Bug 29784 - Spotify collapse at starting Bug 27476 - Spotify Crashes On Log In Bug 27820 - Spotify 0.5.44 crashes when the contact list is displayed Bug 27742 - Spotify: Random Page Faults
I am however not seeing those bugs myself, probably due to having an old Spotify account that is not connected to facebook.