Bug 314454 - Crash on album custom cover [@ Playlist::ViewCommon::trackMenu]
Summary: Crash on album custom cover [@ Playlist::ViewCommon::trackMenu]
Status: RESOLVED WORKSFORME
Alias: None
Product: amarok
Classification: Applications
Component: Playlist (show other bugs)
Version: 2.7.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: 2.8
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-05 12:41 UTC by robert marshall
Modified: 2013-03-02 17:18 UTC (History)
3 users (show)

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


Attachments
full traceback (96.97 KB, text/plain)
2013-02-05 12:42 UTC, robert marshall
Details
backtrace from drkonqi (16.57 KB, text/plain)
2013-02-20 14:13 UTC, Martin Brodbeck
Details

Note You need to log in before you can comment on or make changes to this bug.
Description robert marshall 2013-02-05 12:41:47 UTC
Crash on 'right' clicking in playlist and selecting album set custom cover in the playlist.

I've seen quite a few crashes this morning since I restarted amarok with a cd in the drive & tracks from the cd in the playlist (this may be unrelated!)

-- Backtrace:
Application: Amarok (amarok), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xaf5ff740 (LWP 27751))]

Thread 53 (Thread 0xa3083b40 (LWP 27756)):
#0  0xb7751424 in __kernel_vsyscall ()
#1  0xb56025f0 in __GI___poll (fds=0xa2702108, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb437c74b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb436dd00 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb436de61 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb598099f in QEventDispatcherGlib::processEvents (this=0xa27004a8, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb594d26c in QEventLoop::processEvents (this=this@entry=0xa3083168, flags=...) at kernel/qeventloop.cpp:149
#7  0xb594d561 in QEventLoop::exec (this=0xa3083168, flags=...) at kernel/qeventloop.cpp:204
#8  0xb583866c in QThread::exec (this=0x9ae6380) at thread/qthread.cpp:501
#9  0xb592d55e in QDnotifySignalThread::run (this=0x9ae6380) at io/qfilesystemwatcher_dnotify.cpp:179
#10 0xb583ba58 in QThreadPrivate::start (arg=0x9ae6380) at thread/qthread_unix.cpp:338
#11 0xb17640e1 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#12 0x5c8b0824 in ?? ()
#13 0xbab80424 in ?? ()
#14 0x65000000 in ?? ()
#15 0x001015ff in ?? ()
#16 0xd3890000 in ?? ()
#17 0xfff0013d in ?? ()
#18 0xc30173ff in ?? ()
#19 0x0fc3d2e8 in ?? ()
#20 0xbbc18100 in ?? ()
#21 0x8b001774 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 52 (Thread 0xa1318b40 (LWP 27757)):
#0  0xb7751424 in __kernel_vsyscall ()
#1  0xb466d96b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb561e64c in __pthread_cond_wait (cond=0x9dc81c0, mutex=0x9dc81a8) at forward.c:139
#3  0xb583c030 in wait (time=4294967295, this=0x9dc81a8) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x9dc80f8, mutex=0x9dc82c8, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb4dbeb45 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9dc80e0, th=0x9dc8528) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb4dc196b in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9dc8368, th=0x9dc8528) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb4dbe6aa in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9dc80e0, th=0x9dc8528) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb4dc1ac4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9dc8368, th=0x9dc8528) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb4dbe5a3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9dc80e0, th=0x9dc8528, previous=0x0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb4dc1ae0 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9dc8368, th=0x9dc8528) at ../../../threadweaver/Weaver/WorkingHardState.cpp:74
#11 0xb4dbe5a3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9dc80e0, th=0x9dc8528, previous=0xbfbe3b8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#12 0xb4dc0524 in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0xa13181d4, parent=0x9dc80e0, th=th@entry=0x9dc8528) at ../../../threadweaver/Weaver/Thread.cpp:87
#13 0xb4dc05da in ThreadWeaver::Thread::run (this=0x9dc8528) at ../../../threadweaver/Weaver/Thread.cpp:142
#14 0xb583ba58 in QThreadPrivate::start (arg=0x9dc8528) at thread/qthread_unix.cpp:338
#15 0xb17640e1 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#16 0x5c8b0824 in ?? ()
#17 0xbab80424 in ?? ()
#18 0x65000000 in ?? ()
#19 0x001015ff in ?? ()
#20 0xd3890000 in ?? ()
#21 0xfff0013d in ?? ()
#22 0xc30173ff in ?? ()
#23 0x0fc3d2e8 in ?? ()
#24 0xbbc18100 in ?? ()
#25 0x8b001774 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 51 (Thread 0xa0973b40 (LWP 27758)):
#0  0xb7751424 in __kernel_vsyscall ()
#1  0xb466d96b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0xb561e64c in __pthread_cond_wait (cond=0x9dc81c0, mutex=0x9dc81a8) at forward.c:139
#3  0xb583c030 in wait (time=4294967295, this=0x9dc81a8) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x9dc80f8, mutex=0x9dc82c8, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb4dbeb45 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x9dc80e0, th=0x9df2688) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#6  0xb4dc196b in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x9dc8368, th=0x9df2688) at ../../../threadweaver/Weaver/WorkingHardState.cpp:80
#7  0xb4dbe6aa in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x9dc80e0, th=0x9df2688) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#8  0xb4dc1ac4 in ThreadWeaver::WorkingHardState::applyForWork (this=0x9dc8368, th=0x9df2688) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#9  0xb4dbe5a3 in ThreadWeaver::WeaverImpl::applyForWork (this=0x9dc80e0, th=0x9df2688, previous=0x9f30d80) at ../../../threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb4dc0524 in ThreadWeaver::ThreadRunHelper::run (this=this@entry=0xa09731d4, parent=0x9dc80e0, th=th@entry=0x9df2688) at ../../../threadweaver/Weaver/Thread.cpp:87
#11 0xb4dc05da in ThreadWeaver::Thread::run (this=0x9df2688) at ../../../threadweaver/Weaver/Thread.cpp:142
#12 0xb583ba58 in QThreadPrivate::start (arg=0x9df2688) at thread/qthread_unix.cpp:338
#13 0xb17640e1 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#14 0x5c8b0824 in ?? ()
#15 0xbab80424 in ?? ()
#16 0x65000000 in ?? ()
#17 0x001015ff in ?? ()
#18 0xd3890000 in ?? ()
#19 0xfff0013d in ?? ()
#20 0xc30173ff in ?? ()
#21 0x0fc3d2e8 in ?? ()
#22 0xbbc18100 in ?? ()
#23 0x8b001774 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

(I have the rest of the traceback stack but this page is complaining that my comment is too long. Adding full traceback as an attachment (sorry!)
Comment 1 robert marshall 2013-02-05 12:42:49 UTC
Created attachment 76922 [details]
full traceback
Comment 2 Myriam Schweingruber 2013-02-05 12:50:50 UTC
Relevant part of the backtrace (Hint: look for the KCrashHandler):

Thread 1 (Thread 0xaf5ff740 (LWP 27751)):
[KCrash Handler]
#7  0xb5062883 in KFileDialog::KFileDialog (this=0xbfcc07c4, startDir=..., filter=..., parent=0xa40efa8, customWidget=0x0) at ../../kio/kfile/kfiledialog.cpp:266
#8  0xb6f6af9e in SetCustomCoverAction::slotTriggered (this=0xc03fcc8) at ../../src/covermanager/CoverFetchingActions.cpp:158
#9  0xb6f6966f in qt_static_metacall (_o=0xc03fcc8, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./CoverFetchingActions.moc:49
#10 BaseCoverAction::qt_static_metacall (_o=0xc03fcc8, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfcc09a8) at ./CoverFetchingActions.moc:43
#11 0xb5966ed6 in QMetaObject::activate (sender=0xc03fcc8, m=0xb682f3b8 <QAction::staticMetaObject>, local_signal_index=1, argv=0xbfcc09a8) at kernel/qobject.cpp:3547
#12 0xb5eb410d in QAction::triggered (this=this@entry=0xc03fcc8, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#13 0xb5eb43ac in QAction::activate (this=0xc03fcc8, event=QAction::Trigger) at kernel/qaction.cpp:1257
#14 0xb6366225 in QMenuPrivate::activateCausedStack (this=0xa90a200, causedStack=..., action=0xc03fcc8, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1028
#15 0xb636d326 in QMenuPrivate::activateAction (this=0xa90a200, action=0xc03fcc8, action_e=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1120
#16 0xb636e275 in QMenu::mouseReleaseEvent (this=0xc21a920, e=0xbfcc1234) at widgets/qmenu.cpp:2360
#17 0xb75aef8c in KMenu::mouseReleaseEvent (this=0xc21a920, e=0xbfcc1234) at ../../kdeui/widgets/kmenu.cpp:464
#18 0xb5f146df in QWidget::event (this=0xc21a920, event=0xbfcc1234) at kernel/qwidget.cpp:8371
#19 0xb636e76c in QMenu::event (this=0xc21a920, e=0xbfcc1234) at widgets/qmenu.cpp:2469
#20 0xb5ebb39c in QApplicationPrivate::notify_helper (this=0x961b200, receiver=0xc21a920, e=0xbfcc1234) at kernel/qapplication.cpp:4562
#21 0xb5ec0892 in QApplication::notify (this=0x961b200, receiver=0xc21a920, e=0xbfcc1234) at kernel/qapplication.cpp:4105
#22 0xb74d6e91 in KApplication::notify (this=0xbfcc29e4, receiver=0xc21a920, event=0xbfcc1234) at ../../kdeui/kernel/kapplication.cpp:311
#23 0xb594e78e in QCoreApplication::notifyInternal (this=0xbfcc29e4, receiver=0xc21a920, event=0xbfcc1234) at kernel/qcoreapplication.cpp:915
#24 0xb5ebc206 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#25 QApplicationPrivate::sendMouseEvent (receiver=0xc21a920, event=0xbfcc1234, alienWidget=0x0, nativeWidget=0xc21a920, buttonDown=0xb684cd14 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3173
#26 0xb5f4791f in QETWidget::translateMouseEvent (this=0xc21a920, event=0xbfcc165c) at kernel/qapplication_x11.cpp:4556
#27 0xb5f46705 in QApplication::x11ProcessEvent (this=0xbfcc29e4, event=0xbfcc165c) at kernel/qapplication_x11.cpp:3737
#28 0xb5f71dc4 in x11EventSourceDispatch (s=0x9618168, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#29 0xb436d9e3 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#30 0xb436dd80 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#31 0xb436de61 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#32 0xb5980981 in QEventDispatcherGlib::processEvents (this=0x94afeb8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#33 0xb5f719aa in QGuiEventDispatcherGlib::processEvents (this=0x94afeb8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#34 0xb594d26c in QEventLoop::processEvents (this=this@entry=0xbfcc1948, flags=...) at kernel/qeventloop.cpp:149
#35 0xb594d561 in QEventLoop::exec (this=0xbfcc1948, flags=...) at kernel/qeventloop.cpp:204
#36 0xb636ab27 in QMenu::exec (this=0xaf20d08, p=..., action=0x0) at widgets/qmenu.cpp:2113
#37 0xb6bcb1f2 in Playlist::ViewCommon::trackMenu (this=0xa40efbc, parent=0xa40efa8, index=0xbfcc1a30, pos=...) at ../../src/playlist/view/PlaylistViewCommon.cpp:74
#38 0xb6be00f2 in Playlist::PrettyListView::contextMenuEvent (this=0xa40efbc, event=0xbfcc2210) at ../../src/playlist/view/listview/PrettyListView.cpp:411
#39 0xb5f14b85 in QWidget::event (this=0xa40efa8, event=0xbfcc2210) at kernel/qwidget.cpp:8538
#40 0xb6324f15 in QFrame::event (this=0xa40efa8, e=0xbfcc2210) at widgets/qframe.cpp:557
#41 0xb63b5733 in QAbstractScrollArea::viewportEvent (this=0xa40efa8, e=0xbfcc2210) at widgets/qabstractscrollarea.cpp:1043
#42 0xb645604c in QAbstractItemView::viewportEvent (this=0xa40efa8, event=0xbfcc2210) at itemviews/qabstractitemview.cpp:1644
#43 0xb63b7ef6 in viewportEvent (event=0xbfcc2210, this=<optimized out>) at widgets/qabstractscrollarea_p.h:100
#44 QAbstractScrollAreaFilter::eventFilter (this=0xa4100e8, o=0xa40eb60, e=0xbfcc2210) at widgets/qabstractscrollarea_p.h:116
#45 0xb594e8fe in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x961b200, receiver=0xa40eb60, event=0xbfcc2210) at kernel/qcoreapplication.cpp:1025
#46 0xb5ebb36d in QApplicationPrivate::notify_helper (this=0x961b200, receiver=0xa40eb60, e=0xbfcc2210) at kernel/qapplication.cpp:4558
#47 0xb5ec0aab in QApplication::notify (this=0xbfcc1f90, receiver=0xa40eb60, e=0xbfcc2210) at kernel/qapplication.cpp:4184
#48 0xb74d6e91 in KApplication::notify (this=0xbfcc29e4, receiver=0xa40eb60, event=0xbfcc2210) at ../../kdeui/kernel/kapplication.cpp:311
#49 0xb594e78e in QCoreApplication::notifyInternal (this=0xbfcc29e4, receiver=0xa40eb60, event=0xbfcc2210) at kernel/qcoreapplication.cpp:915
#50 0xb5f47ae8 in sendSpontaneousEvent (event=0xbfcc2200, receiver=0xa40eb60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#51 QETWidget::translateMouseEvent (this=0xa40eb60, event=0xbfcc265c) at kernel/qapplication_x11.cpp:4627
#52 0xb5f46705 in QApplication::x11ProcessEvent (this=0xbfcc29e4, event=0xbfcc265c) at kernel/qapplication_x11.cpp:3737
#53 0xb5f71dc4 in x11EventSourceDispatch (s=0x9618168, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#54 0xb436d9e3 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#55 0xb436dd80 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#56 0xb436de61 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#57 0xb598099f in QEventDispatcherGlib::processEvents (this=0x94afeb8, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#58 0xb5f719aa in QGuiEventDispatcherGlib::processEvents (this=0x94afeb8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#59 0xb594d26c in QEventLoop::processEvents (this=this@entry=0xbfcc2958, flags=...) at kernel/qeventloop.cpp:149
#60 0xb594d561 in QEventLoop::exec (this=0xbfcc2958, flags=...) at kernel/qeventloop.cpp:204
#61 0xb5952cba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#62 0xb5eb8fc4 in QApplication::exec () at kernel/qapplication.cpp:3823
#63 0x0804ffc8 in main (argc=216045816, argv=0x0) at ../../src/main.cpp:329
Comment 3 Ralf Engels 2013-02-11 19:38:15 UTC
I can't reproduce it.
The backtrace points to some KDE configuration issue. The debug output would have been interesting.
Comment 4 Martin Brodbeck 2013-02-20 14:12:47 UTC
I can confirm the bug (using amarok 2.7-git). Here is the amarok debug output:
(I'll also attach the backtrace from drkonqi.)

--- snip ---
amarok: BEGIN: void CollectionTreeItemModelBase::handleSpecialQueryResult(CollectionTreeItem::Type, Collections::QueryMaker*, const DataList&) 
amarok:   [CollectionTreeItemModelBase] Received special data:  0 
amarok: END__: void CollectionTreeItemModelBase::handleSpecialQueryResult(CollectionTreeItem::Type, Collections::QueryMaker*, const DataList&) [Took: 0s] 
amarok: [CollectionTreeView] Got custom action:  "Cover anzeigen" 
amarok: [CollectionTreeView] Got custom action:  "Cover abrufen" 
amarok: [CollectionTreeView] Got custom action:  "Eigenes Cover hinzufügen" 
amarok: [CollectionTreeView] Got custom action:  "Cover entfernen" 
amarok: [CollectionTreeView] Got custom action:  "" 
amarok: [CollectionTreeView] Got custom action:  "Unter „Verschiedene Interpreten“ anzeigen" 
amarok: [CollectionTreeView] checking for global actions 
KCrash: Application 'amarok' crashing...
Comment 5 Martin Brodbeck 2013-02-20 14:13:25 UTC
Created attachment 77462 [details]
backtrace from drkonqi
Comment 6 Myriam Schweingruber 2013-02-20 14:18:03 UTC
(In reply to comment #5)
> Created attachment 77462 [details]
> backtrace from drkonqi

Please always paste crashes in-line. BTW, your backtrace has nothing to do with this bug but is a solid bug, see also bug 314544. No need to confirme that one, it already is.

Thread 1 (Thread 0x7f9a358cd880 (LWP 3127)):
[KCrash Handler]
#5  0x00000037c423f0a4 in Solid::Block::device() const () from /lib64/libsolid.so.4
#6  0x00000037cd6619f6 in KFilePlacesItem::deviceData(int) const () from /lib64/libkfile.so.4
#7  0x00000037cd6625ee in KFilePlacesItem::data(int) const () from /lib64/libkfile.so.4
#8  0x00000037cd6646a6 in KFilePlacesModel::closestItem(KUrl const&) const () from /lib64/libkfile.so.4
#9  0x00000037cd68168d in KDEPrivate::KUrlNavigatorPlacesSelector::updateSelection(KUrl const&) () from /lib64/libkfile.so.4
#10 0x00000037cd681784 in KDEPrivate::KUrlNavigatorPlacesSelector::updateMenu() () from /lib64/libkfile.so.4
#11 0x00000037bfd8cebf in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib64/libQtCore.so.4
#12 0x00000037bfdd70a4 in QAbstractItemModel::rowsInserted(QModelIndex const&, int, int) () from /lib64/libQtCore.so.4
#13 0x00000037bfd723ad in QAbstractItemModel::endInsertRows() () from /lib64/libQtCore.so.4
#14 0x00000037cd6660e5 in KFilePlacesModel::Private::_k_reloadBookmarks() () from /lib64/libkfile.so.4
#15 0x00000037cd66705f in KFilePlacesModel::Private::_k_initDeviceList() () from /lib64/libkfile.so.4
#16 0x00000037cd6671b9 in KFilePlacesModel::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () from /lib64/libkfile.so.4
#17 0x00000037bfd8c39e in QObject::event(QEvent*) () from /lib64/libQtCore.so.4
#18 0x00000037c15ca5cc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#19 0x00000037c15cea4a in QApplication::notify(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#20 0x00000037c3446916 in KApplication::notify(QObject*, QEvent*) () from /lib64/libkdeui.so.5
#21 0x00000037bfd77a8e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQtCore.so.4
#22 0x00000037bfd7b541 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQtCore.so.4
#23 0x00000037bfda5f43 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQtCore.so.4
#24 0x0000003be9e47a55 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#25 0x0000003be9e47d88 in g_main_context_iterate.isra.24 () from /lib64/libglib-2.0.so.0
#26 0x0000003be9e47e44 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#27 0x00000037bfda60d6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#28 0x00000037c166a73e in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtGui.so.4
#29 0x00000037bfd767df in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#30 0x00000037bfd76a68 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#31 0x00000037c5b6fe36 in KIO::NetAccess::enter_loop() () from /lib64/libkio.so.5
#32 0x00000037c5b718dc in KIO::NetAccess::synchronousRunInternal(KIO::Job*, QWidget*, QByteArray*, KUrl*, QMap<QString, QString>*) () from /lib64/libkio.so.5
#33 0x00000037c5b71985 in KIO::NetAccess::synchronousRun(KIO::Job*, QWidget*, QByteArray*, KUrl*, QMap<QString, QString>*) () from /lib64/libkio.so.5
#34 0x00000037cd65ed1d in KFileWidget::KFileWidget(KUrl const&, QWidget*) () from /lib64/libkfile.so.4
#35 0x00007f997432be44 in KFileModule::createFileWidget(KUrl const&, QWidget*) () from /usr/lib64/kde4/kfilemodule.so
#36 0x00000037c5bd704f in KFileDialog::KFileDialog(KUrl const&, QString const&, QWidget*, QWidget*) () from /lib64/libkio.so.5
#37 0x00007f9a3819a367 in SetCustomCoverAction::slotTriggered (this=0x330c6c0) at /home/brodbemn/kde/src/amarok/src/covermanager/CoverFetchingActions.cpp:158
#38 0x00007f9a3819abee in BaseCoverAction::qt_static_metacall (_o=0x330c6c0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff80ce8410) at /home/brodbemn/kde/build/amarok/src/CoverFetchingActions.moc:48
#39 0x00000037bfd8cebf in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /lib64/libQtCore.so.4
#40 0x00000037c15c4412 in QAction::triggered(bool) () from /lib64/libQtGui.so.4
#41 0x00000037c15c4600 in QAction::activate(QAction::ActionEvent) () from /lib64/libQtGui.so.4
#42 0x00000037c19fe0b3 in QMenuPrivate::activateCausedStack(QList<QPointer<QWidget> > const&, QAction*, QAction::ActionEvent, bool) () from /lib64/libQtGui.so.4
#43 0x00000037c1a04499 in QMenuPrivate::activateAction(QAction*, QAction::ActionEvent, bool) () from /lib64/libQtGui.so.4
#44 0x00000037c34fffa0 in KMenu::mouseReleaseEvent(QMouseEvent*) () from /lib64/libkdeui.so.5
#45 0x00000037c1619f49 in QWidget::event(QEvent*) () from /lib64/libQtGui.so.4
#46 0x00000037c1a0574b in QMenu::event(QEvent*) () from /lib64/libQtGui.so.4
#47 0x00000037c15ca5cc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#48 0x00000037c15cf2ab in QApplication::notify(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#49 0x00000037c3446916 in KApplication::notify(QObject*, QEvent*) () from /lib64/libkdeui.so.5
#50 0x00000037bfd77a8e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQtCore.so.4
#51 0x00000037c15cb40b in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /lib64/libQtGui.so.4
#52 0x00000037c1645a3c in QETWidget::translateMouseEvent(_XEvent const*) () from /lib64/libQtGui.so.4
#53 0x00000037c1644901 in QApplication::x11ProcessEvent(_XEvent*) () from /lib64/libQtGui.so.4
#54 0x00000037c166aa5c in x11EventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQtGui.so.4
#55 0x0000003be9e47a55 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#56 0x0000003be9e47d88 in g_main_context_iterate.isra.24 () from /lib64/libglib-2.0.so.0
#57 0x0000003be9e47e44 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#58 0x00000037bfda60d6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#59 0x00000037c166a73e in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtGui.so.4
#60 0x00000037bfd767df in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#61 0x00000037bfd76a68 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#62 0x00000037c1a020b5 in QMenu::exec(QPoint const&, QAction*) () from /lib64/libQtGui.so.4
#63 0x00007f9a37ddac74 in CollectionTreeView::contextMenuEvent (this=0x2c6aca0, event=0x7fff80ceab10) at /home/brodbemn/kde/src/amarok/src/browsers/CollectionTreeView.cpp:329
#64 0x00000037c1619c9e in QWidget::event(QEvent*) () from /lib64/libQtGui.so.4
#65 0x00000037c19c49f6 in QFrame::event(QEvent*) () from /lib64/libQtGui.so.4
#66 0x00000037c1ad020b in QAbstractItemView::viewportEvent(QEvent*) () from /lib64/libQtGui.so.4
#67 0x00007f9a37e10b6a in CollectionBrowserTreeView::viewportEvent (this=0x2c6aca0, event=0x7fff80ceab10) at /home/brodbemn/kde/src/amarok/src/browsers/collectionbrowser/CollectionBrowserTreeView.cpp:112
#68 0x00000037bfd77bf6 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /lib64/libQtCore.so.4
#69 0x00000037c15ca59c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#70 0x00000037c15cefb5 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQtGui.so.4
#71 0x00000037c3446916 in KApplication::notify(QObject*, QEvent*) () from /lib64/libkdeui.so.5
#72 0x00000037bfd77a8e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /lib64/libQtCore.so.4
#73 0x00000037c1645bd1 in QETWidget::translateMouseEvent(_XEvent const*) () from /lib64/libQtGui.so.4
#74 0x00000037c1644901 in QApplication::x11ProcessEvent(_XEvent*) () from /lib64/libQtGui.so.4
#75 0x00000037c166aa5c in x11EventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQtGui.so.4
#76 0x0000003be9e47a55 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#77 0x0000003be9e47d88 in g_main_context_iterate.isra.24 () from /lib64/libglib-2.0.so.0
#78 0x0000003be9e47e44 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#79 0x00000037bfda60d6 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#80 0x00000037c166a73e in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtGui.so.4
#81 0x00000037bfd767df in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#82 0x00000037bfd76a68 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQtCore.so.4
#83 0x00000037bfd7b858 in QCoreApplication::exec() () from /lib64/libQtCore.so.4
#84 0x000000000040cb78 in main (argc=2, argv=0x7fff80cedc18) at /home/brodbemn/kde/src/amarok/src/main.cpp:329
Comment 7 Martin Brodbeck 2013-02-20 15:45:37 UTC
I had a look at the source and could locate the line where it crashes. No surprise, it crashes where it creates the KFileDialog. 

So I think it is not an amarok bug at all. 

Now the important part: The problem that causes the crashes is that KDE claims that a previously removed audio cd is still present! Then, it crashes while trying to create this KFileDialog. After convincing KDE that there is no audio cd (that is, trying to open the cd with dolphin and closing the error message), the KFileDialog opens as expected. This is 100% reproducable here.
Comment 8 Myriam Schweingruber 2013-02-20 17:18:59 UTC
(In reply to comment #7)
> I had a look at the source and could locate the line where it crashes. No
> surprise, it crashes where it creates the KFileDialog. 

Did you bother to look at the backtrace at least? This is NOT the same bug. Please add your comments to bug 314544 if you want to comment on something, but do it on the crash that goes with your backtrace, which is NOT this one.
Comment 9 Ralf Engels 2013-02-20 19:30:00 UTC
Give me some more hints how to reproduce both issues.
And, as Myriam pointed out: it's better to open a new bug if in doubt.
Comment 10 Myriam Schweingruber 2013-03-02 11:46:44 UTC
Robert, can you still reproduce this?
Comment 11 robert marshall 2013-03-02 13:09:51 UTC
No I can't, it can be closed. It may have had something to do with various kde updates which happened that day
Comment 12 Myriam Schweingruber 2013-03-02 17:18:03 UTC
Thank you for the fast feedback.