[gstreamer-bugs] [Bug 338003] New: playbin segfaults on dvsd coded file

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Mon Apr 10 11:48:12 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=338003
 GStreamer | gstreamer (core) | Ver: 0.10.4

           Summary: playbin segfaults on dvsd coded file
           Product: GStreamer
           Version: 0.10.4
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: mark at mitre.org
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Problem:
playbin segfaults on avi format vid clip  w/ dv codec 'dvsd'

'gst-gst-launch-0.10 playbin uri=file:///pathtofile'
segaults immediately after PREROLLING...

sample clip from MplayerHq
http://www.mplayerhq.hu/MPlayer/samples/V-codecs/DVSD/v-2002.03.21_18-01-28.avi

'mencoder -identify <file>' reports as:
---------------------------------------------
AVI file format detected.
VIDEO:  [dvsd]  720x576  24bpp  25.000 fps  28800.0 kbps (3515.6 kbyte/s)
[V] filefmt:3  fourcc:0x64737664  size:720x576  fps:25.00  ftime:=0.0400
-----------------------------------------------

ffplay handles the sample clip correctly

gdb simple backtrace:
-----------------------------------
Thread 1 (Thread -1208858960 (LWP 11316)):
#0  0x00b2b402 in __kernel_vsyscall ()
#1  0x00c07cac in poll () from /lib/libc.so.6
#2  0x00999363 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#3  0x009996d9 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#4  0x006d33aa in gst_bus_poll (bus=0x992d070, events=GST_MESSAGE_ANY,
timeout=-1) at gstbus.c:852
#5  0x08049f80 in event_loop (pipeline=0x992c090, blocking=1,
target_state=GST_STATE_PAUSED) at gst-launch.c:367
#6  0x0804b09d in main (argc=Cannot access memory at address 0x5
) at gst-launch.c:646
(gdb) bt
#0  0x003ab78c in dv_parse_ac_coeffs_pass0 at plt () from /usr/lib/libdv.so.4
#1  0x003bcb57 in dv_parse_video_segment () from /usr/lib/libdv.so.4
#2  0xb70fc880 in ?? ()
#3  0xb70ff0f0 in ?? ()
#4  0x003c316c in ?? () from /usr/lib/libdv.so.4
#5  0x003acf6a in dv_decode_full_frame () from /usr/lib/libdv.so.4
------------------------------------------------------------------------


gdb backtrace with threads:
--------------------------------------
Thread 10 (Thread -1234179168 (LWP 11329)):
#0  0x00b2b402 in __kernel_vsyscall ()
#1  0x00de6216 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x005ae4fc in gst_queue_loop (pad=0x9946c20) at gstqueue.c:840
#3  0x00709153 in gst_task_func (task=0x9943058, tclass=0x9943be8) at
gsttask.c:193
#4  0x009b536c in g_thread_pool_push () from /usr/lib/libglib-2.0.so.0
#5  0x009b38ef in g_thread_create_full () from /usr/lib/libglib-2.0.so.0
#6  0x00de33b6 in start_thread () from /lib/libpthread.so.0
#7  0x00c1133e in clone () from /lib/libc.so.6

Thread 9 (Thread -1267737696 (LWP 11328)):
#0  0x00b2b402 in __kernel_vsyscall ()
#1  0x00de9356 in __nanosleep_nocancel () from /lib/libpthread.so.0
#2  0x009b5902 in g_usleep () from /usr/lib/libglib-2.0.so.0
#3  0x0081e6b1 in gst_xvimagesink_event_thread (xvimagesink=0x9982018) at
xvimagesink.c:1222
#4  0x009b38ef in g_thread_create_full () from /usr/lib/libglib-2.0.so.0
#5  0x00de33b6 in start_thread () from /lib/libpthread.so.0
#6  0x00c1133e in clone () from /lib/libc.so.6

Thread 8 (Thread -1257247840 (LWP 11327)):
#0  0x00a0b30a in ?? () from /usr/lib/libgobject-2.0.so.0
#1  0x00a29211 in g_type_check_is_value_type () from
/usr/lib/libgobject-2.0.so.0
#2  0x00a2f008 in g_value_type_compatible () from /usr/lib/libgobject-2.0.so.0
#3  0x00a2fb63 in g_value_copy () from /usr/lib/libgobject-2.0.so.0
#4  0x00715f8a in gst_value_init_and_copy (dest=0xb50fdf78, src=0x9968424) at
gstvalue.c:3003
#5  0x00703243 in gst_structure_copy (structure=0x9967528) at
gststructure.c:262
#6  0x006d65a4 in gst_caps_copy (caps=0x27cd80) at gstcaps.c:273
#7  0x006d6ebf in gst_caps_make_writable (caps=0x27cd80) at gstcaps.c:330
#8  0x002786f0 in gst_audio_convert_transform_caps (base=0xb5b050b0,
direction=GST_PAD_SINK, caps=0xb71009a8) at gstaudioconvert.c:347
#9  0x0015914a in gst_base_transform_transform_caps (trans=0xb5b050b0,
direction=GST_PAD_SINK, caps=0x994d3a0) at gstbasetransform.c:411
#10 0x00159455 in gst_base_transform_setcaps (pad=0x994e1c8, caps=0x994d3a0) at
gstbasetransform.c:609
#11 0x006f04d0 in gst_pad_set_caps (pad=0x994e1c8, caps=0x994d3a0) at
gstpad.c:2184
#12 0x006e5157 in gst_proxy_pad_do_setcaps (pad=0x9947380, caps=0x994d3a0) at
gstghostpad.c:294
#13 0x006f04d0 in gst_pad_set_caps (pad=0x9947380, caps=0x994d3a0) at
gstpad.c:2184
#14 0x006f1782 in gst_pad_chain (pad=0x9947380, buffer=0x99430f8) at
gstpad.c:2243
#15 0x006f1b2a in gst_pad_push (pad=0x994e048, buffer=0x99430f8) at
gstpad.c:3288
#16 0x005aef76 in gst_queue_loop (pad=0x994e048) at gstqueue.c:761
#17 0x00709153 in gst_task_func (task=0x9943008, tclass=0x9943be8) at
gsttask.c:193
#18 0x009b536c in g_thread_pool_push () from /usr/lib/libglib-2.0.so.0
#19 0x009b38ef in g_thread_create_full () from /usr/lib/libglib-2.0.so.0
#20 0x00de33b6 in start_thread () from /lib/libpthread.so.0
#21 0x00c1133e in clone () from /lib/libc.so.6

Thread 7 (Thread -1246757984 (LWP 11324)):
#0  0x00b2b402 in __kernel_vsyscall ()
#1  0x00de6216 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x00704596 in gst_system_clock_async_thread (clock=0x9953188) at
gstsystemclock.c:254
#3  0x009b38ef in g_thread_create_full () from /usr/lib/libglib-2.0.so.0
#4  0x00de33b6 in start_thread () from /lib/libpthread.so.0
#5  0x00c1133e in clone () from /lib/libc.so.6

Thread 6 (Thread -1246757984 (LWP 11323)):
---Type <return> to continue, or q <return> to quit---
#0  0x00b2b402 in __kernel_vsyscall ()
#1  0x00de6216 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x00704596 in gst_system_clock_async_thread (clock=0x9953188) at
gstsystemclock.c:254
#3  0x009b38ef in g_thread_create_full () from /usr/lib/libglib-2.0.so.0
#4  0x00de33b6 in start_thread () from /lib/libpthread.so.0
#5  0x00c1133e in clone () from /lib/libc.so.6

Thread 5 (Thread -1246757984 (LWP 11322)):
#0  0x00b2b402 in __kernel_vsyscall ()
#1  0x00de6216 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x00704596 in gst_system_clock_async_thread (clock=0x9953188) at
gstsystemclock.c:254
#3  0x009b38ef in g_thread_create_full () from /usr/lib/libglib-2.0.so.0
#4  0x00de33b6 in start_thread () from /lib/libpthread.so.0
#5  0x00c1133e in clone () from /lib/libc.so.6

Thread 4 (Thread -1234179168 (LWP 11321)):
#0  0x00b2b402 in __kernel_vsyscall ()
#1  0x00de6216 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0x005ae4fc in gst_queue_loop (pad=0x9946c20) at gstqueue.c:840
#3  0x00709153 in gst_task_func (task=0x9943058, tclass=0x9943be8) at
gsttask.c:193
#4  0x009b536c in g_thread_pool_push () from /usr/lib/libglib-2.0.so.0
#5  0x009b38ef in g_thread_create_full () from /usr/lib/libglib-2.0.so.0
#6  0x00de33b6 in start_thread () from /lib/libpthread.so.0
#7  0x00c1133e in clone () from /lib/libc.so.6

Thread 3 (Thread -1223689312 (LWP 11320)):
#0  0x003ab78c in dv_parse_ac_coeffs_pass0 at plt () from /usr/lib/libdv.so.4
#1  0x003bcb57 in dv_parse_video_segment () from /usr/lib/libdv.so.4
#2  0xb70fc880 in ?? ()
#3  0xb70ff0f0 in ?? ()
#4  0x003c316c in ?? () from /usr/lib/libdv.so.4
#5  0x003acf6a in dv_decode_full_frame () from /usr/lib/libdv.so.4
Previous frame inner to this frame (corrupt stack?)

Thread 2 (Thread -1211225184 (LWP 11319)):
#0  0x00b2b402 in __kernel_vsyscall ()
#1  0x00de8b8b in __read_nocancel () from /lib/libpthread.so.0
#2  0x0075472a in vfs_module_shutdown () from
/usr/lib/gnome-vfs-2.0/modules/libfile.so
#3  0x0101da77 in gnome_vfs_find_directory () from /usr/lib/libgnomevfs-2.so.0
#4  0x01016308 in gnome_vfs_read_cancellable () from
/usr/lib/libgnomevfs-2.so.0
#5  0x0102d4e1 in gnome_vfs_read () from /usr/lib/libgnomevfs-2.so.0
#6  0x005f916a in gst_gnome_vfs_src_create (basesrc=0x9930058, offset=159716,
size=144000, buffer=0xb7ce2394) at gstgnomevfssrc.c:1017
#7  0x00152f90 in gst_base_src_get_range (src=0x9930058, offset=159716,
length=144000, buf=0xb7ce2394) at gstbasesrc.c:1197
#8  0x00153d90 in gst_base_src_pad_get_range (pad=0x992f0c0, offset=159716,
length=144000, buf=0xb7ce2394) at gstbasesrc.c:1265
#9  0x006ef087 in gst_pad_get_range (pad=0x992f0c0, offset=159716, size=144000,
buffer=0xb7ce2394) at gstpad.c:3427
#10 0x006e53f8 in gst_proxy_pad_do_getrange (pad=0x9932808, offset=159716,
size=144000, buffer=0xb7ce2394) at gstghostpad.c:220
#11 0x006ef087 in gst_pad_get_range (pad=0x9932808, offset=159716, size=144000,
buffer=0xb7ce2394) at gstpad.c:3427
#12 0x006ef5d0 in gst_pad_pull_range (pad=0x992f180, offset=159716,
size=144000, buffer=0xb7ce2394) at gstpad.c:3509
#13 0x005b4061 in gst_type_find_element_getrange (srcpad=0x992f240,
offset=159716, length=144000, buffer=0xb7ce2394) at gsttypefindelement.c:616
#14 0x006ef087 in gst_pad_get_range (pad=0x992f240, offset=159716, size=144000,
buffer=0xb7ce2394) at gstpad.c:3427
#15 0x006ef5d0 in gst_pad_pull_range (pad=0x992f3c0, offset=159716,
size=144000, buffer=0xb7ce2394) at gstpad.c:3509
#16 0x001f0fae in gst_avi_demux_get_type () from
/usr/lib/gstreamer-0.10/libgstavi.so
#17 0x00709153 in gst_task_func (task=0x9935e98, tclass=0x9943be8) at
gsttask.c:193
#18 0x009b536c in g_thread_pool_push () from /usr/lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#19 0x009b38ef in g_thread_create_full () from /usr/lib/libglib-2.0.so.0
#20 0x00de33b6 in start_thread () from /lib/libpthread.so.0
#21 0x00c1133e in clone () from /lib/libc.so.6

Thread 1 (Thread -1208858960 (LWP 11316)):
#0  0x00b2b402 in __kernel_vsyscall ()
#1  0x00c07cac in poll () from /lib/libc.so.6
#2  0x00999363 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#3  0x009996d9 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#4  0x006d33aa in gst_bus_poll (bus=0x992d070, events=GST_MESSAGE_ANY,
timeout=-1) at gstbus.c:852
#5  0x08049f80 in event_loop (pipeline=0x992c090, blocking=1,
target_state=GST_STATE_PAUSED) at gst-launch.c:367
#6  0x0804b09d in main (argc=Cannot access memory at address 0x5
) at gst-launch.c:646


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