[Bug 768630] gst_element_get_state hangs waiting for state change (glcolorconvert, context sharing, OS X)

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jul 14 07:15:45 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=768630

--- Comment #9 from Matthew Waters (ystreet00) <ystreet00 at gmail.com> ---
(In reply to gohai from comment #8)
> I haven't found code that would let me believe that CFRunLoop is somehow
> used within the JOGL NEWT windowing toolkit, or within OpenJDK.

It does because it's in your backtrace. Look at thread 1 in the lldb backtrace.

> Calling CFRunLoopGetCurrent() and CFRunLoopGetMain() before I wait for the
> state change hands me two different, non-NULL pointers back.

That could be problematic.

> I also tried calling CFRunLoopRunInMode() myself, but so far this hasn't
> made a difference.

I doubt this would achieve anything.  You probably need to make the main
CFRunLoop iterate somehow.

http://stackoverflow.com/questions/8750690/osx-javavm-awt-swing-and-possibly-a-deadlock
sounds very similar to what may happen in your case.

-- 
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