https://bugs.freedesktop.org/show_bug.cgi?id=89672
--- Comment #3 from Rakesh M K <[email protected]> --- In addition to the issue explained by Mr. Sagar, please find the root cause for the issue. //When remote headset is unpaired or disconnected, blueZ will call "ClearConfiguration" Dbus method. Which will update the transport state to disconnected. 16:19:35.027+0900 375 375 I PULSEAUDIO: [pulseaudio] bluez5-util.c: dbus: path=/MediaEndpoint/A2DPSource, interface=org.bluez.MediaEndpoint1, member=ClearConfiguration 16:19:35.027+0900 375 375 I PULSEAUDIO: [pulseaudio] bluez5-util.c: Clearing transport /org/bluez/hci0/dev_00_18_09_24_68_25/fd0 profile a2dp_sink //Due to which the STOP thread will be handled. transport_state_changed_cb() -> pa_card_set_profile() -> set_profile_cb() -> stop_thread(). //When Stop thread handling is in progress, rendering thread will post the "BLUETOOTH_MESSAGE_IO_THREAD_FAILED" due to audio packet pa_write() fail. thread_func() -> a2dp_process_render() -> goto fail; -> pa_asyncmsgq_post(with IO thread fail). 16:19:35.032+0900 375 620 E PULSEAUDIO: [bluetooth] module-bluez5-device.c: Failed to write data to socket: Broken pipe 16:19:35.032+0900 375 620 I PULSEAUDIO: [bluetooth] module-bluez5-device.c: IO thread failed //Since processing of message is done inside the stop_thread() which internally calls the Stop_thread() one more time. stop_thread() -> pa_thread_mq_done() -> pa_asyncmsgq_flush() -> pa_asyncmsgq_dispatch() -> device_process_msg() for BLUETOOTH_MESSAGE_IO_THREAD_FAILED -> pa_card_set_profile() -> set_profile_cb() -> stop_thread(). -- You are receiving this mail because: You are the QA Contact for the bug. You are the assignee for the bug.
_______________________________________________ pulseaudio-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs
