You are not logged in.

#1 2024-01-25 14:19:49

Strangiato
Member
Registered: 2020-01-10
Posts: 382

[solved] "Illegal instruction (core dumped)" with Strawberry player

Hello

Strawberry music player crashes when i try to play any audio file and terminal says "Illegal instruction (core dumped)".This crash occurs on my laptop running Arch  + Gnome. The crash does not occur on another computer running Arch, KDE Plasma 6 RC1 and the same version of Strawberry.

Any idea on how to solve this Strawberry crash?

Last edited by Strangiato (2024-01-25 16:49:11)

Offline

#2 2024-01-25 14:20:27

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,597

Re: [solved] "Illegal instruction (core dumped)" with Strawberry player

What processor is in the affected machine?

Offline

#3 2024-01-25 14:22:50

Strangiato
Member
Registered: 2020-01-10
Posts: 382

Re: [solved] "Illegal instruction (core dumped)" with Strawberry player

$ lscpu
Architecture:            x86_64
  CPU op-mode(s):        32-bit, 64-bit
  Address sizes:         36 bits physical, 48 bits virtual
  Byte Order:            Little Endian
CPU(s):                  4
  On-line CPU(s) list:   0-3
Vendor ID:               GenuineIntel
  Model name:            Intel(R) Core(TM) i3-3110M CPU @ 2.40GHz
    CPU family:          6
    Model:               58
    Thread(s) per core:  2
    Core(s) per socket:  2
    Socket(s):           1
    Stepping:            9
    CPU(s) scaling MHz:  49%
    CPU max MHz:         2400.0000
    CPU min MHz:         1200.0000
    BogoMIPS:            4790.45
    Flags:               fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflus
                         h dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc ar
                         ch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni p
                         clmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 ss
                         e4_2 x2apic popcnt tsc_deadline_timer xsave avx f16c lahf_lm cpuid_fault epb p
                         ti tpr_shadow flexpriority ept vpid fsgsbase smep erms xsaveopt dtherm arat pl
                         n pts vnmi
Virtualization features: 
  Virtualization:        VT-x
Caches (sum of all):     
  L1d:                   64 KiB (2 instances)
  L1i:                   64 KiB (2 instances)
  L2:                    512 KiB (2 instances)
  L3:                    3 MiB (1 instance)
NUMA:                    
  NUMA node(s):          1
  NUMA node0 CPU(s):     0-3
Vulnerabilities:         
  Gather data sampling:  Not affected
  Itlb multihit:         KVM: Mitigation: VMX disabled
  L1tf:                  Mitigation; PTE Inversion; VMX conditional cache flushes, SMT vulnerable
  Mds:                   Vulnerable: Clear CPU buffers attempted, no microcode; SMT vulnerable
  Meltdown:              Mitigation; PTI
  Mmio stale data:       Unknown: No mitigations
  Retbleed:              Not affected
  Spec rstack overflow:  Not affected
  Spec store bypass:     Vulnerable
  Spectre v1:            Mitigation; usercopy/swapgs barriers and __user pointer sanitization
  Spectre v2:            Mitigation; Retpolines, STIBP disabled, RSB filling, PBRSB-eIBRS Not affected
  Srbds:                 Not affected
  Tsx async abort:       Not affected

Last edited by Strangiato (2024-01-25 14:23:45)

Offline

#4 2024-01-25 14:41:15

seth
Member
Registered: 2012-09-03
Posts: 51,655

Re: [solved] "Illegal instruction (core dumped)" with Strawberry player

Unless somebody already knows what "illegal" instructions the process is prone to use, https://wiki.archlinux.org/title/Core_d … _core_dump

Offline

#5 2024-01-25 14:46:26

Strangiato
Member
Registered: 2020-01-10
Posts: 382

Re: [solved] "Illegal instruction (core dumped)" with Strawberry player

Here is the crash log:

Core was generated by `/usr/bin/strawberry'.
Program terminated with signal SIGILL, Illegal instruction.
#0  0x000075153171100c in ?? ()
[Current thread is 1 (Thread 0x751532a006c0 (LWP 2030))]
(gdb) bt
#0  0x000075153171100c in ??? ()
#1  0x0000751546ccf3b3 in orc_memset (d1=0x75151c098d50, p1=0, n=7680)
    at ../orc/orc/orcfunctions.c:315
#2  0x000075154d096a4b in gst_audio_ring_buffer_acquire
    (buf=0x7514540176b0 [GstPulseRingBuffer], spec=<optimized out>)
    at ../gstreamer/subprojects/gst-plugins-base/gst-libs/gst/audio/gstaudioringbuffer.c:659
#3  0x000075154d06ed5c in gst_audio_base_sink_setcaps
    (bsink=0x630eeff70690 [GstPulseSink], caps=0x751454030950 [None])
    at ../gstreamer/subprojects/gst-plugins-base/gst-libs/gst/audio/gstaudiobasesink.c:952
#4  0x0000751549b2439a in gst_base_sink_default_event
    (basesink=0x630eeff70690 [GstPulseSink], event=0x75151c0021c0 [None])
    at ../gstreamer/subprojects/gstreamer/libs/gst/base/gstbasesink.c:3417
#5  0x0000751549b1ffab in gst_base_sink_event
    (pad=<optimized out>, parent=0x630eeff70690 [GstPulseSink], event=0x75151c0021c0 [None])
    at ../gstreamer/subprojects/gstreamer/libs/gst/base/gstbasesink.c:3680
#6  0x000075154cb61f56 in gst_pad_send_event_unchecked
    (pad=pad@entry=0x630eeff70a70 [GstPad], event=event@entry=0x75151c0021c0 [None], type=<optimized out>, type@entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM)
    at ../gstreamer/subprojects/gstreamer/gst/gstpad.c:5962
#7  0x000075154cb625fe in gst_pad_push_event_unchecked
    (pad=pad@entry=0x630eeff7b2e0 [GstPad], event=0x75151c0021c0 [None], type=<optimized out>, 
    type@entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM)
    at ../gstreamer/subprojects/gstreamer/gst/gstpad.c:5595
#8  0x000075154cb62d79 in push_sticky
    (pad=pad@entry=0x630eeff7b2e0 [GstPad], ev=ev@entry=0x7515329feb50, user_data=user_data@entry=0x7515329febc0) at ../gstreamer/subprojects/gstreamer/gst/gstpad.c:4080
#9  0x000075154cb5757e in events_foreach
    (pad=0x630eeff7b2e0 [GstPad], func=0x75154cb62cd0 <push_sticky>, user_data=0x7515329febc0)
    at ../gstreamer/subprojects/gstreamer/gst/gstpad.c:613
#10 0x000075154cb65df0 in check_sticky (event=0x75151c0021c0 [None], pad=0x630eeff7b2e0 [GstPad])
    at ../gstreamer/subprojects/gstreamer/gst/gstpad.c:4139
#11 gst_pad_push_event (pad=0x630eeff7b2e0 [GstPad], event=0x75151c0021c0 [None])
    at ../gstreamer/subprojects/gstreamer/gst/gstpad.c:5728
#12 0x0000751549b38a96 in gst_pad_set_caps (caps=0x751454030950 [None], pad=0x630eeff7b2e0 [GstPad])
    at ../gstreamer/subprojects/gstreamer/gst/gstcompat.h:59
#13 gst_base_transform_setcaps
    (trans=trans@entry=0x630eeff7c010 [GstCapsFilter], pad=<optimized out>, incaps=<optimized out>)
    at ../gstreamer/subprojects/gstreamer/libs/gst/base/gstbasetransform.c:1346
#14 0x0000751549b38cfc in gst_base_transform_sink_eventfunc
    (trans=trans@entry=0x630eeff7c010 [GstCapsFilter], event=0x75151c094240 [None])
    at ../gstreamer/subprojects/gstreamer/libs/gst/base/gstbasetransform.c:1951
#15 0x000075153179dd66 in gst_capsfilter_sink_event
    (trans=0x630eeff7c010 [GstCapsFilter], event=0x75151c094240 [None])
    at ../gstreamer/subprojects/gstreamer/plugins/elements/gstcapsfilter.c:527
#16 0x000075154cb61f56 in gst_pad_send_event_unchecked
    (pad=pad@entry=0x630eeff7bb60 [GstPad], event=event@entry=0x75151c094240 [None], type=<optimized out>, type@entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM)
    at ../gstreamer/subprojects/gstreamer/gst/gstpad.c:5962
#17 0x000075154cb625fe in gst_pad_push_event_unchecked
    (pad=pad@entry=0x630eeff78de0 [GstPad], event=0x75151c094240 [None], type=<optimized out>, 
    type@entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM)
    at ../gstreamer/subprojects/gstreamer/gst/gstpad.c:5595
#18 0x000075154cb62d79 in push_sticky
    (pad=pad@entry=0x630eeff78de0 [GstPad], ev=ev@entry=0x7515329fef50, user_data=user_data@entry=0x7515329fefc0) at ../gstreamer/subprojects/gstreamer/gst/gstpad.c:4080
#19 0x000075154cb5757e in events_foreach
    (pad=0x630eeff78de0 [GstPad], func=0x75154cb62cd0 <push_sticky>, user_data=0x7515329fefc0)
    at ../gstreamer/subprojects/gstreamer/gst/gstpad.c:613
#20 0x000075154cb65df0 in check_sticky (event=0x75151c094240 [None], pad=0x630eeff78de0 [GstPad])
    at ../gstreamer/subprojects/gstreamer/gst/gstpad.c:4139
#21 gst_pad_push_event (pad=0x630eeff78de0 [GstPad], event=0x75151c094240 [None])
    at ../gstreamer/subprojects/gstreamer/gst/gstpad.c:5728
#22 0x0000751549b38a96 in gst_pad_set_caps (caps=0x751454030950 [None], pad=0x630eeff78de0 [GstPad])
    at ../gstreamer/subprojects/gstreamer/gst/gstcompat.h:59
#23 gst_base_transform_setcaps
    (trans=trans@entry=0x630eeff78400 [GstAudioConvert], pad=<optimized out>, incaps=<optimized out>)
    at ../gstreamer/subprojects/gstreamer/libs/gst/base/gstbasetransform.c:1346
#24 0x0000751549b38cfc in gst_base_transform_sink_eventfunc
    (trans=0x630eeff78400 [GstAudioConvert], event=0x75151c093a60 [None])
    at ../gstreamer/subprojects/gstreamer/libs/gst/base/gstbasetransform.c:1951
#25 0x000075154cb61f56 in gst_pad_send_event_unchecked
    (pad=pad@entry=0x630eeff78970 [GstPad], event=event@entry=0x75151c093a60 [None], type=<optimized out>, type@entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM)
    at ../gstreamer/subprojects/gstreamer/gst/gstpad.c:5962
#26 0x000075154cb625fe in gst_pad_push_event_unchecked
    (pad=pad@entry=0x630eeff77f80 [GstPad], event=0x75151c093a60 [None], type=<optimized out>, 
    type@entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM)
    at ../gstreamer/subprojects/gstreamer/gst/gstpad.c:5595
#27 0x000075154cb62d79 in push_sticky
    (pad=pad@entry=0x630eeff77f80 [GstPad], ev=ev@entry=0x7515329ff300, user_data=user_data@entry=0x7515329ff370) at ../gstreamer/subprojects/gstreamer/gst/gstpad.c:4080
#28 0x000075154cb5757e in events_foreach
    (pad=0x630eeff77f80 [GstPad], func=0x75154cb62cd0 <push_sticky>, user_data=0x7515329ff370)
    at ../gstreamer/subprojects/gstreamer/gst/gstpad.c:613
#29 0x000075154cb65df0 in check_sticky (event=0x75151c093a60 [None], pad=0x630eeff77f80 [GstPad])
    at ../gstreamer/subprojects/gstreamer/gst/gstpad.c:4139
#30 gst_pad_push_event (pad=0x630eeff77f80 [GstPad], event=0x75151c093a60 [None])
    at ../gstreamer/subprojects/gstreamer/gst/gstpad.c:5728
#31 0x0000751549b38a96 in gst_pad_set_caps (caps=0x751454030950 [None], pad=0x630eeff77f80 [GstPad])
    at ../gstreamer/subprojects/gstreamer/gst/gstcompat.h:59
#32 gst_base_transform_setcaps
    (trans=trans@entry=0x630eeff776c0 [GstAudioConvert], pad=<optimized out>, incaps=<optimized out>)
    at ../gstreamer/subprojects/gstreamer/libs/gst/base/gstbasetransform.c:1346
#33 0x0000751549b38cfc in gst_base_transform_sink_eventfunc
    (trans=0x630eeff776c0 [GstAudioConvert], event=0x75144c00be30 [None])
    at ../gstreamer/subprojects/gstreamer/libs/gst/base/gstbasetransform.c:1951
#34 0x000075154cb61f56 in gst_pad_send_event_unchecked
    (pad=pad@entry=0x630eeff77c60 [GstPad], event=event@entry=0x75144c00be30 [None], type=<optimized out>, type@entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM)
    at ../gstreamer/subprojects/gstreamer/gst/gstpad.c:5962
#35 0x000075154cb625fe in gst_pad_push_event_unchecked
    (pad=pad@entry=0x630eeff734c0 [GstPad], event=0x75144c00be30 [None], type=<optimized out>, 
    type@entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM)
    at ../gstreamer/subprojects/gstreamer/gst/gstpad.c:5595
#36 0x000075154cb62d79 in push_sticky
    (pad=pad@entry=0x630eeff734c0 [GstPad], ev=ev@entry=0x7515329ff6b0, user_data=user_data@entry=0x7515329ff720) at ../gstreamer/subprojects/gstreamer/gst/gstpad.c:4080
#37 0x000075154cb5757e in events_foreach
    (pad=0x630eeff734c0 [GstPad], func=0x75154cb62cd0 <push_sticky>, user_data=0x7515329ff720)
    at ../gstreamer/subprojects/gstreamer/gst/gstpad.c:613
#38 0x000075154cb65df0 in check_sticky (event=0x75144c00be30 [None], pad=0x630eeff734c0 [GstPad])
    at ../gstreamer/subprojects/gstreamer/gst/gstpad.c:4139
#39 gst_pad_push_event (pad=0x630eeff734c0 [GstPad], event=event@entry=0x75144c00be30 [None])
    at ../gstreamer/subprojects/gstreamer/gst/gstpad.c:5728
#40 0x00007515317d3d0e in gst_queue2_push_one (queue=0x630eeff72a60 [GstQueue2])
    at ../gstreamer/subprojects/gstreamer/plugins/elements/gstqueue2.c:3122
#41 gst_queue2_loop (pad=<optimized out>)
    at ../gstreamer/subprojects/gstreamer/plugins/elements/gstqueue2.c:3213
#42 0x000075154cb90303 in gst_task_func (task=0x751454030470 [GstTask])
    at ../gstreamer/subprojects/gstreamer/gst/gsttask.c:384
#43 0x000075154ca12523 in g_thread_pool_thread_proxy (data=<optimized out>)
    at ../glib/glib/gthreadpool.c:350
#44 0x000075154ca0fa45 in g_thread_proxy (data=0x75152c000b90) at ../glib/glib/gthread.c:831
#45 0x000075154c3bd9eb in start_thread (arg=<optimized out>) at pthread_create.c:444
#46 0x000075154c4417cc in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Offline

#6 2024-01-25 14:59:20

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,769

Re: [solved] "Illegal instruction (core dumped)" with Strawberry player

https://bbs.archlinux.org/viewtopic.php?id=292233

Me in that thread wrote:

What's your CPU? does downgrading orc to 0.4.34 restore functionality?

Online

#7 2024-01-25 15:02:33

Strangiato
Member
Registered: 2020-01-10
Posts: 382

Re: [solved] "Illegal instruction (core dumped)" with Strawberry player

Can confirm that downgrading orc to 0.4.34 fixes the crash on my system.

Offline

#8 2024-01-25 15:10:05

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,769

Re: [solved] "Illegal instruction (core dumped)" with Strawberry player

Mhm... cursory checking shows that that release added a bunch of AVX/SSE optimisations which "should" technically be supported by your CPU so maybe it tries to pick something but it's not properly implemented and dies. Or there would be new compile flags needed to compile for more/older architectures. Are you on the newest CPU microcode? https://wiki.archlinux.org/title/Microcode

Surely there's more but might check a bit deeper later today.

Online

#9 2024-01-25 15:19:44

Strangiato
Member
Registered: 2020-01-10
Posts: 382

Re: [solved] "Illegal instruction (core dumped)" with Strawberry player

intel-ucode package was not installed on my system. I have just installed it, updated orc to latest version, rebooted, and the crash is happening again.

Edit:
Regenerating grub config and then rebooting do not fix the crash.

# grub-mkconfig -o /boot/grub/grub.cfg

Last edited by Strangiato (2024-01-25 15:26:13)

Offline

#10 2024-01-25 15:42:57

seth
Member
Registered: 2012-09-03
Posts: 51,655

Re: [solved] "Illegal instruction (core dumped)" with Strawberry player

There's a taglib-rebuild of strawberry in staging, you might wait and see whether the version built against the new orc fares better.
https://wiki.archlinux.org/title/Offici … positories

Warning: Do not enable the staging repositories for any reason. Your system will unquestionably break after performing an update. This repository is only meant for backend developer use.

Let me repeat that: WAIT AND SEE

Offline

#11 2024-01-25 16:07:28

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,769

Re: [solved] "Illegal instruction (core dumped)" with Strawberry player

the crashing code is in the depths of gstreamer, isn't it? I somewhat doubt rebuilding strawberry will be the resolution... I'd have more hopes for the gstreamer 1.22.9 update released today assuming that wasn't yet picked up. And the other thread dies in rhythmbox.

@Strangiato checking the docs they have a new env variable. Does starting strawberry with

ORC_TARGET=sse strawberry

fix things even on 0.4.35 ?

Last edited by V1del (2024-01-25 16:23:29)

Online

#12 2024-01-25 16:29:39

Strangiato
Member
Registered: 2020-01-10
Posts: 382

Re: [solved] "Illegal instruction (core dumped)" with Strawberry player

gstreamer 1.22.9-1 was already installed on my system when creating this topic.

@V1del Yes, your command fixes the crash on 0.4.35.

Offline

#13 2024-01-25 16:35:43

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,769

Re: [solved] "Illegal instruction (core dumped)" with Strawberry player

right... this might be something to bug report, or given the age of the HW chalk it up to a hardware bug, and export that environment globally: https://wiki.archlinux.org/title/Enviro … s#Globally

Online

#14 2024-01-25 16:48:14

Strangiato
Member
Registered: 2020-01-10
Posts: 382

Re: [solved] "Illegal instruction (core dumped)" with Strawberry player

I have added "ORC_TARGET=sse" to /etc/environment file and rebooted. Now the crash with orc 0.4.35 is fixed even starting Strawberry via applications menu.

Thank you all for the help.

Offline

#15 2024-01-25 18:21:57

Bronko
Member
Registered: 2024-01-25
Posts: 4

Re: [solved] "Illegal instruction (core dumped)" with Strawberry player

V1del wrote:

the crashing code is in the depths of gstreamer, isn't it? I somewhat doubt rebuilding strawberry will be the resolution... I'd have more hopes for the gstreamer 1.22.9 update released today assuming that wasn't yet picked up. And the other thread dies in rhythmbox.

ORC_TARGET=sse strawberry

fix things even on 0.4.35 ?


Fixed for me on rhythmbox too under "orc 0.4.35-1" and "gstreamer 1.22.9-1".

Offline

#16 2024-01-25 18:47:08

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,597

Re: [solved] "Illegal instruction (core dumped)" with Strawberry player

So it would seem the AVX backend is requiring AVX2, even on non-AVX2 CPUs. This is likely a bug and should really be reported upstream.

Offline

#17 2024-01-25 19:23:24

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,769

Re: [solved] "Illegal instruction (core dumped)" with Strawberry player

it should indeed, can one of the affected open up a bug report https://gitlab.freedesktop.org/gstreamer/orc/-/issues and include the stack trace/maybe link back to here?

Last edited by V1del (2024-01-25 19:26:59)

Online

#18 2024-01-26 09:42:19

Bronko
Member
Registered: 2024-01-25
Posts: 4

Re: [solved] "Illegal instruction (core dumped)" with Strawberry player

V1del wrote:

it should indeed, can one of the affected open up a bug report https://gitlab.freedesktop.org/gstreamer/orc/-/issues and include the stack trace/maybe link back to here?


Not really sure why my rhythmbox topic was removed, but done.
virt-manager issue there shows in the same direction, I think.

Last edited by Bronko (2024-01-26 10:11:47)

Offline

#19 2024-01-26 10:30:47

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,769

Re: [solved] "Illegal instruction (core dumped)" with Strawberry player

I mentioned in the removal why I did it, so we don't have two threads discussing the same problem. Yes that's the same CPU so that will go in a similar direction, that wasn't yet present when I checked yesterday (and I don't have the HW/the error to reproduce so I didn't open one)

Online

#20 2024-01-26 15:08:41

Strangiato
Member
Registered: 2020-01-10
Posts: 382

Re: [solved] "Illegal instruction (core dumped)" with Strawberry player

Thanks for reporting the issue, Bronko.
The bug is already fixed upstream. smile

Last edited by Strangiato (2024-01-30 23:47:35)

Offline

Board footer

Powered by FluxBB