Bug 211095

Summary: konqueror crashed while dragging a link to another window
Product: [Applications] konqueror Reporter: Nuno Sucena Almeida <slug.bugreport>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Nuno Sucena Almeida 2009-10-19 17:05:32 UTC
Application that crashed: konqueror
Version of the application: 4.3.2 (KDE 4.3.2)
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-custom x86_64
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
I was dragging a link from a konqueror window, while using alt-tab to swich to another application, in this case amarok. When I dropped then link, the konqueror window crashed.

 -- Backtrace:
Application: Konqueror (kdeinit4), signal: Segmentation fault
[KCrash Handler]
#5  QDragManager::move (this=0x31f91e0, globalPos=@0x7fff7dce08a0) at kernel/qdnd_x11.cpp:1642
#6  0x00007fd28e2e7229 in QDragManager::eventFilter (this=0x7fd28d914a00, o=<value optimized out>, e=0x0) at kernel/qdnd_x11.cpp:1296
#7  0x00007fd290c9da7c in QCoreApplicationPrivate::sendThroughApplicationEventFilters (this=0xf2d5d0, receiver=0x28bb100, event=0x7fff7dce0880) at kernel/qcoreapplication.cpp:707
#8  0x00007fd28e263eb6 in QApplicationPrivate::notify_helper (this=0x7fd28d914a00, receiver=0x7fd28d6e3590, e=0x0) at kernel/qapplication.cpp:4031
#9  0x00007fd28e26c8ea in QApplication::notify (this=<value optimized out>, receiver=0x28bb100, e=0x7fff7dce0880) at kernel/qapplication.cpp:3758
#10 0x00007fd28f376abb in KApplication::notify (this=0x7fff7dce5fd0, receiver=0x28bb100, event=0x7fff7dce0880) at /build/buildd/kde4libs-4.3.2/kdeui/kernel/kapplication.cpp:302
#11 0x00007fd290c9e6ac in QCoreApplication::notifyInternal (this=0x7fff7dce5fd0, receiver=0x28bb100, event=0x7fff7dce0880) at kernel/qcoreapplication.cpp:610
#12 0x00007fd28e26bb38 in QApplicationPrivate::sendMouseEvent (receiver=0x28bb100, event=0x7fff7dce0880, alienWidget=0x0, nativeWidget=0x28bb100, buttonDown=<value optimized out>, 
    lastMouseReceiver=@0x7fd28ec9b010) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#13 0x00007fd28e2d5b19 in QETWidget::translateMouseEvent (this=0x28bb100, event=<value optimized out>) at kernel/qapplication_x11.cpp:4409
#14 0x00007fd28e2d4b53 in QApplication::x11ProcessEvent (this=0x7fff7dce5fd0, event=0x7fff7dce2400) at kernel/qapplication_x11.cpp:3550
#15 0x00007fd28e2fd454 in x11EventSourceDispatch (s=0xf31260, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#16 0x00007fd28ccf720a in IA__g_main_context_dispatch (context=0xf30120) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:1814
#17 0x00007fd28ccfa8e0 in g_main_context_iterate (context=0xf30120, block=1, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2448
#18 0x00007fd28ccfaa7c in IA__g_main_context_iteration (context=0xf30120, may_block=1) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2511
#19 0x00007fd290cc7a8f in QEventDispatcherGlib::processEvents (this=0xea1e70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#20 0x00007fd28e2fcbdf in QGuiEventDispatcherGlib::processEvents (this=0x7fd28d914a00, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#21 0x00007fd290c9cf42 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 2110662384}) at kernel/qeventloop.cpp:149
#22 0x00007fd290c9d314 in QEventLoop::exec (this=0x30cc3a0, flags={i = 2110662528}) at kernel/qeventloop.cpp:201
#23 0x00007fd28e2e6977 in QDragManager::drag (this=0x31f91e0, o=<value optimized out>) at kernel/qdnd_x11.cpp:1969
#24 0x00007fd28e276925 in QDrag::start (this=0x3285070, request={i = 2110663360}) at kernel/qdrag.cpp:314
#25 0x00007fd27dae8b46 in KHTMLPart::handleMouseMoveEventDrag (this=0x153a4c0, event=0x15e3570) at /build/buildd/kde4libs-4.3.2/khtml/khtml_part.cpp:6297
#26 0x00007fd27daf02d9 in KHTMLPart::khtmlMouseMoveEvent (this=0x7fd28d914a00, event=0x7fd28d6e3590) at /build/buildd/kde4libs-4.3.2/khtml/khtml_part.cpp:6396
#27 0x00007fd290cae62d in QObject::event (this=0x153a4c0, e=0x7fff7dce31a0) at kernel/qobject.cpp:1142
#28 0x00007fd28e263f4d in QApplicationPrivate::notify_helper (this=0xf2d5d0, receiver=0x153a4c0, e=0x7fff7dce31a0) at kernel/qapplication.cpp:4056
#29 0x00007fd28e26c18a in QApplication::notify (this=0x7fff7dce5fd0, receiver=0x153a4c0, e=0x7fff7dce31a0) at kernel/qapplication.cpp:4021
#30 0x00007fd28f376abb in KApplication::notify (this=0x7fff7dce5fd0, receiver=0x153a4c0, event=0x7fff7dce31a0) at /build/buildd/kde4libs-4.3.2/kdeui/kernel/kapplication.cpp:302
#31 0x00007fd290c9e6ac in QCoreApplication::notifyInternal (this=0x7fff7dce5fd0, receiver=0x153a4c0, event=0x7fff7dce31a0) at kernel/qcoreapplication.cpp:610
#32 0x00007fd27daca268 in KHTMLView::mouseMoveEvent (this=0x15999c0, _mouse=0x7fff7dce3ea0) at /usr/include/qt4/QtCore/qcoreapplication.h:213
#33 0x00007fd28e2b4f58 in QWidget::event (this=0x15999c0, event=0x7fff7dce3ea0) at kernel/qwidget.cpp:7534
#34 0x00007fd28e627f0b in QFrame::event (this=0x15999c0, e=0x7fff7dce3ea0) at widgets/qframe.cpp:559
#35 0x00007fd27dac74d5 in KHTMLView::widgetEvent (this=0x15999c0, e=0x7fd28d6e3590) at /build/buildd/kde4libs-4.3.2/khtml/khtmlview.cpp:2338
#36 0x00007fd27dac7854 in KHTMLView::eventFilter (this=0x15999c0, o=0x15a2990, e=0x7fff7dce3ea0) at /build/buildd/kde4libs-4.3.2/khtml/khtmlview.cpp:2191
#37 0x00007fd290c9d9b8 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x15a2990, event=0x7fff7dce3ea0) at kernel/qcoreapplication.cpp:726
#38 0x00007fd28e263f1c in QApplicationPrivate::notify_helper (this=0xf2d5d0, receiver=0x15a2990, e=0x7fff7dce3ea0) at kernel/qapplication.cpp:4052
#39 0x00007fd28e26c8ea in QApplication::notify (this=<value optimized out>, receiver=0x15a2990, e=0x7fff7dce3ea0) at kernel/qapplication.cpp:3758
#40 0x00007fd28f376abb in KApplication::notify (this=0x7fff7dce5fd0, receiver=0x15a2990, event=0x7fff7dce3ea0) at /build/buildd/kde4libs-4.3.2/kdeui/kernel/kapplication.cpp:302
#41 0x00007fd290c9e6ac in QCoreApplication::notifyInternal (this=0x7fff7dce5fd0, receiver=0x15a2990, event=0x7fff7dce3ea0) at kernel/qcoreapplication.cpp:610
#42 0x00007fd28e26bb38 in QApplicationPrivate::sendMouseEvent (receiver=0x15a2990, event=0x7fff7dce3ea0, alienWidget=0x15a2990, nativeWidget=0xff60a0, buttonDown=<value optimized out>, 
    lastMouseReceiver=@0x7fd28ec9b010) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#43 0x00007fd28e2d5b19 in QETWidget::translateMouseEvent (this=0xff60a0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4409
#44 0x00007fd28e2d4b53 in QApplication::x11ProcessEvent (this=0x7fff7dce5fd0, event=0x7fff7dce5a20) at kernel/qapplication_x11.cpp:3550
#45 0x00007fd28e2fd454 in x11EventSourceDispatch (s=0xf31260, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#46 0x00007fd28ccf720a in IA__g_main_context_dispatch (context=0xf30120) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:1814
#47 0x00007fd28ccfa8e0 in g_main_context_iterate (context=0xf30120, block=1, dispatch=1, self=<value optimized out>) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2448
#48 0x00007fd28ccfaa7c in IA__g_main_context_iteration (context=0xf30120, may_block=1) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2511
#49 0x00007fd290cc7a8f in QEventDispatcherGlib::processEvents (this=0xea1e70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#50 0x00007fd28e2fcbdf in QGuiEventDispatcherGlib::processEvents (this=0x7fd28d914a00, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#51 0x00007fd290c9cf42 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 2110676240}) at kernel/qeventloop.cpp:149
#52 0x00007fd290c9d314 in QEventLoop::exec (this=0x7fff7dce5d50, flags={i = 2110676320}) at kernel/qeventloop.cpp:201
#53 0x00007fd290c9f5e4 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#54 0x00007fd284bd44e2 in kdemain (argc=<value optimized out>, argv=<value optimized out>) at /build/buildd/kdebase-4.3.2/apps/konqueror/src/konqmain.cpp:271
#55 0x0000000000407215 in launch (argc=2, _name=0xee71a8 "/usr/bin/konqueror", args=<value optimized out>, cwd=0x0, envc=0, envs=0xee71cd "", reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x40a3a1 "0") at /build/buildd/kde4libs-4.3.2/kinit/kinit.cpp:677
#56 0x0000000000407a38 in handle_launcher_request (sock=8, who=<value optimized out>) at /build/buildd/kde4libs-4.3.2/kinit/kinit.cpp:1169
#57 0x0000000000407fe5 in handle_requests (waitForPid=0) at /build/buildd/kde4libs-4.3.2/kinit/kinit.cpp:1362
#58 0x0000000000408b26 in main (argc=2, argv=0x7fff7dce76b8, envp=0x7fff7dce76d0) at /build/buildd/kde4libs-4.3.2/kinit/kinit.cpp:1793

Reported using DrKonqi
Comment 1 Dario Andres 2009-10-21 16:47:05 UTC
- Were you using Desktop Effects / Compositing ?
- Is the crash reproducible again ?
It looks like some other batch of Qt drag&drop related bug reports.
Thanks
Comment 2 Nuno Sucena Almeida 2009-10-21 17:41:02 UTC
Hi, I'm using desktop effects and composing and I can reproduce it. Basically it seems to be triggered by something like the following:
1. Open Konqueror
2. Drag Link
3. Press alt-tab
4. Move mouse cursor out of konqueror (still dragging)
5. Press alt-tab to switch to konqueror again (still dragging)
6. crash.
Note that I never released the mouse button.

Thread 1 (Thread 0x7ff29fad1750 (LWP 10623)):
[KCrash Handler]
#5  QDragManager::move (this=0x2636c20, globalPos=@0x7fff6d85e280) at kernel/qdnd_x11.cpp:1642
#6  0x00007ff29cc4d229 in QDragManager::eventFilter (this=0x7ff29c27aa00, o=<value optimized out>, e=0x0) at kernel/qdnd_x11.cpp:1296
#7  0x00007ff29f603a7c in QCoreApplicationPrivate::sendThroughApplicationEventFilters (this=0xc46e20, receiver=0x2f79d20, event=0x7fff6d85e260) at kernel/qcoreapplication.cpp:707
#8  0x00007ff29cbc9eb6 in QApplicationPrivate::notify_helper (this=0x7ff29c27aa00, receiver=0x7ff29c049590, e=0x0) at kernel/qapplication.cpp:4031
#9  0x00007ff29cbd28ea in QApplication::notify (this=<value optimized out>, receiver=0x2f79d20, e=0x7fff6d85e260) at kernel/qapplication.cpp:3758
Comment 3 Dario Andres 2009-10-21 17:48:41 UTC
Merging with bug 192270 as the situation and the backtrace match. Thanks

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