[Bug 730069] New: gl: Crash when setting invalid GST_GL_PLATFORM

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue May 13 09:58:57 PDT 2014


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

           Summary: gl: Crash when setting invalid GST_GL_PLATFORM
    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: nicolas.dufresne at collabora.co.uk
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


GST_GL_PLATFORM=e gst-launch-1.0 videotestsrc ! video/x-raw,format=I420 !
glimagesink

Leads to multiple assertions and then crash. Very easy to reproduce, no need to
attach backtrace I think, or leave it to those who can reproduce.

Got context from element 'glimagesink0': gst.gl.GLDisplay=context,
gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayX11\)\ gldisplayx11-0";

** (gst-launch-1.0:6732): CRITICAL **: gst_gl_context_get_window: assertion
'GST_GL_IS_CONTEXT (context)' failed

** (gst-launch-1.0:6732): CRITICAL **: gst_gl_context_create: assertion
'GST_GL_IS_CONTEXT (context)' failed

(gst-launch-1.0:6732): GStreamer-CRITICAL **: gst_object_unref: assertion
'object != NULL' failed
Caught SIGSEGV
#0  0x0000003b45eea9dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x0000003b486495b4 in g_main_context_iterate.isra.24 ()
#2  0x0000003b48649a3a in g_main_loop_run () from /lib64/libglib-2.0.so.0
#3  0x00007f3b4cf589d4 in gst_bus_poll (bus=bus at entry=0x2722ac0, 
#4  0x00000000004047d8 in event_loop (pipeline=0x2752200, 
#5  0x00000000004037a0 in main (argc=6, argv=0x7fff5288f108)

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