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

--- Comment #2 from Tanu Kaskinen <ta...@iki.fi> ---
Actually, I think the other thread is not the thread where pulsesrc's
pa_context runs, it's just some internal thread of gstreamer. Empathy has some
callback running in that thread, and the callback incorrectly accesses the
pa_context object that is supposed to be used only from the main thread.

As a solution, I'd look into sending a message from the gstreamer thread to the
main thread (I'm not very familiar with glib, so I don't know exactly how that
is done), and do the pa_context access from the main thread. I suppose this
could also be solved by adding more locking, but I personally prefer message
passing over locks.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
_______________________________________________
pulseaudio-bugs mailing list
pulseaudio-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs

Reply via email to