[pulseaudio-discuss] pulseaudio hangs up when bluetooth headset disappears
Brian J. Murrell
brian at interlinx.bc.ca
Fri Oct 11 15:47:27 CEST 2013
Using pulseaudio 3.0 on Fedora 19, I have been experiencing pulseaudio
hanging up to the point of needing to be killed with a SIGKILL when my
bluetooth headset disappears (i.e. out of range, or turned off, etc.).
When this happens, the following stack trace can be observed:
https://bugzilla.redhat.com/attachment.cgi?id=806687
In particular the hung thread looks like:
#0 pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1 0x00000038f6e0dc95 in _dbus_connection_acquire_dispatch
(connection=connection at entry=0x142dab0) at dbus-connection.c:4096
#2 0x00000038f6e0f6fc in dbus_connection_dispatch
(connection=connection at entry=0x142dab0) at dbus-connection.c:4531
#3 0x00000038f6e0fcca in _dbus_connection_read_write_dispatch
(connection=0x142dab0,
timeout_milliseconds=timeout_milliseconds at entry=-1,
dispatch=dispatch at entry=1) at dbus-connection.c:3646
#4 0x00000038f6e0fd60 in dbus_connection_read_write_dispatch
(connection=<optimized out>,
timeout_milliseconds=timeout_milliseconds at entry=-1) at
dbus-connection.c:3729
#5 0x0000003914e4821e in pa_dbus_wrap_connection_free (c=0x1402fd0) at
pulsecore/dbus-util.c:329
#6 0x00000038f7665229 in pa_dbus_connection_unref (c=0x14bf1d0) at
pulsecore/dbus-shared.c:91
#7 0x00007f7c8f1ef3d7 in pa_bluetooth_discovery_unref (y=0x13ef090) at
modules/bluetooth/bluetooth-util.c:1585
#8 0x00007f7c8efe3e25 in module_bluetooth_device_LTX_pa__done
(m=<optimized out>) at modules/bluetooth/module-bluetooth-device.c:2800
#9 0x00000038f762b559 in pa_module_free (m=0x1407ed0) at
pulsecore/module.c:162
#10 0x00000038f762bbce in pa_module_unload (c=<optimized out>,
m=<optimized out>, force=force at entry=true) at pulsecore/module.c:188
#11 0x00007f7c8efdf025 in discovery_hook_cb (y=<optimized out>,
d=<optimized out>, u=0x1431230) at
modules/bluetooth/module-bluetooth-device.c:2578
#12 0x00000038f7629e5c in pa_hook_fire (hook=0x13ef0b8, data=0x142ef30)
at pulsecore/hook-list.c:106
#13 0x00007f7c8f1f0831 in filter_cb (bus=<optimized out>, m=0x1598fb0,
userdata=0x13ef090) at modules/bluetooth/bluetooth-util.c:885
#14 0x00000038f6e0f9e6 in dbus_connection_dispatch
(connection=0x142dab0) at dbus-connection.c:4631
#15 0x0000003914e478c4 in dispatch_cb (ea=0x13b7518, ev=0x142dd50,
userdata=<optimized out>) at pulsecore/dbus-util.c:55
#16 0x0000003914222e4a in dispatch_defer (m=0x13b74c0) at
pulse/mainloop.c:684
#17 pa_mainloop_dispatch (m=m at entry=0x13b74c0) at pulse/mainloop.c:899
#18 0x00000039142230aa in pa_mainloop_iterate (m=m at entry=0x13b74c0,
block=block at entry=1, retval=retval at entry=0x7fff39e4b098) at
pulse/mainloop.c:939
#19 0x0000003914223150 in pa_mainloop_run (m=0x13b74c0,
retval=0x7fff39e4b098) at pulse/mainloop.c:954
#20 0x0000000000406d5b in main ()
Any ideas?
Cheers,
b.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 555 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20131011/8e6e5dcf/attachment.pgp>
More information about the pulseaudio-discuss
mailing list