[Bug 747124] New: Seg fault in gstglbasefilter.c
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Mar 31 09:12:53 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=747124
Bug ID: 747124
Summary: Seg fault in gstglbasefilter.c
Classification: Platform
Product: GStreamer
Version: unspecified
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gst-plugins-bad
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: obzhirov at yahoo.co.uk
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 300682
--> https://bugzilla.gnome.org/attachment.cgi?id=300682&action=edit
Patch to fix the seg fault.
If you run ./configure --disable-glx --enable-egl --disable-opengl
--enable-gles2 for master
and then run
GST_DEBUG=*:2 GST_GL_WINDOW=x11 GST_GL_API=opengl GST_GL_PLATFORM=glx
gst-launch-1.0 videotestsrc ! glupload ! gleffects effect=glow ! glimagesink
It will seg fault.
gstglimagesink.c(781): _ensure_gl_setup ():
/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLImageSink:sink
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
** (gst-launch-1.0:9360): CRITICAL **: gst_gl_context_create: assertion
'GST_GL_IS_CONTEXT (context)' failed
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff1fae700 (LWP 9364)]
0x00007ffff4ea8cd1 in gst_gl_base_filter_decide_allocation (trans=0x7afce0,
query=<optimised out>) at gstglbasefilter.c:361
361 GST_ELEMENT_ERROR (trans, RESOURCE, NOT_FOUND, ("%s",
error->message),
(gdb) bt
#0 0x00007ffff4ea8cd1 in gst_gl_base_filter_decide_allocation (trans=0x7afce0,
query=<optimised out>) at gstglbasefilter.c:361
#1 0x00007ffff4ea5bd3 in gst_gl_filter_decide_allocation (trans=0x7afce0,
query=0x7fffec0032d0) at gstglfilter.c:810
#2 0x00007ffff533806f in gst_base_transform_do_bufferpool (outcaps=0x7baed0,
trans=0x7afce0) at gstbasetransform.c:999
#3 gst_base_transform_setcaps (trans=trans at entry=0x7afce0, pad=<optimised
out>, incaps=<optimised out>) at gstbasetransform.c:1396
#4 0x00007ffff5339055 in gst_base_transform_sink_eventfunc (trans=0x7afce0,
event=0x7bd5e0) at gstbasetransform.c:1904
#5 0x00007ffff7b2be4a in gst_pad_send_event_unchecked (pad=pad at entry=0x7a0770,
event=event at entry=0x7bd5e0,
type=type at entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM) at gstpad.c:5296
#6 0x00007ffff7b2c53b in gst_pad_push_event_unchecked (pad=pad at entry=0x7a0540,
event=0x7bd5e0, type=type at entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM) at
gstpad.c:4983
#7 0x00007ffff7b2caf8 in push_sticky (pad=0x7a0540, ev=0x7ffff1fad830,
user_data=0x7ffff1fad890) at gstpad.c:3590
#8 0x00007ffff7b2acf2 in events_foreach (pad=pad at entry=0x7a0540,
func=func at entry=0x7ffff7b2c9a0 <push_sticky>,
user_data=user_data at entry=0x7ffff1fad890) at gstpad.c:583
#9 0x00007ffff7b35ad8 in check_sticky (event=0x7bd5e0, pad=0x7a0540) at
gstpad.c:3646
#10 gst_pad_push_event (pad=pad at entry=0x7a0540, event=0x7bd5e0) at
gstpad.c:5108
#11 0x00007ffff5338118 in gst_pad_set_caps (caps=0x7baed0, pad=0x7a0540) at
../../../gst/gstcompat.h:55
#12 gst_base_transform_setcaps (trans=trans at entry=0x7b6130, pad=<optimised
out>, incaps=<optimised out>) at gstbasetransform.c:1391
#13 0x00007ffff5339055 in gst_base_transform_sink_eventfunc (trans=0x7b6130,
event=0x7bd570) at gstbasetransform.c:1904
#14 0x00007ffff7b2be4a in gst_pad_send_event_unchecked (pad=pad at entry=0x7a0310,
event=event at entry=0x7bd570,
type=type at entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM) at gstpad.c:5296
#15 0x00007ffff7b2c53b in gst_pad_push_event_unchecked (pad=pad at entry=0x7a00e0,
event=0x7bd570, type=type at entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM) at
gstpad.c:4983
#16 0x00007ffff7b2caf8 in push_sticky (pad=0x7a00e0, ev=0x7ffff1fadc10,
user_data=0x7ffff1fadc70) at gstpad.c:3590
#17 0x00007ffff7b2acf2 in events_foreach (pad=pad at entry=0x7a00e0,
func=func at entry=0x7ffff7b2c9a0 <push_sticky>,
user_data=user_data at entry=0x7ffff1fadc70) at gstpad.c:583
#18 0x00007ffff7b35ad8 in check_sticky (event=0x7bd570, pad=0x7a00e0) at
gstpad.c:3646
#19 gst_pad_push_event (pad=0x7a00e0, event=0x7bd570) at gstpad.c:5108
#20 0x00007ffff5332347 in gst_base_src_set_caps (src=src at entry=0x79f590,
caps=caps at entry=0x7fffec003000) at gstbasesrc.c:925
#21 0x00007ffff5332761 in gst_base_src_default_negotiate (basesrc=0x79f590) at
gstbasesrc.c:3232
#22 0x00007ffff53302ec in gst_base_src_negotiate (basesrc=0x79f590) at
gstbasesrc.c:3272
#23 gst_base_src_loop (pad=0x7a00e0) at gstbasesrc.c:2699
#24 0x00007ffff7b5c401 in gst_task_func (task=0x7d9050) at gsttask.c:331
#25 0x00007ffff75d988c in g_thread_pool_thread_proxy (data=<optimised out>) at
/build/buildd/glib2.0-2.40.2/./glib/gthreadpool.c:307
#26 0x00007ffff75d8f05 in g_thread_proxy (data=0x7ba800) at
/build/buildd/glib2.0-2.40.2/./glib/gthread.c:764
#27 0x00007ffff7355182 in start_thread (arg=0x7ffff1fae700) at
pthread_create.c:312
#28 0x00007ffff708200d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111
I've added patch fixing it, please have look.
--
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