GNOME Bugzilla – Bug 351790
[ogmparse] crash parsing video stream on x86-64
Last modified: 2006-08-23 12:18:33 UTC
gstreamer-plugins-bad-0.10.3-2 gstreamer-plugins-good-devel-0.10.3.2-0.gst.1.5 gstreamer-plugins-base-0.10.9-0.gst.2.5 gstreamer-ffmpeg-0.10.1-0.gst.1.5 gstreamer-tools-0.10.9-0.gst.1.5 gstreamer-plugins-good-0.10.3.2-0.gst.1.5 gstreamer-plugins-base-devel-0.10.9-0.gst.2.5 gstreamer-0.10.9-0.gst.1.5 gstreamer-plugins-ugly-0.10.3.2-0.gst.1.5 gstreamer-devel-0.10.9-0.gst.1.5 (gdb) bt
+ Trace 70608
File is at: http://www.hadess.net/tmp/ogg-crasher-subtitles-languages.ogg Please make a local copy ASAP (or add it to the GStreamer test-suite :)
> http://www.hadess.net/tmp/ogg-crasher-subtitles-languages.ogg > > Please make a local copy ASAP (or add it to the GStreamer test-suite :) 403 - Forbidden
(In reply to comment #2) > > http://www.hadess.net/tmp/ogg-crasher-subtitles-languages.ogg > > > > Please make a local copy ASAP (or add it to the GStreamer test-suite :) > > 403 - Forbidden Fixed, thanks for the notice.
Can't reproduce here (on x86), neither with CVS nor with older versions (like in dapper). Any chance you could get a stack trace with proper debug symbols or run valgrind over it? Does this also crash? $ gst-launch-0.10 filesrc location=foo.ogg ! decodebin ! fakesink or $ gst-launch-0.10 playbin uri=file:///home/hadess/foo.ogg
This is on x86-64. Other oggs seem to play fine. Here's the backtrace for the decodebin line above:
+ Trace 70830
Crashes because pad is NULL and GST_PAD_CAPS(pad) dereferences a NULL pointer => GStreamer bug.
Created attachment 71451 [details] [review] possible fix
Yep, works here.
Thanks for testing, committed: 2006-08-23 Tim-Philipp Müller <tim at centricular dot net> * ext/ogg/gstogmparse.c: (gst_ogm_parse_chain): Fix crash due to broken bitstream parsing on x86-64: can't make any assumptions about sizeof(struct) due to alignment/packing differences on different architectures. Fixes #351790.