[Bug 776540] GstGL: Occasional assertion failures on GST_IS_GL_DISPLAY and GST_IS_GL_CONTEXT
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Dec 30 00:48:36 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=776540
Matthew Waters (ystreet00) <ystreet00 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ystreet00 at gmail.com
--- Comment #1 from Matthew Waters (ystreet00) <ystreet00 at gmail.com> ---
G_DEBUG=fatal-warnings and a debugger are your friends here with the
criticals/warnings. You can get a backtrace when the critical occurs which may
be very helpful.
One possible explanation is a race between cinder/glfw and setting up the GL
display/context. Make sure that the supporting library is set up correctly
before attempting to retrieve the necessary display/context from it.
For g(st)_object_(un)ref assertions. That usually means a refcounting bug
somewhere which could be causing this whole mess.
The end of the log has activation happening in another thread than the
fill_info is called which should not happen. Determining why that happens will
probably get you closer to fixing the problem:
0:00:09.850171000 0x7fef3e76c840 DEBUG glcontext
gstglcontext.c:726:gst_gl_context_activate:<glcontextcocoa6>[00m activate:1
0:00:09.850246000 0x7fef3d9380a0 DEBUG glcontext
gstglcontext.c:1250:gst_gl_context_create_thread:<glcontextcocoa6>[00m Filling
info
** (<unknown>:64943): CRITICAL **: gst_gl_context_fill_info: assertion
'context->priv->active_thread == g_thread_self ()' failed
**
ERROR:gstglcontext.c:1252:gst_gl_context_create_thread: assertion failed:
(error == NULL || *error != NULL)
--
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