[prev in list] [next in list] [prev in thread] [next in thread]
List: taglib-devel
Subject: tagwriter seg fault
From: jonas () kirilla ! com (Jonas =?iso-8859-1?q?Sundstr=F6m?=)
Date: 2005-02-09 19:09:25
Message-ID: 6057949651-BeMail () castro
[Download RAW message or body]
I get a segment violation when using the sample application like this:
tagwriter -a "" filename.mp3
Stack:
TagLib::ID3v2::Tag::removeFrame(TagLib::ID3v2::Frame *, bool):
TagLib::ID3v2::Tag::removeFrames(TagLib::ByteVector const &)
TagLib::ID3v2::Tag::setTextFrame(TagLib::ByteVector const &,
TagLib::String const &) TagLib::ID3v2::Tag::setArtist(TagLib::String
const &)
TagLib::MPEGTag::setArtist(TagLib::String const &)
main
_start
void ID3v2::Tag::removeFrame(Frame *frame, bool del)
{
// remove the frame from the frame list
FrameList::Iterator it = d->frameList.find(frame);
d->frameList.erase(it);
// ...and from the frame list map
it = d->frameListMap[frame->frameID()].find(frame);
d->frameListMap[frame->frameID()].erase(it);
// ...and delete as desired
if(del)
delete *it;
}
Could it be a bug in TagLib?
(Built on BeOS R5, x86/P4, gcc 2.95.3-beos-041202.)
/Jonas Sundstr?m. www.kirilla.com
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic