Summary: | amarok crashes when deleting file from inconsistent iPod FS [@ Meta::IpodHandler::libDeleteTrackFile] | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | Christian M. <luemmel> |
Component: | Collections/iPod iPhone | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | aikawarazuni, aumuell, luemmel, manu.wagner, matej, rasasi78, silentdeath735 |
Priority: | NOR | ||
Version: | 2.3.0 | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Unspecified | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
amarok backtrace
Full backtrace |
Description
Christian M.
2010-03-16 01:16:42 UTC
Please upgrade your Amarok version, 2.3 has been released yesterday. Also we would need a proper backtrace for this crash, please see here on how to create one: http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports Backtrace Thread 1 (Thread 0x7ffff7eb1780 (LWP 27104)): [KCrash Handler] #5 0x00007fffd6e27e5e in ?? () from /usr/lib64/kde4/amarok_collection-ipodcollection.so #6 0x00007ffff7093d2e in Meta::MediaDeviceHandler::privateRemoveTrackFromDevice(KSharedPtr<Meta::Track> const&) () from /usr/lib64/libamaroklib.so.1 #7 0x00007ffff70948f1 in Meta::MediaDeviceHandler::removeNextTrackFromDevice() () from /usr/lib64/libamaroklib.so.1 #8 0x00007ffff7095f1f in Meta::MediaDeviceHandler::removeTrackListFromDevice(QList<KSharedPtr<Meta::Track> > const&) () from /usr/lib64/libamaroklib.so.1 #9 0x00007ffff7089ac9 in MediaDeviceCollectionLocation::removeUrlsFromCollection(QList<KSharedPtr<Meta::Track> > const&) () from /usr/lib64/libamaroklib.so.1 #10 0x00007ffff7128fe0 in CollectionLocation::slotStartRemove() () from /usr/lib64/libamaroklib.so.1 #11 0x00007ffff712a32d in CollectionLocation::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libamaroklib.so.1 #12 0x00007ffff7089d05 in MediaDeviceCollectionLocation::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libamaroklib.so.1 #13 0x00007ffff6603487 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4 #14 0x00007ffff7129038 in CollectionLocation::slotShowRemoveDialogDone() () from /usr/lib64/libamaroklib.so.1 #15 0x00007ffff712a4d0 in CollectionLocation::showRemoveDialog(QList<KSharedPtr<Meta::Track> > const&) () from /usr/lib64/libamaroklib.so.1 #16 0x00007ffff71291f7 in CollectionLocation::startRemoveWorkflow(QList<KSharedPtr<Meta::Track> > const&) () from /usr/lib64/libamaroklib.so.1 #17 0x00007ffff712965b in CollectionLocation::prepareRemove(QList<KSharedPtr<Meta::Track> > const&) () from /usr/lib64/libamaroklib.so.1 #18 0x00007ffff7129f50 in CollectionLocation::queryDone() () from /usr/lib64/libamaroklib.so.1 #19 0x00007ffff712a35e in CollectionLocation::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libamaroklib.so.1 #20 0x00007ffff7089d05 in MediaDeviceCollectionLocation::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libamaroklib.so.1 #21 0x00007ffff6603487 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4 #22 0x00007ffff712bd35 in MetaQueryMaker::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libamaroklib.so.1 #23 0x00007ffff6603487 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4 #24 0x00007ffff7137db3 in MemoryQueryMaker::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libamaroklib.so.1 #25 0x00007ffff6603487 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4 #26 0x00007ffff132dad2 in ThreadWeaver::Job::done(ThreadWeaver::Job*) () from /usr/lib64/libthreadweaver.so.4 #27 0x00007ffff132dc58 in ThreadWeaver::Job::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libthreadweaver.so.4 #28 0x00007ffff6600208 in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4 #29 0x00007ffff59a1f8d in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #30 0x00007ffff59a9384 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #31 0x00007ffff72279a3 in App::notify(QObject*, QEvent*) () from /usr/lib64/libamaroklib.so.1 #32 0x00007ffff65f00cb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4 #33 0x00007ffff65f0f8b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/qt4/libQtCore.so.4 #34 0x00007ffff6619d13 in ?? () from /usr/lib64/qt4/libQtCore.so.4 #35 0x00007fffed8dbd89 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #36 0x00007fffed8df5d8 in ?? () from /usr/lib/libglib-2.0.so.0 #37 0x00007fffed8df78c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #38 0x00007ffff661987c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #39 0x00007ffff5a5259f in ?? () from /usr/lib64/qt4/libQtGui.so.4 #40 0x00007ffff65ee9e2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #41 0x00007ffff65eedb4 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #42 0x00007ffff65f1216 in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4 #43 0x0000000000405eb6 in _start () Problem is still present in amarok 2.3 I'm no amarok nor KDE developer, but i think IpodHandler::libDeleteTrackFile() should be fixed to check if a file exists before (trying) to delete it. Created attachment 41690 [details]
amarok backtrace
(In reply to comment #4) > Created an attachment (id=41690) [details] > amarok backtrace As you can see below, your backtrace is still lacking debugging symbols (hint: check for the ?? in your report). Please see again my explanations in Comment #1 on how to get a valid backtrace. Thread 1 (Thread 0x7ffff7eb1780 (LWP 27104)): [KCrash Handler] #5 0x00007fffd6e27e5e in ?? () from /usr/lib64/kde4/amarok_collection-ipodcollection.so #6 0x00007ffff7093d2e in Meta::MediaDeviceHandler::privateRemoveTrackFromDevice(KSharedPtr<Meta::Track> const&) () from /usr/lib64/libamaroklib.so.1 #7 0x00007ffff70948f1 in Meta::MediaDeviceHandler::removeNextTrackFromDevice() () from /usr/lib64/libamaroklib.so.1 #8 0x00007ffff7095f1f in Meta::MediaDeviceHandler::removeTrackListFromDevice(QList<KSharedPtr<Meta::Track> > const&) () from /usr/lib64/libamaroklib.so.1 #9 0x00007ffff7089ac9 in MediaDeviceCollectionLocation::removeUrlsFromCollection(QList<KSharedPtr<Meta::Track> > const&) () from /usr/lib64/libamaroklib.so.1 #10 0x00007ffff7128fe0 in CollectionLocation::slotStartRemove() () from /usr/lib64/libamaroklib.so.1 #11 0x00007ffff712a32d in CollectionLocation::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libamaroklib.so.1 #12 0x00007ffff7089d05 in MediaDeviceCollectionLocation::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libamaroklib.so.1 #13 0x00007ffff6603487 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4 #14 0x00007ffff7129038 in CollectionLocation::slotShowRemoveDialogDone() () from /usr/lib64/libamaroklib.so.1 #15 0x00007ffff712a4d0 in CollectionLocation::showRemoveDialog(QList<KSharedPtr<Meta::Track> > const&) () from /usr/lib64/libamaroklib.so.1 #16 0x00007ffff71291f7 in CollectionLocation::startRemoveWorkflow(QList<KSharedPtr<Meta::Track> > const&) () from /usr/lib64/libamaroklib.so.1 #17 0x00007ffff712965b in CollectionLocation::prepareRemove(QList<KSharedPtr<Meta::Track> > const&) () from /usr/lib64/libamaroklib.so.1 #18 0x00007ffff7129f50 in CollectionLocation::queryDone() () from /usr/lib64/libamaroklib.so.1 #19 0x00007ffff712a35e in CollectionLocation::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libamaroklib.so.1 #20 0x00007ffff7089d05 in MediaDeviceCollectionLocation::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libamaroklib.so.1 #21 0x00007ffff6603487 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4 #22 0x00007ffff712bd35 in MetaQueryMaker::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libamaroklib.so.1 #23 0x00007ffff6603487 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4 #24 0x00007ffff7137db3 in MemoryQueryMaker::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libamaroklib.so.1 #25 0x00007ffff6603487 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4 #26 0x00007ffff132dad2 in ThreadWeaver::Job::done(ThreadWeaver::Job*) () from /usr/lib64/libthreadweaver.so.4 #27 0x00007ffff132dc58 in ThreadWeaver::Job::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libthreadweaver.so.4 #28 0x00007ffff6600208 in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4 #29 0x00007ffff59a1f8d in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #30 0x00007ffff59a9384 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #31 0x00007ffff72279a3 in App::notify(QObject*, QEvent*) () from /usr/lib64/libamaroklib.so.1 #32 0x00007ffff65f00cb in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4 #33 0x00007ffff65f0f8b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/qt4/libQtCore.so.4 #34 0x00007ffff6619d13 in ?? () from /usr/lib64/qt4/libQtCore.so.4 #35 0x00007fffed8dbd89 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #36 0x00007fffed8df5d8 in ?? () from /usr/lib/libglib-2.0.so.0 #37 0x00007fffed8df78c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #38 0x00007ffff661987c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #39 0x00007ffff5a5259f in ?? () from /usr/lib64/qt4/libQtGui.so.4 #40 0x00007ffff65ee9e2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #41 0x00007ffff65eedb4 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #42 0x00007ffff65f1216 in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4 #43 0x0000000000405eb6 in _start () I hope, this is fine now: Thread 1 (Thread 0x7ffff7eb1770 (LWP 1333)): [KCrash Handler] #5 0x00007fffdc85eb11 in Meta::IpodHandler::libDeleteTrackFile (this=0xed64f0, track=...) at /var/tmp/portage/media-sound/amarok-2.3.0/work/amarok-2.3.0/src/collection/ipodcollection/handler/IpodHandler.cpp:1150 #6 0x00007ffff710b17c in Meta::MediaDeviceHandler::privateRemoveTrackFromDevice (this=0xed64f0, track=...) at /var/tmp/portage/media-sound/amarok-2.3.0/work/amarok-2.3.0/src/collection/mediadevicecollection/handler/MediaDeviceHandler.cpp:652 #7 0x00007ffff710bb85 in Meta::MediaDeviceHandler::removeNextTrackFromDevice (this=0xed64f0) at /var/tmp/portage/media-sound/amarok-2.3.0/work/amarok-2.3.0/src/collection/mediadevicecollection/handler/MediaDeviceHandler.cpp:639 #8 0x00007ffff710d013 in Meta::MediaDeviceHandler::removeTrackListFromDevice (this=0xed64f0, tracks=...) at /var/tmp/portage/media-sound/amarok-2.3.0/work/amarok-2.3.0/src/collection/mediadevicecollection/handler/MediaDeviceHandler.cpp:621 #9 0x00007ffff7102859 in MediaDeviceCollectionLocation::removeUrlsFromCollection (this=0x7fffd40ab040, sources=...) at /var/tmp/portage/media-sound/amarok-2.3.0/work/amarok-2.3.0/src/collection/mediadevicecollection/MediaDeviceCollectionLocation.cpp:179 #10 0x00007ffff718f5d0 in CollectionLocation::slotStartRemove (this=0x7fffd40ab040) at /var/tmp/portage/media-sound/amarok-2.3.0/work/amarok-2.3.0/src/collection/CollectionLocation.cpp:383 #11 0x00007ffff719065d in CollectionLocation::qt_metacall (this=0x7fffd40ab040, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffffffb040) at /var/tmp/portage/media-sound/amarok-2.3.0/work/amarok-2.3.0_build/src/CollectionLocation.moc:134 #12 0x00007ffff7102a35 in MediaDeviceCollectionLocation::qt_metacall (this=0x7ffffffface0, _c=4294946160, _id=-21368, _a=0x7ffff53f3e60) at /var/tmp/portage/media-sound/amarok-2.3.0/work/amarok-2.3.0_build/src/MediaDeviceCollectionLocation.moc:73 #13 0x00007ffff66a69d0 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4 #14 0x00007ffff718f612 in CollectionLocation::slotShowRemoveDialogDone (this=0x7fffd40ab040) at /var/tmp/portage/media-sound/amarok-2.3.0/work/amarok-2.3.0/src/collection/CollectionLocation.cpp:343 #15 0x00007ffff71907dc in CollectionLocation::showRemoveDialog (this=0x7fffd40ab040, tracks=...) at /var/tmp/portage/media-sound/amarok-2.3.0/work/amarok-2.3.0/src/collection/CollectionLocation.cpp:305 #16 0x00007ffff718f774 in CollectionLocation::startRemoveWorkflow (this=0x7fffd40ab040, tracks=...) at /var/tmp/portage/media-sound/amarok-2.3.0/work/amarok-2.3.0/src/collection/CollectionLocation.cpp:501 #17 0x00007ffff718fb1d in CollectionLocation::prepareRemove (this=0x7fffd40ab040, tracks=...) at /var/tmp/portage/media-sound/amarok-2.3.0/work/amarok-2.3.0/src/collection/CollectionLocation.cpp:192 #18 0x00007ffff71902fa in CollectionLocation::queryDone (this=0x7fffd40ab040) at /var/tmp/portage/media-sound/amarok-2.3.0/work/amarok-2.3.0/src/collection/CollectionLocation.cpp:442 #19 0x00007ffff719068e in CollectionLocation::qt_metacall (this=0x7fffd40ab040, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffffffb2e0) at /var/tmp/portage/media-sound/amarok-2.3.0/work/amarok-2.3.0_build/src/CollectionLocation.moc:138 #20 0x00007ffff7102a35 in MediaDeviceCollectionLocation::qt_metacall (this=0x7ffffffface0, _c=4294946160, _id=-21368, _a=0x7ffff53f3e60) at /var/tmp/portage/media-sound/amarok-2.3.0/work/amarok-2.3.0_build/src/MediaDeviceCollectionLocation.moc:73 #21 0x00007ffff66a69d0 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4 #22 0x00007ffff7191e1a in MetaQueryMaker::qt_metacall (this=0x7fffd40a7960, _c=QMetaObject::InvokeMetaMethod, _id=29755224, _a=<value optimized out>) at /var/tmp/portage/media-sound/amarok-2.3.0/work/amarok-2.3.0_build/src/MetaQueryMaker.moc:72 #23 0x00007ffff66a69d0 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4 #24 0x00007ffff719c303 in MemoryQueryMaker::qt_metacall (this=0x7fffd40ac810, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffffffb530) at /var/tmp/portage/media-sound/amarok-2.3.0/work/amarok-2.3.0_build/src/MemoryQueryMaker.moc:72 #25 0x00007ffff66a69d0 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4 #26 0x00007ffff151d5d4 in ThreadWeaver::Job::done(ThreadWeaver::Job*) () from /usr/lib64/libthreadweaver.so.4 #27 0x00007ffff151d6f8 in ThreadWeaver::Job::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libthreadweaver.so.4 #28 0x00007ffff66a3a6e in QObject::event(QEvent*) () from /usr/lib64/qt4/libQtCore.so.4 #29 0x00007ffff5aca6a6 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #30 0x00007ffff5ad1164 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4 #31 0x00007ffff727755d in App::notify (this=0x7ffffffface0, receiver=0x7fffffffad70, event=0x7fffffffac88) at /var/tmp/portage/media-sound/amarok-2.3.0/work/amarok-2.3.0/src/App.cpp:917 #32 0x00007ffff66952d4 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4 #33 0x00007ffff6696083 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/qt4/libQtCore.so.4 #34 0x00007ffff66bb053 in ?? () from /usr/lib64/qt4/libQtCore.so.4 #35 0x00007fffedb51053 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #36 0x00007fffedb5414c in ?? () from /usr/lib/libglib-2.0.so.0 #37 0x00007fffedb542ce in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #38 0x00007ffff66bac54 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #39 0x00007ffff5b6ba46 in ?? () from /usr/lib64/qt4/libQtGui.so.4 #40 0x00007ffff6693f94 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #41 0x00007ffff66942df in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4 #42 0x00007ffff66962be in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4 #43 0x0000000000405e90 in main (argc=<value optimized out>, argv=0x7fffffffdf48) at /var/tmp/portage/media-sound/amarok-2.3.0/work/amarok-2.3.0/src/main.cpp:237 Created attachment 41724 [details]
Full backtrace
Looks like a good backtrace. *** Bug 233922 has been marked as a duplicate of this bug. *** *** This bug has been marked as a duplicate of bug 232064 *** |