[Bug 678897] New: gst-launch-1.0 triggers a segfault for xvimagesink

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Tue Jun 26 09:07:52 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=678897
  GStreamer | gst-plugins-base | 0.11.x

           Summary: gst-launch-1.0 triggers a segfault for xvimagesink
    Classification: Platform
           Product: GStreamer
           Version: 0.11.x
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-plugins-base
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: shakaran at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=217308)
 --> (https://bugzilla.gnome.org/attachment.cgi?id=217308)
xvimagesink-debug.log

Running:

$ gst-launch-1.0 autovideosrc ! autovideosink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Caught SIGSEGV accessing address 0xb5a21000

The debug generated is attached:
GST_DEBUG=*:6 gst-launch-1.0 autovideosrc ! autovideosink
2>xvimagesink-debug.log

Some background: this bug was first reported on launchpad as wrong segfault on
python package 
https://bugs.launchpad.net/bugs/1017914

The gdb info related:

 sudo gdb gst-launch-1.0 22136
[sudo] password for shakaran: 
GNU gdb (Linaro GDB) 7.4-2012.06-ubuntu
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /usr/bin/gst-launch-1.0...Reading symbols from
/usr/lib/debug/.build-id/38/50aaa25d704602911d47410741974934d8f404.debug...done.
done.
Attaching to program: /usr/bin/gst-launch-1.0, process 22136
Reading symbols from /usr/lib/i386-linux-gnu/libgstreamer-1.0.so.0...Reading
symbols from
/usr/lib/debug/.build-id/6f/e478d2ad8cfbdd1dabd12b07f2b7960419de6e.debug...done.
done.
Loaded symbols for /usr/lib/i386-linux-gnu/libgstreamer-1.0.so.0
Reading symbols from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0...Reading
symbols from
/usr/lib/debug/usr/lib/i386-linux-gnu/libgobject-2.0.so.0.3302.0...done.
done.
Loaded symbols for /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
Reading symbols from /lib/i386-linux-gnu/libglib-2.0.so.0...Reading symbols
from /usr/lib/debug/lib/i386-linux-gnu/libglib-2.0.so.0.3302.0...done.
done.
Loaded symbols for /lib/i386-linux-gnu/libglib-2.0.so.0
Reading symbols from /lib/i386-linux-gnu/libpthread.so.0...Reading symbols from
/usr/lib/debug/lib/i386-linux-gnu/libpthread-2.15.so...done.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[New Thread 0xb62f8b40 (LWP 22185)]
[New Thread 0xb6d23b40 (LWP 22184)]
done.
Loaded symbols for /lib/i386-linux-gnu/libpthread.so.0
Reading symbols from /lib/i386-linux-gnu/libc.so.6...Reading symbols from
/usr/lib/debug/lib/i386-linux-gnu/libc-2.15.so...done.
done.
Loaded symbols for /lib/i386-linux-gnu/libc.so.6
Reading symbols from /usr/lib/i386-linux-gnu/libgmodule-2.0.so.0...Reading
symbols from
/usr/lib/debug/usr/lib/i386-linux-gnu/libgmodule-2.0.so.0.3302.0...done.
done.
Loaded symbols for /usr/lib/i386-linux-gnu/libgmodule-2.0.so.0
Reading symbols from /lib/i386-linux-gnu/librt.so.1...Reading symbols from
/usr/lib/debug/lib/i386-linux-gnu/librt-2.15.so...done.
done.
Loaded symbols for /lib/i386-linux-gnu/librt.so.1
Reading symbols from /lib/i386-linux-gnu/libdl.so.2...Reading symbols from
/usr/lib/debug/lib/i386-linux-gnu/libdl-2.15.so...done.
done.
Loaded symbols for /lib/i386-linux-gnu/libdl.so.2
Reading symbols from /usr/lib/i386-linux-gnu/libffi.so.6...(no debugging
symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libffi.so.6
Reading symbols from /lib/i386-linux-gnu/libpcre.so.3...(no debugging symbols
found)...done.
Loaded symbols for /lib/i386-linux-gnu/libpcre.so.3
Reading symbols from /lib/ld-linux.so.2...Reading symbols from
/usr/lib/debug/lib/i386-linux-gnu/ld-2.15.so...done.
done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /lib/i386-linux-gnu/libnss_compat.so.2...Reading symbols
from /usr/lib/debug/lib/i386-linux-gnu/libnss_compat-2.15.so...done.
done.
Loaded symbols for /lib/i386-linux-gnu/libnss_compat.so.2
Reading symbols from /lib/i386-linux-gnu/libnsl.so.1...Reading symbols from
/usr/lib/debug/lib/i386-linux-gnu/libnsl-2.15.so...done.
done.
Loaded symbols for /lib/i386-linux-gnu/libnsl.so.1
Reading symbols from /lib/i386-linux-gnu/libnss_nis.so.2...Reading symbols from
/usr/lib/debug/lib/i386-linux-gnu/libnss_nis-2.15.so...done.
done.
Loaded symbols for /lib/i386-linux-gnu/libnss_nis.so.2
Reading symbols from /lib/i386-linux-gnu/libnss_files.so.2...Reading symbols
from /usr/lib/debug/lib/i386-linux-gnu/libnss_files-2.15.so...done.
done.
Loaded symbols for /lib/i386-linux-gnu/libnss_files.so.2
Reading symbols from
/usr/lib/i386-linux-gnu/gstreamer-1.0/libgstautodetect.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/gstreamer-1.0/libgstautodetect.so
Reading symbols from
/usr/lib/i386-linux-gnu/gstreamer-1.0/libgstcoreelements.so...Reading symbols
from
/usr/lib/debug/.build-id/b4/f39c23ae8b75c7e72d06fc9aeb4c8c1bfa740f.debug...done.
done.
Loaded symbols for /usr/lib/i386-linux-gnu/gstreamer-1.0/libgstcoreelements.so
Reading symbols from /usr/lib/i386-linux-gnu/libgstbase-1.0.so.0...Reading
symbols from
/usr/lib/debug/.build-id/f5/0f0c2685af90b7a349d700870a7f2dcde029a1.debug...done.
done.
Loaded symbols for /usr/lib/i386-linux-gnu/libgstbase-1.0.so.0
Reading symbols from
/usr/lib/i386-linux-gnu/gstreamer-1.0/libgstxvimagesink.so...Reading symbols
from
/usr/lib/debug/.build-id/08/e1e78f172006544cbbf836ebd1136fcaf56c2d.debug...done.
done.
Loaded symbols for /usr/lib/i386-linux-gnu/gstreamer-1.0/libgstxvimagesink.so
Reading symbols from /usr/lib/i386-linux-gnu/libgstvideo-1.0.so.0...Reading
symbols from
/usr/lib/debug/.build-id/54/410513bbc4cf7ab13cc075b876f5615eb77a74.debug...done.
done.
Loaded symbols for /usr/lib/i386-linux-gnu/libgstvideo-1.0.so.0
Reading symbols from /usr/lib/i386-linux-gnu/libX11.so.6...(no debugging
symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libX11.so.6
Reading symbols from /usr/lib/i386-linux-gnu/libXv.so.1...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libXv.so.1
Reading symbols from /usr/lib/i386-linux-gnu/libXext.so.6...(no debugging
symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libXext.so.6
Reading symbols from /lib/i386-linux-gnu/libm.so.6...Reading symbols from
/usr/lib/debug/lib/i386-linux-gnu/libm-2.15.so...done.
done.
Loaded symbols for /lib/i386-linux-gnu/libm.so.6
Reading symbols from /usr/lib/i386-linux-gnu/liborc-0.4.so.0...(no debugging
symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/liborc-0.4.so.0
Reading symbols from /usr/lib/i386-linux-gnu/libxcb.so.1...(no debugging
symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libxcb.so.1
Reading symbols from /usr/lib/i386-linux-gnu/libXau.so.6...(no debugging
symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libXau.so.6
Reading symbols from /usr/lib/i386-linux-gnu/libXdmcp.so.6...(no debugging
symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libXdmcp.so.6
Reading symbols from
/usr/lib/i386-linux-gnu/gstreamer-1.0/libgstvideo4linux2.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/gstreamer-1.0/libgstvideo4linux2.so
Reading symbols from /usr/lib/i386-linux-gnu/libv4l2.so.0...(no debugging
symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libv4l2.so.0
Reading symbols from /usr/lib/i386-linux-gnu/libv4lconvert.so.0...(no debugging
symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libv4lconvert.so.0
Reading symbols from /usr/lib/i386-linux-gnu/libjpeg.so.8...(no debugging
symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libjpeg.so.8
0xb7728424 in __kernel_vsyscall ()
(gdb) thread apply all bt

Thread 3 (Thread 0xb6d23b40 (LWP 22184)):
#0  0xb7728424 in __kernel_vsyscall ()
#1  0xb74b21f6 in nanosleep () at ../sysdeps/unix/syscall-template.S:82
#2  0xb752bc2e in g_usleep (microseconds=microseconds at entry=50000) at
/build/buildd/glib2.0-2.33.2/./glib/gtimer.c:259
#3  0xb70980f4 in gst_xvimagesink_event_thread (xvimagesink=0x923c300) at
xvimagesink.c:1154
#4  0xb752a2b3 in g_thread_proxy (data=0x920f200) at
/build/buildd/glib2.0-2.33.2/./glib/gthread.c:801
#5  0xb74aad4c in start_thread (arg=0xb6d23b40) at pthread_create.c:308
#6  0xb73e9ace in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb62f8b40 (LWP 22185)):
#0  0xb7728424 in __kernel_vsyscall ()
#1  0xb74b21f6 in nanosleep () at ../sysdeps/unix/syscall-template.S:82
#2  0xb752bc2e in g_usleep (microseconds=microseconds at entry=1000000) at
/build/buildd/glib2.0-2.33.2/./glib/gtimer.c:259
#3  0x0804c634 in fault_spin () at gst-launch.c:148
#4  fault_handler_sigaction (signum=11, si=0xb62f74cc, misc=0xb62f754c) at
gst-launch.c:129
#5  <signal handler called>
#6  __memcpy_ssse3_rep () at
../sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S:158
#7  0xb6f4ef8f in memcpy (__len=640, __src=0xb5921000, __dest=0xb4e7f400) at
/usr/include/i386-linux-gnu/bits/string3.h:52
#8  gst_video_frame_copy_plane (dest=dest at entry=0xb62f7a40,
src=src at entry=0xb62f7930, plane=plane at entry=1) at video-frame.c:223
#9  0xb6f4f08f in gst_video_frame_copy (dest=0xb62f7a40,
src=src at entry=0xb62f7930) at video-frame.c:263
#10 0xb7095194 in gst_xvimagesink_show_frame (vsink=0x923c300, buf=0x925fe50)
at xvimagesink.c:1855
#11 0xb6f4f48f in gst_video_sink_show_preroll_frame (bsink=0x923c300,
buf=0x925fe50) at gstvideosink.c:202
#12 0xb6fc7efa in gst_base_sink_do_preroll (sink=sink at entry=0x923c300,
obj=obj at entry=0x925fe50) at gstbasesink.c:2157
#13 0xb6fc936b in gst_base_sink_do_sync (basesink=basesink at entry=0x923c300,
obj=obj at entry=0x925fe50, late=late at entry=0xb62f7ef8, 
    step_end=step_end at entry=0xb62f7efc) at gstbasesink.c:2375
#14 0xb6fcc3c6 in gst_base_sink_chain_unlocked
(basesink=basesink at entry=0x923c300, obj=obj at entry=0x925fe50,
is_list=is_list at entry=0, 
    pad=<error reading variable: Unhandled dwarf expression opcode 0xfa>) at
gstbasesink.c:3172
#15 0xb6fceb68 in gst_base_sink_chain_main (basesink=0x923c300, pad=<optimized
out>, obj=0x925fe50, is_list=0) at gstbasesink.c:3306
#16 0xb7662b06 in gst_pad_chain_data_unchecked (data=0x925fe50,
type=3070029024, pad=0x924a3a8) at gstpad.c:3529
#17 gst_pad_push_data (pad=0x92461c0, pad at entry=0x925fe50, type=3070029024,
type at entry=4112, data=0x925fe50) at gstpad.c:3744
#18 0xb7669847 in gst_pad_push (pad=0x925fe50, buffer=buffer at entry=0x925fe50)
at gstpad.c:3847
#19 0xb765248c in gst_proxy_pad_chain_default (pad=pad at entry=0x9245158,
parent=parent at entry=0x9244130, buffer=buffer at entry=0x925fe50)
    at gstghostpad.c:290
#20 0xb7662b06 in gst_pad_chain_data_unchecked (data=0x925fe50,
type=3076858848, pad=0x9245158) at gstpad.c:3529
#21 gst_pad_push_data (pad=0x9245008, pad at entry=0x925fe50, type=3076858848,
type at entry=4112, data=0x925fe50) at gstpad.c:3744

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