https://bugs.freedesktop.org/show_bug.cgi?id=89672
--- Comment #4 from Rakesh M K <[email protected]> --- Created attachment 114486 --> https://bugs.freedesktop.org/attachment.cgi?id=114486&action=edit Proposed Patch to avoid the PA crash due to stop_thread() recursive. Proposed Patch to avoid the PA crash due to stop_thread() recursive. When remote headset is unpaired or disconnected, blueZ will call "ClearConfiguration" Dbus method. Which will update the transport state to disconnected. Due to which the STOP thread will be handled. When Stop thread handling is in progress, rendering thread will post the "BLUETOOTH_MESSAGE_IO_THREAD_FAILED" due to audio packet pa_write() fail. Since processing of message is done inside the stop_thread() which internally calls the Stop_thread() one more time. Further access pa msgQue memory which is already freed will leads to the pulseAudio crash. This patch with avoid the recursive call of 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
