[pulseaudio-discuss] [PATCH 1/2] Properly initialise m->n_waiting_for_accept to prevent deadlock
Lennart Poettering
lennart at poettering.net
Tue Jan 5 10:58:31 PST 2010
On Mon, 04.01.10 21:58, Daniel Chen (seven.steps at gmail.com) wrote:
> From f89fc408dadbbb43f6ff5147845686792deb3683 Mon Sep 17 00:00:00 2001
> From: Daniel T Chen <crimsun at ubuntu.com>
> Date: Mon, 4 Jan 2010 21:44:37 -0500
> Subject: [PATCH 1/2] Properly initialise m->n_waiting_for_accept to prevent deadlock
> MIME-Version: 1.0
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: 8bit
>
> BugLink: https://bugs.launchpad.net/bugs/502992
>
> Compiler optimisations have been seen to initialise
> m->n_waiting_for_accept to a positive non-zero value, so the while() in
> pa_threaded_mainloop_signal() never proceeds. Fix this by properly
> initializing m->n_waiting_for_accept in pa_threaded_mainloop_new().
>
> Patch from Iain Bucław.
Thanks for tracking this one down. Applied!
Thanks,
Lennart
--
Lennart Poettering Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/ GnuPG 0x1A015CC4
More information about the pulseaudio-discuss
mailing list