[Pkg-utopia-maintainers] Bug#1050916: pipewire death secondary to general protection fault in libspa-bluez5.so

John Smith barrdetwix at gmail.com
Thu Aug 31 12:38:59 BST 2023


Package: libspa-0.2-bluetooth
Version: 0.3.79-1

Hello, I noticed this line in dmesg after a Bluetooth audio loss:
[96307.727270] traps: wireplumber[2128] general protection fault ip:7f7b0145d29f sp:7f7b03ffe950 error:0 in libspa-bluez5.so[7f7b01449000+b1000]

I had a audio playing in Firefox, which I believe should have been the only app using audio. The computer was essentially idle at the moment it crashed, I wasn't touching the audio/bluetooth settings or the headset.
The bluetooth headset is a WH-1000XM4 using A2DP/LDAC. I'm running trixie/sid, up-to-date as of today.

$ uname -a
Linux home 6.5.0-bcachefs #35 SMP PREEMPT_DYNAMIC Wed Aug 30 00:31:55 CEST 2023 x86_64 GNU/Linux

$ journalctl --user -u pipewire
-- Boot c156c1df2e4f46c1a5d13e0309961d0f --
août 26 15:53:01 home systemd[1640]: Started pipewire.service - PipeWire Multimedia Service.
août 27 08:02:04 home systemd-coredump[31275]: [🡕] Process 1669 (pipewire) of user 1000 dumped core.
                                                 
                                                 Module libudev.so.1 from deb systemd-254.1-3.amd64
                                                 Module libsystemd.so.0 from deb systemd-254.1-3.amd64
                                                 Stack trace of thread 1702:
                                                 #0  0x00007fb7874d4eab n/a (libspa-audioconvert.so + 0x11eab)
                                                 #1  0x00007fb78ddb85a0 n/a (libspa-support.so + 0xd5a0)
                                                 #2  0x00007fb78ddb4df6 n/a (libspa-support.so + 0x9df6)
                                                 #3  0x00007fb78dcd94f0 n/a (libpipewire-0.3.so.0 + 0x4a4f0)
                                                 #4  0x00007fb78db353ec start_thread (libc.so.6 + 0x883ec)
                                                 #5  0x00007fb78dbb5940 __clone (libc.so.6 + 0x108940)
                                                 
                                                 Stack trace of thread 1693:
                                                 #0  0x00007fb78dbb5e26 epoll_wait (libc.so.6 + 0x108e26)
                                                 #1  0x00007fb78ddc3440 n/a (libspa-support.so + 0x18440)
                                                 #2  0x00007fb78ddb4d3d n/a (libspa-support.so + 0x9d3d)
                                                 #3  0x00007fb78dd3a065 n/a (libpipewire-0.3.so.0 + 0xab065)
                                                 #4  0x00007fb78db353ec start_thread (libc.so.6 + 0x883ec)
                                                 #5  0x00007fb78dbb5940 __clone (libc.so.6 + 0x108940)
                                                 
                                                 Stack trace of thread 1669:
                                                 #0  0x00007fb78dd26be2 pw_resource_destroy (libpipewire-0.3.so.0 + 0x97be2)
                                                 #1  0x00007fb78dcf12f5 pw_global_destroy (libpipewire-0.3.so.0 + 0x622f5)
                                                 #2  0x00007fb78dd0d798 pw_impl_node_destroy (libpipewire-0.3.so.0 + 0x7e798)
                                                 #3  0x00007fb78dd26c48 pw_resource_destroy (libpipewire-0.3.so.0 + 0x97c48)
                                                 #4  0x00007fb78dcc735d n/a (libpipewire-0.3.so.0 + 0x3835d)
                                                 #5  0x00007fb787fcd15f n/a (libpipewire-module-protocol-native.so + 0x2115f)
                                                 #6  0x00007fb787fc454f n/a (libpipewire-module-protocol-native.so + 0x1854f)
                                                 #7  0x00007fb787fc47d9 n/a (libpipewire-module-protocol-native.so + 0x187d9)
                                                 #8  0x00007fb78ddb4df6 n/a (libspa-support.so + 0x9df6)
                                                 #9  0x00007fb78dcfd698 pw_main_loop_run (libpipewire-0.3.so.0 + 0x6e698)
                                                 #10 0x000055c641aa945f n/a (pipewire + 0x145f)
                                                 #11 0x00007fb78dad46ca __libc_start_call_main (libc.so.6 + 0x276ca)
                                                 #12 0x00007fb78dad4785 __libc_start_main_impl (libc.so.6 + 0x27785)
                                                 #13 0x000055c641aa9601 n/a (pipewire + 0x1601)
                                                 ELF object binary architecture: AMD x86-64
août 27 08:02:04 home systemd[1640]: pipewire.service: Main process exited, code=dumped, status=11/SEGV
août 27 08:02:04 home systemd[1640]: pipewire.service: Failed with result 'core-dump'.
août 27 08:02:04 home systemd[1640]: pipewire.service: Consumed 4min 21.552s CPU time.
août 27 08:02:04 home systemd[1640]: pipewire.service: Scheduled restart job, restart counter is at 1.




$ journalctl --user -u wireplumber
août 31 11:00:03 home wireplumber[1970]: 0x55d23cc770e8: error 24
août 31 11:00:03 home wireplumber[1970]: (bluez_output.94_DB_56_EA_55_42.1-59) running -> error (Received error event)
août 31 11:00:03 home wireplumber[1970]: Failure in Bluetooth audio transport /org/bluez/hci0/dev_94_DB_56_EA_55_42/sep3/fd2
août 31 11:00:33 home wireplumber[1970]: RFCOMM receive command but modem not available: AT+NREC=0
août 31 13:05:37 home systemd-coredump[156718]: [🡕] Process 1970 (wireplumber) of user 1000 dumped core.
                                                  
                                                  Module libudev.so.1 from deb systemd-254.1-3.amd64
                                                  Module libsystemd.so.0 from deb systemd-254.1-3.amd64
                                                  Stack trace of thread 2128:
                                                  #0  0x00007f7b0145d29f n/a (libspa-bluez5.so + 0x2129f)
                                                  #1  0x00007f7b0145e813 n/a (libspa-bluez5.so + 0x22813)
                                                  #2  0x00007f7b0127721c n/a (libspa-audioconvert.so + 0x1221c)
                                                  #3  0x00007f7b09a20e01 n/a (libpipewire-0.3.so.0 + 0x74e01)
                                                  #4  0x00007f7b09ceddf6 n/a (libspa-support.so + 0x9df6)
                                                  #5  0x00007f7b099f6700 n/a (libpipewire-0.3.so.0 + 0x4a700)
                                                  #6  0x00007f7b098523ec start_thread (libc.so.6 + 0x883ec)
                                                  #7  0x00007f7b098d2940 __clone (libc.so.6 + 0x108940)
                                                  
                                                  Stack trace of thread 2125:
                                                  #0  0x00007f7b098d2e26 epoll_wait (libc.so.6 + 0x108e26)
                                                  #1  0x00007f7b09cfc440 n/a (libspa-support.so + 0x18440)
                                                  #2  0x00007f7b09cedd3d n/a (libspa-support.so + 0x9d3d)
                                                  #3  0x00007f7b09a57265 n/a (libpipewire-0.3.so.0 + 0xab265)
                                                  #4  0x00007f7b098523ec start_thread (libc.so.6 + 0x883ec)
                                                  #5  0x00007f7b098d2940 __clone (libc.so.6 + 0x108940)
                                                  
                                                  Stack trace of thread 1970:
                                                  #0  0x00007f7b098c59ef __GI___poll (libc.so.6 + 0xfb9ef)
                                                  #1  0x00007f7b09b00567 n/a (libglib-2.0.so.0 + 0x59567)
                                                  #2  0x00007f7b09b00ebf g_main_loop_run (libglib-2.0.so.0 + 0x59ebf)
                                                  #3  0x000055d23aa846e9 n/a (wireplumber + 0x26e9)
                                                  #4  0x00007f7b097f16ca __libc_start_call_main (libc.so.6 + 0x276ca)
                                                  #5  0x00007f7b097f1785 __libc_start_main_impl (libc.so.6 + 0x27785)
                                                  #6  0x000055d23aa84831 n/a (wireplumber + 0x2831)
                                                  
                                                  Stack trace of thread 2132:
                                                  #0  0x00007f7b098caeb9 syscall (libc.so.6 + 0x100eb9)
                                                  #1  0x00007f7b09b5a770 g_cond_wait (libglib-2.0.so.0 + 0xb3770)
                                                  #2  0x00007f7b09acaf2b n/a (libglib-2.0.so.0 + 0x23f2b)
                                                  #3  0x00007f7b09b2d712 n/a (libglib-2.0.so.0 + 0x86712)
                                                  #4  0x00007f7b09b2d0cd n/a (libglib-2.0.so.0 + 0x860cd)
                                                  #5  0x00007f7b098523ec start_thread (libc.so.6 + 0x883ec)
                                                  #6  0x00007f7b098d2940 __clone (libc.so.6 + 0x108940)
                                                  
                                                  Stack trace of thread 2129:
                                                  #0  0x00007f7b098c59ef __GI___poll (libc.so.6 + 0xfb9ef)
                                                  #1  0x00007f7b09b00567 n/a (libglib-2.0.so.0 + 0x59567)
                                                  #2  0x00007f7b09b00bfc g_main_context_iteration (libglib-2.0.so.0 + 0x59bfc)
                                                  #3  0x00007f7b09b00c41 n/a (libglib-2.0.so.0 + 0x59c41)
                                                  #4  0x00007f7b09b2d0cd n/a (libglib-2.0.so.0 + 0x860cd)
                                                  #5  0x00007f7b098523ec start_thread (libc.so.6 + 0x883ec)
                                                  #6  0x00007f7b098d2940 __clone (libc.so.6 + 0x108940)
                                                  
                                                  Stack trace of thread 2134:
                                                  #0  0x00007f7b098c59ef __GI___poll (libc.so.6 + 0xfb9ef)
                                                  #1  0x00007f7b09b00567 n/a (libglib-2.0.so.0 + 0x59567)
                                                  #2  0x00007f7b09b00ebf g_main_loop_run (libglib-2.0.so.0 + 0x59ebf)
                                                  #3  0x00007f7b096f78a6 n/a (libgio-2.0.so.0 + 0x11e8a6)
                                                  #4  0x00007f7b09b2d0cd n/a (libglib-2.0.so.0 + 0x860cd)
                                                  #5  0x00007f7b098523ec start_thread (libc.so.6 + 0x883ec)
                                                  #6  0x00007f7b098d2940 __clone (libc.so.6 + 0x108940)
                                                  ELF object binary architecture: AMD x86-64
août 31 13:05:37 home systemd[1946]: wireplumber.service: Main process exited, code=dumped, status=11/SEGV
août 31 13:05:37 home systemd[1946]: wireplumber.service: Failed with result 'core-dump'.
août 31 13:05:37 home systemd[1946]: wireplumber.service: Consumed 5min 21.857s CPU time.
août 31 13:05:38 home systemd[1946]: wireplumber.service: Scheduled restart job, restart counter is at 1.
août 31 13:05:38 home systemd[1946]: Started wireplumber.service - Multimedia Service Session Manager.


A copy of the core dump may be downloaded at:
https://alacrem.net/core/core.wireplumber.1000.d1b300fdcd144e2c816036f4e6c40d9e.1970.1693479937000000.zst


State of various packages with more or less related names:
i  libspa-0.2-bluetooth
p  libspa-0.2-bluetooth:i386
p  libspa-0.2-dev
p  libspa-0.2-dev:i386
i  libspa-0.2-jack
p  libspa-0.2-jack:i386
p  libspa-0.2-libcamera
p  libspa-0.2-libcamera:i386
i A libspa-0.2-modules
p  libspa-0.2-modules:i386

i  bluedevil
i  bluetooth
i  bluez
i A bluez-obexd
i  bluez-tools
i  libbluetooth-dev
i A libbluetooth3
i A libkf5bluezqt-data
i  libkf5bluezqt-dev
i A libkf5bluezqt-doc
i A libkf5bluezqt6
i  libspa-0.2-bluetooth
i A qml-module-org-kde-bluezqt

i A libwireplumber-0.4-0
i  wireplumber

i A libkpipewire5
i A libkpipewiredmabuf5
i A libkpipewirerecord5
i A libpipewire-0.3-0
i A libpipewire-0.3-common
i A libpipewire-0.3-modules
i  pipewire
i A pipewire-alsa
i  pipewire-audio
i A pipewire-bin
i  pipewire-jack
i  pipewire-pulse
i A qml-module-org-kde-pipewire
i A vlc-plugin-pipewire

i A libcanberra-pulse
i A libkf5pulseaudioqt3
i  libpulse-dev
i  libpulse-dev:i386
i A libpulse-mainloop-glib0
i A libpulse-mainloop-glib0:i386
i A libpulse0
i A libpulse0:i386
i A libpulsedsp
i  libpulsedsp:i386
i  pipewire-pulse
i A pulseaudio-utils


Thank you, please let me know I forgot something relevant, or if I can help further



More information about the Pkg-utopia-maintainers mailing list