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.
#Spotify immediately crashes upon launch with 'Illegal instruction' message
1 messages · Page 1 of 1 (latest)
no, not at all
i also see no illegal instruction in this paste
it immediately follows. no idea why it isn't included
did you spotify | wgetpaste or spotify &| wgetpaste
so can you run this
no such file or directory
wgetpaste --command 'spotify --show-console'
interesting
try the second way i mentioned
with using &| instead
do you know how to use gdb? or have it installed?
bash: syntax error
i haven't unless it is some common dependency
i see, it is a debugger. unfortunately i've never used any debuggers
same result
bruh what
i can submit a screenshot or copy the output directly
you can just copy the output lol
I'm too very confused
you installed spotify from portage right?
exactly
could you try downgrading it maybe?
I've also tried flatpak
if you tell me how I'll give it a shot
we could look into debugging this, but since spotify is closed source, i don't think think that it will do much for us
same error?
no, some other crap
lile it crashes upon launch
should i submit that output too?
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
the download failed
404 not found
no
what cpu is this
AMD A8-3850 APU (4) @ 2.902GHz
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
but it's something different with flatpak
yeah but there's still no ciritical error with the flatpak one
i'd say unlikely
or errors at all
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
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
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
i mean if some super advanced knowledge isn't required let's do that
and if you don't have the old distfile, see if you can find old or 32bit versions online
sure, emerge gdb first
no, i've ecleaned distfiles after updating world
sad day
you don't say
after that
gdb spotify
# run
# bt
then show me the output
this should show exactly what instruction it's calling
wgetpaste or just copy?
just copy, it should only be a dozen lines or so
npnp
"/usr/bin/spotify": not in executable format: file format not recognized
i mean
this can't be right
so like /usr/bin/spotify is a script which executes /opt/spotify/spotify-client/spotify
it was more than a dozen lines
oh yeah i meant to paste that correction heh sorry
so is the output any use?
well for one the error is in libcef.so
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 )
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
Np, sorry wish i was a gdb wizard heh
a little
Well do u know how to do what i was trying to do
As in
View the illegal instruction
Pning
If not the hot potato is passes to you
And u need to ping someone who u think knows
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.
Requires premium sigh
Oh ya i forgot people use free spotify maybe…
hello and thank you for the advice. how would you recommend i should go about deleting all spotify files using locate?