You are not logged in.

#1 2016-12-15 20:50:04

Yaldi
Member
Registered: 2016-12-15
Posts: 3

Spotify Crashes on Login

Hi,

I've just installed version 1.0.45.182 (amd64). I had to manually update the PKGBUILD from the AUR as the one there appears to be pointing to an nonexistent .deb file.

That seemed to work as I can start up spotify no problem. However, when I attempt to log in it crahses immdiately.

Running from a terminal I get the following output:

/usr/share/spotify/spotify: /usr/lib/libssl.so.1.0.0: no version information available (required by /usr/share/spotify/spotify)
/usr/share/spotify/spotify: /usr/lib/libcrypto.so.1.0.0: no version information available (required by /usr/share/spotify/spotify)
/usr/share/spotify/spotify: /usr/lib/libcurl.so.3: no version information available (required by /usr/share/spotify/spotify)
/usr/share/spotify/spotify: /usr/lib/libssl.so.1.0.0: no version information available (required by /usr/share/spotify/spotify)
/usr/share/spotify/spotify: /usr/lib/libcrypto.so.1.0.0: no version information available (required by /usr/share/spotify/spotify)
/usr/share/spotify/spotify: /usr/lib/libcurl.so.3: no version information available (required by /usr/share/spotify/spotify)
[1215/204519:ERROR:main_delegate.cc(752)] Could not load cef_extensions.pak
/proc/self/exe: /usr/lib/libssl.so.1.0.0: no version information available (required by /proc/self/exe)
/proc/self/exe: /usr/lib/libcrypto.so.1.0.0: no version information available (required by /proc/self/exe)
/proc/self/exe: /usr/lib/libcurl.so.3: no version information available (required by /proc/self/exe)
[1215/204519:ERROR:main_delegate.cc(752)] Could not load cef_extensions.pak
[1215/204522:ERROR:PlatformKeyboardEvent.cpp(94)] Not implemented reached in static bool blink::PlatformKeyboardEvent::currentCapsLockState()
/usr/bin/spotify: line 3:  1612 Segmentation fault      (core dumped) /usr/share/spotify/spotify --force-device-scale-factor=2 "$@"

After searching around the only thing I could see that people suggested to fix a segfault was to add the "--force-device-scale-factor" value, but as you can see from the above I have this set due to having a HiDPI screen (Dell XPS 13 9360).

I'm not entirely sure if those errors messages are related or not as I'm not sure of their meaning.

Has anyone seen anything like this before?

Offline

#2 2016-12-16 11:28:07

runical
Member
From: The Netherlands
Registered: 2012-03-03
Posts: 896

Re: Spotify Crashes on Login

This seems to be the normal output, also for the previous version. Also, the new version works as expected when you are logged in from the previous version. You can downgrade, log in and upgrade as a quick fix.

Also take a look at the AUR page: https://aur.archlinux.org/packages/spotify/

EDIT: Also, built fine for me. No editing required.

Last edited by runical (2016-12-16 11:29:43)

Offline

#3 2016-12-16 17:03:32

Yaldi
Member
Registered: 2016-12-15
Posts: 3

Re: Spotify Crashes on Login

I had just installed Arch so I haven't had a previous version on this machine.

You're right though that what's in the AUR now is correct, it looks like it was updated earlier today to use the latest version.

I've tried removing spotify and then reinstalling it from the AUR but that didn't seem to make any difference as I still get the same issue. I can't see anything else on the AUR page which would help either.

Offline

#4 2016-12-16 18:24:17

mis
Member
Registered: 2016-03-16
Posts: 234

Re: Spotify Crashes on Login

I don't know since which version the problem exists ...

... but you could try to edit the PKGBUILD to use the previous version 1.0.44.100. It's still available on the spotify server. http://repository-origin.spotify.com/po … fy-client/

Last edited by mis (2016-12-16 18:25:18)

Offline

#5 2016-12-16 22:03:04

Yaldi
Member
Registered: 2016-12-15
Posts: 3

Re: Spotify Crashes on Login

mis wrote:

I don't know since which version the problem exists ...

... but you could try to edit the PKGBUILD to use the previous version 1.0.44.100. It's still available on the spotify server. http://repository-origin.spotify.com/po … fy-client/

I gave this a shot..and it worked. So must be something to do with the latest version then.

Thanks

Offline

#6 2016-12-17 16:36:33

runical
Member
From: The Netherlands
Registered: 2012-03-03
Posts: 896

Re: Spotify Crashes on Login

For future reference: All AUR PKGBUILDs are stored in git, so you can also checkout an older PKGBUILD and just build that.

Offline

#7 2016-12-18 12:59:58

victoroux
Member
Registered: 2013-05-17
Posts: 13

Re: Spotify Crashes on Login

runical wrote:

For future reference: All AUR PKGBUILDs are stored in git, so you can also checkout an older PKGBUILD and just build that.

How does this work?

Edit: I know how to do this using the website, was just wondering if it's possible in the commandline somehow

Last edited by victoroux (2016-12-18 13:02:49)

Offline

#8 2016-12-18 22:55:56

mis
Member
Registered: 2016-03-16
Posts: 234

Re: Spotify Crashes on Login

git clone ssh://aur@aur.archlinux.org/spotify.git
cd spotify
git checkout <commit>

in this case for version 1.0.44.100

git checkout d14db2c92907a4cad04da31d48bc04b61f1ef6e2

Last edited by mis (2016-12-18 22:57:58)

Offline

#9 2016-12-19 01:37:10

bulletmark
Member
From: Brisbane, Australia
Registered: 2013-10-22
Posts: 658

Re: Spotify Crashes on Login

To add to above post, use git log or gitk to view the history and find the commit hash.

Offline

#10 2016-12-27 16:38:59

grassh0pper
Member
Registered: 2016-12-27
Posts: 2

Re: Spotify Crashes on Login

What do I have to change in PKGBUILD?
What is the difference between sha256sums and sha256sums_x86_64?
I changed second one to 'd14db2c92907a4cad04da31d48bc04b61f1ef6e2' but it doesn't work

Last edited by grassh0pper (2016-12-27 20:22:21)

Offline

#11 2016-12-28 12:04:51

MadMax411
Member
Registered: 2016-12-28
Posts: 3

Re: Spotify Crashes on Login

Please try to start spotify with login parameters:

/usr/share/spotify/spotify --username=YourName --password=YourSecret "$@"

Or edit the start script /usr/bin/spotify

Offline

#12 2016-12-28 19:21:23

grassh0pper
Member
Registered: 2016-12-27
Posts: 2

Re: Spotify Crashes on Login

unfortunately it doesn't work...

result:

/usr/share/spotify/spotify: /usr/lib/libssl.so.1.0.0: no version information available (required by /usr/share/spotify/spotify)
/usr/share/spotify/spotify: /usr/lib/libcrypto.so.1.0.0: no version information available (required by /usr/share/spotify/spotify)
/usr/share/spotify/spotify: /usr/lib/libcurl.so.4: version `CURL_OPENSSL_3' not found (required by /usr/share/spotify/spotify)

UPDATE:
I don't know how but example under works

Last edited by grassh0pper (2016-12-29 13:15:41)

Offline

#13 2016-12-28 22:24:36

hanspeteriv
Member
Registered: 2016-12-28
Posts: 1

Re: Spotify Crashes on Login

MadMax411 wrote:

Please try to start spotify with login parameters

Thank you, that works for me with the latest AUR version from 2016-12-23 09:26.

I guess it would be a good idea to keep the password out of the shell history by saving it in a file only readable by you and starting spotify with something like

spotify --username=YourName --password=$(cat .spotifypasswdfile)

Offline

#14 2017-01-05 15:05:51

roadev
Member
From: Cali, Colombia
Registered: 2015-10-09
Posts: 5
Website

Re: Spotify Crashes on Login

mis wrote:
git clone ssh://aur@aur.archlinux.org/spotify.git
cd spotify
git checkout <commit>

in this case for version 1.0.44.100

git checkout d14db2c92907a4cad04da31d48bc04b61f1ef6e2

It worked perfectly for me. Thank you!

Offline

#15 2017-01-08 05:05:42

drootang
Member
Registered: 2017-01-08
Posts: 2

Re: Spotify Crashes on Login

MadMax411 wrote:

Please try to start spotify with login parameters:

/usr/share/spotify/spotify --username=YourName --password=YourSecret "$@"

Or edit the start script /usr/bin/spotify

I am having the same problem as OP. This workaround worked for me, but your login is not remembered. So attempting subsequent launches without --username and --password still segfaults.

Thanks for this

Last edited by drootang (2017-01-08 05:06:15)

Offline

#16 2017-02-01 23:27:32

MadMax411
Member
Registered: 2016-12-28
Posts: 3

Re: Spotify Crashes on Login

MadMax411 wrote:

Please try to start spotify with login parameters:

/usr/share/spotify/spotify --username=YourName --password=YourSecret "$@"

Or edit the start script /usr/bin/spotify

For me the new version "1.0.48.103.g15edf1ec" works without the login parameters again.

Offline

Board footer

Powered by FluxBB