[gstreamer-bugs] [Bug 346663] New: Segmentation error with fakesrc, fakesink and a filter
GStreamer (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Wed Jul 5 08:44:35 PDT 2006
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=346663
GStreamer | gstreamer (core) | Ver: 0.10.x
Summary: Segmentation error with fakesrc, fakesink and a filter
Product: GStreamer
Version: 0.10.x
Platform: Other
OS/Version: All
Status: UNCONFIRMED
Severity: critical
Priority: Normal
Component: gstreamer (core)
AssignedTo: gstreamer-bugs at lists.sourceforge.net
ReportedBy: pkj at axis.com
QAContact: gstreamer-bugs at lists.sourceforge.net
GNOME version: Unspecified
GNOME milestone: Unspecified
Steps to reproduce:
I get a segmentation error when I run the following command:
gst-launch fakesrc ! 'video/x-raw-yuv,format=(fourcc)YUY2,width=176,height=144'
! ffmpegcolorspace ! fakesink
It seems to be caused by gst_base_transform_prepare_output_buffer() being
called with an in_buf with size 0 and out_size being 0, which causes a call to
gst_buffer_create_sub() with size being 0, which in turn causes it to return
NULL, which isn't handled...
Stack trace:
#0 gst_caps_replace (caps=0x28, newcaps=0x0)
at ../../../gstreamer/gst/gstcaps.c:1581
#1 0x356da5fc in gst_base_transform_prepare_output_buffer (trans=0xad0b0,
in_buf=0xafa90, out_size=0, out_caps=0x0, out_buf=0x9f7ffc9c)
at ../../../../../gstreamer/libs/gst/base/gstbasetransform.c:902
#2 0x356dad7e in gst_base_transform_handle_buffer (trans=0xad0b0,
inbuf=0xafa90, outbuf=0x9f7ffc9c)
at ../../../../../gstreamer/libs/gst/base/gstbasetransform.c:1337
#3 0x356db0a4 in gst_base_transform_chain (pad=0x28, buffer=0xafa90)
at ../../../../../gstreamer/libs/gst/base/gstbasetransform.c:1457
#4 0x3558d04c in gst_pad_chain (pad=0xa7b18, buffer=0xafa90)
at ../../../gstreamer/gst/gstpad.c:3232
#5 0x3558d3a8 in gst_pad_push (pad=0xa7818, buffer=0xafa90)
at ../../../gstreamer/gst/gstpad.c:3348
#6 0x356d92fc in gst_base_src_loop (pad=0xa7818)
at ../../../../../gstreamer/libs/gst/base/gstbasesrc.c:1497
#7 0x3559a86a in gst_task_func (task=0xae408, tclass=0x0)
at ../../../gstreamer/gst/gsttask.c:193
#8 0x3563a0f0 in g_thread_pool_thread_proxy (data=0x28)
at ../../../glib/glib/gthreadpool.c:265
#9 0x356395d6 in g_thread_create_proxy (data=0x28)
at ../../../glib/glib/gthread.c:582
#10 0x355f5c22 in pthread_start_thread (arg=0x28)
at libpthread/linuxthreads.old/manager.c:311
#11 0x355f5c66 in pthread_start_thread_event (arg=0x9f7ffe20)
at libpthread/linuxthreads.old/manager.c:335
#12 0x35698980 in clone () at libc/sysdeps/linux/cris/clone.S:77
Other information:
The trace above was attained on an embedded box running on the CRIS
architecture and using uClibc. However, the same segmentation error occurs with
ix86 and glibc.
--
Configure bugmail: http://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