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 571009 - [tagdemux] WMA file with id3v2 tag causes assertion to fail
[tagdemux] WMA file with id3v2 tag causes assertion to fail
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
0.10.21
Other All
: Normal normal
: 0.10.23
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 559323 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2009-02-09 01:29 UTC by W. Michael Petullo
Modified: 2009-05-31 15:33 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description W. Michael Petullo 2009-02-09 01:29:40 UTC
Please describe the problem:
I have a WMA file that is causing an assertion to fail in gst-launch. This also affects an application that I am working on.



Steps to reproduce:
gst-launch filesrc location=Johnny\ Cash\ -\ Ring\ of\ Fire.wma ! decodebin ! audioconvert ! fakesink


Actual results:
gst-launch prints:

ERROR:gsttagdemux.c:418:gst_tag_demux_trim_buffer: assertion failed: (out_size > 0)

Expected results:
I don't have the plugins I need to play this file installed, but I should see an error message, not a failed assertion.

Does this happen every time?
Yes.

Other information:
I did not attach the WMA file because of its copyright. I will provide it to a developer on request.

See also:

1.  Email on gstreamer-devel with a subject of "gst_tag_demux_trim_buffer: assertion failed: (out_size > 0)"

2.  https://bugs.launchpad.net/ubuntu/+source/brasero/+bug/293776
Comment 1 Tim-Philipp Müller 2009-02-10 13:02:09 UTC
You might be able to reproduce the issue with just the beginning of the file (head --bytes=200k foo.wma > head.wma), and then attach that. Otherwise please send it to me by mail or point me to a place where I can find a file with the same issue.

Comment 2 Tim-Philipp Müller 2009-02-12 09:29:53 UTC
Thanks, should be fixed in -base git master now:

commit a624df17c40fec7232f4047ae93b46cbe1d3be7c
Author: Tim-Philipp Müller <tim.muller@collabora.co.uk>
Date:   Thu Feb 12 09:18:20 2009 +0000

    tagdemux: don't abort when downstream pulls a buffer of size 0
    
    Pulling a 0-sized buffer is allowed, and we should handle
    this correctly instead of aborting.
    Fixes #571009 (wma file with ID3v2 tag).

Comment 3 Tim-Philipp Müller 2009-05-31 15:33:49 UTC
*** Bug 559323 has been marked as a duplicate of this bug. ***