Bug 302956

Summary: Dragging pdf from dolphin to (hiding) kwrite crashes dolphin
Product: [Applications] dolphin Reporter: Roger Larsson <roger.larsson>
Component: generalAssignee: Frank Reininghaus <frank78ac>
Status: RESOLVED DUPLICATE    
Severity: crash CC: frank78ac
Priority: NOR    
Version: 2.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Roger Larsson 2012-07-03 12:36:41 UTC
Application: dolphin (2.0)
KDE Platform Version: 4.8.4 (4.8.4) "release 7"
Qt Version: 4.8.2
Operating System: Linux 3.4.2-29-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

-- Information about the crash:
- What I was doing when the application crashed:
Was dragging a file from dolphin to a opened new mail kwrite window.
Noticed afterwards that I already had the attach window opened, but retesting did not cause crash.

- Unusual behavior I noticed:
In the taskbar I had two kmail windows, but when hovering above one of them they grouped to a single one. When hovering over the correct subwindow dolphin crashed...

Might have an answer on why they merged - when dragging a pdf to the taskbar the taskbar makes space for an additional item. But you can not really place the pdf there. If the taskbar was full before the drag items will group...

Possible to reproduce without open attachment dialogue!

The crash can be reproduced some of the time.

-- Backtrace:
Application: Dolphin (kdeinit4), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fdd4d92e760 (LWP 22602))]

Thread 2 (Thread 0x7fdd3acef700 (LWP 22603)):
#0  0x00007fdd4af10ff3 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fdd47ad2ae8 in g_main_context_poll (n_fds=1, fds=0x7fdd34002400, timeout=-1, context=0x7fdd340009a0, priority=<optimized out>) at gmain.c:3402
#2  g_main_context_iterate (context=0x7fdd340009a0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3084
#3  0x00007fdd47ad2fa9 in g_main_context_iteration (context=0x7fdd340009a0, may_block=1) at gmain.c:3152
#4  0x00007fdd4c580e36 in QEventDispatcherGlib::processEvents (this=0x7fdd340008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007fdd4c550842 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fdd4c550a97 in QEventLoop::exec (this=0x7fdd3aceedf0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fdd4c4505f7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007fdd4c53062f in QInotifyFileSystemWatcherEngine::run (this=0x22def80) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007fdd4c45361b in QThreadPrivate::start (arg=0x22def80) at thread/qthread_unix.cpp:307
#10 0x00007fdd4c1bbf05 in start_thread (arg=0x7fdd3acef700) at pthread_create.c:301
#11 0x00007fdd4af1a10d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fdd4d92e760 (LWP 22602)):
[KCrash Handler]
#6  0x00007fdd4b6f8b6f in QWidget::testAttribute_helper (this=0x2dfd380, attribute=Qt::WA_Hover) at kernel/qwidget.cpp:11043
#7  0x00007fdd4b6bd72c in testAttribute (attribute=Qt::WA_Hover, this=0x2dfd380) at ../../src/gui/kernel/qwidget.h:1042
#8  QApplication::notify (this=<optimized out>, receiver=<optimized out>, e=0x7ffffa8aa340) at kernel/qapplication.cpp:4116
#9  0x00007fdd4d318746 in KApplication::notify (this=0x7ffffa8adc70, receiver=0x2dfd380, event=0x7ffffa8aa340) at /usr/src/debug/kdelibs-4.8.4/kdeui/kernel/kapplication.cpp:311
#10 0x00007fdd4c551d0c in QCoreApplication::notifyInternal (this=0x7ffffa8adc70, receiver=0x2dfd380, event=0x7ffffa8aa340) at kernel/qcoreapplication.cpp:915
#11 0x00007fdd4b6b8fb2 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#12 QApplicationPrivate::sendMouseEvent (receiver=0x2dfd380, event=0x7ffffa8aa340, alienWidget=0x0, nativeWidget=0x2dfd380, buttonDown=0x23f9850, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3162
#13 0x00007fdd4b734db5 in QETWidget::translateMouseEvent (this=0x2dfd380, event=<optimized out>) at kernel/qapplication_x11.cpp:4513
#14 0x00007fdd4b733c7a in QApplication::x11ProcessEvent (this=0x7ffffa8adc70, event=0x7ffffa8aac00) at kernel/qapplication_x11.cpp:3636
#15 0x00007fdd4b75ba12 in x11EventSourceDispatch (s=0x21639b0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#16 0x00007fdd47ad25dd in g_main_dispatch (context=0x2163440) at gmain.c:2441
#17 g_main_context_dispatch (context=0x2163440) at gmain.c:3011
#18 0x00007fdd47ad2dd8 in g_main_context_iterate (context=0x2163440, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3089
#19 0x00007fdd47ad2fa9 in g_main_context_iteration (context=0x2163440, may_block=1) at gmain.c:3152
#20 0x00007fdd4c580dcf in QEventDispatcherGlib::processEvents (this=0x215b250, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#21 0x00007fdd4b75b69e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#22 0x00007fdd4c550842 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#23 0x00007fdd4c550a97 in QEventLoop::exec (this=0x2697170, flags=...) at kernel/qeventloop.cpp:204
#24 0x00007fdd4b743063 in QDragManager::drag (this=0x2849c70, o=<optimized out>) at kernel/qdnd_x11.cpp:2016
#25 0x00007fdd4b6c99c8 in QDrag::exec (this=0x2cb1850, supportedActions=..., defaultDropAction=Qt::CopyAction) at kernel/qdrag.cpp:284
#26 0x00007fdd44b29fd7 in KItemListController::startDragging (this=0x242f9b0) at /usr/src/debug/kde-baseapps-4.8.4/dolphin/src/kitemviews/kitemlistcontroller.cpp:1058
#27 0x00007fdd44b2a16e in KItemListController::mouseMoveEvent (this=0x242f9b0, event=0x7ffffa8ac460, transform=...) at /usr/src/debug/kde-baseapps-4.8.4/dolphin/src/kitemviews/kitemlistcontroller.cpp:617
#28 0x00007fdd44b29960 in KItemListController::processEvent (this=0x242f9b0, event=<optimized out>, transform=<optimized out>) at /usr/src/debug/kde-baseapps-4.8.4/dolphin/src/kitemviews/kitemlistcontroller.cpp:897
#29 0x00007fdd44b352f5 in KItemListView::event (this=0x2348c70, event=0x7ffffa8ac460) at /usr/src/debug/kde-baseapps-4.8.4/dolphin/src/kitemviews/kitemlistview.cpp:748
#30 0x00007fdd4b6b7fe4 in notify_helper (e=0x7ffffa8ac460, receiver=0x2348c70, this=0x215e880) at kernel/qapplication.cpp:4551
#31 QApplicationPrivate::notify_helper (this=0x215e880, receiver=0x2348c70, e=0x7ffffa8ac460) at kernel/qapplication.cpp:4523
#32 0x00007fdd4b6bcdb3 in QApplication::notify (this=0x7ffffa8adc70, receiver=0x2348c70, e=0x7ffffa8ac460) at kernel/qapplication.cpp:4412
#33 0x00007fdd4d318746 in KApplication::notify (this=0x7ffffa8adc70, receiver=0x2348c70, event=0x7ffffa8ac460) at /usr/src/debug/kdelibs-4.8.4/kdeui/kernel/kapplication.cpp:311
#34 0x00007fdd4c551d0c in QCoreApplication::notifyInternal (this=0x7ffffa8adc70, receiver=0x2348c70, event=0x7ffffa8ac460) at kernel/qcoreapplication.cpp:915
#35 0x00007fdd4bcc10be in sendEvent (event=0x7ffffa8ac460, item=0x2348c80, this=<optimized out>) at graphicsview/qgraphicsscene.cpp:1217
#36 QGraphicsScenePrivate::sendEvent (this=<optimized out>, item=0x2348c80, event=0x7ffffa8ac460) at graphicsview/qgraphicsscene.cpp:1197
#37 0x00007fdd4bcc1cca in QGraphicsScenePrivate::sendMouseEvent (this=0x2470750, mouseEvent=0x7ffffa8ac460) at graphicsview/qgraphicsscene.cpp:1295
#38 0x00007fdd4bcc27fc in QGraphicsScene::mouseMoveEvent (this=<optimized out>, mouseEvent=0x7ffffa8ac460) at graphicsview/qgraphicsscene.cpp:4102
#39 0x00007fdd4bcd087b in QGraphicsScene::event (this=0x2424320, event=0x7ffffa8ac460) at graphicsview/qgraphicsscene.cpp:3451
#40 0x00007fdd4b6b7fe4 in notify_helper (e=0x7ffffa8ac460, receiver=0x2424320, this=0x215e880) at kernel/qapplication.cpp:4551
#41 QApplicationPrivate::notify_helper (this=0x215e880, receiver=0x2424320, e=0x7ffffa8ac460) at kernel/qapplication.cpp:4523
#42 0x00007fdd4b6bcdb3 in QApplication::notify (this=0x7ffffa8adc70, receiver=0x2424320, e=0x7ffffa8ac460) at kernel/qapplication.cpp:4412
#43 0x00007fdd4d318746 in KApplication::notify (this=0x7ffffa8adc70, receiver=0x2424320, event=0x7ffffa8ac460) at /usr/src/debug/kdelibs-4.8.4/kdeui/kernel/kapplication.cpp:311
#44 0x00007fdd4c551d0c in QCoreApplication::notifyInternal (this=0x7ffffa8adc70, receiver=0x2424320, event=0x7ffffa8ac460) at kernel/qcoreapplication.cpp:915
#45 0x00007fdd4bcea5b9 in QGraphicsViewPrivate::mouseMoveEventHandler (this=0x247b060, event=0x7ffffa8acf70) at graphicsview/qgraphicsview.cpp:646
#46 0x00007fdd4bcea7ee in QGraphicsView::mouseMoveEvent (this=0x2445520, event=0x7ffffa8acf70) at graphicsview/qgraphicsview.cpp:3276
#47 0x00007fdd4b708678 in QWidget::event (this=0x2445520, event=0x7ffffa8acf70) at kernel/qwidget.cpp:8356
#48 0x00007fdd4bac41d6 in QFrame::event (this=0x2445520, e=0x7ffffa8acf70) at widgets/qframe.cpp:557
#49 0x00007fdd4bceebdb in QGraphicsView::viewportEvent (this=0x2445520, event=0x7ffffa8acf70) at graphicsview/qgraphicsview.cpp:2866
#50 0x00007fdd4c551e98 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x23f9850, event=0x7ffffa8acf70) at kernel/qcoreapplication.cpp:1025
#51 0x00007fdd4b6b7faf in notify_helper (e=0x7ffffa8acf70, receiver=0x23f9850, this=0x215e880) at kernel/qapplication.cpp:4547
#52 QApplicationPrivate::notify_helper (this=0x215e880, receiver=0x23f9850, e=0x7ffffa8acf70) at kernel/qapplication.cpp:4523
#53 0x00007fdd4b6bd683 in QApplication::notify (this=<optimized out>, receiver=0x23f9850, e=0x7ffffa8acf70) at kernel/qapplication.cpp:4094
#54 0x00007fdd4d318746 in KApplication::notify (this=0x7ffffa8adc70, receiver=0x23f9850, event=0x7ffffa8acf70) at /usr/src/debug/kdelibs-4.8.4/kdeui/kernel/kapplication.cpp:311
#55 0x00007fdd4c551d0c in QCoreApplication::notifyInternal (this=0x7ffffa8adc70, receiver=0x23f9850, event=0x7ffffa8acf70) at kernel/qcoreapplication.cpp:915
#56 0x00007fdd4b6b8fb2 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#57 QApplicationPrivate::sendMouseEvent (receiver=0x23f9850, event=0x7ffffa8acf70, alienWidget=0x23f9850, nativeWidget=0x228a110, buttonDown=0x23f9850, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3162
#58 0x00007fdd4b734db5 in QETWidget::translateMouseEvent (this=0x228a110, event=<optimized out>) at kernel/qapplication_x11.cpp:4513
#59 0x00007fdd4b733c7a in QApplication::x11ProcessEvent (this=0x7ffffa8adc70, event=0x7ffffa8ad830) at kernel/qapplication_x11.cpp:3636
#60 0x00007fdd4b75ba12 in x11EventSourceDispatch (s=0x21639b0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#61 0x00007fdd47ad25dd in g_main_dispatch (context=0x2163440) at gmain.c:2441
#62 g_main_context_dispatch (context=0x2163440) at gmain.c:3011
#63 0x00007fdd47ad2dd8 in g_main_context_iterate (context=0x2163440, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3089
#64 0x00007fdd47ad2fa9 in g_main_context_iteration (context=0x2163440, may_block=1) at gmain.c:3152
#65 0x00007fdd4c580dcf in QEventDispatcherGlib::processEvents (this=0x215b250, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#66 0x00007fdd4b75b69e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#67 0x00007fdd4c550842 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#68 0x00007fdd4c550a97 in QEventLoop::exec (this=0x7ffffa8adc00, flags=...) at kernel/qeventloop.cpp:204
#69 0x00007fdd4c5558b5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#70 0x00007fdd457549a7 in kdemain (argc=5, argv=0x21111b0) at /usr/src/debug/kde-baseapps-4.8.4/dolphin/src/main.cpp:89
#71 0x00000000004088e4 in launch (argc=5, _name=0x210f1a8 "/usr/bin/dolphin", args=<optimized out>, cwd=0x0, envc=<optimized out>, envs=<optimized out>, reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x210f200 "tsunami;1341310881;146926;31913_TIME1077092368") at /usr/src/debug/kdelibs-4.8.4/kinit/kinit.cpp:734
#72 0x00000000004099e6 in handle_launcher_request (sock=7, who=<optimized out>) at /usr/src/debug/kdelibs-4.8.4/kinit/kinit.cpp:1226
#73 0x0000000000409f27 in handle_requests (waitForPid=0) at /usr/src/debug/kdelibs-4.8.4/kinit/kinit.cpp:1419
#74 0x00000000004057a7 in main (argc=2, argv=0x7fff00000001, envp=0x7ffffa8af300) at /usr/src/debug/kdelibs-4.8.4/kinit/kinit.cpp:1907

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

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

Reported using DrKonqi
Comment 1 Frank Reininghaus 2012-07-03 15:08:51 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 ***