Crash when trying to run `wireplumber` in Archlinux
Version, Distribution, Desktop Environment: pipewire Compiled with libpipewire 0.3.22 Linked with libpipewire 0.3.22
Running on Archlinux last updated about 30 minutes ago.
Description of Problem:
Running wireplumber
causes a segfault and stops any music from playing.
How Reproducible: 100%
Steps to Reproduce:
$ wireplumber
Actual Results: Music stops, some audio sinks disappear, had to restart music app.
$ wireplumber
W 15:47:20.415419 m-device-activatio ../modules/module-device-activation.c:98:on_node_added: <WpDeviceActivation:0x556e25723590> cannot find device for node reservation data
W 15:47:20.415448 m-device-activatio ../modules/module-device-activation.c:98:on_node_added: <WpDeviceActivation:0x556e25723590> cannot find device for node reservation data
W 15:47:20.415454 m-device-activatio ../modules/module-device-activation.c:98:on_node_added: <WpDeviceActivation:0x556e25723590> cannot find device for node reservation data
W 15:47:20.415458 m-device-activatio ../modules/module-device-activation.c:98:on_node_added: <WpDeviceActivation:0x556e25723590> cannot find device for node reservation data
W 15:47:20.415463 m-device-activatio ../modules/module-device-activation.c:98:on_node_added: <WpDeviceActivation:0x556e25723590> cannot find device for node reservation data
W 15:47:20.415468 m-device-activatio ../modules/module-device-activation.c:98:on_node_added: <WpDeviceActivation:0x556e25723590> cannot find device for node reservation data
W 15:47:20.415473 m-device-activatio ../modules/module-device-activation.c:98:on_node_added: <WpDeviceActivation:0x556e25723590> cannot find device for node reservation data
C 15:47:20.417348 m-device-activatio (null):(null):(null): on_bus_acquired: assertion '!error' failed
C 15:47:20.417397 m-device-activatio (null):(null):(null): on_bus_acquired: assertion '!error' failed
C 15:47:20.417768 m-device-activatio (null):(null):(null): on_bus_acquired: assertion '!error' failed
W 15:47:20.418999 GLib-GIO (null):(null):(null): Unexpected reply 3 when releasing name org.freedesktop.ReserveDevice1.Audio1
W 15:47:20.419193 GLib-GIO (null):(null):(null): Unexpected reply 3 when releasing name org.freedesktop.ReserveDevice1.Audio2
W 15:47:20.419716 GLib-GIO (null):(null):(null): Unexpected reply 3 when releasing name org.freedesktop.ReserveDevice1.Audio0
W 15:47:20.437066 m-config-endpoint ../modules/module-config-endpoint/context.c:68:endpoint_export_finish_cb: <WpConfigEndpointContext:0x556e25723750> failed to export endpoint: pipewire proxy destroyed before finishing
W 15:47:20.443258 m-config-endpoint ../modules/module-config-endpoint/context.c:68:endpoint_export_finish_cb: <WpConfigEndpointContext:0x556e25723750> failed to export endpoint: pipewire proxy destroyed before finishing
W 15:47:20.443401 m-config-endpoint ../modules/module-config-endpoint/context.c:68:endpoint_export_finish_cb: <WpConfigEndpointContext:0x556e25723750> failed to export endpoint: pipewire proxy destroyed before finishing
C 15:47:20.455648 wp-proxy (null):(null):(null): wp_proxy_set_feature_ready: assertion 'WP_IS_PROXY (self)' failed
C 15:47:20.456248 wp-proxy (null):(null):(null): wp_proxy_set_feature_ready: assertion 'WP_IS_PROXY (self)' failed
C 15:47:20.456255 wp-proxy (null):(null):(null): wp_proxy_set_feature_ready: assertion 'WP_IS_PROXY (self)' failed
W 15:47:20.456305 m-config-endpoint ../modules/module-config-endpoint/context.c:68:endpoint_export_finish_cb: <WpConfigEndpointContext:0x556e25723750> failed to export endpoint: pipewire proxy destroyed before finishing
W 15:47:20.456342 m-config-endpoint ../modules/module-config-endpoint/context.c:68:endpoint_export_finish_cb: <WpConfigEndpointContext:0x556e25723750> failed to export endpoint: pipewire proxy destroyed before finishing
W 15:47:20.456371 m-config-endpoint ../modules/module-config-endpoint/context.c:68:endpoint_export_finish_cb: <WpConfigEndpointContext:0x556e25723750> failed to export endpoint: pipewire proxy destroyed before finishing
W 15:47:20.456572 m-config-endpoint ../modules/module-config-endpoint/context.c:68:endpoint_export_finish_cb: <WpConfigEndpointContext:0x556e25723750> failed to export endpoint: pipewire proxy destroyed before finishing
W 15:47:20.456758 m-config-endpoint ../modules/module-config-endpoint/context.c:68:endpoint_export_finish_cb: <WpConfigEndpointContext:0x556e25723750> failed to export endpoint: pipewire proxy destroyed before finishing
W 15:47:20.456929 m-config-endpoint ../modules/module-config-endpoint/context.c:68:endpoint_export_finish_cb: <WpConfigEndpointContext:0x556e25723750> failed to export endpoint: pipewire proxy destroyed before finishing
W 15:47:20.457088 m-config-endpoint ../modules/module-config-endpoint/context.c:68:endpoint_export_finish_cb: <WpConfigEndpointContext:0x556e25723750> failed to export endpoint: pipewire proxy destroyed before finishing
W 15:47:20.472690 wp-props ../lib/wp/props.c:414:wp_props_store_many: <WpProps:0x556e258f9690> failed to get property name & value
W 15:47:20.472705 wp-props ../lib/wp/props.c:414:wp_props_store_many: <WpProps:0x556e258f9690> failed to get property name & value
W 15:47:20.472708 wp-props ../lib/wp/props.c:414:wp_props_store_many: <WpProps:0x556e258f9690> failed to get property name & value
W 15:47:20.472757 wp-props ../lib/wp/props.c:414:wp_props_store_many: <WpProps:0x556e25a56c30> failed to get property name & value
C 15:47:20.477571 wp-registry (null):(null):(null): wp_global_bind: assertion 'global->proxy' failed
[1] 12967 segmentation fault (core dumped) wireplumber
$ wireplumber
W 15:48:05.783197 m-device-activatio ../modules/module-device-activation.c:98:on_node_added: <WpDeviceActivation:0x55b767e35190> cannot find device for node reservation data
W 15:48:05.783227 m-device-activatio ../modules/module-device-activation.c:98:on_node_added: <WpDeviceActivation:0x55b767e35190> cannot find device for node reservation data
W 15:48:05.783231 m-device-activatio ../modules/module-device-activation.c:98:on_node_added: <WpDeviceActivation:0x55b767e35190> cannot find device for node reservation data
W 15:48:05.783235 m-device-activatio ../modules/module-device-activation.c:98:on_node_added: <WpDeviceActivation:0x55b767e35190> cannot find device for node reservation data
W 15:48:05.783239 m-device-activatio ../modules/module-device-activation.c:98:on_node_added: <WpDeviceActivation:0x55b767e35190> cannot find device for node reservation data
W 15:48:05.821471 GLib-GObject (null):(null):(null): invalid unclassed pointer in cast to 'GObject'
C 15:48:05.821482 GLib-GObject (null):(null):(null): g_object_notify: assertion 'G_IS_OBJECT (object)' failed
W 15:48:05.821485 GLib-GObject (null):(null):(null): invalid unclassed pointer in cast to 'GObject'
C 15:48:05.821491 GLib-GObject (null):(null):(null): g_object_notify: assertion 'G_IS_OBJECT (object)' failed
W 15:48:05.821495 GLib-GObject (null):(null):(null): invalid unclassed pointer in cast to 'GObject'
C 15:48:05.821498 GLib-GObject (null):(null):(null): g_object_notify: assertion 'G_IS_OBJECT (object)' failed
[1] 13456 segmentation fault (core dumped) wireplumber
$ gdb wireplumber
GNU gdb (GDB) 10.1
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from wireplumber...
(No debugging symbols found in wireplumber)
(gdb) run
Starting program: /usr/bin/wireplumber
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7ffff73ea640 (LWP 13603)]
[New Thread 0x7ffff6b4e640 (LWP 13604)]
[New Thread 0x7ffff62d9640 (LWP 13605)]
[New Thread 0x7ffff54fe640 (LWP 13606)]
[New Thread 0x7ffff4cfd640 (LWP 13607)]
C 15:48:16.148167 m-device-activatio (null):(null):(null): on_bus_acquired: assertion '!error' failed
C 15:48:16.148239 m-device-activatio (null):(null):(null): on_bus_acquired: assertion '!error' failed
C 15:48:16.148291 m-device-activatio (null):(null):(null): on_bus_acquired: assertion '!error' failed
W 15:48:16.148829 GLib-GIO (null):(null):(null): Unexpected reply 3 when releasing name org.freedesktop.ReserveDevice1.Audio1
W 15:48:16.149416 GLib-GIO (null):(null):(null): Unexpected reply 3 when releasing name org.freedesktop.ReserveDevice1.Audio2
W 15:48:16.149515 GLib-GIO (null):(null):(null): Unexpected reply 3 when releasing name org.freedesktop.ReserveDevice1.Audio0
M 15:48:16.405018 wp-object-manager ../lib/wp/object-manager.c:662:on_proxy_ready: <WpObjectManager:0x5555556d7540> proxy augment failed: pipewire proxy destroyed before finishing
M 15:48:16.405046 wp-object-manager ../lib/wp/object-manager.c:662:on_proxy_ready: <WpObjectManager:0x5555556d7540> proxy augment failed: pipewire proxy destroyed before finishing
M 15:48:16.405059 wp-object-manager ../lib/wp/object-manager.c:662:on_proxy_ready: <WpObjectManager:0x5555556d7540> proxy augment failed: pipewire proxy destroyed before finishing
M 15:48:16.405069 wp-object-manager ../lib/wp/object-manager.c:662:on_proxy_ready: <WpObjectManager:0x5555556d7540> proxy augment failed: pipewire proxy destroyed before finishing
W 15:48:16.435551 wp-props ../lib/wp/props.c:414:wp_props_store_many: <WpProps:0x7fffe8013730> failed to get property name & value
W 15:48:16.435570 wp-props ../lib/wp/props.c:414:wp_props_store_many: <WpProps:0x7fffe8013730> failed to get property name & value
W 15:48:16.436961 wp-props ../lib/wp/props.c:414:wp_props_store_many: <WpProps:0x5555556ebb30> failed to get property name & value
W 15:48:16.436973 wp-props ../lib/wp/props.c:414:wp_props_store_many: <WpProps:0x5555556ebb30> failed to get property name & value
W 15:48:16.437192 wp-props ../lib/wp/props.c:414:wp_props_store_many: <WpProps:0x5555556a9f90> failed to get property name & value
W 15:48:16.437201 wp-props ../lib/wp/props.c:414:wp_props_store_many: <WpProps:0x5555556a9f90> failed to get property name & value
W 15:48:16.437408 wp-props ../lib/wp/props.c:414:wp_props_store_many: <WpProps:0x5555556e7ec0> failed to get property name & value
W 15:48:16.437418 wp-props ../lib/wp/props.c:414:wp_props_store_many: <WpProps:0x5555556e7ec0> failed to get property name & value
W 15:48:16.437913 wp-props ../lib/wp/props.c:414:wp_props_store_many: <WpProps:0x7fffe8010e90> failed to get property name & value
W 15:48:16.437924 wp-props ../lib/wp/props.c:414:wp_props_store_many: <WpProps:0x7fffe8010e90> failed to get property name & value
W 15:48:16.438485 wp-props ../lib/wp/props.c:414:wp_props_store_many: <WpProps:0x5555556e8270> failed to get property name & value
W 15:48:16.438495 wp-props ../lib/wp/props.c:414:wp_props_store_many: <WpProps:0x5555556e8270> failed to get property name & value
C 15:48:16.438742 wp-registry (null):(null):(null): wp_global_bind: assertion 'global->proxy' failed
Thread 1 "wireplumber" received signal SIGSEGV, Segmentation fault.
0x00007ffff7d6e07b in ?? () from /usr/lib/libwireplumber-0.3.so.0
(gdb) bt
#0 0x00007ffff7d6e07b in () at /usr/lib/libwireplumber-0.3.so.0
#1 0x00007ffff7d7a958 in () at /usr/lib/libwireplumber-0.3.so.0
#2 0x00007ffff7d6e45d in () at /usr/lib/libwireplumber-0.3.so.0
#3 0x00007ffff7d6abe7 in () at /usr/lib/libwireplumber-0.3.so.0
#4 0x00007ffff7d83870 in () at /usr/lib/libwireplumber-0.3.so.0
#5 0x00007ffff7d8c615 in wp_transition_advance () at /usr/lib/libwireplumber-0.3.so.0
#6 0x00007ffff5a4e3fa in () at /usr/lib/wireplumber-0.3/libwireplumber-module-config-endpoint.so
#7 0x00007ffff7d01072 in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
#8 0x00007ffff7d85c1c in () at /usr/lib/libwireplumber-0.3.so.0
#9 0x00007ffff7d8c644 in wp_transition_advance () at /usr/lib/libwireplumber-0.3.so.0
#10 0x00007ffff5ab4c67 in () at /usr/lib/wireplumber-0.3/libwireplumber-module-si-audio-softdsp-endpoint.so
#11 0x00007ffff7d01072 in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
#12 0x00007ffff7d85c1c in () at /usr/lib/libwireplumber-0.3.so.0
#13 0x00007ffff7d8c644 in wp_transition_advance () at /usr/lib/libwireplumber-0.3.so.0
#14 0x00007ffff7765f10 in () at /usr/lib/wireplumber-0.3/libwireplumber-module-si-convert.so
#15 0x00007ffff7d8c615 in wp_transition_advance () at /usr/lib/libwireplumber-0.3.so.0
#16 0x00007ffff7766416 in () at /usr/lib/wireplumber-0.3/libwireplumber-module-si-convert.so
#17 0x00007ffff7a9e174 in () at /usr/lib/libgio-2.0.so.0
#18 0x00007ffff7aa26e9 in () at /usr/lib/libgio-2.0.so.0
#19 0x00007ffff7d7a2f8 in () at /usr/lib/libwireplumber-0.3.so.0
#20 0x00007ffff7d1d9ca in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
#21 0x00007ffff7d1db40 in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
#22 0x00007ffff7d7698b in () at /usr/lib/libwireplumber-0.3.so.0
#23 0x00007ffff7c0cb84 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#24 0x00007ffff7c60c21 in () at /usr/lib/libglib-2.0.so.0
#25 0x00007ffff7c0c0d3 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#26 0x00005555555562e1 in ()
#27 0x00007ffff7dd5b25 in __libc_start_main () at /usr/lib/libc.so.6
#28 0x000055555555633e in ()
(gdb) q
A debugging session is active.
Inferior 1 [process 13599] will be killed.
Quit anyway? (y or n) y