Spotify-appimage icon indicating copy to clipboard operation
Spotify-appimage copied to clipboard

Illegal instruction in the last two releases

Open BlessedWithInfinity opened this issue 4 months ago • 4 comments

I run ./Spotify-1.2.56.502.ga68d2d4f-x86_64.AppImage.

I get:

(spotify:15346): libayatana-appindicator-WARNING **: 00:09:28.626: libayatana-appindicator is deprecated. Please use libayatana-appindicator-glib in newly written code. Illegal instruction

Intuitively I think it is a Spotify issue, but I am reporting it here in case you can fix it from your end.

Thanks

Device: Lenovo 620 OS: Void Linux

BlessedWithInfinity avatar Aug 25 '25 18:08 BlessedWithInfinity

libayatana... https://github.com/ivan-hc/Spotify-appimage/issues?q=libayatana

Including this issue number 5, this is the 4th issue referencing to this library. The last time I was contacted was one week ago https://github.com/ivan-hc/Spotify-appimage/issues/2#issuecomment-3192845182

I can't reproduce the issue, the AppImage just works for me, on Debian Testing, and only bundles what the Snap package provides.

If I can't reproduce the issue, I can't help much. Help would be appreciated.

ivan-hc avatar Aug 25 '25 19:08 ivan-hc

I can't reproduce the issue, the AppImage just works for me, on Debian Testing, and only bundles what the Snap package provides.

If I can't reproduce the issue, I can't help much. Help would be appreciated.

I mean, i get no Illegal instruction message, and the app just runs.

Image

ivan-hc avatar Aug 25 '25 19:08 ivan-hc

I ran the Spotify AppImage inside GDB to trace the cause of an Illegal instruction crash on my system.

The faulting instruction is at 0x555557d2494b:

x/10i $rip => 0x555557d2494b: popcnt %r14,%r8 0x555557d24950: cmp $0x1,%r8 0x555557d24954: ja 0x555557d24964 0x555557d24956: lea -0x1(%r14),%rsi 0x555557d2495a: and %rbp,%rsi 0x555557d2495d: jmp 0x555557d2498e 0x555557d2495f: jmp 0x555557d24af4 0x555557d24964: mov %rbp,%rsi 0x555557d24967: cmp %r14,%rbp 0x555557d2496a: jb 0x555557d2498e (gdb)

My CPU does not support the popcnt instruction (confirmed via /proc/cpuinfo). Could you make the needed changes so it works on older CPUs?

BlessedWithInfinity avatar Aug 27 '25 20:08 BlessedWithInfinity

My CPU does not support the popcnt instruction (confirmed via /proc/cpuinfo). Could you make the needed changes so it works on older CPUs?

if this is something related to the provided libraries, I can't do much. As I said, I extract the Snap package and I convert it to an AppImage, so I provide what upstream provides in their official Snap. But if it is possible to patch the affected files to made them work with your CPU, we can try to improve this.

ivan-hc avatar Aug 27 '25 22:08 ivan-hc