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 578494 - decodebin being racy when decoding ogg/vorbis and flac files
decodebin being racy when decoding ogg/vorbis and flac files
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: dont know
0.10.22
Other Linux
: Normal major
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-04-09 14:44 UTC by Philippe Normand
Modified: 2011-05-16 19:15 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26



Description Philippe Normand 2009-04-09 14:44:26 UTC
I sometimes get this when running the attached script:

- with flac files:

 error going to paused Impossible de décoder le flux.: gstflacdec.c(1334): gst_flac_dec_loop (): /GstPipeline:pipeline0/GstDecodeBin2:decodebin20/GstFlacDec:flacdec0:
FLAC__STREAM_DECODER_ABORTED
reached PAUSED

** (scan.py:28429): CRITICAL **: gst_adapter_clear: assertion `GST_IS_ADAPTER (adapter)' failed
Erreur de segmentation (core dumped)


- with ogg files:

error going to paused Could not demultiplex stream.: gstoggdemux.c(2758): gst_ogg_demux_find_chains (): /GstPipeline:pipeline0/GstDecodeBin2:decodebin20/GstOggDemux:oggdemux0:
can't get first chain
error going to paused Internal data stream error.: gstoggdemux.c(3151): gst_ogg_demux_loop (): /GstPipeline:pipeline0/GstDecodeBin2:decodebin20/GstOggDemux:oggdemux0:
stream stopped, reason error
error going to paused Could not decode stream.: gstoggdemux.c(2860): gst_ogg_demux_handle_page (): /GstPipeline:pipeline0/GstDecodeBin2:decodebin20/GstOggDemux:oggdemux0:
unknown ogg chain for serial 4b702166 detected
error going to paused Internal data flow error.: gstbasesrc.c(2330): gst_base_src_loop (): /GstPipeline:pipeline0/GstFileSrc:filesrc0:
streaming task paused, reason error (-5)
error going to paused Could not demultiplex stream.: gstoggdemux.c(1466): gst_ogg_demux_sink_event (): /GstPipeline:pipeline0/GstDecodeBin2:decodebin20/GstOggDemux:oggdemux0:
can't get first chain

The script is meant to retrieve tags from the file passed as argument. Sometimes it succeeds and sometimes it hangs or coredumps.
Comment 1 Philippe Normand 2009-04-09 14:46:38 UTC
The scan.py script is there: http://gist.github.com/92509
One ogg file for which the issue happens: http://people.fluendo.com/phil/static.ogg
Comment 2 Philippe Normand 2009-04-10 13:02:12 UTC
Can't reproduce the FLAC__STREAM_DECODER_ABORTED with gst git. Will try to git-bisect
Comment 3 Philippe Normand 2009-04-11 11:47:03 UTC
gist-bisect pointed out http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=a53866ddc1bec3ebccc13dedfaefb6a94b1d381f as being the one triggering the bug, reverting it partially fixes the issue.

Now with both flac and ogg files I get a deadlock (this one is with flac):


Comment 4 Edward Hervey 2011-05-16 18:59:18 UTC
Philippe, do you still get that problem ?
Comment 5 Philippe Normand 2011-05-16 19:15:44 UTC
I don't recall what that scan.py script was doing exactly, something about getting the tags of the file, the gist has been removed(?!) and the ogg file linked above is no longer available.

So... let's close this.