Bug 315721

Summary: Crash of Dolphin with drag&drop to another application
Product: [Applications] dolphin Reporter: Mickaël <mprizee>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 2.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Mickaël 2013-02-24 16:16:38 UTC
Application: dolphin (2.1)
KDE Platform Version: 4.9.5 "release 4"
Qt Version: 4.8.4
Operating System: Linux 3.4.28-2.20-desktop x86_64
Distribution: "openSUSE 12.2 (x86_64)"

-- Information about the crash:
With Dolphin I am able to drag and drop files to another app, for instance KMail when I am writing a new email. It works perfectly.

Today I tried to do it while the "Send an attachment" dialog was open. Still dragging the file to attach, I pressed the escape key to close the dialog in order to drop the file directly into the "new email" window. After pressing Escape (which closed the dialog), Dolphin crashed, but not Kmail.

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (kdeinit4), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fa103d26780 (LWP 2967))]

Thread 3 (Thread 0x7fa0eafb9700 (LWP 2985)):
#0  0x00007fa10136114f in poll () from /lib64/libc.so.6
#1  0x00007fa0fe0a9684 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fa0fe0a97a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fa1029b1136 in QEventDispatcherGlib::processEvents (this=0x7fa0e40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fa10298194f in QEventLoop::processEvents (this=this@entry=0x7fa0eafb8dd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fa102981bd8 in QEventLoop::exec (this=0x7fa0eafb8dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fa1028840b0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#7  0x00007fa1029620bf in QInotifyFileSystemWatcherEngine::run (this=0x1a74070) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007fa10288708c in QThreadPrivate::start (arg=0x1a74070) at thread/qthread_unix.cpp:338
#9  0x00007fa1025f0e0e in start_thread () from /lib64/libpthread.so.0
#10 0x00007fa1013692cd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fa0e92dc700 (LWP 3098)):
#0  0x00007fff6d6fa827 in clock_gettime ()
#1  0x00007fa0fe359f7d in clock_gettime () from /lib64/librt.so.1
#2  0x00007fa1028dcd84 in do_gettime (frac=0x7fa0e92dbb38, sec=0x7fa0e92dbb30) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007fa1029b1a3d in QTimerInfoList::updateCurrentTime (this=this@entry=0x7fa0e0002860) at kernel/qeventdispatcher_unix.cpp:354
#5  0x00007fa1029b1d83 in QTimerInfoList::timerWait (this=0x7fa0e0002860, tm=...) at kernel/qeventdispatcher_unix.cpp:461
#6  0x00007fa1029b07fc in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7fa0e92dbc2c) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007fa1029b08a5 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007fa0fe0a8ebf in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#9  0x00007fa0fe0a95ab in ?? () from /usr/lib64/libglib-2.0.so.0
#10 0x00007fa0fe0a97a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#11 0x00007fa1029b1136 in QEventDispatcherGlib::processEvents (this=0x7fa0e00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x00007fa10298194f in QEventLoop::processEvents (this=this@entry=0x7fa0e92dbdd0, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007fa102981bd8 in QEventLoop::exec (this=0x7fa0e92dbdd0, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007fa1028840b0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#15 0x00007fa1029620bf in QInotifyFileSystemWatcherEngine::run (this=0x1fde160) at io/qfilesystemwatcher_inotify.cpp:256
#16 0x00007fa10288708c in QThreadPrivate::start (arg=0x1fde160) at thread/qthread_unix.cpp:338
#17 0x00007fa1025f0e0e in start_thread () from /lib64/libpthread.so.0
#18 0x00007fa1013692cd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fa103d26780 (LWP 2967)):
[KCrash Handler]
#6  QDragManager::move (this=0x2683da0, globalPos=...) at kernel/qdnd_x11.cpp:1644
#7  0x00007fa101b99041 in QDragManager::eventFilter (this=0x2683da0, o=<optimized out>, e=<optimized out>) at kernel/qdnd_x11.cpp:1304
#8  0x00007fa102982cca in QCoreApplicationPrivate::sendThroughApplicationEventFilters (this=0x1814750, receiver=0x1f33f50, event=0x7fff6d6a15f0) at kernel/qcoreapplication.cpp:1037
#9  0x00007fa101b107d6 in QApplicationPrivate::notify_helper (this=this@entry=0x1814750, receiver=receiver@entry=0x1f33f50, e=e@entry=0x7fff6d6a15f0) at kernel/qapplication.cpp:4537
#10 0x00007fa101b1553b in QApplication::notify (this=<optimized out>, receiver=0x1f33f50, e=0x7fff6d6a15f0) at kernel/qapplication.cpp:4105
#11 0x00007fa103722636 in KApplication::notify (this=0x7fff6d6a4700, receiver=0x1f33f50, event=0x7fff6d6a15f0) at /usr/src/debug/kdelibs-4.9.5/kdeui/kernel/kapplication.cpp:311
#12 0x00007fa102982bfe in QCoreApplication::notifyInternal (this=0x7fff6d6a4700, receiver=0x1f33f50, event=0x7fff6d6a15f0) at kernel/qcoreapplication.cpp:946
#13 0x00007fa101b1169b in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#14 QApplicationPrivate::sendMouseEvent (receiver=0x1f33f50, event=0x7fff6d6a15f0, alienWidget=0x0, nativeWidget=0x1f33f50, buttonDown=0x7fa1025e5248 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3173
#15 0x00007fa101b8be54 in QETWidget::translateMouseEvent (this=this@entry=0x1f33f50, event=event@entry=0x7fff6d6a1d60) at kernel/qapplication_x11.cpp:4527
#16 0x00007fa101b8abe1 in QApplication::x11ProcessEvent (this=0x7fff6d6a4700, event=0x7fff6d6a1d60) at kernel/qapplication_x11.cpp:3650
#17 0x00007fa101bb0f72 in x11EventSourceDispatch (s=0x1816fa0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#18 0x00007fa0fe0a93b5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#19 0x00007fa0fe0a96e8 in ?? () from /usr/lib64/libglib-2.0.so.0
#20 0x00007fa0fe0a97a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#21 0x00007fa1029b1116 in QEventDispatcherGlib::processEvents (this=0x1782790, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#22 0x00007fa101bb0bee in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#23 0x00007fa10298194f in QEventLoop::processEvents (this=this@entry=0x289f9b0, flags=...) at kernel/qeventloop.cpp:149
#24 0x00007fa102981bd8 in QEventLoop::exec (this=0x289f9b0, flags=...) at kernel/qeventloop.cpp:204
#25 0x00007fa101b98ce6 in QDragManager::drag (this=0x2683da0, o=<optimized out>) at kernel/qdnd_x11.cpp:2028
#26 0x00007fa101b21ce8 in QDrag::exec (this=0x29c1140, supportedActions=..., defaultDropAction=Qt::CopyAction) at kernel/qdrag.cpp:284
#27 0x00007fa0f06bb471 in KItemListController::startDragging() () from /usr/lib64/libdolphinprivate.so.4
#28 0x00007fa0f06bb5de in KItemListController::mouseMoveEvent(QGraphicsSceneMouseEvent*, QTransform const&) () from /usr/lib64/libdolphinprivate.so.4
#29 0x00007fa0f06baeee in KItemListController::processEvent(QEvent*, QTransform const&) () from /usr/lib64/libdolphinprivate.so.4
#30 0x00007fa0f06c291b in KItemListView::event(QEvent*) () from /usr/lib64/libdolphinprivate.so.4
#31 0x00007fa101b1085c in QApplicationPrivate::notify_helper (this=this@entry=0x1814750, receiver=receiver@entry=0x21cddf0, e=e@entry=0x7fff6d6a3050) at kernel/qapplication.cpp:4562
#32 0x00007fa101b14cda in QApplication::notify (this=0x7fff6d6a4700, receiver=0x21cddf0, e=0x7fff6d6a3050) at kernel/qapplication.cpp:4423
#33 0x00007fa103722636 in KApplication::notify (this=0x7fff6d6a4700, receiver=0x21cddf0, event=0x7fff6d6a3050) at /usr/src/debug/kdelibs-4.9.5/kdeui/kernel/kapplication.cpp:311
#34 0x00007fa102982bfe in QCoreApplication::notifyInternal (this=0x7fff6d6a4700, receiver=0x21cddf0, event=0x7fff6d6a3050) at kernel/qcoreapplication.cpp:946
#35 0x00007fa1020f519b in sendEvent (event=0x7fff6d6a3050, item=0x21cde00, this=<optimized out>) at graphicsview/qgraphicsscene.cpp:1217
#36 QGraphicsScenePrivate::sendEvent (this=<optimized out>, item=0x21cde00, event=0x7fff6d6a3050) at graphicsview/qgraphicsscene.cpp:1197
#37 0x00007fa1020f5d80 in sendMouseEvent (mouseEvent=0x7fff6d6a3050, this=0x21d51a0) at graphicsview/qgraphicsscene.cpp:1295
#38 QGraphicsScenePrivate::sendMouseEvent (this=0x21d51a0, mouseEvent=0x7fff6d6a3050) at graphicsview/qgraphicsscene.cpp:1274
#39 0x00007fa1020f68bc in QGraphicsScene::mouseMoveEvent (this=<optimized out>, mouseEvent=0x7fff6d6a3050) at graphicsview/qgraphicsscene.cpp:4102
#40 0x00007fa102109540 in QGraphicsScene::event (this=0x21d5180, event=0x7fff6d6a3050) at graphicsview/qgraphicsscene.cpp:3451
#41 0x00007fa101b1085c in QApplicationPrivate::notify_helper (this=this@entry=0x1814750, receiver=receiver@entry=0x21d5180, e=e@entry=0x7fff6d6a3050) at kernel/qapplication.cpp:4562
#42 0x00007fa101b14cda in QApplication::notify (this=0x7fff6d6a4700, receiver=0x21d5180, e=0x7fff6d6a3050) at kernel/qapplication.cpp:4423
#43 0x00007fa103722636 in KApplication::notify (this=0x7fff6d6a4700, receiver=0x21d5180, event=0x7fff6d6a3050) at /usr/src/debug/kdelibs-4.9.5/kdeui/kernel/kapplication.cpp:311
#44 0x00007fa102982bfe in QCoreApplication::notifyInternal (this=0x7fff6d6a4700, receiver=0x21d5180, event=0x7fff6d6a3050) at kernel/qcoreapplication.cpp:946
#45 0x00007fa10211c8a4 in QGraphicsViewPrivate::mouseMoveEventHandler (this=this@entry=0x21d58f0, event=event@entry=0x7fff6d6a3a80) at graphicsview/qgraphicsview.cpp:646
#46 0x00007fa10211f91e in QGraphicsView::mouseMoveEvent (this=0x21d58c0, event=0x7fff6d6a3a80) at graphicsview/qgraphicsview.cpp:3276
#47 0x00007fa101b6015b in QWidget::event (this=0x21d58c0, event=0x7fff6d6a3a80) at kernel/qwidget.cpp:8360
#48 0x00007fa101f0af86 in QFrame::event (this=0x21d58c0, e=0x7fff6d6a3a80) at widgets/qframe.cpp:557
#49 0x00007fa102122c3b in QGraphicsView::viewportEvent (this=0x21d58c0, event=0x7fff6d6a3a80) at graphicsview/qgraphicsview.cpp:2866
#50 0x00007fa102982d66 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x220a020, event=0x7fff6d6a3a80) at kernel/qcoreapplication.cpp:1056
#51 0x00007fa101b1082c in QApplicationPrivate::notify_helper (this=this@entry=0x1814750, receiver=receiver@entry=0x220a020, e=e@entry=0x7fff6d6a3a80) at kernel/qapplication.cpp:4558
#52 0x00007fa101b1553b in QApplication::notify (this=<optimized out>, receiver=0x220a020, e=0x7fff6d6a3a80) at kernel/qapplication.cpp:4105
#53 0x00007fa103722636 in KApplication::notify (this=0x7fff6d6a4700, receiver=0x220a020, event=0x7fff6d6a3a80) at /usr/src/debug/kdelibs-4.9.5/kdeui/kernel/kapplication.cpp:311
#54 0x00007fa102982bfe in QCoreApplication::notifyInternal (this=0x7fff6d6a4700, receiver=0x220a020, event=0x7fff6d6a3a80) at kernel/qcoreapplication.cpp:946
#55 0x00007fa101b1169b in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#56 QApplicationPrivate::sendMouseEvent (receiver=0x220a020, event=0x7fff6d6a3a80, alienWidget=0x220a020, nativeWidget=0x21d12d0, buttonDown=0x7fa1025e5248 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3173
#57 0x00007fa101b8be54 in QETWidget::translateMouseEvent (this=this@entry=0x21d12d0, event=event@entry=0x7fff6d6a41f0) at kernel/qapplication_x11.cpp:4527
#58 0x00007fa101b8abe1 in QApplication::x11ProcessEvent (this=0x7fff6d6a4700, event=0x7fff6d6a41f0) at kernel/qapplication_x11.cpp:3650
#59 0x00007fa101bb0f72 in x11EventSourceDispatch (s=0x1816fa0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#60 0x00007fa0fe0a93b5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#61 0x00007fa0fe0a96e8 in ?? () from /usr/lib64/libglib-2.0.so.0
#62 0x00007fa0fe0a97a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#63 0x00007fa1029b1116 in QEventDispatcherGlib::processEvents (this=0x1782790, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#64 0x00007fa101bb0bee in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#65 0x00007fa10298194f in QEventLoop::processEvents (this=this@entry=0x7fff6d6a45c0, flags=...) at kernel/qeventloop.cpp:149
#66 0x00007fa102981bd8 in QEventLoop::exec (this=0x7fff6d6a45c0, flags=...) at kernel/qeventloop.cpp:204
#67 0x00007fa102986878 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#68 0x00007fa0f0e933f7 in kdemain () from /usr/lib64/libkdeinit4_dolphin.so
#69 0x0000000000408856 in _start ()

This bug may be a duplicate of or related to bug 297590.

Possible duplicates by query: bug 305911, bug 300780, bug 299617, bug 297590.

Reported using DrKonqi
Comment 1 Frank Reininghaus 2013-02-24 17:14:15 UTC
Thanks for the bug report! Looks like a Qt issue which has been reported already.

*** This bug has been marked as a duplicate of bug 297590 ***