Summary: | Amarok crashes when trying to navigate using "Places" | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | Philipp Schmidt <philschmidt> |
Component: | File Browser | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | alexander.kopf91, aspotashev, faisne, germano.massullo, harmatasafe, nhn, philschmidt, vovochka13, xeno |
Priority: | NOR | ||
Version: | 2.3.1-GIT | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 2.3.2 | |
Attachments: |
New crash information added by DrKonqi
New crash information added by DrKonqi New crash information added by DrKonqi New crash information added by DrKonqi New crash information added by DrKonqi |
Description
Philipp Schmidt
2010-06-01 12:02:23 UTC
Please install the debugging symbols for Amarok and provide a better backtrace. Created attachment 47583 [details]
New crash information added by DrKonqi
opensuse 11.2
kde 4.4.3
amarok 2.3.1
Crash when trying to use places in file browser.
Created attachment 47584 [details]
New crash information added by DrKonqi
Amarok crashes when I try to open any item from Places.
By the way, "Places" work perfectly if Amarok is running on newly created user accounts. [KCrash Handler] #5 QUrl::QUrl (this=0x7fff6140f070, other=...) at io/qurl.cpp:4114 #6 0x00007fe77d323629 in KUrl::KUrl (this=0x7fff6140f070, _u=...) at /usr/src/debug/kdelibs-4.4.3/kdecore/io/kurl.cpp:472 #7 0x00007fe7757cdef0 in KFileItem::url (this=<value optimized out>) at /usr/src/debug/kdelibs-4.4.3/kio/kio/kfileitem.cpp:1277 #8 0x00007fe77ddbb3b0 in FileBrowser::itemActivated (this=0x24ccc00, index=...) at /usr/src/debug/amarok-2.3.1/src/browsers/filebrowser/FileBrowser.cpp:193 #9 0x00007fe77d859699 in FileBrowser::qt_metacall (this=0x24ccc00, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff6140f360) at /usr/src/debug/amarok-2.3.1/build/src/moc_FileBrowser.cpp:86 #10 0x00007fe77cf7378f in QMetaObject::activate (sender=0x24da630, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x27a8101) at kernel/qobject.cpp:3293 #11 0x00007fe77c836aa5 in QAbstractItemView::activated(QModelIndex const&) () from /usr/lib64/libQtGui.so.4 #12 0x00007fe77c88912e in QTreeView::mouseDoubleClickEvent(QMouseEvent*) () from /usr/lib64/libQtGui.so.4 #13 0x00007fe77c372db6 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4 #14 0x00007fe77c7175b6 in QFrame::event(QEvent*) () from /usr/lib64/libQtGui.so.4 #15 0x00007fe77c846a6b in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib64/libQtGui.so.4 #16 0x00007fe77c883582 in QTreeView::viewportEvent(QEvent*) () from /usr/lib64/libQtGui.so.4 #17 0x00007fe77cf5fd97 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x24ccae0, event=0x7fff61410140) at kernel/qcoreapplication.cpp:819 #18 0x00007fe77c31cdec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4 #19 0x00007fe77c323bdb in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4 #20 0x00007fe77e44b4e6 in KApplication::notify (this=0x7fff61410df0, receiver=0x24ccae0, event=0x7fff61410140) at /usr/src/debug/kdelibs-4.4.3/kdeui/kernel/kapplication.cpp:302 #21 0x00007fe77cf6098c in QCoreApplication::notifyInternal (this=0x7fff61410df0, receiver=0x24ccae0, event=0x7fff61410140) at kernel/qcoreapplication.cpp:704 #22 0x00007fe77c322db6 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQtGui.so.4 #23 0x00007fe77c3a2765 in ?? () from /usr/lib64/libQtGui.so.4 #24 0x00007fe77c3a147a in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4 #25 0x00007fe77c3cb932 in ?? () from /usr/lib64/libQtGui.so.4 #26 0x00007fe774500dee in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #27 0x00007fe7745047b8 in ?? () from /usr/lib64/libglib-2.0.so.0 #28 0x00007fe7745048e0 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #29 0x00007fe77cf89eb3 in QEventDispatcherGlib::processEvents (this=0x6257d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412 #30 0x00007fe77c3cb51e in ?? () from /usr/lib64/libQtGui.so.4 #31 0x00007fe77cf5f2a2 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #32 0x00007fe77cf5f67c in QEventLoop::exec (this=0x7fff61410d90, flags=) at kernel/qeventloop.cpp:201 #33 0x00007fe77cf633cb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981 #34 0x0000000000408732 in main (argc=1, argv=0x7fff61412d68) at /usr/src/debug/amarok-2.3.1/src/main.cpp:237 Confirmed by comments # 2 and 3 Created attachment 47707 [details]
New crash information added by DrKonqi
Cnfirmed on Fedora 13. Amarok crashes with ~70% reproductibility when I try to navigate trough "Places"
Using regular filesystem tree view works ok.
--------------------------
My packages:
qt-4.6.2-17.fc13.i686
kdebase-4.4.3-2.fc13.1.i686
amarok-2.3.0.90-1.fc12.i686
(In reply to comment #7) > Created an attachment (id=47707) [details] > New crash information added by DrKonqi > > Cnfirmed on Fedora 13. Amarok crashes with ~70% reproductibility when I try to > navigate trough "Places" > Using regular filesystem tree view works ok. Please update your Amarok version to 2.3.1 and install the debugging symbols, your backtrace is not really useful. Created attachment 47711 [details]
New crash information added by DrKonqi
Crash still occurs after update, backtrace with debug symbols insstalled
Amarok version installed: amarok-2.3.1-1.fc13.i686
Created attachment 47789 [details]
New crash information added by DrKonqi
Finally found time to reproduce. Submitting now from Kubuntu 10.04 in a VM (Easiest way to install the Debugging Symbols).
To reproduce with a new User just add something to Places usind Dolphin and make sure it is visible in all Applications. After that the described behavior starts.
Backtrace from comment #10 (please always paste backtraces inline to make then searchable) Thread 1 (Thread 0xb77a0720 (LWP 11124)): [KCrash Handler] #6 0x00990919 in QUrl (this=0xbfa9fb6c, other=...) at io/qurl.cpp:4114 #7 0x001e9ea9 in KUrl (this=0xbfa9fb6c, _u=...) at ../../kdecore/io/kurl.cpp:472 #8 0x05c1813e in KFileItem::url (this=0xbfa9fbb4) at ../../kio/kio/kfileitem.cpp:1277 #9 0x0125c1ac in FileBrowser::itemActivated (this=0x9381010, index=...) at ../../src/browsers/filebrowser/FileBrowser.cpp:193 #10 0x00c85715 in FileBrowser::qt_metacall (this=0x9381010, _c=QMetaObject::InvokeMetaMethod, _id=29, _a=0xbfa9fd08) at moc_FileBrowser.cpp:86 #11 0x009e7c9a in QMetaObject::metacall (object=0x9381010, cl=3215588276, idx=29, argv=0xbfa9fd08) at kernel/qmetaobject.cpp:237 #12 0x009f63d5 in QMetaObject::activate (sender=0x9394d20, m=0x1f82164, local_signal_index=3, argv=0xbfa9fd08) at kernel/qobject.cpp:3293 #13 0x01be5fb3 in QAbstractItemView::activated (this=0x9394d20, _t1=...) at .moc/release-shared/moc_qabstractitemview.cpp:345 #14 0x01c3e052 in QTreeView::mouseDoubleClickEvent (this=0x9394d20, event=0xbfaa06a0) at itemviews/qtreeview.cpp:1862 #15 0x016ab67e in QWidget::event (this=0x9394d20, event=0xbfaa06a0) at kernel/qwidget.cpp:8002 #16 0x01aa7fd3 in QFrame::event (this=0x9394d20, e=0xbfaa06a0) at widgets/qframe.cpp:557 #17 0x01b42382 in QAbstractScrollArea::viewportEvent (this=0xbfa9fbb4, e=0xbfa9fb6c) at widgets/qabstractscrollarea.cpp:1036 #18 0x01bf6bd7 in QAbstractItemView::viewportEvent (this=0x9394d20, event=0xbfaa06a0) at itemviews/qabstractitemview.cpp:1610 #19 0x01c37f7c in QTreeView::viewportEvent (this=0x9394d20, event=0xbfaa06a0) at itemviews/qtreeview.cpp:1248 #20 0x01b44c65 in QAbstractScrollAreaPrivate::viewportEvent (this=0x9392bd0, o=0x9391718, e=0xbfaa06a0) at widgets/qabstractscrollarea_p.h:100 #21 QAbstractScrollAreaFilter::eventFilter (this=0x9392bd0, o=0x9391718, e=0xbfaa06a0) at widgets/qabstractscrollarea_p.h:116 #22 0x009e1cda in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x87dcd18, receiver=0x9391718, event=0xbfaa06a0) at kernel/qcoreapplication.cpp:819 #23 0x0164d4b9 in QApplicationPrivate::notify_helper (this=0x87dcd18, receiver=0x9391718, e=0xbfaa06a0) at kernel/qapplication.cpp:4296 #24 0x016549f7 in QApplication::notify (this=0xbfaa0f48, receiver=0x9391718, e=0xbfaa06a0) at kernel/qapplication.cpp:3865 #25 0x006a2f2a in KApplication::notify (this=0xbfaa0f48, receiver=0x9391718, event=0xbfaa06a0) at ../../kdeui/kernel/kapplication.cpp:302 #26 0x009e2a3b in QCoreApplication::notifyInternal (this=0xbfaa0f48, receiver=0x9391718, event=0xbfaa06a0) at kernel/qcoreapplication.cpp:704 #27 0x01653952 in QCoreApplication::sendEvent (receiver=0x9391718, event=0xbfaa06a0, alienWidget=0x9391718, nativeWidget=0x9147b10, buttonDown=0x1f91058, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #28 QApplicationPrivate::sendMouseEvent (receiver=0x9391718, event=0xbfaa06a0, alienWidget=0x9391718, nativeWidget=0x9147b10, buttonDown=0x1f91058, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:2965 #29 0x016df088 in QETWidget::translateMouseEvent (this=0x9147b10, event=0xbfaa0bbc) at kernel/qapplication_x11.cpp:4368 #30 0x016de511 in QApplication::x11ProcessEvent (this=0xbfaa0f48, event=0xbfaa0bbc) at kernel/qapplication_x11.cpp:3379 #31 0x0170d60a in x11EventSourceDispatch (s=0x87e4840, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146 #32 0x071955e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #33 0x071992d8 in ?? () from /lib/libglib-2.0.so.0 #34 0x071994b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #35 0x00a0e5d5 in QEventDispatcherGlib::processEvents (this=0x86ee4c0, flags=...) at kernel/qeventdispatcher_glib.cpp:412 #36 0x0170d135 in QGuiEventDispatcherGlib::processEvents (this=0x86ee4c0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #37 0x009e1059 in QEventLoop::processEvents (this=0xbfaa0eb4, flags=) at kernel/qeventloop.cpp:149 #38 0x009e14aa in QEventLoop::exec (this=0xbfaa0eb4, flags=...) at kernel/qeventloop.cpp:201 #39 0x009e569f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981 #40 0x0164d577 in QApplication::exec () at kernel/qapplication.cpp:3579 #41 0x08050001 in main (argc=1, argv=0xbfaa17c4) at ../../src/main.cpp:237 Reported using DrKonqi *** Bug 242184 has been marked as a duplicate of this bug. *** commit 42f0d4a7368ce1651b037a0b3a471ab1e6d51c69 Author: Rick W. Chen <stuffcorpse@archlinux.us> Date: Thu Jun 17 09:46:57 2010 +1200 Fix file browser crash when navigating using "Places" BUG:240338 diff --git a/src/browsers/filebrowser/FileView.cpp b/src/browsers/filebrowser/FileView.cpp index 4e383fe..eaec819 100644 --- a/src/browsers/filebrowser/FileView.cpp +++ b/src/browsers/filebrowser/FileView.cpp @@ -153,31 +153,33 @@ FileView::mouseReleaseEvent( QMouseEvent *event ) QModelIndexList indices = selectedIndexes(); if( indices.count() == 1 && KGlobalSettings::singleClick() ) { - KFileItem item = index.data( KDirModel::FileItemRole ).value<KFileItem>(); - if( item.isDir() ) + const QVariant qvar = index.data( KDirModel::FileItemRole ); + if( qvar.canConvert<KFileItem>() ) { - m_lastSelectedIndex = QModelIndex(); - Amarok::PrettyTreeView::mouseReleaseEvent( event ); + KFileItem item = index.data( KDirModel::FileItemRole ).value<KFileItem>(); + if( item.isDir() ) + { + m_lastSelectedIndex = QModelIndex(); + Amarok::PrettyTreeView::mouseReleaseEvent( event ); + return; + } + + // check if the last selected item was clicked again, if so then trigger editor + if( m_lastSelectedIndex != index ) + { + m_lastSelectedIndex = index; + } + else + { + Amarok::PrettyTreeView::edit( index, QAbstractItemView::AllEditTriggers, event ); + m_lastSelectedIndex = QModelIndex(); + } + event->accept(); return; } - - // check if the last selected item was clicked again, if so then trigger editor - if( m_lastSelectedIndex != index ) - { - m_lastSelectedIndex = index; - } - else - { - Amarok::PrettyTreeView::edit( index, QAbstractItemView::AllEditTriggers, event ); - m_lastSelectedIndex = QModelIndex(); - } - event->accept(); - } - else - { - m_lastSelectedIndex = QModelIndex(); - Amarok::PrettyTreeView::mouseReleaseEvent( event ); } + m_lastSelectedIndex = QModelIndex(); + Amarok::PrettyTreeView::mouseReleaseEvent( event ); } void *** Bug 243386 has been marked as a duplicate of this bug. *** *** Bug 243425 has been marked as a duplicate of this bug. *** |