[gst-devel] Decodebin/Playbin segmentationfault

Stefan de Konink skinkie at xs4all.nl
Mon Jan 2 16:46:08 CET 2006


Hello,


In my first attempts to track this problem down I thought it had something
to do with largefiles, this is not the case. I attempt to decode a avi/dv
or a raw/dv, which leeds to a Segmentation fault, using CVS. With 0.8
playbin works.

tv at localhost ~ $ gst-launch-0.10 -vvv filesrc location=/mnt/media/cluster\
16/10\ MVTS01d.avi ! decodebin ! fakesink
Setting pipeline to PAUSED ...
/pipeline0/decodebin0/typefind.src: caps = video/x-msvideo
Pipeline is PREROLLING ...
/pipeline0/decodebin0.src0: caps = NULL
/pipeline0/decodebin0/queue0.sink: caps = video/x-dv,
systemstream=(boolean)false, framerate=(fraction)25/1, width=(int)720,
height=(int)576
/pipeline0/decodebin0/dvdec0.src: caps = video/x-raw-yuv,
format=(fourcc)YUY2, width=(int)720, height=(int)576,
framerate=(fraction)25/1
/pipeline0/decodebin0/dvdec0.sink: caps = video/x-dv,
systemstream=(boolean)false, framerate=(fraction)25/1, width=(int)720,
height=(int)576
Segmentation fault

With strace:
[pid 17937] write(1, "/pipeline0/decodebin0/dvdec0.src"...,
137/pipeline0/decodebin0/dvdec0.src: caps = video/x-raw-yuv,
format=(fourcc)YUY2, width=(int)720, height=(int)576,
framerate=(fraction)25/1
) = 137
[pid 17937] write(1, "/pipeline0/decodebin0/dvdec0.sin"...,
141/pipeline0/decodebin0/dvdec0.sink: caps = video/x-dv,
systemstream=(boolean)false, framerate=(fraction)25/1, width=(int)720,
height=(int)576
) = 141
[pid 17937] mmap2(NULL, 8392704, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb5d69000
[pid 17937] mprotect(0xb5d69000, 4096, PROT_NONE) = 0
[pid 17937] clone(Process 17938 attached
child_stack=0xb65694e4,
flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID,
parent_tidptr=0xb6569bf8, {entry_number:6, base_addr:0xb6569bb0,
limit:1048575, seg_32bit:1, contents:0, read_exec_only:0,
limit_in_pages:1, seg_not_present:0, useable:1}, child_tidptr=0xb6569bf8)
= 17938
[pid 17937] mmap2(NULL, 831488, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb5c9e000
[pid 17937] --- SIGSEGV (Segmentation fault) @ 0 (0) ---
Process 17937 detached


My libdv optimizations are quite high, but I don't have any issues in
VLC/Mplayer (except for the fact VLC is quite intensive... and aborts
playing when the feed is too small.)

If someone can point me out howto get gdb attached on this problem, for
one occasion gstreamer was telling this to me, I would be glad to give it
a try.


Stefan de Konink





More information about the gstreamer-devel mailing list