Summary: | Crash in TagLib::ID3v2::FrameFactory::createFrame while scanning from Amarok | ||
---|---|---|---|
Product: | [Frameworks and Libraries] taglib | Reporter: | Jure Repinc <jlp> |
Component: | general | Assignee: | Scott Wheeler <wheeler> |
Status: | RESOLVED WORKSFORME | ||
Severity: | crash | CC: | aroth, evg.barsukov, justin.zobel, lalinsky, mfabry |
Priority: | NOR | ||
Version: | 1.7 | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
New crash information added by DrKonqi
patch New crash information added by DrKonqi |
Description
Jure Repinc
2011-06-20 15:35:33 UTC
Well I have to update this to say it is reproducible every time. And it looks like it has problems with *.ape files (at least that's the last mentioned file in the output of "amarok -d"). *** Bug 284282 has been marked as a duplicate of this bug. *** Could you email a copy of "/media/BlackBox/Glasba/Rosenberg_Trio(Live_at_the_North_Jazz_Sea_Festival)/15.Les Feuilles Mortes.ape" to wheeler@kde.org (and lalinsky@gmail.com)? Created attachment 65658 [details]
New crash information added by DrKonqi
amarok (2.4.3) on KDE Platform 4.7.2 (4.7.2) using Qt 4.7.4
- What I was doing when the application crashed:
I'm tryed to play ape file. VLC player also crash. I tried two backends (gstreamer & vlc) result is the same.
-- Backtrace (Reduced):
#6 0x00007fbc7e31df90 in TagLib::ID3v2::FrameFactory::createFrame(TagLib::ByteVector const&, TagLib::ID3v2::Header*) const () from /usr/lib/libtag.so.1
#7 0x00007fbc7e31f29a in TagLib::ID3v2::Tag::parse(TagLib::ByteVector const&) () from /usr/lib/libtag.so.1
#8 0x00007fbc7e31f535 in TagLib::ID3v2::Tag::read() () from /usr/lib/libtag.so.1
#9 0x00007fbc7e31f65b in TagLib::ID3v2::Tag::Tag(TagLib::File*, long, TagLib::ID3v2::FrameFactory const*) () from /usr/lib/libtag.so.1
#10 0x00007fbc7e336511 in TagLib::APE::Properties::findDescriptor() () from /usr/lib/libtag.so.1
But I can play the file in wine+foobar2000. amarok: END__: virtual void Playlist::Dock::polish() [Took: 0.005s] amarok: setting layout to QRectF(0,0 702x30) amarok: BEGIN: virtual void ContextDock::polish() amarok: END__: virtual void ContextDock::polish() [Took: 0s] amarok: BEGIN: void Playlist::PrettyListView::slotPlaylistActiveTrackChanged() amarok: BEGIN: void Playlist::PrettyListView::scrollToActiveTrack() amarok: END__: void Playlist::PrettyListView::scrollToActiveTrack() [Took: 0s] amarok: END__: void Playlist::PrettyListView::slotPlaylistActiveTrackChanged() [Took: 0s] amarok: BEGIN: virtual void Playlist::PrettyListView::dropEvent(QDropEvent*) amarok: BEGIN: virtual bool Playlist::Model::dropMimeData(const QMimeData*, Qt::DropAction, int, int, const QModelIndex&) amarok: [Playlist::Model] this is _something_ with a url.... amarok: Drop from external source or file browser kmimetype filetype guessing failed for /media/Storage/Snowly/-/Heavenly/Unknown Album/01-Heavenly - The Dark Memories.ape KCrash: Application 'amarok' crashing... KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit This bug basically makes sense to me (patch attached), though curiously I can't reproduce it. I'm also not sure why there would have been an ID3v2 tag constructed with a null FrameFactory passed in in the first place. Lukas, any idea? Created attachment 65687 [details]
patch
Created attachment 65689 [details]
New crash information added by DrKonqi
amarok (2.4.3) on KDE Platform 4.7.2 (4.7.2) using Qt 4.7.4
I just took git, patched it and installed. That didn't help.
-- Backtrace (Reduced):
#6 0x00007fe8bb91af90 in TagLib::ID3v2::FrameFactory::createFrame(TagLib::ByteVector const&, TagLib::ID3v2::Header*) const () from /usr/lib/libtag.so.1
#7 0x00007fe8bb91c29a in TagLib::ID3v2::Tag::parse(TagLib::ByteVector const&) () from /usr/lib/libtag.so.1
#8 0x00007fe8bb91c535 in TagLib::ID3v2::Tag::read() () from /usr/lib/libtag.so.1
#9 0x00007fe8bb91c65b in TagLib::ID3v2::Tag::Tag(TagLib::File*, long, TagLib::ID3v2::FrameFactory const*) () from /usr/lib/libtag.so.1
#10 0x00007fe8bb933511 in TagLib::APE::Properties::findDescriptor() () from /usr/lib/libtag.so.1
I'll have a look at it today. Not sure yet why it's null. Since you're building from source anyway, could you try a couple of things: • Building with debugging symbols that give a line number (i.e. using the GCC flags -O0 -g3) • Reproducing it with the tagreader command line tool that's in taglib/examples user@computer:~/Downloads/taglib/taglib/examples$ ./tagreader '/media/Storage/Snowly/-/Dark Moor/Unknown Album/DaMoo05.ape' ******************** "/media/Storage/Snowly/-/Dark Moor/Unknown Album/DaMoo05.ape" ******************** -- TAG -- title - "DaMoo05" artist - "Dark Moor" album - "" year - "0" comment - "" track - "0" genre - "" -- AUDIO -- bitrate - 919 sample rate - 44100 channels - 2 length - 50:31 user@computer:~/Downloads/taglib/taglib/examples$ ./tagreader '/media/Storage/Snowly/-/Heavenly/Unknown Album/01-Heavenly - The Dark Memories.ape' ******************** "/media/Storage/Snowly/-/Heavenly/Unknown Album/01-Heavenly - The Dark Memories.ape" ******************** -- TAG -- title - "01-Heavenly - The Dark Memories" artist - "Heavenly" album - "" year - "0" comment - "" track - "0" genre - "" -- AUDIO -- bitrate - 1064 sample rate - 44100 channels - 2 Hmm, interesting. That leads me to suspect that it's something specific that Amarok is doing that's causing problems. I have no idea what's happened, but I can't reproduce the bug anymore. I also just asked my father if he still gets a crash (I'm far away from the computer with the bug currently) and he says that there is no crash anymore. So it really might be something wrong in Amarok. Thank you for the report, Jure. As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved. I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you. Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone! |