Linux Client crashing (segfault) on certain songs

Reply

Re: Linux Client crashing (segfault) on certain songs

docsmooth
Gig Goer

 @jooon:

16:03 rob@kubuntu5:~/stuff$ pbrun dpkg-query -l spotify-client
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                     Version                   Architecture              Description
+++-========================================-=========================-=========================-======================================================================================
ii  spotify-client                           1:1.0.17.75.g8f111100     amd64                     Spotify streaming music client

 
Today crashed on a track in my Discover Weekly.
@spotifycares said to upload the corefile to the security team.  If that sounds good, i'll get it over tonight or tomorrow morning (or if they confirm separately).

Missing my hotkeys in the browser player. :(
I work: IT Security. I travel: weekly for work. I am: human. I don't consider you a Social Media Expert until you can find me on freenode.

Re: Linux Client crashing (segfault) on certain songs

the_paya
Newbie

Having the exact same issue, here's an in-place stacktrace obtained by running the spotify client through valgrind:

 

14:19:08.930 D [gaia_manager.cpp:1636           ] GAIA: GaiaManager::becomeActiveDevice, isActiveDevice=false
14:19:09.019 D [gaia_manager.cpp:853            ] GAIA:   current state ID updated to -670830710
==15136== Thread 18 Core Thread:
==15136== Invalid read of size 1
==15136==    at 0x3000018740: index (in /lib64/ld-2.21.so)
==15136==    by 0x3000013371: dl_open_worker (in /lib64/ld-2.21.so)
==15136==    by 0x300000EFE3: _dl_catch_error (in /lib64/ld-2.21.so)
==15136==    by 0x3000012DB2: _dl_open (in /lib64/ld-2.21.so)
==15136==    by 0x3001200FD8: dlopen_doit (in /lib64/libdl-2.21.so)
==15136==    by 0x300000EFE3: _dl_catch_error (in /lib64/ld-2.21.so)
==15136==    by 0x3001201588: _dlerror_run (in /lib64/libdl-2.21.so)
==15136==    by 0x3001201070: dlopen@@GLIBC_2.2.5 (in /lib64/libdl-2.21.so)
==15136==    by 0xF1A6A8: ??? (in /opt/spotify/spotify-client/spotify)
==15136==    by 0xF0EF0B: ??? (in /opt/spotify/spotify-client/spotify)
==15136==    by 0xF05DE9: ??? (in /opt/spotify/spotify-client/spotify)
==15136==    by 0xF1B6BF: ??? (in /opt/spotify/spotify-client/spotify)

I wish I could get the arguments to dlopen from the coredump but the stack is trashed and can't get the symbols right.

-. wherever you go, there you are .-

Re: Linux Client crashing (segfault) on certain songs

docsmooth
Gig Goer
@the_paya I was able to securely send them an actual core file, a little less than 2 weeks ago - I'll ping that contact to see if there's any update.
I work: IT Security. I travel: weekly for work. I am: human. I don't consider you a Social Media Expert until you can find me on freenode.

Re: Linux Client crashing (segfault) on certain songs

docsmooth
Gig Goer
Security guy said they'd take a look, then went silent again. I'm still getting crashes today, most recently with both Plush and "Dead & Bloated" from the STP artist page, and Core album page, respectively. ii spotify-client 1:1.0.19.106.gb8a715 amd64 Spotify streaming music client Also, all local files cause a crash. Using my Nvidia graphics card rather than my i915 card doesn't help either.
I work: IT Security. I travel: weekly for work. I am: human. I don't consider you a Social Media Expert until you can find me on freenode.

Re: Linux Client crashing (segfault) on certain songs

docsmooth
Gig Goer

@jooon wrote:

Can you check if you can reproduce the crashes with 1.0.16 that was just released?


Still having issues today with:
ii spotify-client 1:1.0.19.106.gb8a7150f amd64 Spotify streaming music client
Any update, anything I can do to help troubleshoot? Did you get the core from the security team, or could I send a new one to you securely and directly? (I have a secure send system called Leapfile, and can PM the download info to you, if that would help).
I work: IT Security. I travel: weekly for work. I am: human. I don't consider you a Social Media Expert until you can find me on freenode.

Re: Linux Client crashing (segfault) on certain songs

docsmooth
Gig Goer
Bumping my own thread. I crashed today on Alice in Chains' Down in a Hole. spotify:track:5i8XTQ4f48NY67mEFOsjVn Can you guys send me some debug symbols or source code, so I can help solve this already?
I work: IT Security. I travel: weekly for work. I am: human. I don't consider you a Social Media Expert until you can find me on freenode.

Re: Linux Client crashing (segfault) on certain songs

docsmooth
Gig Goer
Hey, guess what crashed today?


Spotify!

$ sudo dpkg-query -s spotify-client
Package: spotify-client
Status: install ok installed
Priority: extra
Section: sound
Installed-Size: 169286
Maintainer: Spotify <tux@spotify.com>
Architecture: amd64
Version: 1:1.0.19.106.gb8a7150f
I work: IT Security. I travel: weekly for work. I am: human. I don't consider you a Social Media Expert until you can find me on freenode.

Re: Linux Client crashing (segfault) on certain songs

docsmooth
Gig Goer

$ sudo dpkg-query -s spotify-client Package: spotify-client Status: install ok installed Priority: extra Section: sound Installed-Size: 181276 Maintainer: Spotify Architecture: amd64 Version: 1:1.0.23.93.gd6cfae15-30

 

Playing: https://open.spotify.com/track/5bxubYHAwnNxLt2XdpEjwf

gdb session:

Program received signal SIGSEGV, Segmentation fault.

[Switching to Thread 0x7fffd5be0700 (LWP 15036)]

strchr () at ../sysdeps/x86_64/multiarch/../strchr.S:32 32 ../sysdeps/x86_64/multiarch/../strchr.S: No such file or directory.

(gdb)

(gdb) generate-core-file ~/stuff/spotify.core

warning: Memory read failed for corefile section, 8192 bytes at 0x7ffff7ff8000.

Saved corefile /home/rob/stuff/spotify.core

 

Also have the "thread apply all bt" in a script output. Would love to send this to someone. :/

I work: IT Security. I travel: weekly for work. I am: human. I don't consider you a Social Media Expert until you can find me on freenode.

Re: Linux Client crashing (segfault) on certain songs

Stephen304
Casual Listener
I'm also getting a segfault on arch linux. I can't even open spotify, just a grey screen for a bit until it segfaults. I hope this can be fixed soon, it was working great a couple versions ago.

Re: Linux Client crashing (segfault) on certain songs

Dreadlord
Community Legend

Hey @Stephen304,

 

I don't have access to my Linux machine atm, but can you try to find out where is the Russian localization and remove it?

It should be something like ru.mo and you should be able to find it somewhere in /home/user./config/Spotify.

 

 

If this solved your issue - Mark it as a solution!
Twitter | Website |
What's a Spotify Rock Star, and how do I become one?



SUGGESTED POSTS