Bug 140157 - TagLib embedded cover image bug
Summary: TagLib embedded cover image bug
Status: RESOLVED WORKSFORME
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-16 14:46 UTC by Andy
Modified: 2007-02-13 22:11 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andy 2007-01-16 14:46:51 UTC
Version:            (using KDE KDE 3.5.5)
Installed from:    Fedora RPMs
Compiler:          gcc 4.1.1-30 
OS:                Linux

TagLib crashes while reading an embedded cover image.  

Using versions:
taglib-devel-1.4-5.fc6
taglib-1.4-5.fc6
2.6.18-1.2798.fc6
gcc 4.1.1-30
Amarok SNV dated 1-15-07

Backtrace:

<embed path="/main/backup/MP3/By Artists/Ozzy Osbourne/Down To Earth/14 Crazy Babies.mp3" hash="bf6e1dea3682    cc5399217fb02b3e0f3e" description="" />

<compilation path="/main/backup/MP3/By Artists/Ozzy Osbourne/Down To Earth" />

TagLib: Compressed frames are currently not supported.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1209002288 (LWP 14015)]
0x432cd8d2 in TagLib::String::String () from /usr/lib/libtag.so.1
(gdb) bt
#0  0x432cd8d2 in TagLib::String::String () from /usr/lib/libtag.so.1
#1  0x432b3bef in TagLib::ID3v2::AttachedPictureFrame::description () from /usr/lib/libtag.so.1
#2  0x440899e4 in MetaBundle::loadImagesFromTag (this=Could not find the frame base for "MetaBundle::loadIma    gesFromTag(TagLib::ID3v2::Tag const&, QValueList<MetaBundle::EmbeddedImage>&) const".
)
    at /root/Desktop/new/amarok-svn/amarok/src/metabundle.cpp:1403
#3  0x4408a8d7 in MetaBundle::readTags (this=Could not find the frame base for "MetaBundle::readTags(TagLib:    :AudioProperties::ReadStyle, QValueList<MetaBundle::EmbeddedImage>*)".
)
    at /root/Desktop/new/amarok-svn/amarok/src/metabundle.cpp:552
#4  0x4408be15 in MetaBundle (this=Could not find the frame base for "MetaBundle".
)
    at /root/Desktop/new/amarok-svn/amarok/src/metabundle.cpp:233
#5  0x0806885b in CollectionScanner::scanFiles (this=0xbf838038, entries=@0xbf837a34)
    at /root/Desktop/new/amarok-svn/amarok/src/collectionscanner/collectionscanner.cpp:306
#6  0x0806a38f in CollectionScanner::doJob (this=0xbf838038)
    at /root/Desktop/new/amarok-svn/amarok/src/collectionscanner/collectionscanner.cpp:155
#7  0x0806a42a in CollectionScanner::qt_invoke (this=0xbf838038, _id=21, _o=0xbf837b54)
    at /root/Desktop/new/amarok-svn/amarok/src/collectionscanner/collectionscanner.moc:88
#8  0x41d5abea in QObject::activate_signal () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#9  0x420e6ace in QSignal::signal () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#10 0x41d793b7 in QSignal::activate () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#11 0x41d81ff3 in QSingleShotTimer::event () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#12 0x41cf1e6b in QApplication::internalNotify () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#13 0x41cf32e9 in QApplication::notify () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#14 0x425f2d82 in KApplication::notify () from /usr/lib/libkdecore.so.4
#15 0x41ce5c72 in QEventLoop::activateTimers () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#16 0x41c9a1df in QEventLoop::processEvents () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#17 0x41d0b3f0 in QEventLoop::enterLoop () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#18 0x41d0b2a6 in QEventLoop::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#19 0x41cf197f in QApplication::exec () from /usr/lib/qt-3.3/lib/libqt-mt.so.3
#20 0x08065f36 in main (argc=Cannot access memory at address 0x1
)
---Type <return> to continue, or q <return> to quit---
    at /root/Desktop/new/amarok-svn/amarok/src/collectionscanner/main.cpp:77
(gdb)
Comment 1 Scott Wheeler 2007-02-13 10:59:50 UTC
Unfortunately there's not enough information in the backtrace to be able to debug this.

Could you please send a copy of the problematic file to wheeler@kde.org with the title 140157.mp3 (and also with the bug number in the subject in case I'm looking for it later :-) )

Thanks.
Comment 2 Andy 2007-02-13 13:59:38 UTC
Problem file sent, thanks Scott.
Comment 3 Scott Wheeler 2007-02-13 21:12:05 UTC
On closer inspection, this seems to be an Amarok bug.  From the looks of your backtrace the this pointer is invalid, connected with the fact that in my test programs I can read the image just fine with the SVN and 1.4 versions of TagLib.  Reassigning.
Comment 4 Andy 2007-02-13 22:11:08 UTC
Scott, to steal your line, on closer inspection, I believe this was fixed with Amarok 1.4.5.  Rescanning with my system also seems to now work!

Thanks

Marking resolved.