[pulseaudio-tickets] [Bug 89672] PulseAudio crashes when remote device is unpaired during A2DP streaming

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Mar 27 02:28:31 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=89672

--- Comment #7 from David Henningsson <david.henningsson at canonical.com> ---
Comment on attachment 114580
  --> https://bugs.freedesktop.org/attachment.cgi?id=114580
Fix: Prevent calling pa_rtpoll_free() for a NULL rtpoll

Review of attachment 114580:
-----------------------------------------------------------------

Sorry for the slow reply. Are you 100% certain that messages dispatched by
pa_thread_mq_done will not need the rtpoll? If not, perhaps the following is
better:

    if (u->rtpoll)
        pa_thread_mq_done(&u->thread_mq); 
    /* pa_thread_mq_done might recurse into stop_thread again, hence this extra
"if (u->rtpoll)" check */
    if (u->rpoll) {
        pa_rtpoll_free(u->rtpoll);
        u->rtpoll = NULL;
    }

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20150327/3e8d8f81/attachment.html>


More information about the pulseaudio-bugs mailing list