Type in your question below and we'll check to see what answers we can find...
Loading article...
Submitting...
If you couldn't find any answers in the previous step then we need to post your question in the community and wait for someone to respond. You'll be notified when that happens.
Simply add some detail to your question and refine the title if needed, choose the relevant category, then post.
Before we can post your question we need you to quickly make an account (or sign in if you already have one).
Don't worry - it's quick and painless! Just click below, and once you're logged in we'll bring you right back here and post your question. We'll remember what you've already typed in so you won't have to do it again.
Please see below the most popular frequently asked questions.
Loading article...
Loading faqs...
Please see below the current ongoing issues which are under investigation.
Loading issue...
Loading ongoing issues...
- Kubuntu 15.04 64-bit (Ubuntu KDE) Fresh build, Lenovo T430. Custom or default kernel.
- Premium user.
-ii spotify-client 1:1.0.14.124.g4dfabc51 amd64
- Spotify crashes when loading certain songs, always on the same songs. For example, when loading the copy of AC/DC Back in Black from the "Workday: Rock Classics" playlist: https://open.spotify.com/track/08mG3Y1vljYA6bvDt4Wqkj (playlist: https://open.spotify.com/user/spotify/playlist/3ChGYhKK8R2PM1pb7xNvNp )
- To reproduce: Load the playlist, click "play". Or double-click on the first song. My "Starred" playlist crashes on the first song too. HOWEVER, it's not just "the first song in any playlist", it's specific songs. If I double-click another song, but am playing the playlist in random or repeat mode, when one of the problem tracks loads, Spotify crashes.
I followed the troubleshooting steps to make sure music plays via asound and other apps fine.
Then I cleared my spotify cache by running "rm -Rf .cache/spotify".
Then I did a purge uninstall (in aptitude) of spotify, and reinstalled it.
Then I tested, and saw crashes still.
I have no problems playing these songs on PS4 or Android clients.
STDOUT and STDERR joined log attached. I can generate a core file as well, but it's not very useful to me. Also have a webex account if someone wants to view/troubleshoot on my system if it's hard to reproduce.
@jooon:
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.
Still having issues today with:
@jooon wrote:Can you check if you can reproduce the crashes with 1.0.16 that was just released?
ii spotify-client 1:1.0.19.106.gb8a7150f amd64 Spotify streaming music clientAny 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).
$ 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. 😕
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.
There doesn't seem to be any .mo files in .config/spotify. I also tried searching my whole home directory for ru.mo and found nothing.
I used:
find $HOME | grep -E "[rR][uU]\.[mM][oO]$"
And it found the 2 test files I created in my home directory, as well as localizations in other code I work on with varying cases. Other than those, no results.
https://open.spotify.com/track/6kjlvJLh2DBsSQtqVzFh8I crashed me today running the latest update. Also, I'm running on my laptop today from South Africa, so it's not unique to my network. When I get back, I'll finish fixing my lab laptop, and try on that one, to remove the system variable.
$ sudo dpkg-query -s spotify-client
Package: spotify-client
Status: install ok installed
Priority: extra
Section: sound I
nstalled-Size: 182420
Maintainer: Spotify <tux@spotify.com>
Architecture: amd64
Version: 1:1.0.24.104.g92a22684-29
And again on https://open.spotify.com/track/0CoPoNohPHCjvggWHlxgk5 while I was writing this up.
Upgraded laptop to Ubuntu 16.04, still getting arbitrary crashes:
11:19 rob@kubuntu5:~$ sudo dpkg -s spotify-client
Package: spotify-client
Status: install ok installed
Priority: extra
Section: sound
Installed-Size: 189252
Maintainer: Spotify <tux@spotify.com>
Architecture: amd64
Version: 1:1.0.29.92.g67727800-21
Depends: libasound2, libcurl3, libgconf-2-4, libgtk2.0-0, libglib2.0-0, libgcrypt11 | libgcrypt20, libnss3, libudev1, libx11-6, libxtst6
Recommends: libavcodec54 | libavcodec-extra-54, libavformat54
Suggests: libnotify
Description: Spotify streaming music client
License: https://www.spotify.com/legal/end-user-agreement
Vendor: Spotify AB
Homepage: https://www.spotify.com
11:19 rob@kubuntu5:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="Ubuntu 16.04 LTS"
Confirming the issue on my machine with Ubuntu 16.04.
Everything worked fine and stable until an hour ago and suddenly several titles segfaulted the spotify-client reproducably.
Clearing ~/.cache/spotify did not change anything
Clearing ~/.config/spotify did
It's working fine again now, but i wonder what caused the issue
Okay, i was just fiddling with local files when it happened again. At least the segfaults on my machine seem to be related to some of the local mp3s.
After deleting the ~/.config/spotify directory the "local-files.bnk" was obviously gone and spotify streamed the title i was having issues with before. After adding the local files to spotify again it tried to use the local version of that title and crashed again.
Somehow the spotify-client is completely unable to play any of my local mp3s, while no other music player ever had problems with them.
PS: After reading Linux-Local-files-do-not-play-on-Ubuntu-14-04 I tried running spotify with the mentioned libraries from ubuntu precise in a separate directory specified by LD_LIBRARY_PATH and who would've thought? Local file playback is working again.
$ strings /usr/share/spotify/spotify | grep libav libavcodec.so.56 libavcodec.so.54 libavcodec.so.53 libavcodec.so.52 libavformat.so.56 libavformat.so.54 libavformat.so.53 libavformat.so.52
it seems the client knows about the newer libraries but causes segfaults on playback. The older versions work and seems to be preferred if available.
Wow...
11:38 rob@kubuntu5:~/stuff/spotify$ ll
total 3660
-rw-r--r--. 1 rob sysadmin 2912334 Mar 22 2012 libavcodec53_0.8.1-0ubuntu1_amd64.deb
-rw-r--r--. 1 rob sysadmin 495118 Mar 22 2012 libavformat53_0.8.1-0ubuntu1_amd64.deb
-rw-r--r--. 1 rob sysadmin 63446 Mar 22 2012 libavutil51_0.8.1-0ubuntu1_amd64.deb
-rw-r--r--. 1 rob sysadmin 269182 Feb 9 2012 libvpx1_1.0.0-1_amd64.deb
11:39 rob@kubuntu5:~/stuff/spotify$ for i in *.deb; do dpkg-deb -R $i ./
> done
11:40 rob@kubuntu5:~/stuff/spotify$ LD_LIBRARY_PATH=`pwd`/usr/lib/x86_64-linux-gnu:`pwd`/usr/lib/ spotify
And things are working fine so far.
So that answers that problem, but that's not a fix.
> Clearing ~/.config/spotify did
Thanks! This helped me as well
Reproducible crashes on Ubuntu 16.04 with some older albums of Jorge Drexler (eg 12 segundos de obscuridad, Llueve)
The client even crashed when selecting an album from my mobile where it played and then using Spotify Connect to transfer the playing to my PC.
spotify-client: Installed: 1:1.0.37.152.gc83ea995-42
Thanks for the info so far. Deleting `local-files.bnk` from `~/.config/spotify/Users/<name>` solved this for me.
FWIW, I haven't had this problem in a while. I'm on Ubuntu 16.04.1 LTS on a System76 laptop, fully updated. Not sure what changed.
Hey there you, Yeah, you! 😁 Welcome - we're glad you joined the Spotify Community! While you here, let's have a fun game and get…