[Bug 731093] New: segfault in gdp / shmsrc pipeline

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sun Jun 1 16:15:36 PDT 2014


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

           Summary: segfault in gdp / shmsrc pipeline
    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: vliaskov at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


I am getting a segfault with the following gdppay/shmsink, shmsrc/gdpdepay
pipelines. However I am not sure this is a valid way to use gdppay / gdpdepay.
The segfault happens on the reader side.

writer: 
gst-launch-1.0 uridecodebin uri=file:////opt/Videos/test.avi !  queue !
videoconvert ! video/x-raw, format="RGBA" ! gdppay ! shmsink
socket-path=/tmp/sock  shm-size=100000000

reader:
gdb /usr/bin/gst-launch-1.0 shmsrc socket-path=/tmp/sock is-live=1 ! gdpdepay  
! videoconvert ! xvimagesink

Setting pipeline to PAUSED ...
[New Thread 0x7ffff472d700 (LWP 15610)]
[New Thread 0x7ffff3f2c700 (LWP 15611)]
Pipeline is live and does not need PREROLL ...
[New Thread 0x7ffff372b700 (LWP 15612)]
Setting pipeline to PLAYING ...
New clock: GstSystemClock

(gst-launch-1.0:15606): GStreamer-CRITICAL **: gst_structure_id_get_value:
assertion 'structure != NULL' failed

(gst-launch-1.0:15606): GLib-GObject-CRITICAL **: g_value_get_boxed: assertion
'G_VALUE_HOLDS_BOXED (value)' failed

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff3f2c700 (LWP 15611)]
gst_segment_copy_into (src=0x0, dest=dest at entry=0x7a3700) at gstsegment.c:115
115      memcpy (dest, src, sizeof (GstSegment));
(gdb) bt
#0  gst_segment_copy_into (src=0x0, dest=dest at entry=0x7a3700) at
gstsegment.c:115
#1  0x00007ffff7b2050f in gst_event_copy_segment
(event=event at entry=0x7fffe4003870, segment=segment at entry=0x7a3700) at  
gstevent.c:809
#2  0x00007ffff5f53d2a in gst_base_transform_sink_eventfunc (trans=0x7a35e0,
event=0x7fffe4003870) at gstbasetransform.c:1890
#3  0x00007ffff7b3046c in gst_pad_send_event_unchecked (pad=pad at entry=0x79c7b0,
event=event at entry=0x7fffe4003870,
type=type at entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM) at gstpad.c:5132
#4  0x00007ffff7b30ce1 in gst_pad_push_event_unchecked (pad=pad at entry=0x79c580,
event=0x7fffe4003870, type=type at entry=GST_PAD_PROBE_TYPE_EVENT_DOWNSTREAM) at
gstpad.c:4830
#5  0x00007ffff7b31158 in push_sticky (pad=0x79c580, ev=0x7ffff3f2ba90,
user_data=0x7ffff3f2baf0) at gstpad.c:3434
#6  0x00007ffff7b2f392 in events_foreach (pad=pad at entry=0x79c580,
func=func at entry=0x7ffff7b31000 <push_sticky>,
user_data=user_data at entry=0x7ffff3f2baf0) at gstpad.c:564
#7  0x00007ffff7b39ba8 in check_sticky (event=0x7fffe4003870, pad=0x79c580) at
gstpad.c:3490
#8  gst_pad_push_event (pad=0x79c580, event=event at entry=0x7fffe4003870) at
gstpad.c:4949
#9  0x00007ffff5b10d80 in gst_gdp_depay_chain (pad=<optimized out>,
parent=<optimized out>, buffer=<optimized out>) at gstgdpdepay.c:380
#10 0x00007ffff7b31d35 in gst_pad_chain_data_unchecked (data=0x7b3880,
type=4112, pad=0x79c350) at gstpad.c:3827
#11 gst_pad_push_data (pad=pad at entry=0x79c120, type=type at entry=4112,
data=<optimized out>) at gstpad.c:4060
#12 0x00007ffff7b38f26 in gst_pad_push (pad=pad at entry=0x79c120,
buffer=<optimized out>) at gstpad.c:4171
#13 0x00007ffff5f4b867 in gst_base_src_loop (pad=0x79c120) at gstbasesrc.c:2835
#14 0x00007ffff7b608d9 in gst_task_func (task=0x7c1050) at gsttask.c:317
#15 0x00007ffff75b6b0c in g_thread_pool_thread_proxy (data=<optimized out>) at
gthreadpool.c:307
#16 0x00007ffff75b6185 in g_thread_proxy (data=0x7ae800) at gthread.c:764
#17 0x00007ffff7332182 in start_thread (arg=0x7ffff3f2c700) at
pthread_create.c:312
#18 0x00007ffff705f30d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111


Tested against recent gst-plugins-bad (ad825756), gstreamer (066fdcd4),
gst-plugins-base ( ba876556), gst-plugins-good (edc7d902) . Also against
libgstreamer1.0 (1.2.4-0ubuntu1) on ubuntu 14.04.


Trace is very similar to https://bugzilla.gnome.org/show_bug.cgi?id=674100

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