[gstreamer-bugs] [Bug 578612] seek on flac file sometimes triggers flac decoder ABORT

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sat Apr 11 00:50:46 PDT 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=578612

  GStreamer | gst-plugins-good | Ver: git




------- Comment #2 from Thomas Vander Stichele  2009-04-11 07:51 UTC -------
After some probing, it seems it happens when I have a queue in my pipeline.

Attaching an example program; run it like this:

GST_DEBUG=*:2 python flacseek.py
/home/thomas/gst/media/small/dark.441-16-s.flac 


and it will show this:

loop 0
loop 1
loop 2
0:00:00.248875112  6535  0x8a99810 WARN        GST_SCHEDULING
gstpad.c:4474:gst_pad_pull_range:<flacdec2:sink> pullrange failed wrong-state
0:00:00.249019475  6535  0x8a99810 WARN               flacdec
gstflacdec.c:1141:gst_flac_dec_loop:<flacdec2> error:
FLAC__STREAM_DECODER_ABORTED
0:00:00.249176690  6535  0x87a2090 WARN               flacdec
gstflacdec.c:1772:gst_flac_dec_handle_seek_event:<flacdec2> seek failed
0:00:00.249334114  6535  0x8a99810 WARN               flacdec
gstflacdec.c:1141:gst_flac_dec_loop:<flacdec2> error:
FLAC__STREAM_DECODER_ABORTED
loop 3
loop 4
loop 5
loop 6
0:00:00.299152927  6535 0xb66810e8 WARN        GST_SCHEDULING
gstpad.c:4474:gst_pad_pull_range:<flacdec6:sink> pullrange failed wrong-state
0:00:00.299202445  6535 0xb66810e8 WARN               flacdec
gstflacdec.c:1141:gst_flac_dec_loop:<flacdec6> error:
FLAC__STREAM_DECODER_ABORTED
0:00:00.299328789  6535  0x87a2090 WARN               flacdec
gstflacdec.c:1772:gst_flac_dec_handle_seek_event:<flacdec6> seek failed
0:00:00.299451572  6535 0xb66810e8 WARN               flacdec
gstflacdec.c:1141:gst_flac_dec_loop:<flacdec6> error:
FLAC__STREAM_DECODER_ABORTED
loop 7
0:00:00.301697203  6535 0xb6684be0 WARN        GST_SCHEDULING
gstpad.c:4474:gst_pad_pull_range:<flacdec7:sink> pullrange failed wrong-state
0:00:00.301729819  6535 0xb6684be0 WARN               flacdec
gstflacdec.c:1141:gst_flac_dec_loop:<flacdec7> error:
FLAC__STREAM_DECODER_ABORTED
0:00:00.301845338  6535  0x87a2090 WARN               flacdec
gstflacdec.c:1772:gst_flac_dec_handle_seek_event:<flacdec7> seek failed
0:00:00.301959320  6535 0xb6684be0 WARN               flacdec
gstflacdec.c:1141:gst_flac_dec_loop:<flacdec7> error:
FLAC__STREAM_DECODER_ABORTED
loop 8
loop 9
loop 10
0:00:01.337539321  6535 0xaba107d8 WARN        GST_SCHEDULING
gstpad.c:4474:gst_pad_pull_range:<flacdec10:sink> pullrange failed wrong-state
0:00:01.337580388  6535 0xaba107d8 WARN               flacdec
gstflacdec.c:1141:gst_flac_dec_loop:<flacdec10> error:
FLAC__STREAM_DECODER_ABORTED
0:00:01.337655608  6535  0x87a2090 WARN               flacdec
gstflacdec.c:1772:gst_flac_dec_handle_seek_event:<flacdec10> seek failed
0:00:01.337699957  6535 0xaba107d8 WARN               flacdec
gstflacdec.c:1141:gst_flac_dec_loop:<flacdec10> error:
FLAC__STREAM_DECODER_ABORTED
loop 11
loop 12


Removing the queue from the example makes it not give STREAM_DECODER_ABORTED
(although it will hang at some point, indicating other races)


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=578612.




More information about the Gstreamer-bugs mailing list