On Tue, 2012-12-04 at 03:47 +0200, Tanu Kaskinen wrote: > Hmm... I checked when the operation state is set to DONE, and it's not > done until after calling the callback. So, if the kernel schedules the > main thread after the pa_threaded_mainloop_signal() call, but before the > operation state is set to DONE, the main thread will get stuck. It's a > bug in libcanberra. I'll try to come up with a patch for that. I've attached a patch. Henrik, could you test it? libcanberra source code can be retrieved with git clone git://git.0pointer.de/libcanberra -- Tanu -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-pulse-Fix-incorrect-operation-state-monitoring.patch Type: text/x-patch Size: 3291 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20121204/f7db8be2/attachment.bin>