[Bug 681359] New: shmsink segfaults under certain conditions

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Aug 7 02:24:26 PDT 2012


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

           Summary: shmsink segfaults under certain conditions
    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: gemont at igalia.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Here's a way to reproduce, run:
gst-launch-1.0 videotestsrc ! "video/x-raw, format=(string)I420,
width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1,
interlace-mode=(string)progressive,  framerate=(fraction)1000/1" ! shmsink
socket-path=/tmp/video-socket

And while it's running, launch:
gst-launch-1.0 -v shmsrc socket-path=/tmp/video-socket  ! fakesink silent=false

This results in a segmentation fault. Here is what seems to be the relevant
stack trace:

Thread 2 (Thread 0x7f696d22b700 (LWP 21614)):
#0  0x00007f69703f452d in nanosleep () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f697066d0a2 in g_usleep (microseconds=<optimized out>) at
/build/buildd/glib2.0-2.32.3/./glib/gtimer.c:259
#2  0x0000000000403232 in fault_spin () at gst-launch.c:149
#3  0x00000000004031d4 in fault_handler_sigaction (signum=11,
si=0x7f696d22a270, misc=0x7f696d22a140) at gst-launch.c:129
#4  <signal handler called>
#5  __memcpy_ssse3_back () at
../sysdeps/x86_64/multiarch/memcpy-ssse3-back.S:1631
#6  0x00007f6970b7ea18 in gst_buffer_extract (buffer=0x7f69600100d0, offset=0,
dest=0x7f6970fca000, size=3110400) at gstbuffer.c:1501
#7  0x00007f696dc8aa63 in gst_shm_sink_render (bsink=0x25e8800,
buf=0x7f69600100d0) at gstshmsink.c:450
#8  0x00007f696e134bec in gst_base_sink_chain_unlocked (basesink=0x25e8800,
pad=0x25e4290, obj=0x7f69600100d0, is_list=0) at gstbasesink.c:3184
#9  0x00007f696e1358f6 in gst_base_sink_chain_main (basesink=0x25e8800,
pad=0x25e4290, obj=0x7f69600100d0, is_list=0) at gstbasesink.c:3295
#10 0x00007f696e135a66 in gst_base_sink_chain (pad=0x25e4290, parent=0x25e8800,
buf=0x7f69600100d0) at gstbasesink.c:3324
#11 0x00007f6970bb8b13 in gst_pad_chain_data_unchecked (pad=0x25e4290,
type=4112, data=0x7f69600100d0) at gstpad.c:3587
#12 0x00007f6970bb95b7 in gst_pad_push_data (pad=0x25e46f0, type=4112,
data=0x7f69600100d0) at gstpad.c:3800
#13 0x00007f6970bb9b09 in gst_pad_push (pad=0x25e46f0, buffer=0x7f69600100d0)
at gstpad.c:3903
#14 0x00007f696e14b835 in gst_base_transform_chain (pad=0x25e44c0,
parent=0x25f0060, buffer=0x7f69600100d0) at gstbasetransform.c:2190
#15 0x00007f6970bb8b13 in gst_pad_chain_data_unchecked (pad=0x25e44c0,
type=4112, data=0x7f69600100d0) at gstpad.c:3587
#16 0x00007f6970bb95b7 in gst_pad_push_data (pad=0x25e4060, type=4112,
data=0x7f69600100d0) at gstpad.c:3800
#17 0x00007f6970bb9b09 in gst_pad_push (pad=0x25e4060, buffer=0x7f69600100d0)
at gstpad.c:3903
#18 0x00007f696e142d04 in gst_base_src_loop (pad=0x25e4060) at
gstbasesrc.c:2689
#19 0x00007f6970bebe47 in gst_task_func (task=0x25f3000) at gsttask.c:316
#20 0x00007f6970becf43 in default_func (tdata=0x25ed860, pool=0x245d840) at
gsttaskpool.c:70
#21 0x00007f697066c248 in g_thread_pool_thread_proxy (data=<optimized out>) at
/build/buildd/glib2.0-2.32.3/./glib/gthreadpool.c:309
#22 0x00007f697066b9e5 in g_thread_proxy (data=0x25e6ad0) at
/build/buildd/glib2.0-2.32.3/./glib/gthread.c:801
#23 0x00007f69703ece9a in start_thread (arg=0x7f696d22b700) at
pthread_create.c:308
#24 0x00007f697011a4bd in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#25 0x0000000000000000 in ?? ()

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