GNOME Bugzilla – Bug 346224
Segfault from libmpeg2
Last modified: 2006-06-29 20:08:36 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
Created attachment 68175 [details] gdb backtrace
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 ***