Bug 231791

Summary: Adding icons to favorites in kmenu crashes plasma
Product: [Unmaintained] plasma4 Reporter: Cristi <cuciferus>
Component: widget-kickoffAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: asraniel
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Cristi 2010-03-22 16:22:45 UTC
Application: plasma-desktop (0.3)
KDE Platform Version: 4.4.1 (KDE 4.4.1) (Compiled from sources)
Qt Version: 4.6.2
Operating System: Linux 2.6.31.6 x86_64
Distribution (Platform): Exherbo Packages

-- Information about the crash:
I wanted to add an icon to favorites menu so I dragged the amarok icon from multimedia into favorites then it crashed

The crash can be reproduced every time.

 -- Backtrace:
Application: Plasma Workspace (kdeinit4), signal: Aborted
[KCrash Handler]
#5  0x00007f9631022be5 in raise () from /lib/libc.so.6
#6  0x00007f9631023e24 in abort () from /lib/libc.so.6
#7  0x00007f9632c07447 in qt_message_output(QtMsgType, char const*) () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007f9632c075f2 in qt_message(QtMsgType, char const*, __va_list_tag*) () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007f9632c07795 in qFatal(char const*, ...) () from /usr/lib64/qt4/libQtCore.so.4
#10 0x00007f96178e2c19 in Kickoff::FavoritesModel::move(int, int) () from /usr/lib64/libkickoff.so
#11 0x00007f96178e3215 in Kickoff::FavoritesModel::dropMimeData(QMimeData const*, Qt::DropAction, int, int, QModelIndex const&) () from /usr/lib64/libkickoff.so
#12 0x00007f9617f8bb4f in Kickoff::UrlItemView::dropEvent(QDropEvent*) () from /usr/lib64/kde4/plasma_applet_launcher.so
#13 0x00007f9631cdef6f in QWidget::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#14 0x00007f963205b026 in QFrame::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#15 0x00007f9632184aeb in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#16 0x00007f9632cff6ee in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#17 0x00007f9631c8958c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#18 0x00007f9631c8fd0d in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#19 0x00007f96334b3876 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#20 0x00007f9632d002ab in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#21 0x00007f9631d1abf0 in QX11Data::xdndHandleDrop(QWidget*, _XEvent const*, bool) () from /usr/lib64/qt4/libQtGui.so.4
#22 0x00007f9631d1af04 in QDragManager::drop() () from /usr/lib64/qt4/libQtGui.so.4
#23 0x00007f9631d1cf08 in QDragManager::eventFilter(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#24 0x00007f9632cff7aa in QCoreApplicationPrivate::sendThroughApplicationEventFilters(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#25 0x00007f9631c89536 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#26 0x00007f9631c9026d in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#27 0x00007f96334b3876 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#28 0x00007f9632d002ab in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#29 0x00007f9631c8f3a5 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/qt4/libQtGui.so.4
#30 0x00007f9631d0de93 in QETWidget::translateMouseEvent(_XEvent const*) () from /usr/lib64/qt4/libQtGui.so.4
#31 0x00007f9631d0cbb9 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#32 0x00007f9631d3618a in x11EventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtGui.so.4
#33 0x00007f962dab479b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#34 0x00007f962dab80a0 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#35 0x00007f962dab81d0 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#36 0x00007f9632d28de3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#37 0x00007f9631d35d8e in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#38 0x00007f9632cfec42 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#39 0x00007f9632cff01d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#40 0x00007f9631d1fa69 in QDragManager::drag(QDrag*) () from /usr/lib64/qt4/libQtGui.so.4
#41 0x00007f9631c9fa28 in QDrag::exec(QFlags<Qt::DropAction>, Qt::DropAction) () from /usr/lib64/qt4/libQtGui.so.4
#42 0x00007f9631c9fac3 in QDrag::exec(QFlags<Qt::DropAction>) () from /usr/lib64/qt4/libQtGui.so.4
#43 0x00007f9617f7f8db in Kickoff::FlipScrollView::startDrag(QFlags<Qt::DropAction>) () from /usr/lib64/kde4/plasma_applet_launcher.so
#44 0x00007f96321803ad in QAbstractItemView::mouseMoveEvent(QMouseEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#45 0x00007f9617f7de04 in Kickoff::FlipScrollView::mouseMoveEvent(QMouseEvent*) () from /usr/lib64/kde4/plasma_applet_launcher.so
#46 0x00007f9631cdebfe in QWidget::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#47 0x00007f963205b026 in QFrame::event(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#48 0x00007f9632184aeb in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#49 0x00007f9632cff6ee in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#50 0x00007f9631c8958c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#51 0x00007f9631c9026d in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#52 0x00007f96334b3876 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#53 0x00007f9632d002ab in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/qt4/libQtCore.so.4
#54 0x00007f9631c8f3a5 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/qt4/libQtGui.so.4
#55 0x00007f9631d0de93 in QETWidget::translateMouseEvent(_XEvent const*) () from /usr/lib64/qt4/libQtGui.so.4
#56 0x00007f9631d0cbb9 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/qt4/libQtGui.so.4
#57 0x00007f9631d3618a in x11EventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt4/libQtGui.so.4
#58 0x00007f962dab479b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#59 0x00007f962dab80a0 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#60 0x00007f962dab81d0 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#61 0x00007f9632d28de3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#62 0x00007f9631d35d8e in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtGui.so.4
#63 0x00007f9632cfec42 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#64 0x00007f9632cff01d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#65 0x00007f9632d02c63 in QCoreApplication::exec() () from /usr/lib64/qt4/libQtCore.so.4
#66 0x00007f9626e24f68 in kdemain () from /usr/lib64/libkdeinit4_plasma-desktop.so
#67 0x000000000040723e in launch(int, char const*, char const*, char const*, int, char const*, bool, char const*, bool, char const*) ()
#68 0x0000000000408020 in handle_launcher_request(int, char const*) ()
#69 0x000000000040857c in handle_requests(int) ()
#70 0x0000000000408d81 in main ()

Reported using DrKonqi
Comment 1 Alessandro 2010-05-24 13:57:31 UTC
SVN commit 1130084 by adiaferia:

fix crash allowing apps to be dropped on the favorites view
BUG:231791


 M  +22 -2     core/favoritesmodel.cpp  
 M  +6 -0      ui/urlitemview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1130084