[Liunx] Spotify Crash during start (segfault)

Solved!
Reply
Highlighted

Re: [Liunx] Spotify Crash during start (segfault)

Regular

On my laptop the spotify client segfaulted again. When starting the client, the window was flicking and finally shut. Above segfault was in the console output.

 

I resolved the issue by removing the spotify configuraton:

 rm -r .cache/spotify .local/share/spotify .config/spotify

 

Highlighted
Solution!

Re: [Liunx] Spotify Crash during start (segfault)

Regular
For me it still segfaults all the same.
cleared cache and config. I don't have a local/share/spotify.
version 1.0.24.104. segfault after login.

EDIT: Just found some people over at the AUR figured it out. Spotify needs a scaling factor. In the desktop file an option is specified, namely --force-device-scaling-factor=1.0000001 . Not everyone on linux uses desktop files. Spotify crashes when run through it's binary, only working when launched from a shortcut with required options. Perhaps this can make it to an issue board somewhere.

View solution in original post

Highlighted

Re: [Liunx] Spotify Crash during start (segfault)

Casual Listener

I've been using 1.0.25.127.g58007b4c happily, all afternoon. Then, all of a sudden, mid song it just segfaulted. I couldn't start it back up again. The UI will reload three times before quitting. I have attached an strace. I'm also an Arch Linux user.

 

The --force-device-scaling-factor=1.0000001 does not work but --force-device-scaling-factor=1.0000005 does.

 

I'm not sure if relevant, but I am unable to open Settings, the UI just resets like before, will open a new report if warranted.

 

Wish there were more I could do to help. Thanks for the great music service, and thanks for paying us penguins some attention!

Highlighted

Re: [Liunx] Spotify Crash during start (segfault)

Regular

When I try to open certain playlist folders or user pages, the client resets and present the main browse page again. I don't know if this is related, but the behaviour is similar to the segfault. Instead of refreshing three times and crashing, the client refreshes only once.

 

One user were this always happens is:

 

 

spotify:user:armadamusicofficial

 

Does this page open fine for you?

Highlighted

Re: [Liunx] Spotify Crash during start (segfault)

Regular

@keibak works fine for me.

Highlighted

Re: [Liunx] Spotify Crash during start (segfault)

Regular

The scaling issue still hasn't been resolved yet and it's getting very annoying to have to add the flag on every update.

Unless spotify made the decision to only support linux desktops that adhere to the freedesktop standard - which I strongly doubt - I would appreciate hearing spotify is not ignorant to their exclusive set-up so users that run binaries not desktop files can still use spotify without the current problem.

Highlighted

Re: [Liunx] Spotify Crash during start (segfault)

Spotify
Spotify

Nothing has with Linux client attention since this post

 

https://community.spotify.com/t5/Help-Desktop-Linux-Windows-Web/Linux-Spotify-client-1-x-now-in-stab...

 

1 Spotify should pick up on scaling settings from the system to correctly scale the window for both high and low resolution screens.

2 Spotify should not crash.

3 You should not have to add scaling flags as a workaround to a startup crash. Adding flags in the desktop file is something the arch package does I think. It is not in the deb package.

 

1 affects all desktop environments

2 affects many users in different ways. There are a few different graphics related crashes like this one, some related to local files, and probably a few more.

3 seems to affect mostly arch linux users, not sure why

 

I triage most reported bugs here and especially try to reproduce them and add them to our internal bug tracker. The list of bugs is not actively being worked on however. Hopefully soon-ish, CEF that Spotify uses can be upgraded to use the views framework and a few of the graphics related problems can be fixed. https://bitbucket.org/chromiumembedded/cef/issues/1749

 

SUGGESTED POSTS