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 335288 - Totem Crashes on Certain .mpg Files
Totem Crashes on Certain .mpg Files
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-ugly
0.10.x
Other Linux
: Normal normal
: 0.10.4
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 330891 335665 337330 346224 363122 365826 374360 374500 374727 375259 375333 375615 375644 375914 376131 376856 377983 378391 378518 378707 379348 379597 379867 380450 381129 381416 381738 382802 384522 384997 386027 386182 386184 386353 387186 387783 388079 389563 454616 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-03-20 22:17 UTC by Sebastien Bacher
Modified: 2007-07-07 21:55 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastien Bacher 2006-03-20 22:17:07 UTC
That bug has been opened on https://launchpad.net/distros/ubuntu/+source/totem/+bug/32566

"When opening certain .mpg files, totem will begin to load but then crash. When launching $totem mediafilename.mpg, this output is displayed on the console:
(totem:12732): GStreamer-CRITICAL **: gst_object_ref: assertion `GST_IS_OBJECT (object)' failed
Segmentation fault

I have gstreamer0.10-bad, gstreamer0.10-good, and gstreamer0.10-ugly installed.
...
>  Thanks for your bug. I've a .mpg on my disk and totem plays it just fine with the gstreamer0.10-plugins-ugly package installed. Do you have any URL to .mpg producing that bug. If not could you put one somewhere for download (feel free to point it by mail if you don't want to put the URL on the bug tracker)? Media bugs are not easy to fix without having an example exibing the issue

Could you get a backtrace of the crash:
- gdb totem
(gdb) run
... crahs
(gdb) thread apply all bt

and copy that to a comment
...


Playing
http://www.novell.com/linux/xglrelease/transparency.mpg

Related to Bug #33325.

Trying to seek a position inside the file.

-------
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1953598384 (LWP 11018)]
0x74853e46 in mpeg2_init_fbuf () from /usr/lib/libmpeg2.so.0
(gdb) thread apply all bt

Thread 1 (Thread 1995400896 (LWP 11001))

  • #0 __kernel_vsyscall
  • #1 pthread_cond_timedwait
    from /lib/tls/i686/cmov/libpthread.so.0
  • #2 ??
    from /usr/lib/libgthread-2.0.so.0
  • #3 ??
  • #4 ??
  • #5 ??
  • #6 gst_debug_log
    from /usr/lib/libgstreamer-0.10.so.0
  • #7 gst_element_sync_state_with_parent
    from /usr/lib/libgstreamer-0.10.so.0
  • #8 gst_bin_iterate_sources
    from /usr/lib/libgstreamer-0.10.so.0
  • #9 gst_element_get_state
    from /usr/lib/libgstreamer-0.10.so.0
  • #10 bacon_video_widget_seek_time
  • #11 bacon_video_widget_seek
  • #12 totem_action_stop
  • #13 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #14 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #15 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #16 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #17 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #18 gtk_adjustment_value_changed
    from /usr/lib/libgtk-x11-2.0.so.0
  • #19 gtk_adjustment_set_value
    from /usr/lib/libgtk-x11-2.0.so.0
  • #20 gtk_range_get_adjustment
    from /usr/lib/libgtk-x11-2.0.so.0
  • #21 _gtk_marshal_BOOLEAN__ENUM_DOUBLE
    from /usr/lib/libgtk-x11-2.0.so.0
  • #22 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #23 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #24 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #25 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #26 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #27 gtk_range_get_value
    from /usr/lib/libgtk-x11-2.0.so.0
  • #28 _gtk_range_get_wheel_delta
    from /usr/lib/libgtk-x11-2.0.so.0
  • #29 _gtk_marshal_BOOLEAN__BOXED
    from /usr/lib/libgtk-x11-2.0.so.0
  • #30 g_cclosure_new_swap
    from /usr/lib/libgobject-2.0.so.0
  • #31 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #32 g_signal_stop_emission
    from /usr/lib/libgobject-2.0.so.0
  • #33 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #34 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #35 gtk_widget_activate
    from /usr/lib/libgtk-x11-2.0.so.0
  • #36 gtk_propagate_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #37 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #38 _gdk_events_queue
    from /usr/lib/libgdk-x11-2.0.so.0
  • #39 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #40 g_main_context_check
    from /usr/lib/libglib-2.0.so.0
  • #41 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #42 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #43 main
  • #0 mpeg2_init_fbuf
    from /usr/lib/libmpeg2.so.0

Not yet. Totem 1.4.0, GStreamer 0.10.4.

When i try to seek a position, going forward and backwark using the time scrollbar, i receive the error."
Comment 1 Sebastien Bacher 2006-03-20 22:18:18 UTC
Backtrace with a debug mpeg2dec package:

Program received signal SIGSEGV, Segmentation fault.

Thread NaN (LWP 31187)

  • #0 mpeg2_init_fbuf
    at slice.c line 1608
  • #1 mpeg2_header_slice_start
    at header.c line 851
  • #2 mpeg2_parse
    at decode.c line 159
  • #3 ??
  • #4 ??
  • #5 ??
    from /usr/lib/gstreamer-0.10/libgstmpeg2dec.so
  • #6 ??
  • #7 ??
  • #8 ??
  • #9 ??
  • #10 ??
    from /usr/lib/gstreamer-0.10/libgstmpeg2dec.so
  • #11 ??
  • #12 index_resolver.15846
    from /usr/lib/libgstreamer-0.10.so.0
  • #13 ??
  • #14 gst_mpeg2dec_get_type
    from /usr/lib/gstreamer-0.10/libgstmpeg2dec.so

Comment 2 Wim Taymans 2006-03-21 18:44:01 UTC
mpeg2dec manages the fbufs wrongly and occasionally runs into unreffing a buffer twice. I think I broke that some time ago...
Comment 3 Edward Hervey 2006-03-23 09:58:07 UTC
*** Bug 330891 has been marked as a duplicate of this bug. ***
Comment 4 Wim Taymans 2006-03-23 17:54:05 UTC
*** Bug 335665 has been marked as a duplicate of this bug. ***
Comment 5 Christian Fredrik Kalager Schaller 2006-04-05 11:25:34 UTC
Ok, Wim thinks that this issue is caused by come of the changes in this commit:
http://webcvs.freedesktop.org/gstreamer/gst-plugins-ugly/ext/mpeg2dec/gstmpeg2dec.c?r1=1.90&r2=1.91

Thecould needed parts from this change should be reverted.
Comment 6 Christian Fredrik Kalager Schaller 2006-04-05 11:31:16 UTC
Also when it gets put back, please add some comments explaining it so it doesn't get flushed again the next time someone decides to do some code cleanup :)
Comment 7 Jan Schmidt 2006-04-05 13:40:03 UTC
Well, this one clearly comes under the heading of "if it ain't broke don't fix it,  especially if it's so ugly you don't understand it"

I'll try and fix this _again_, hopefully in a way that'll make Wim happier
Comment 8 Jan Schmidt 2006-04-11 11:13:09 UTC
I tried to fix this for a few hours the other night and couldn't get it right. At this point, I'm not sure how to solve it.
Comment 9 Wim Taymans 2006-06-07 16:18:16 UTC
        * ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_base_init),
        (gst_mpeg2dec_class_init), (gst_mpeg2dec_init),
        (gst_mpeg2dec_finalize), (gst_mpeg2dec_reset),
        (gst_mpeg2dec_qos_reset), (gst_mpeg2dec_alloc_buffer),
        (gst_mpeg2dec_negotiate_format), (init_dummybuf),
        (handle_sequence), (handle_picture), (handle_slice),
        (gst_mpeg2dec_chain), (gst_mpeg2dec_sink_event),
        (gst_mpeg2dec_src_event), (gst_mpeg2dec_change_state):
        * ext/mpeg2dec/gstmpeg2dec.h:
        Fix padtemplate as we can now do fractional framerates.
        Small cleanups.
        Use GstSegment.
        Add simple frame dropping QoS.
        Precalc buffer output sizes and UV offsets.
        Always give libmpeg2 a valid fbuf when it wants one.
        don't trust libmpeg to discard our buffers but manage it
        ourselves.
        Fixes #343627, #327350, #335288
Comment 10 Tim-Philipp Müller 2006-06-15 10:16:40 UTC
*** Bug 337330 has been marked as a duplicate of this bug. ***
Comment 11 Tim-Philipp Müller 2006-06-29 20:08:36 UTC
*** Bug 346224 has been marked as a duplicate of this bug. ***
Comment 12 Tim-Philipp Müller 2006-09-27 16:08:59 UTC
*** Bug 357914 has been marked as a duplicate of this bug. ***
Comment 13 Fabio Bonelli 2006-10-19 11:27:05 UTC
*** Bug 363122 has been marked as a duplicate of this bug. ***
Comment 14 André Klapper 2006-10-27 23:34:42 UTC
*** Bug 365826 has been marked as a duplicate of this bug. ***
Comment 15 Fabio Bonelli 2006-11-14 15:31:44 UTC
*** Bug 374727 has been marked as a duplicate of this bug. ***
Comment 16 André Klapper 2006-11-19 00:31:51 UTC
*** Bug 374500 has been marked as a duplicate of this bug. ***
Comment 17 André Klapper 2006-11-19 00:31:59 UTC
*** Bug 374360 has been marked as a duplicate of this bug. ***
Comment 18 André Klapper 2006-11-19 00:32:22 UTC
*** Bug 375259 has been marked as a duplicate of this bug. ***
Comment 19 André Klapper 2006-11-19 00:32:30 UTC
*** Bug 375333 has been marked as a duplicate of this bug. ***
Comment 20 André Klapper 2006-11-19 00:32:39 UTC
*** Bug 375615 has been marked as a duplicate of this bug. ***
Comment 21 André Klapper 2006-11-19 00:32:49 UTC
*** Bug 375644 has been marked as a duplicate of this bug. ***
Comment 22 André Klapper 2006-11-19 00:32:57 UTC
*** Bug 375914 has been marked as a duplicate of this bug. ***
Comment 23 Susana 2006-11-19 09:50:43 UTC
*** Bug 376856 has been marked as a duplicate of this bug. ***
Comment 24 Jan Arne Petersen 2006-11-22 10:01:05 UTC
*** Bug 377983 has been marked as a duplicate of this bug. ***
Comment 25 Jens Granseuer 2006-11-24 19:27:52 UTC
*** Bug 378707 has been marked as a duplicate of this bug. ***
Comment 26 Jens Granseuer 2006-11-26 18:12:53 UTC
*** Bug 379348 has been marked as a duplicate of this bug. ***
Comment 27 Jan Arne Petersen 2006-11-27 12:31:33 UTC
*** Bug 378391 has been marked as a duplicate of this bug. ***
Comment 28 Jan Arne Petersen 2006-11-27 12:31:44 UTC
*** Bug 378518 has been marked as a duplicate of this bug. ***
Comment 29 Jan Arne Petersen 2006-11-27 12:31:54 UTC
*** Bug 379597 has been marked as a duplicate of this bug. ***
Comment 30 Jan Arne Petersen 2006-11-27 12:46:34 UTC
*** Bug 376131 has been marked as a duplicate of this bug. ***
Comment 31 Iestyn Pryce 2006-11-28 13:49:31 UTC
*** Bug 379867 has been marked as a duplicate of this bug. ***
Comment 32 Jens Granseuer 2006-12-01 15:32:19 UTC
*** Bug 381129 has been marked as a duplicate of this bug. ***
Comment 33 Baptiste Mille-Mathias 2006-12-03 21:37:50 UTC
*** Bug 380450 has been marked as a duplicate of this bug. ***
Comment 34 André Klapper 2006-12-07 19:17:00 UTC
*** Bug 382802 has been marked as a duplicate of this bug. ***
Comment 35 André Klapper 2006-12-07 19:18:35 UTC
*** Bug 381416 has been marked as a duplicate of this bug. ***
Comment 36 André Klapper 2006-12-07 19:18:40 UTC
*** Bug 381738 has been marked as a duplicate of this bug. ***
Comment 37 palfrey 2006-12-15 16:23:55 UTC
*** Bug 386027 has been marked as a duplicate of this bug. ***
Comment 38 palfrey 2006-12-15 17:19:22 UTC
*** Bug 386182 has been marked as a duplicate of this bug. ***
Comment 39 palfrey 2006-12-15 17:21:03 UTC
*** Bug 384997 has been marked as a duplicate of this bug. ***
Comment 40 palfrey 2006-12-15 17:21:08 UTC
*** Bug 384522 has been marked as a duplicate of this bug. ***
Comment 41 palfrey 2006-12-15 17:21:18 UTC
*** Bug 386184 has been marked as a duplicate of this bug. ***
Comment 42 André Klapper 2006-12-22 20:27:01 UTC
*** Bug 386353 has been marked as a duplicate of this bug. ***
Comment 43 André Klapper 2006-12-22 20:27:02 UTC
*** Bug 387186 has been marked as a duplicate of this bug. ***
Comment 44 André Klapper 2006-12-22 20:27:05 UTC
*** Bug 387783 has been marked as a duplicate of this bug. ***
Comment 45 André Klapper 2006-12-22 20:27:12 UTC
*** Bug 388079 has been marked as a duplicate of this bug. ***
Comment 46 Claudio Saavedra 2006-12-25 22:05:43 UTC
*** Bug 389563 has been marked as a duplicate of this bug. ***
Comment 47 palfrey 2007-07-07 21:55:22 UTC
*** Bug 454616 has been marked as a duplicate of this bug. ***