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 556424 - [avidemux] segmentation fault when creating indexes
[avidemux] segmentation fault when creating indexes
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal blocker
: 0.10.11
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-10-15 15:36 UTC by Edward Hervey
Modified: 2008-10-15 15:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Skip index entries for streams that do not have a pad yet. (684 bytes, patch)
2008-10-15 15:38 UTC, Edward Hervey
committed Details | Review

Description Edward Hervey 2008-10-15 15:36:21 UTC
On all these files : http://samples.mplayerhq.hu/V-codecs/KMVC/ avidemux now segfaults instead of failing quietly.

Example backtrace:
  • #1 gst_avi_demux_src_convert
    at gstavidemux.c line 404
  • #2 gst_avi_demux_stream_scan
    at gstavidemux.c line 2358
  • #3 gst_avi_demux_stream_header_pull
    at gstavidemux.c line 3211
  • #4 gst_avi_demux_loop
    at gstavidemux.c line 4085

Comment 1 Edward Hervey 2008-10-15 15:38:18 UTC
Created attachment 120652 [details] [review]
Skip index entries for streams that do not have a pad yet.
Comment 2 Edward Hervey 2008-10-15 15:42:37 UTC
2008-10-15  Edward Hervey  <edward.hervey@collabora.co.uk>

	* gst/avi/gstavidemux.c: (gst_avi_demux_stream_scan):
	Skip entries for streams that don't have a output pad yet, thereby
	avoiding calling pad functions with a NULL pad.
	Fixes #556424