#Spotify immediately crashes upon launch with 'Illegal instruction' message

1 messages · Page 1 of 1 (latest)

pallid wasp
#

I haven't used my gentoo machine for a while, but i have recently updated @world. Now spotify does this when i try to launch it: https://bpa.st/YDIQ.
I am unsure whether it is the direct result of the above-mentioned update. The search of the web yields no results. I'm using pipewire as audio interface. The way my system is run is very chaotic, so steps to replicate the issue are hard to provide.

lost raven
#

did you change hardware at all?

#

ls -lsha /home/tedzet/.cache/spotify/hosts.bnk

pallid wasp
lost raven
#

i also see no illegal instruction in this paste

pallid wasp
lost raven
#

did you spotify | wgetpaste or spotify &| wgetpaste

lost raven
pallid wasp
pallid wasp
lost raven
#

interesting

#

try the second way i mentioned

#

with using &| instead

#

do you know how to use gdb? or have it installed?

pallid wasp
pallid wasp
pallid wasp
lost raven
#

wait

#

|& this instead sorry

pallid wasp
#

same result

lost raven
#

bruh what

pallid wasp
#

i can submit a screenshot or copy the output directly

lost raven
#

you can just copy the output lol

pallid wasp
lost raven
#

you installed spotify from portage right?

pallid wasp
#

exactly

lost raven
#

could you try downgrading it maybe?

pallid wasp
#

I've also tried flatpak

pallid wasp
lost raven
#

we could look into debugging this, but since spotify is closed source, i don't think think that it will do much for us

lost raven
pallid wasp
#

lile it crashes upon launch

#

should i submit that output too?

lost raven
#

yeah why not

#

well portage doesn't really have many old versions of spotify, oldest you'd be able to do is emerge -a "=spotify-1.2.50"

#

but that's like barely any older i wouldn't expect it to help

pallid wasp
pallid wasp
#

404 not found

lost raven
#

interesting

#

so

#

is this a 32 bit machine?

pallid wasp
#

no

lost raven
#

what cpu is this

pallid wasp
#

AMD A8-3850 APU (4) @ 2.902GHz

lost raven
#

lol

#

so

#

since spotify is failing everywhere

#

with illegal instruction

#

this looks like spotify is built with cpu instructions your cpu doesn't support

#

which i would find it surprising spotify is doing this tbh

#

but you do have a 2011 amd cpu so it's possibble

pallid wasp
lost raven
#

yeah but there's still no ciritical error with the flatpak one

pallid wasp
lost raven
#

or errors at all

pallid wasp
#

true

#

could it be use flags?

#

i mean everything else works soundly

lost raven
#

well the use flags of spotify don't change the binary at all

#

just the deps

#

since it is proprietary software

#

im really suspecting the build of spotify doesn't support your cpu

#

we could confirm this with using gdb

pallid wasp
#

tbh i probably won't be listening to music on this machine, but i have a bunch downloaded so if i could delete all that without installing spotify that'll work too

lost raven
#

but since we don't have the code to spotify, we couldn't actually fix it, just bug report (if even possible)

#

I say

#

see if you have the old version of spotify in /var/cache/distfiles and just use that lol

pallid wasp
lost raven
#

and if you don't have the old distfile, see if you can find old or 32bit versions online

lost raven
pallid wasp
lost raven
#

sad day

pallid wasp
#

you don't say

lost raven
#

after that

#
gdb spotify
# run
# bt
#

then show me the output

#

this should show exactly what instruction it's calling

pallid wasp
lost raven
#

just copy, it should only be a dozen lines or so

pallid wasp
#

ok

#

btw ty for the help thus far

lost raven
#

npnp

pallid wasp
#

i mean

#

this can't be right

#

so like /usr/bin/spotify is a script which executes /opt/spotify/spotify-client/spotify

pallid wasp
#

it was more than a dozen lines

lost raven
pallid wasp
#

so is the output any use?

lost raven
#

i wonder if you could substitute a portable libcef hmmmmmmm

#

if its using the cxx abi it's probably too unstable though

#

second uhhhhhhhhhh

#

@charred ingot you know how gdb works right

#

( i don't lol )

pallid wasp
#

ok, I'll leave the thread open for now in hopes someone figures this out. it's really late here, so i might as well call it a day

#

@lost raven thanks once more

lost raven
#

Np, sorry wish i was a gdb wizard heh

charred ingot
lost raven
#

Well do u know how to do what i was trying to do

#

As in

#

View the illegal instruction

lost raven
#

If not the hot potato is passes to you

#

And u need to ping someone who u think knows

obtuse prairie
#

Use ncspot i recently switched i like it. If you dont mind using terminal spotify, its pretty easy to get it running.

#

You could use plocate. Unemerge spotify first and then delete all spotify files on your drive. plocate should find them all. Try reinstalling after.

Also if you use brave, it lets you install some websites as an app, which becomes available in your menu. If it has the option for spotify that would be a neat way to go.

lost raven
#

Spotify restricts features if running in a browser

#

:/

obtuse prairie
#

Oh ya i forgot people use free spotify maybe…

pallid wasp
obtuse prairie
#

Install plocate sudo updatedb plocate -i spotify then use rm -r or just rm on files to delete them all. Shouldnt be too many imo…

#

Guessing spotify worked before right?

#

Use plocate -i spotify

Ignore case