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 749283 - avdec_aac: assertions in gst-libav critical failures
avdec_aac: assertions in gst-libav critical failures
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-libav
git master
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-05-12 21:06 UTC by strobelight
Modified: 2017-05-20 12:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
A valgrind log of this, that shows invalid read before the assersion (10.81 KB, application/json)
2015-05-12 21:13 UTC, Nicolas Dufresne (ndufresne)
Details

Description strobelight 2015-05-12 21:06:37 UTC
playback of hls stream fails on first ts file loaded after about 3 secs of playback.

Logs at http://pastebin.com/Xmun162x (only about 5 days left for it at time of post)

ts file at https://www.dropbox.com/sh/7jot8pgo3qlp5n5/AAABL8wUaV3tBBJCE5fMRPOca?dl=0
Comment 1 Nicolas Dufresne (ndufresne) 2015-05-12 21:13:17 UTC
Created attachment 303284 [details]
A valgrind log of this, that shows invalid read before the assersion

We notice that AVContext::channels has change from 2 to 0 suddenly. I could not find what triggers this change yet.
Comment 2 strobelight 2015-05-18 13:00:16 UTC
Some snippets from debug output before pastebin disappears; I hope they're relevant.

gst-play-1.0
...
0:00:00.191054033 21077   0x81db40 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:362:gst_element_factory_create: creating element "playbin" named "playbin"
...
0:00:37.203123630 21077 0x75a0c490 WARN               h264parse gsth264parse.c:1063:gst_h264_parse_handle_frame:<h264parse0> broken/invalid nal Type: 9 AU delimiter, Size: 2 will be dropped
...
0:00:37.592108722 21077 0x75a0c5b0 INFO      GST_PLUGIN_LOADING gstplugin.c:835:gst_plugin_load_file: plugin "/opt/gst/master/lib/gstreamer-1.0/libgstvolume.so" loaded
0:00:37.592317731 21077 0x75a0c5b0 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:362:gst_element_factory_create: creating element "volume" named "volume"
0:00:37.595427338 21077 0x75a0c5b0 INFO      GST_PLUGIN_LOADING gstplugin.c:835:gst_plugin_load_file: plugin "/opt/gst/master/lib/gstreamer-1.0/libgstaudioconvert.so" loaded
0:00:37.595660200 21077 0x75a0c5b0 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:362:gst_element_factory_create: creating element "audioconvert" named "conv"
0:00:37.598537465 21077 0x75a0c5b0 WARN           audioresample gstaudioresample.c:1538:plugin_init: Orc disabled, can't benchmark int vs. float resampler
0:00:37.598728818 21077 0x75a0c5b0 WARN         GST_PERFORMANCE gstaudioresample.c:1541:plugin_init: orc disabled, no benchmarking done
0:00:37.598895066 21077 0x75a0c5b0 INFO      GST_PLUGIN_LOADING gstplugin.c:835:gst_plugin_load_file: plugin "/opt/gst/master/lib/gstreamer-1.0/libgstaudioresample.so" loaded
0:00:37.599005013 21077 0x75a0c5b0 INFO     GST_ELEMENT_FACTORY gstelementfactory.c:362:gst_element_factory_create: creating element "audioresample" named "resample"
0:00:03.1 / 0:56:43.4
** (gst-play-1.0:21077): CRITICAL **: gst_audio_channel_positions_to_valid_order: assertion 'channels > 0' failed
 
** (gst-play-1.0:21077): CRITICAL **: gst_audio_decoder_set_output_format: assertion 'GST_AUDIO_INFO_IS_VALID (info)' failed
0:00:42.327714414 21077 0x75a0c5b0 WARN                   libav gstavauddec.c:446:gst_ffmpegauddec_negotiate:<avdec_aac0> error: Could not set caps for libav decoder (aac), not fixed?
0:00:42.328067953 21077 0x75a0c5b0 ERROR                  libav :0:: get_buffer() failed
0:00:42.328183785 21077 0x75a0c5b0 WARN                   libav gstavauddec.c:637:gst_ffmpegauddec_frame:<avdec_aac0> avdec_aac: decoding error (len: -22, have_data: 0)
...
ERROR GStreamer error: negotiation problem. for http://cdvr.play.vdc3.vcte.com/cdvr/c0ed53990142123b5d1116875702cba8/c0ed53990142123b5d1116875702cba8.m3u8
ERROR debug information: gstavauddec.c(446): gst_ffmpegauddec_negotiate (): /GstPlayBin:playbin/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/avdec_aac:avdec_aac0:
Could not set caps for libav decoder (aac), not fixed?
Comment 3 Jan Schmidt 2017-05-20 12:18:44 UTC
All the relevant links above for this are dead now. I think we should close it.
Comment 4 Tim-Philipp Müller 2017-05-20 12:36:34 UTC
Right, if it's still a problem someone will file a new bug. The channels 0 thing also sounds familiar, I think it may have gotten fixed.