TagLib 1.5 segfaults on one file
canidae at exent.net
Sat Jan 10 22:38:55 CET 2009
On Sat, Jan 10, 2009 at 12:13:43AM +0100, Vidar Wahlberg wrote:
> I've hit a quite peculiar segfault which I can't seem to figure out.
> Output from Valgrind follows, let me know if you need something else
> (for example the mp3 file that cause this error).
Looked a bit more into this today, for some reason I was sure the error
was in tstring.cpp so I didn't look in apeitem.cpp last night. However,
that's where the error is.
In APE::Item::render() there's a "StringList::ConstIterator it =
d->text.begin();", but it doesn't check if "it == d->text.end()" before
using that iterator. I've attached a patch for this :)
Also, a fairly dumb question: How can I compile the examples when
checking out from svn? I'm not familiar with cmake, compiling taglib
itself was simple, although "cmake . && make" in the examples directory
did not work as well as I wanted it to.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 678 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/taglib-devel/attachments/20090110/655bd9f6/attachment.bin
More information about the taglib-devel