Spotify crashes on start Linux Mint 18

Reply

Re: Spotify crashes on start Linux Mint 19.1

carlolf
Regular

the last output from the crash listet the error occuring in libc. But before, and now after running the latest kernel 5.2.5,

journalctl -f

prints this output after the crash of Spotify:

Jul 31 10:21:20 PLuto kernel: traps: Curl Thread[1844] general protection fault ip:7f72d0bc56b1 sp:7f7260ff6848 error:0 in libcurl-gnutls.so.4.5.0[7f72d0b9a000+60000]

I don't know how libcurl-gnutls is related to libc6 and if it is somehow randomly showing the error in one of the libraries.

Re: Spotify crashes on start Linux Mint 19.1

dlu
Regular

The segfault in libcurl3-gnutls is typical for the disco package version. See the workarounds in https://community.spotify.com/t5/Desktop-Linux/Ubuntu-19-04-deb-package-segfault/td-p/4761479

Re: Spotify crashes on start Linux Mint 18

Panteroide
Regular

I am running a fresh install of Pop!_OS 19.04 (an Ubuntu-flavour by the Linux hardware manufacturer, System76), and I ran into the same problem after installing Spotify. Please find my system/hardware specs below:

 

Linux pop-os 5.0.0-21-generic #22+system76-Ubuntu SMP Tue Jul 16 19:57:52 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Please excuse me, I am a Linux newbie, and I don't know how to collect the error messages, dumps, or whatever they're called :-P

 

Anyway, I've ran Spotify on my Pop!_OS 18.04 before the upgrade, and I've never had any problems. Now, Spotify closes on the very instant it's opened!

 

Is there any fix yet? If there is, could you please make the instructions newbie-friendly? :-) Thanks!

Re: Spotify crashes on start Linux Mint 19.1

carlolf
Regular

I followed the suggestions from https://community.spotify.com/t5/Desktop-Linux/Ubuntu-19-04-deb-package-segfault/m-p/4785393/highlig... and this solved my problem with Spotify.

Re: Spotify crashes on start Linux Mint 19.1

Panteroide
Regular

@carlolf wrote:

I followed the suggestions from https://community.spotify.com/t5/Desktop-Linux/Ubuntu-19-04-deb-package-segfault/m-p/4785393/highlig... and this solved my problem with Spotify.


Hi there, carlofl! I managed to download the three .deb files by running the curl-commands (in the instructions, the last one was missing `curl` in front of the code). However, running the last command, `sudo dpkg -i ~/Downloads/libcurl3-gnutls_7.64.0-4_amd64.deb ~/Downloads/libgnutls30_3.6.8-2_amd64.deb ~/Downloads/libgnutls30_3.6.8-2_i386.deb`, yields with the following error message:

 

panteroide@ubuntu:~$ sudo dpkg -i ~/Downloads/libcurl3-gnutls_7.64.0-4_amd64.deb ~/Downloads/libgnutls30_3.6.8-2_amd64.deb ~/Downloads/libgnutls30_3.6.8-2_i386.deb
[sudo] password for panteroide: 
(Reading database ... 183422 files and directories currently installed.)
Preparing to unpack .../libcurl3-gnutls_7.64.0-4_amd64.deb ...
Unpacking libcurl3-gnutls:amd64 (7.64.0-4) over (7.64.0-2ubuntu1.1) ...
Preparing to unpack .../libgnutls30_3.6.8-2_amd64.deb ...
Unpacking libgnutls30:amd64 (3.6.8-2) over (3.6.5-2ubuntu1.1) ...
Selecting previously unselected package libgnutls30:i386.
Preparing to unpack .../libgnutls30_3.6.8-2_i386.deb ...
Unpacking libgnutls30:i386 (3.6.8-2) ...
dpkg: dependency problems prevent configuration of libcurl3-gnutls:amd64:
 libcurl3-gnutls:amd64 depends on libssh2-1 (>= 1.7.0); however:
  Package libssh2-1 is not installed.

dpkg: error processing package libcurl3-gnutls:amd64 (--install):
 dependency problems - leaving unconfigured
Setting up libgnutls30:amd64 (3.6.8-2) ...
dpkg: dependency problems prevent configuration of libgnutls30:i386:
 libgnutls30:i386 depends on libgmp10 (>= 2:6.0.0).
 libgnutls30:i386 depends on libc6 (>= 2.28).
 libgnutls30:i386 depends on libhogweed4 (>= 3.4.1~rc1~).
 libgnutls30:i386 depends on libidn2-0 (>= 2.0.0).
 libgnutls30:i386 depends on libnettle6 (>= 3.4~).
 libgnutls30:i386 depends on libp11-kit0 (>= 0.23.11).
 libgnutls30:i386 depends on libtasn1-6 (>= 4.12).
 libgnutls30:i386 depends on libunistring2 (>= 0.9.7).

dpkg: error processing package libgnutls30:i386 (--install):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.29-0ubuntu2) ...
Errors were encountered while processing:
 libcurl3-gnutls:amd64
 libgnutls30:i386
panteroide@ubuntu:~$ 

Any ideas on how to proceed? :-(

Re: Spotify crashes on start Linux Mint 19.1

Panteroide
Regular

When I try to open Spotify though terminal, I get the following error message:

 

panteroide@ubuntu:~$ spotify
spotify: error while loading shared libraries: libssh2.so.1: cannot open shared object file: No such file or directory

Re: Spotify crashes on start Linux Mint 19.1

carlolf
Regular

Sorry Panteroide , I am not a Linux guru, so I cannot really give you good tips. Maybe there is someone other here listening?

Re: Spotify crashes on start Linux Mint 19.1

Rock Star 22
Rock Star 22

This is a rather old thread from 2016. I'd suggest posting a new one with your current distro specifications, as it looks all of us are having trouble with different distros, and configurations.

osorniosRock Star 22
Help others find this answer and click "Accept as Solution".
If you appreciate my answer, maybe give me a Like.
Note: I'm not a Spotify employee.
Highlighted

Re: Spotify crashes on start Linux Mint 19.1

Panteroide
Regular

Interesting. I was just about to install the missing library, libssh2.so.1, through terminal:

 

sudo apt install libssh2-1

 

However, on the last second I changed my mind and decided to try finding the library through Synaptic Package Manager instead. Well, I couldn't find the library, but after opening I got an error message about two broken packages. I decided to fix the broken packages, and return to my original plan as libssh2-1 was not found there.

 

However, after running

 

sudo apt install libssh2-1

 

I was told that the packages are already installed and up-to-date (?!?). Well, if not installing the abovementioned package, at least fixing the broken packages through Synaptic Package Manager helped to resolve the problem ... yeah, packages that I never knew to be broken in the first place! :-)

 

Thanks for your help, and hopefully this helps someone with the same problem running Linux Ubuntu Pop!_OS 19.04! Cheers!

SUGGESTED POSTS