GNOME Bugzilla – Bug 440120
[mpegdemux] crashes in gst_mpeg_demux_send_subbuffer() with wrongly-typefound quicktime files
Last modified: 2008-02-19 17:23:08 UTC
The bug has been opened on https://bugs.launchpad.net/ubuntu/+source/gst-plugins-ugly0.10/+bug/93057 "Binary package hint: totem Open http://www.ehrensenf.de/2007/03/16/solar-streitwagen-stummfilm-klassiker-ehrensenf-story/?vid=Quicktime in Firefox 2.0.0.2 (ubuntu feisty fawn) and click on play. No video appers, totem crashed, but firefox not. ... Debug crash backtrace:
+ Trace 135296
Thread 31 (process 28138)
Thread 30 (process 28140)
Thread 29 (process 28141)
Thread 28 (process 28146)
Thread 27 (process 28147)
Thread 26 (process 28148)
Thread 25 (process 28149)
Thread 24 (process 28150)
Thread 23 (process 28151)
Thread 22 (process 28152)
Thread 21 (process 28153)
Thread 20 (process 28154)
Thread 19 (process 28155)
Thread 18 (process 28156)
Thread 17 (process 28157)
Thread 16 (process 28158)
Thread 15 (process 28159)
Thread 14 (process 28160)
Thread 13 (process 28161)
Thread 12 (process 28162)
Thread 11 (process 28163)
Thread 10 (process 28164)
Thread 9 (process 28165)
Thread 8 (process 28166)
Thread 7 (process 28167)
Thread 6 (process 28168)
Thread 5 (process 28169)
Thread 4 (process 28170)
Thread 3 (process 28171)
Thread 2 (process 28172)
Thread 1 (process 28145)
I've seen a crash in gst_mpeg_demux_send_subbuffer() once before, but was never able to get a file I can reproduce it with. In this case, I'm not really sure what's happening. The video embedded on the website above seems to be a quicktime video, no mpeg demux involved anywhere. Does anyone still have the .mpg file that causes the crash?
Remember that the old MPEG typefinder used to sometimes mis-read QT files as MPEG, which could easily cause this. My re-write from the other day should prevent that, I hope. It certainly seems to work for all the test files I have.
> Remember that the old MPEG typefinder used to sometimes mis-read QT files as > MPEG, which could easily cause this. Ah, that makes sense. Managed to reproduce the problem with one of my quicktime samples. Should be fixed in CVS now: 2007-05-21 Tim-Philipp Müller <tim at centricular dot net> * gst/mpegstream/gstmpegdemux.c: (gst_mpeg_demux_send_subbuffer): Add sanity check so we don't abort for broken or non-MPEG streams, but instead error out. Fixes crashes/aborts for when our typefinder wrongly identifies quicktime files as mpeg (which should be fixed in -base now too). (#440120).
*** Bug 517441 has been marked as a duplicate of this bug. ***