This was reported when using dir2ogg, a python script that converts mp3 and other formats to ogg. This script uses the module to extract the id3 entries.
When built with gcc-4.1.1 pyid3lib does not addresses the values correctly causing corruption or segmentation faults:
Python 2.4.3 (#1, Apr 26 2007, 01:08:09)
[GCC 4.1.1 (Gentoo 4.1.1-r3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyid3lib
>>> x = pyid3lib.tag( '13-Tiger_Stripes-Amphytrion.mp3' )
>>> x.artist
'13-Tiger_Stripes-Amphytrion.mp'
>>> x.title
'e\x00\x00i\x01\x00d\x00\x00\x83\x01\x00Z\x02\x00d\x01\x00S\x00\x00\x00\x00\x00'
>>> x.title
'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
>>> x.title
'e\x00\x00i\x01\x00d\x00\x00\x83\x01\x00Z\x02\x00d\x01\x00S\x00\x00\x00\x00\x00'
>>> x.title
'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
>>> x.artist
'13-Tiger_Stripes-Amphytrion.mp'
>>> x.artist
'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'
>>>
The original bug report can be read in the gentoo bugzilla. Bug number 176157. Link: http://bugs.gentoo.org/show_bug.cgi?id=176157
Thanks
Logged In: YES
user_id=781476
Originator: NO
I am running Debian Etch, with
* gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
* glibc 2.3.6
and I can reproduce this bug with my MP3 File.
Logged In: YES
user_id=781476
Originator: NO
"I can reproduce this bug with my MP3 File." has to be "I can NOT reproduce this bug with my MP3 File."
Logged In: YES
user_id=1142349
Originator: YES
This was found to be a problem with the ID3v2 tag of a couple of mp3 files. The tag was corrupted causing different problems with different tag editors. Some where able to read the tags but couldn't edit them. Others simply crashed. Deleting and recreating the ID3v2 tags solved the problem.
There is no problem with the pyid3lib extension.
My apologies.