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 611012 - Segfault when loading a .dv file on Debian amd64
Segfault when loading a .dv file on Debian amd64
Status: RESOLVED INVALID
Product: GStreamer
Classification: Platform
Component: gst-libav
0.10.26
Other Linux
: Normal blocker
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-02-24 21:51 UTC by Michael Bushey
Modified: 2010-02-26 08:34 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
bt with gstreamer0.10-ffmpeg-dbg installed (4.09 KB, text/plain)
2010-02-25 00:40 UTC, Michael Bushey
Details
bt from totem seg fault (2.01 KB, text/plain)
2010-02-25 00:50 UTC, Michael Bushey
Details
thr a a bt from totem seg fault (20.46 KB, text/plain)
2010-02-25 00:57 UTC, Michael Bushey
Details

Description Michael Bushey 2010-02-24 21:51:49 UTC
I capture a section of video via firewire from kino and when I click "Import clips" and select a .dv file it segfaults.


$ uname -a
Linux corwin 2.6.32-trunk-amd64 #1 SMP Sun Jan 10 22:40:40 UTC 2010 x86_64 GNU/Linux

$ dpkg -l | grep gstreamer
ii  bluez-gstreamer                         4.60-1                          Bluetooth GStreamer support
ii  gir1.0-gstreamer-0.10                   0.10.26.2-2                     Description: GObject introspection data for the GStreamer librar
ii  gstreamer0.10-alsa                      0.10.26.2-1                     GStreamer plugin for ALSA
ii  gstreamer0.10-esd                       0.10.18.2-1                     GStreamer plugin for ESD
ii  gstreamer0.10-ffmpeg                    0.10.9.2-1                      FFmpeg plugin for GStreamer
ii  gstreamer0.10-ffmpeg-dbg                0.10.9.2-1                      FFmpeg plugin for GStreamer (debug symbols)
ii  gstreamer0.10-fluendo-mp3               0.10.7.debian-1                 Fluendo mp3 decoder GStreamer plugin
ii  gstreamer0.10-gnonlin                   0.10.14-1                       non-linear editing module for GStreamer
ii  gstreamer0.10-nice                      0.0.10-2+b1                     ICE library (GStreamer plugin)
ii  gstreamer0.10-plugins-bad               0.10.17.2-1                     GStreamer plugins from the "bad" set
iU  gstreamer0.10-plugins-bad-dbg           0.10.17.2-1                     GStreamer plugins from the "bad" set (debug symbols)
ii  gstreamer0.10-plugins-base              0.10.26.2-1                     GStreamer plugins from the "base" set
ii  gstreamer0.10-plugins-base-dbg          0.10.26.2-1                     GStreamer plugins from the "base" set
ii  gstreamer0.10-plugins-good              0.10.18.2-1                     GStreamer plugins from the "good" set
ii  gstreamer0.10-plugins-good-dbg          0.10.18.2-1                     GStreamer plugins from the "good" set
ii  gstreamer0.10-plugins-really-bad        0.10.17-0.1                     GStreamer plugins from the "bad" set
ii  gstreamer0.10-plugins-ugly              0.10.13.2-1                     GStreamer plugins from the "ugly" set
ii  gstreamer0.10-plugins-ugly-dbg          0.10.13.2-1                     GStreamer plugins from the "ugly" set (debug symbols)
ii  gstreamer0.10-pulseaudio                0.10.18.2-1                     GStreamer plugin for PulseAudio
ii  gstreamer0.10-sdl                       0.10.17.2-1                     GStreamer plugin for SDL output
ii  gstreamer0.10-tools                     0.10.26.2-2                     Tools for use with GStreamer
ii  gstreamer0.10-x                         0.10.26.2-1                     GStreamer plugins for X11 and Pango
ii  libgstreamer-plugins-base0.10-0         0.10.26.2-1                     GStreamer libraries from the "base" set
ii  libgstreamer0.10-0                      0.10.26.2-2                     Core GStreamer libraries and elements
ii  libgstreamer0.10-0-dbg                  0.10.26.2-2                     Core GStreamer libraries and elements
ii  totem-gstreamer                         2.28.5-1                        A simple media player for the GNOME desktop (transitional packag


This error occurs in both the Debian 0.13.3-2 package as well as the git repository. I upgraded all the gstreamer plugins from Sid to Experimental to no avail.

(gdb) backtrace
  • #0 gst_caps_unref
    at gstcaps.c line 418
  • #1 ??
    from /usr/lib/gstreamer-0.10/libgstffmpeg.so
  • #2 ??
    from /usr/lib/gstreamer-0.10/libgstffmpeg.so
  • #3 gst_pad_chain_data_unchecked
    at gstpad.c line 4122
  • #4 gst_pad_push_data
    at gstpad.c line 4351
  • #5 gst_single_queue_push_one
    at gstmultiqueue.c line 919
  • #6 gst_multi_queue_loop
    at gstmultiqueue.c line 1101
  • #7 gst_task_func
    at gsttask.c line 238
  • #8 g_thread_pool_thread_proxy
    at /tmp/buildd/glib2.0-2.22.4/glib/gthreadpool.c line 265
  • #9 g_thread_create_proxy
    at /tmp/buildd/glib2.0-2.22.4/glib/gthread.c line 635
  • #10 start_thread
    from /lib/libpthread.so.0
  • #11 clone
    from /lib/libc.so.6
  • #12 ??

Comment 1 Michael Bushey 2010-02-25 00:40:00 UTC
Created attachment 154647 [details]
bt with gstreamer0.10-ffmpeg-dbg installed
Comment 2 Michael Bushey 2010-02-25 00:50:10 UTC
Created attachment 154648 [details]
bt from totem seg fault

Totem is seg faulting on the same .dv file which works for other people.
Comment 3 Michael Bushey 2010-02-25 00:54:46 UTC
Link to dv file: http://sendthemtomir.com/capture009.dv
Comment 4 Michael Bushey 2010-02-25 00:57:47 UTC
Created attachment 154649 [details]
thr a a bt from totem seg fault
Comment 5 Sebastian Dröge (slomo) 2010-02-25 10:09:04 UTC
Works fine here with latest pre-releases, could you check again with 0.10.26.3 and the other .3 versions? I've uploaded them some minutes ago to the PPA.
Comment 6 Michael Bushey 2010-02-25 18:27:33 UTC
I don't know what a PPA is but I went to packages.debian.org and grabbed the .3 versions.

$ dpkg -l | grep gstreamer
ii  bluez-gstreamer                         4.60-1                          Bluetooth GStreamer support
ii  gir1.0-gstreamer-0.10                   0.10.26.3-1                     Description: GObject introspection data for the GStreamer librar
ii  gstreamer0.10-alsa                      0.10.26.3-1                     GStreamer plugin for ALSA
ii  gstreamer0.10-esd                       0.10.18.3-1                     GStreamer plugin for ESD
ii  gstreamer0.10-ffmpeg                    0.10.9.3-1                      FFmpeg plugin for GStreamer
ii  gstreamer0.10-ffmpeg-dbg                0.10.9.3-1                      FFmpeg plugin for GStreamer (debug symbols)
ii  gstreamer0.10-fluendo-mp3               0.10.7.debian-1                 Fluendo mp3 decoder GStreamer plugin
ii  gstreamer0.10-gnonlin                   0.10.14-2                       non-linear editing module for GStreamer
ii  gstreamer0.10-nice                      0.0.10-2+b1                     ICE library (GStreamer plugin)
ii  gstreamer0.10-plugins-bad               0.10.17.3-1                     GStreamer plugins from the "bad" set
ii  gstreamer0.10-plugins-bad-dbg           0.10.17.3-1                     GStreamer plugins from the "bad" set (debug symbols)
ii  gstreamer0.10-plugins-base              0.10.26.3-1                     GStreamer plugins from the "base" set
ii  gstreamer0.10-plugins-base-dbg          0.10.26.3-1                     GStreamer plugins from the "base" set
ii  gstreamer0.10-plugins-good              0.10.18.3-1                     GStreamer plugins from the "good" set
ii  gstreamer0.10-plugins-good-dbg          0.10.18.3-1                     GStreamer plugins from the "good" set
ii  gstreamer0.10-plugins-really-bad        0.10.17-0.1                     GStreamer plugins from the "bad" set
ii  gstreamer0.10-plugins-ugly              0.10.13.3-1                     GStreamer plugins from the "ugly" set
ii  gstreamer0.10-plugins-ugly-dbg          0.10.13.3-1                     GStreamer plugins from the "ugly" set (debug symbols)
ii  gstreamer0.10-pulseaudio                0.10.18.3-1                     GStreamer plugin for PulseAudio
ii  gstreamer0.10-sdl                       0.10.17.3-1                     GStreamer plugin for SDL output
ii  gstreamer0.10-tools                     0.10.26.3-1                     Tools for use with GStreamer
ii  gstreamer0.10-x                         0.10.26.3-1                     GStreamer plugins for X11 and Pango
ii  libgstreamer-plugins-base0.10-0         0.10.26.3-1                     GStreamer libraries from the "base" set
ii  libgstreamer0.10-0                      0.10.26.3-1                     Core GStreamer libraries and elements
ii  libgstreamer0.10-0-dbg                  0.10.26.3-1                     Core GStreamer libraries and elements
ii  totem-gstreamer                         2.28.5-1                        A simple media player for the GNOME desktop (transitional packag


$ totem /home/michael/capture009.dv
no more csLADSPA plugins
ERROR: Could not load classifier cascade /usr/share/opencv/haarcascades/haarcascade_frontalface_alt2.xml
Segmentation fault
Comment 7 Sebastian Dröge (slomo) 2010-02-25 18:44:07 UTC
Could you get a new backtrace with gstreamer0.10-ffmpeg-dbg installed?
Comment 8 Sebastian Dröge (slomo) 2010-02-25 18:45:55 UTC
Oh, what's the output of
dpkg -l libavcodec52

i.e., which version of it do you have installed?
Comment 9 Michael Bushey 2010-02-26 03:20:26 UTC
ii  libavcodec52                            5:0.5+svn20100208-0.1 
ii  gstreamer0.10-ffmpeg                    0.10.9.3-1                      
ii  gstreamer0.10-ffmpeg-dbg                0.10.9.3-1


(gdb) bt

Thread 11 (Thread 0x7fffd7fff910 (LWP 1577))

  • #0 read
    from /lib/libc.so.6
  • #1 ??
    from /lib/libc.so.6
  • #2 ??
    from /lib/libc.so.6
  • #3 free
    from /lib/libc.so.6
  • #4 gst_buffer_finalize
    at gstbuffer.c line 161
  • #5 gst_mini_object_free
    at gstminiobject.c line 336
  • #6 gst_mini_object_unref
    at gstminiobject.c line 371
  • #7 gst_buffer_unref
    at ../../../gst/gstbuffer.h line 363
  • #8 gst_base_transform_handle_buffer
    at gstbasetransform.c line 1960
  • #9 gst_base_transform_chain
    at gstbasetransform.c line 2061
  • #10 gst_pad_chain_data_unchecked
    at gstpad.c line 4122
  • #11 gst_pad_push_data
    at gstpad.c line 4351
  • #12 gst_queue_push_one
    at gstqueue.c line 1083
  • #13 gst_queue_loop
    at gstqueue.c line 1185
  • #14 gst_task_func
    at gsttask.c line 238
  • #15 g_thread_pool_thread_proxy
    at /tmp/buildd/glib2.0-2.22.4/glib/gthreadpool.c line 265
  • #16 g_thread_create_proxy
    at /tmp/buildd/glib2.0-2.22.4/glib/gthread.c line 635
  • #17 start_thread
    from /lib/libpthread.so.0
  • #18 clone
    from /lib/libc.so.6
  • #19 ??

Thread 10 (Thread 0x7fffdf7fe910 (LWP 1513))

  • #0 memcpy
    from /lib/libc.so.6
  • #1 ff_img_copy_plane
    from /usr/lib/libavcodec.so.52
  • #2 av_picture_copy
    from /usr/lib/libavcodec.so.52
  • #3 get_output_buffer
    at gstffmpegdec.c line 1522
  • #4 gst_ffmpegdec_video_frame
    at gstffmpegdec.c line 1805
  • #5 gst_ffmpegdec_frame
    at gstffmpegdec.c line 2157
  • #6 gst_ffmpegdec_chain
    at gstffmpegdec.c line 2571
  • #7 gst_pad_chain_data_unchecked
    at gstpad.c line 4122
  • #8 gst_pad_push_data
    at gstpad.c line 4351
  • #9 gst_single_queue_push_one
    at gstmultiqueue.c line 919
  • #10 gst_multi_queue_loop
    at gstmultiqueue.c line 1101
  • #11 gst_task_func
    at gsttask.c line 238
  • #12 g_thread_pool_thread_proxy
    at /tmp/buildd/glib2.0-2.22.4/glib/gthreadpool.c line 265
  • #13 g_thread_create_proxy
    at /tmp/buildd/glib2.0-2.22.4/glib/gthread.c line 635
  • #14 start_thread
    from /lib/libpthread.so.0
  • #15 clone
    from /lib/libc.so.6
  • #16 ??
  • #0 pthread_cond_timedwait
    from /lib/libpthread.so.0
  • #1 g_cond_timed_wait_posix_impl
    at /tmp/buildd/glib2.0-2.22.4/gthread/gthread-posix.c line 242
  • #2 g_async_queue_pop_intern_unlocked
    at /tmp/buildd/glib2.0-2.22.4/glib/gasyncqueue.c line 365
  • #3 g_thread_pool_wait_for_new_task
    at /tmp/buildd/glib2.0-2.22.4/glib/gthreadpool.c line 220
  • #4 g_thread_pool_thread_proxy
    at /tmp/buildd/glib2.0-2.22.4/glib/gthreadpool.c line 254
  • #5 g_thread_create_proxy
    at /tmp/buildd/glib2.0-2.22.4/glib/gthread.c line 635
  • #6 start_thread
    from /lib/libpthread.so.0
  • #7 clone
    from /lib/libc.so.6
  • #8 ??

Comment 10 Sebastian Dröge (slomo) 2010-02-26 07:57:53 UTC
Ok, please install libavcodec52 (and other ffmpeg stuff) from Debian directly, not from Debian Multimedia or any other third party source. If it is still not working please file a bug against the Debian package of gstreamer0.10-ffmpeg.
Comment 11 Tim-Philipp Müller 2010-02-26 08:34:45 UTC
Why does ffdec_dvvideo have a non-NONE rank again? I thought it had problems (I remember attempts to make it 'the' dv decoder, but then something always comes up..)