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 322769 - The ID3 tag of this file is a segfaulter
The ID3 tag of this file is a segfaulter
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
Other All
: High critical
: 0.10.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Reported: 2005-11-29 19:01 UTC by Lionel Dricot
Modified: 2006-01-13 15:37 UTC
See Also:
GNOME target: ---
GNOME version: 2.11/2.12

Description Lionel Dricot 2005-11-29 19:01:49 UTC
Steps to reproduce:
1. Download the crasher.mp3 attached below
2. gst-launch-0.8 -t filesrc location=crasher.mp3 ! mad ! fakesink
3. it segfaults 

Stack trace:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1213184320 (LWP 22864)]
0xb743ff46 in id3_ucs4_length () from /usr/lib/

(warning, this trace is with the standard breezy packages)

Other information:
The crasher is in the "&" symbol, in the title of the song, in the ID3v2 tag.

To avoid the crash, open the song with XMMS, edit the tag and remove then retype
the "&". You will not see any difference but it will not crash anymore.
Comment 1 Lionel Dricot 2005-11-29 19:05:48 UTC
Forgot that attachment must be less than 1Mo. 

So, here's the crasher MP3 :
Comment 2 Michael Smith 2005-11-30 12:55:49 UTC
Broken in 0.9 too: filesrc ! id3demux ! fakesink is sufficient to reproduce.
It's crashing dereferencing a null pointer inside libid3, but with a completely
unusable backtrace (only a single entry!). Valgrind provides no additional
usable information. Weird.
Comment 3 Michael Smith 2005-12-09 12:31:54 UTC
This crashes calling id3_tag_parse from libid3tag. A source build of this
library doesn't crash, so I'm really not sure what's going on (it later notes
that one of the tags is invalid, but that's ok).

Not sure what we can do about this.

For the original reporter: what OS? If linux, what distribution/version? 
Comment 4 Lionel Dricot 2005-12-09 13:20:31 UTC

Thanks for your attention to this bug.

I'm using Ubuntu Breezy, on i386.
Comment 5 Michael Smith 2005-12-09 14:49:58 UTC
Ok, that's the same as what I'm using, and as mentioned, I can reproduce this here.

Other people using other distributions can't, and I can't using a source build
of libid3tag. 

I'm pretty sure this is an upstream problem with the build in breezy. Can you
report this to them? There's nothing we can really do about this in gstreamer.
Comment 6 Andy Wingo 2006-01-13 15:37:18 UTC
Works now with 0.10's new id3demux, which does not use libid3tag. Closing as fixed.