Bug 302828

Summary: Dolphin (& Thunderbird) crash during drag-and-drop of a LibreOffice document to Thunderbird using application switch (alt-Tab) during drap-and-drop
Product: [Applications] dolphin Reporter: Gkok <gkokmdam>
Component: generalAssignee: Frank Reininghaus <frank78ac>
Status: RESOLVED DUPLICATE    
Severity: crash CC: frank78ac
Priority: NOR    
Version: 2.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Gkok 2012-07-01 12:34:15 UTC
Application: dolphin (2.0)
KDE Platform Version: 4.8.3 (4.8.3)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-25-generic-pae i686
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
* I started a drag-and-drop from Dophin
* then I realized the Thunderbird edit-email window was not visible enough
* during the dragging I used Alt-Tab to bring the Thunderbird edit-email window to the top
* then I dropped the file onto the attachments area of the Thunderbird edit-email window
* the Dolphin crashed
* a few seconds later Thunderbird also crashed

Note: Thunderbird was at version 13.0.1 (latest stable at the time of this writing.

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb46ee740 (LWP 19092))]

Thread 3 (Thread 0xb1fc0b40 (LWP 19093)):
#0  0xb4f6adcd in __GI_clock_gettime (clock_id=1, tp=0xb1fbffb8) at ../sysdeps/unix/clock_gettime.c:116
#1  0xb63a8315 in do_gettime (frac=0xb1fbffb0, sec=0xb1fbffa8) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb6492226 in QTimerInfoList::updateCurrentTime (this=0xb1602074) at kernel/qeventdispatcher_unix.cpp:343
#4  0xb649257a in QTimerInfoList::timerWait (this=0xb1602074, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#5  0xb6490e23 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb1fc00bc) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb6490ebd in timerSourcePrepare (source=0xb1602040, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb4eb4872 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0xb4eb4faf in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0xb4eb5201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0xb64918e7 in QEventDispatcherGlib::processEvents (this=0xb1600468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#11 0xb645d50d in QEventLoop::processEvents (this=0xb1fc0240, flags=...) at kernel/qeventloop.cpp:149
#12 0xb645d7a9 in QEventLoop::exec (this=0xb1fc0240, flags=...) at kernel/qeventloop.cpp:204
#13 0xb634694c in QThread::exec (this=0x93d6f40) at thread/qthread.cpp:501
#14 0xb643ab5d in QInotifyFileSystemWatcherEngine::run (this=0x93d6f40) at io/qfilesystemwatcher_inotify.cpp:248
#15 0xb6349de0 in QThreadPrivate::start (arg=0x93d6f40) at thread/qthread_unix.cpp:298
#16 0xb4f81d4c in start_thread (arg=0xb1fc0b40) at pthread_create.c:308
#17 0xb75c6ace in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb11f2b40 (LWP 19094)):
#0  0xb7721424 in __kernel_vsyscall ()
#1  0xb75b8380 in __GI___poll (fds=0xb08022b0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb4ec2a7b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb4eb50ae in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb4eb5201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb64918e7 in QEventDispatcherGlib::processEvents (this=0xb0800468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb645d50d in QEventLoop::processEvents (this=0xb11f2240, flags=...) at kernel/qeventloop.cpp:149
#7  0xb645d7a9 in QEventLoop::exec (this=0xb11f2240, flags=...) at kernel/qeventloop.cpp:204
#8  0xb634694c in QThread::exec (this=0x94c1178) at thread/qthread.cpp:501
#9  0xb643ab5d in QInotifyFileSystemWatcherEngine::run (this=0x94c1178) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb6349de0 in QThreadPrivate::start (arg=0x94c1178) at thread/qthread_unix.cpp:298
#11 0xb4f81d4c in start_thread (arg=0xb11f2b40) at pthread_create.c:308
#12 0xb75c6ace in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb46ee740 (LWP 19092)):
[KCrash Handler]
#7  0xb591212a in QWidget::testAttribute_helper (this=0x9b0bd98, attribute=Qt::WA_Hover) at kernel/qwidget.cpp:11034
#8  0xb58cf133 in testAttribute (attribute=<optimized out>, this=<optimized out>) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:1042
#9  QApplication::notify (this=0x9b0bd98, receiver=0x9b0bd98, e=0xbfe797e4) at kernel/qapplication.cpp:4124
#10 0xb6a78b61 in KApplication::notify (this=0xbfe7c0a8, receiver=0x9b0bd98, event=0xbfe797e4) at ../../kdeui/kernel/kapplication.cpp:311
#11 0xb645e97e in QCoreApplication::notifyInternal (this=0xbfe7c0a8, receiver=0x9b0bd98, event=0xbfe797e4) at kernel/qcoreapplication.cpp:876
#12 0xb58c9e95 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#13 QApplicationPrivate::sendMouseEvent (receiver=0x9b0bd98, event=0xbfe797e4, alienWidget=0x0, nativeWidget=0x9b0bd98, buttonDown=0xb625dcf4, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3170
#14 0xb5956074 in QETWidget::translateMouseEvent (this=0x9b0bd98, event=0xbfe79c9c) at kernel/qapplication_x11.cpp:4617
#15 0xb5954c0d in QApplication::x11ProcessEvent (this=0xbfe7c0a8, event=0xbfe79c9c) at kernel/qapplication_x11.cpp:3732
#16 0xb5981eac in x11EventSourceDispatch (s=0x92d5fb8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#17 0xb4eb4d86 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#18 0xb4eb5125 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#19 0xb4eb5201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#20 0xb6491887 in QEventDispatcherGlib::processEvents (this=0x92ba780, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#21 0xb5981aaa in QGuiEventDispatcherGlib::processEvents (this=0x92ba780, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#22 0xb645d50d in QEventLoop::processEvents (this=0x9963cd8, flags=...) at kernel/qeventloop.cpp:149
#23 0xb645d7a9 in QEventLoop::exec (this=0x9963cd8, flags=...) at kernel/qeventloop.cpp:204
#24 0xb59654cc in QDragManager::drag (this=0x9ad25c8, o=0x9adf3c8) at kernel/qdnd_x11.cpp:2017
#25 0xb58dc981 in QDrag::exec (this=0x9adf3c8, supportedActions=..., defaultDropAction=Qt::CopyAction) at kernel/qdrag.cpp:284
#26 0xb7311e04 in KItemListController::startDragging (this=0x953d8e8) at ../../../dolphin/src/kitemviews/kitemlistcontroller.cpp:1050
#27 0xb7311f99 in KItemListController::mouseMoveEvent (this=0x953d8e8, event=0xbfe7b074, transform=...) at ../../../dolphin/src/kitemviews/kitemlistcontroller.cpp:609
#28 0xb731160f in KItemListController::processEvent (this=0x953d8e8, event=0xbfe7b074, transform=...) at ../../../dolphin/src/kitemviews/kitemlistcontroller.cpp:909
#29 0xb731e450 in KItemListView::event (this=0x955c968, event=0xbfe7b074) at ../../../dolphin/src/kitemviews/kitemlistview.cpp:748
#30 0xb58c8ed4 in notify_helper (e=0xbfe7b074, receiver=0x955c968, this=0x92dbd30) at kernel/qapplication.cpp:4559
#31 QApplicationPrivate::notify_helper (this=0x92dbd30, receiver=0x955c968, e=0xbfe7b074) at kernel/qapplication.cpp:4531
#32 0xb58ce30d in QApplication::notify (this=0xbfe7b074, receiver=0x955c968, e=0xbfe7b074) at kernel/qapplication.cpp:4288
#33 0xb6a78b61 in KApplication::notify (this=0xbfe7c0a8, receiver=0x955c968, event=0xbfe7b074) at ../../kdeui/kernel/kapplication.cpp:311
#34 0xb645e97e in QCoreApplication::notifyInternal (this=0xbfe7c0a8, receiver=0x955c968, event=0xbfe7b074) at kernel/qcoreapplication.cpp:876
#35 0xb58c6ced in sendSpontaneousEvent (event=0xbfe7b074, receiver=0x955c968) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#36 qt_sendSpontaneousEvent (receiver=0x955c968, event=0xbfe7b074) at kernel/qapplication.cpp:5557
#37 0xb5f752eb in sendEvent (event=0xbfe7b074, item=0x955c970, this=<optimized out>) at graphicsview/qgraphicsscene.cpp:1217
#38 QGraphicsScenePrivate::sendEvent (this=0x95392c0, item=0x955c970, event=0xbfe7b074) at graphicsview/qgraphicsscene.cpp:1197
#39 0xb5f75f43 in QGraphicsScenePrivate::sendMouseEvent (this=0x95392c0, mouseEvent=0xbfe7b074) at graphicsview/qgraphicsscene.cpp:1295
#40 0xb5f76b03 in QGraphicsScene::mouseMoveEvent (this=0x950d250, mouseEvent=0xbfe7b074) at graphicsview/qgraphicsscene.cpp:4102
#41 0xb5f853c7 in QGraphicsScene::event (this=0x950d250, event=0xbfe7b074) at graphicsview/qgraphicsscene.cpp:3451
#42 0xb58c8ed4 in notify_helper (e=0xbfe7b074, receiver=0x950d250, this=0x92dbd30) at kernel/qapplication.cpp:4559
#43 QApplicationPrivate::notify_helper (this=0x92dbd30, receiver=0x950d250, e=0xbfe7b074) at kernel/qapplication.cpp:4531
#44 0xb58ce30d in QApplication::notify (this=0xbfe7b074, receiver=0x950d250, e=0xbfe7b074) at kernel/qapplication.cpp:4288
#45 0xb6a78b61 in KApplication::notify (this=0xbfe7c0a8, receiver=0x950d250, event=0xbfe7b074) at ../../kdeui/kernel/kapplication.cpp:311
#46 0xb645e97e in QCoreApplication::notifyInternal (this=0xbfe7c0a8, receiver=0x950d250, event=0xbfe7b074) at kernel/qcoreapplication.cpp:876
#47 0xb58c6ced in sendSpontaneousEvent (event=0xbfe7b074, receiver=0x950d250) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:234
#48 qt_sendSpontaneousEvent (receiver=0x950d250, event=0xbfe7b074) at kernel/qapplication.cpp:5557
#49 0xb5fa297a in QGraphicsViewPrivate::mouseMoveEventHandler (this=0x970ce28, event=0xbfe7b864) at graphicsview/qgraphicsview.cpp:646
#50 0xb5fa2bde in QGraphicsView::mouseMoveEvent (this=0x94af2c0, event=0xbfe7b864) at graphicsview/qgraphicsview.cpp:3276
#51 0xb59231e8 in QWidget::event (this=0x94af2c0, event=0xbfe7b864) at kernel/qwidget.cpp:8347
#52 0xb5d40e45 in QFrame::event (this=0x94af2c0, e=0xbfe7b864) at widgets/qframe.cpp:557
#53 0xb5dd3aa1 in QAbstractScrollArea::viewportEvent (this=0x94af2c0, e=0xbfe7b864) at widgets/qabstractscrollarea.cpp:1043
#54 0xb5fa769c in QGraphicsView::viewportEvent (this=0x94af2c0, event=0xbfe7b864) at graphicsview/qgraphicsview.cpp:2866
#55 0xb5dd61c6 in viewportEvent (this=<optimized out>, event=0xbfe7b864) at widgets/qabstractscrollarea_p.h:100
#56 eventFilter (e=0xbfe7b864, this=<optimized out>, o=<optimized out>) at widgets/qabstractscrollarea_p.h:116
#57 QAbstractScrollAreaFilter::eventFilter (this=0x94e7460, o=0x944fc80, e=0xbfe7b864) at widgets/qabstractscrollarea_p.h:115
#58 0xb645eb16 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x92dbd30, receiver=0x944fc80, event=0xbfe7b864) at kernel/qcoreapplication.cpp:986
#59 0xb58c8ea2 in notify_helper (e=0xbfe7b864, receiver=0x944fc80, this=0x92dbd30) at kernel/qapplication.cpp:4555
#60 QApplicationPrivate::notify_helper (this=0x92dbd30, receiver=0x944fc80, e=0xbfe7b864) at kernel/qapplication.cpp:4531
#61 0xb58cf024 in QApplication::notify (this=0x92dbd30, receiver=0x944fc80, e=0xbfe7b864) at kernel/qapplication.cpp:4102
#62 0xb6a78b61 in KApplication::notify (this=0xbfe7c0a8, receiver=0x944fc80, event=0xbfe7b864) at ../../kdeui/kernel/kapplication.cpp:311
#63 0xb645e97e in QCoreApplication::notifyInternal (this=0xbfe7c0a8, receiver=0x944fc80, event=0xbfe7b864) at kernel/qcoreapplication.cpp:876
#64 0xb58c9e95 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#65 QApplicationPrivate::sendMouseEvent (receiver=0x944fc80, event=0xbfe7b864, alienWidget=0x944fc80, nativeWidget=0x9468070, buttonDown=0xb625dcf4, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3170
#66 0xb5956074 in QETWidget::translateMouseEvent (this=0x9468070, event=0xbfe7bd1c) at kernel/qapplication_x11.cpp:4617
#67 0xb5954c0d in QApplication::x11ProcessEvent (this=0xbfe7c0a8, event=0xbfe7bd1c) at kernel/qapplication_x11.cpp:3732
#68 0xb5981eac in x11EventSourceDispatch (s=0x92d5fb8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#69 0xb4eb4d86 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#70 0xb4eb5125 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#71 0xb4eb5201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#72 0xb6491887 in QEventDispatcherGlib::processEvents (this=0x92ba780, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#73 0xb5981aaa in QGuiEventDispatcherGlib::processEvents (this=0x92ba780, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#74 0xb645d50d in QEventLoop::processEvents (this=0xbfe7c014, flags=...) at kernel/qeventloop.cpp:149
#75 0xb645d7a9 in QEventLoop::exec (this=0xbfe7c014, flags=...) at kernel/qeventloop.cpp:204
#76 0xb6462eba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#77 0xb58c6a74 in QApplication::exec () at kernel/qapplication.cpp:3820
#78 0xb76de1da in kdemain (argc=5, argv=0xbfe7c294) at ../../../dolphin/src/main.cpp:89
#79 0x0804850b in main (argc=5, argv=0xbfe7c294) at dolphin_dummy.cpp:3

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

Possible duplicates by query: bug 302516, bug 299877, bug 294918, bug 289205, bug 287942.

Reported using DrKonqi
Comment 1 Frank Reininghaus 2012-07-03 06:22:09 UTC
Thanks for the bug report! This is a bug in Qt, see
https://bugreports.qt-project.org/browse/QTBUG-19363

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