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 525665 - Crash on Ogg/Vorbis with chain=NULL
Crash on Ogg/Vorbis with chain=NULL
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other All
: Normal critical
: 0.10.20
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 496399 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-04-01 23:18 UTC by Victor STINNER
Modified: 2009-03-12 07:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix for gstoggdemux.c (584 bytes, patch)
2008-04-01 23:19 UTC, Victor STINNER
committed Details | Review
Sample (Ogg/Vorbis) to reproduce the crash (20.61 KB, audio/vorbis)
2008-04-02 02:54 UTC, Victor STINNER
  Details

Description Victor STINNER 2008-04-01 23:18:28 UTC
Steps to reproduce:
1. Open sample.ogg with "gst-launch-0.10 playbin uri=file://$PWD/sample.ogg"
2. That's all


Stack trace:
See attached file, it fixes the crash.

Other information:
Comment 1 Victor STINNER 2008-04-01 23:19:03 UTC
Created attachment 108446 [details] [review]
Fix for gstoggdemux.c
Comment 2 Victor STINNER 2008-04-02 02:54:47 UTC
Created attachment 108451 [details]
Sample (Ogg/Vorbis) to reproduce the crash
Comment 3 Wim Taymans 2008-04-02 15:07:13 UTC
        Patch by: Victor STINNER <victor dot stinner at haypocalc dot com>

        * ext/ogg/gstoggdemux.c: (gst_ogg_demux_activate_chain),
        (gst_ogg_demux_read_chain):
        When we fail to find a BOS page and we and up with no chain, error out
        properly instead of segfaulting. Fixes #525665.
Comment 4 Edward Hervey 2009-03-12 07:07:05 UTC
*** Bug 496399 has been marked as a duplicate of this bug. ***