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 515205 - Dubious .flv file crashes totem
Dubious .flv file crashes totem
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-libav
git master
Other Linux
: Normal normal
: 0.10.4
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-02-08 14:01 UTC by Johan (not receiving bugmail) Dahlin
Modified: 2008-02-08 15:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
broken.flv (195.52 KB, application/octet-stream)
2008-02-08 14:04 UTC, Johan (not receiving bugmail) Dahlin
Details

Description Johan (not receiving bugmail) Dahlin 2008-02-08 14:01:40 UTC
When opening the attached .flv file in open it crashes with the following backtrace:
(gdb) bt full
  • #0 g_type_is_a
    from /usr/lib/libgobject-2.0.so.0
  • #1 g_value_type_compatible
    from /usr/lib/libgobject-2.0.so.0
  • #2 g_value_copy
    from /usr/lib/libgobject-2.0.so.0
  • #3 gst_value_init_and_copy
    at gstvalue.c line 3225
  • #4 gst_value_intersect
    at gstvalue.c line 3050
  • #5 gst_caps_structure_intersect_field
    at gstcaps.c line 1108
  • #6 gst_structure_foreach
    at gststructure.c line 913
  • #7 gst_caps_intersect
    at gstcaps.c line 1134
  • #8 gst_base_transform_getcaps
    at gstbasetransform.c line 570
  • #9 gst_pad_get_caps_unlocked
    at gstpad.c line 1977
  • #10 gst_pad_get_caps
    at gstpad.c line 2061
  • #11 gst_pad_peer_get_caps
    at gstpad.c line 2096
  • #12 gst_base_transform_getcaps
    at gstbasetransform.c line 560
  • #13 gst_pad_get_caps_unlocked
    at gstpad.c line 1977
  • #14 gst_pad_get_caps
    at gstpad.c line 2061
  • #15 gst_pad_acceptcaps_default
    at gstpad.c line 2220
  • #16 gst_pad_accept_caps
    at gstpad.c line 2282
  • #17 gst_base_transform_setcaps
    at gstbasetransform.c line 702
  • #18 gst_pad_set_caps
    at gstpad.c line 2378
  • #19 gst_proxy_pad_do_setcaps
    at gstghostpad.c line 304
  • #20 gst_pad_set_caps
    at gstpad.c line 2378
  • #21 gst_pad_chain_unchecked
    at gstpad.c line 2432
  • #22 gst_pad_push
    at gstpad.c line 3686
  • #23 gst_queue_loop
    at gstqueue.c line 991
  • #24 gst_task_func
    at gsttask.c line 192
  • #25 ??
    from /usr/lib/libglib-2.0.so.0
  • #26 ??
  • #27 ??
  • #28 ??
  • #29 ??
    from /usr/lib/libglib-2.0.so.0
  • #30 ??
    from /usr/lib/libglib-2.0.so.0
  • #31 ??
    from /usr/lib/libglib-2.0.so.0
  • #32 ??

Comment 1 Johan (not receiving bugmail) Dahlin 2008-02-08 14:04:12 UTC
And the backtrace of the interesting thread:

  • #0 __kernel_vsyscall
  • #1 raise
    from /lib/tls/i686/cmov/libc.so.6
  • #2 abort
    from /lib/tls/i686/cmov/libc.so.6
  • #3 __libc_message
    from /lib/tls/i686/cmov/libc.so.6
  • #4 _int_free
    from /lib/tls/i686/cmov/libc.so.6
  • #5 free
    from /lib/tls/i686/cmov/libc.so.6
  • #6 g_free
    from /usr/lib/libglib-2.0.so.0
  • #7 gst_buffer_finalize
    at gstbuffer.c line 185
  • #8 gst_mini_object_unref
    at gstminiobject.c line 306
  • #9 gst_pad_push
    at gstpad.c line 3702
  • #10 gst_ffmpegdemux_loop
    at gstffmpegdemux.c line 1291
  • #11 gst_task_func
    at gsttask.c line 192
  • #12 ??
    from /usr/lib/libglib-2.0.so.0
  • #13 ??
  • #14 ??
  • #15 ??
  • #16 ??
    from /usr/lib/libglib-2.0.so.0
  • #17 ??
    from /usr/lib/libglib-2.0.so.0
  • #18 ??
    from /usr/lib/libglib-2.0.so.0
  • #19 ??

Comment 2 Johan (not receiving bugmail) Dahlin 2008-02-08 14:04:51 UTC
Created attachment 104707 [details]
broken.flv
Comment 3 Tim-Philipp Müller 2008-02-08 14:16:06 UTC
FWIW, you should probably use the flvdemux from gst-plugins-bad.
Comment 4 Johan (not receiving bugmail) Dahlin 2008-02-08 14:37:22 UTC
(In reply to comment #3)
> FWIW, you should probably use the flvdemux from gst-plugins-bad.
> 

Right, but it still should not crash if bad is not installed (and -ffmpeg is)
Comment 5 Edward Hervey 2008-02-08 15:12:17 UTC
2008-02-08  Edward Hervey  <edward.hervey@collabora.co.uk>

	* ext/ffmpeg/gstffmpegdemux.c: (gst_ffmpegdemux_loop):
	Don't try handling a buffer if downstream allocation failed.
	Avoids crashes and Fixes #515205