No subject


Thu Feb 24 05:18:45 PST 2011


1. Thread 1 takes the mainloop lock followed by the resource lock in
open_device(), sets up a context, and does a wait()

2. In the mean time, thread 2 enters open_device(), takes the mainloop lock
(which is a recursive lock, and blocks any events from being dispatched), and
then blocks on the resource lock

3. Since thread 2 is sleeping with the mainloop lock, the context state
callback will never be issued and thus it cannot signal thread 1 to wake up

Philip, could you try the patch I've attached to see if the deadlock goes away?

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list