After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 345751 - [dvdec] gst-launch segfaults on dv -> ogg theora /vorbis
[dvdec] gst-launch segfaults on dv -> ogg theora /vorbis
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
0.10.x
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 368784 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-06-23 14:31 UTC by j^
Modified: 2007-05-03 14:41 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description j^ 2006-06-23 14:31:26 UTC
trying to convert a dv file to theora with this command:
gst-launch-0.10 
 filesrc location=input.dv ! decodebin name=decode decode. ! \
 queue max-size-buffers=100 max-size-time=0 max-size-bytes=0 ! \
 ffmpegcolorspace ! ffdeinterlace ! ffmpegcolorspace ! \
 videobox top=8 bottom=8 left=4 right=16 ! videoscale method=1 ! \
 video/x-raw-yuv,width=320,height=240,pixel-aspect-ratio=(fraction)1/1 ! \
 videorate ! video/x-raw-yuv,framerate=(fraction)25/2 ! \
 theoraenc quality=16 sharpness=2 ! oggmux name=mux ! \
 filesink location=output.ogg \
 decode. ! queue max-size-buffers=100 max-size-bytes=0 max-size-time=0 ! \
 audioconvert ! audio/x-raw-float ! audioresample ! \
 audio/x-raw-float,rate=22500,channels=1 ! vorbisenc quality=-0.1 ! mux.

i get a segmentation fault after about 4 minutes. 

here is a backtrace on the core file:
(gdb) bt
  • #0 dv_parse_ac_coeffs
    from /usr/lib/libdv.so.4
  • #1 dv_decode_full_frame
    from /usr/lib/libdv.so.4
  • #2 gst_dvdec_get_type
    from /usr/lib/gstreamer-0.10/libgstdv.so
  • #3 gst_pad_chain
    from /usr/lib/libgstreamer-0.10.so.0
  • #4 gst_pad_push
    from /usr/lib/libgstreamer-0.10.so.0
  • #5 gst_queue_get_type
    from /usr/lib/gstreamer-0.10/libgstcoreelements.so
  • #6 gst_task_get_type
    from /usr/lib/libgstreamer-0.10.so.0
  • #7 g_thread_pool_free
    from /usr/lib/libglib-2.0.so.0
  • #8 g_static_private_free
    from /usr/lib/libglib-2.0.so.0
  • #9 start_thread
    from /lib/tls/i686/cmov/libpthread.so.0
  • #10 clone
    from /lib/tls/i686/cmov/libc.so.6

Comment 1 Tim-Philipp Müller 2006-07-06 16:47:47 UTC
Any chance you could get a stack trace with debugging symbols (for GStreamer at least)?

Would also be great if you could run this through valgrind (with debugging symbols).
Comment 2 Tim-Philipp Müller 2006-11-01 11:20:58 UTC
*** Bug 368784 has been marked as a duplicate of this bug. ***
Comment 3 Wim Taymans 2007-03-02 11:34:23 UTC
does the file play without segfaulting with:

 gst-launch playbin uri=input.dv

just to figure out if there is no mem corruption somewhere else.
Comment 4 Tim-Philipp Müller 2007-03-20 12:38:51 UTC
j^: ping?
Comment 5 j^ 2007-03-20 14:31:01 UTC
will check later tonight, had not access to my dv files in the last days.
Comment 6 Tim-Philipp Müller 2007-05-03 12:27:34 UTC
j^: ping again?
Comment 7 j^ 2007-05-03 14:38:51 UTC
looks like with my current dv files this no longer happens with the pipeline that caused the segfault,
i will close the bug and test gst-launch playbin uri=input.dv if i encounter the problem again...