Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 665696 - media-sound/spotify-1.0.88-r1 segfaults when trying to play music
Summary: media-sound/spotify-1.0.88-r1 segfaults when trying to play music
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-11 10:23 UTC by Chris Henhawke
Modified: 2019-05-01 12:25 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Henhawke 2018-09-11 10:23:53 UTC
media-sound/spotify-1.0.88-r1 segfaults when trying to play music

[3071510.553860] Core Thread[18113]: segfault at 0 ip           (null) sp 00007f6d827f3a38 error 14 in spotify[3ff000+1000]                                                                               │··································
[3071550.248997] Core Thread[18731]: segfault at 0 ip           (null) sp 00007efd9b7f5a38 error 14 in spotify[3ff000+1000]                                                                               │··································
[3071581.908824] Core Thread[19377]: segfault at 0 ip           (null) sp 00007f0a36ff4a38 error 14 in spotify[3ff000+1000]                                                                               │··································
[3071613.531745] Core Thread[19906]: segfault at 0 ip           (null) sp 00007fb264ff0a38 error 14 in spotify[3ff000+1000]                                                                               │··································
[3071887.454403] Core Thread[21571]: segfault at 0 ip           (null) sp 00007fcfa6ff4a38 error 14 in spotify[3ff000+1000]                                                                               │··································
e[3072139.665777] Core Thread[23556]: segfault at 0 ip           (null) sp 00007f4408ff0a38 error 14 in spotify[3ff000+1000]  

https://forums.gentoo.org/viewtopic-t-1086362-highlight-.html believes this issue is related to curl, but even if its not, confirms a possible issue in spotify.
Comment 1 Nikos Chantziaras 2018-09-13 18:26:20 UTC
Have you tried deleting the cache? Quit Spotify, delete the cache, and try again.

rm -rf ~/.cache/spotify
Comment 2 Chris Henhawke 2018-09-13 18:28:44 UTC
Yes this is not a cache problem.  I even deleted .config/spotify to start with a clean state.
Comment 3 Nikos Chantziaras 2018-09-13 18:39:58 UTC
1.0.88 was just deleted from the Spotify servers and replaced with 1.0.89. I opened a GitHub PR for it, but you could probably do a simple bump in your local overlay to see if the new version fixes this.
Comment 5 Chris Henhawke 2018-09-13 19:01:50 UTC
Didn't work for me sadly.
Comment 6 Nikos Chantziaras 2018-09-13 19:08:24 UTC
The thread you linked to seems to suggest that it crashes with ALSA, but works fine with pulseaudio. It also suggests that 1.0.80 might work fine.
Comment 7 Vincent Le Ligeour 2018-09-17 17:00:31 UTC
Confirmed here, 1.0.89 is crashing (with cache cleaned), just downgrading to 1.0.80 fixes the problem.
Comment 8 Tomasz Golinski 2018-10-02 10:15:49 UTC
It also crashes for me with 1.0.89, but 1.0.80 works fine. I'm using alsa. Removing cache didn't do the trick.
Comment 9 Andreas Fink 2018-10-09 19:44:31 UTC
I have the same problem. I think it is alsa related, because starting it with a fake pulseaudio setup it works, i.e. running it with "apulse spotify" will make it play music again.
Comment 10 Tomasz Golinski 2018-10-29 19:21:38 UTC
Apparently the version 1.0.92 is unaffected, at least for me :)
Comment 11 Chris Henhawke 2018-10-29 19:33:33 UTC
All good here as well.
Comment 12 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2018-10-30 05:01:47 UTC
closing for now then
Comment 13 Tomasz Golinski 2019-02-10 13:46:27 UTC
The version 1.0.98 is broken again, segfaults when trying to play with:

[ 6434.325375] Core Thread[23281]: segfault at 0 ip 0000000000000000 sp 00007f0f517f3138 error 14 in spotify[1ff000+1000]
[ 6434.325381] Code: Bad RIP value.

Regretfully, older versions were pruned from portage so it is not possible to downgrade.
Comment 14 Nikos Chantziaras 2019-02-10 16:57:38 UTC
(In reply to Tomasz Golinski from comment #13)
> Regretfully, older versions were pruned from portage so it is not possible
> to downgrade.

It is not possible to keep them since they are being deleted in the upstream server:

http://repository.spotify.com/pool/non-free/s/spotify-client/

So even if you had the older ebuild, it would not be able to download the older version, as it doesn't exist anymore.

My recommendation is to create a local binary package of spotify before upgrading it:

quickpkg spotify

Too late now, of course. But something to keep in mind when upgrading packages where you want to easily be able to revert back.
Comment 15 Tomasz Golinski 2019-02-10 17:00:48 UTC
I noticed that. Luckily I had version 1.0.96 still in my distfiles so I was able to downgrade by grabbing old ebuild from git. This one works fine for me.
Comment 16 Tomasz Golinski 2019-02-15 16:34:43 UTC
FWIW spotify-1.1.0 also segfaults for me.

I don't know if it is reasonable to open a new bug for each new release or to reopen this one.
Comment 17 Chris Henhawke 2019-02-16 13:31:59 UTC
1.1.0 seems to be working here okay, local files too.
Comment 18 Tomasz Golinski 2019-05-01 12:25:21 UTC
For reference: 1.1.5 still crashing for me on ALSA but works fine with apulse.