[Bug 734830] New: GstGLMixer gl resource race condition

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Aug 14 21:03:35 PDT 2014


https://bugzilla.gnome.org/show_bug.cgi?id=734830
  GStreamer | gst-plugins-bad | git

           Summary: GstGLMixer gl resource race condition
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-bad
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: comicfans44 at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=283432)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=283432)
demo code to trigger the bug

while pipeline dynamic changed, gst_gl_mixer_decide_allocation (runs on app
main thread) will re-allocate fbo/depth_texture, 
but gst_gl_mixer_process_textures(runs on GstAggregator's own main context
thread,) may still runs. leads invalid gl object access .


the demo code is modified "dynamic change pipeline element " from gstreamer
manual , this demo will trigger 

*: gint gst_gl_shader_get_attribute_location(GstGLShader *, const gchar *):
assertion 'priv->program_handle != 0' failed

or fbo !=0 assert while changing elements 

(the GstAggregator use buffer timestamp to decide which buffers to display,so
it didn't fit dynamic element very well. only first a few element changes can
be viewed)

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