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 346224 - Segfault from libmpeg2
Segfault from libmpeg2
Status: RESOLVED DUPLICATE of bug 335288
Product: GStreamer
Classification: Platform
Component: gst-plugins-ugly
0.10.3
Other All
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-06-29 16:57 UTC by Riccardo Magliocchetti
Modified: 2006-06-29 20:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gdb backtrace (13.44 KB, text/plain)
2006-06-29 16:58 UTC, Riccardo Magliocchetti
Details

Description Riccardo Magliocchetti 2006-06-29 16:57:54 UTC
Please describe the problem:
Moving the progress control back and forth for a minute makes the library segfault.

Steps to reproduce:
1. Open an mpeg file with totem
2. Move back and forth the progress control for a minute or so


Actual results:
totem exits with a "Segmentation fault" message

Expected results:


Does this happen every time?
yes

Other information:
I can reproduce the problem with this short video http://www.cortonaweb.net/filmati/bistecca1.mpg
Comment 1 Riccardo Magliocchetti 2006-06-29 16:58:32 UTC
Created attachment 68175 [details]
gdb backtrace
Comment 2 Tim-Philipp Müller 2006-06-29 20:08:36 UTC
I'm fairly sure this is fixed in gst-plugins-ugly CVS. Please re-open if not.

2006-06-07  Wim Taymans  <wim@fluendo.com>

        * ext/mpeg2dec/gstmpeg2dec.c: (gst_mpeg2dec_finalize),
        (gst_mpeg2dec_reset), (clear_buffers), (handle_picture),
        (gst_mpeg2dec_sink_convert), (gst_mpeg2dec_src_convert),
        (gst_mpeg2dec_change_state):
        * ext/mpeg2dec/gstmpeg2dec.h:
        Simplify and don't leak our buffer pool.
        Use _scale_int.
        Remove unfixed bug number from previous ChangeLog entry.

2006-06-07  Wim Taymans  <wim@fluendo.com>

        * 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, #335288



*** This bug has been marked as a duplicate of 335288 ***