Bug 167624

Summary: When trying to drag and drop some file from Dolphin/Konqueror to Firefox (at www.fileai.com) java applet, the application crashes
Product: [Applications] dolphin Reporter: Dario Andres <andresbajotierra>
Component: generalAssignee: Peter Penz <peter.penz19>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 16.12.2   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Dario Andres 2008-07-28 23:32:25 UTC
Version:           Version 1.1 Using KDE 4.1.00 (KDE 4.0.99 (4.1 RC1+)) (KDEmod) in ArchLinux (using KDE 4.0.98)
Installed from:    Compiled From Sources
Compiler:          gcc 4.3.1 i686 CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
OS:                Linux

Dolphin/Konqueror Using KDE 4.1.00 (KDE 4.0.99 (4.1 RC1+)) (KDEmod) in ArchLinux
QT 4.4.0 + qtcopypatches
Firefox 3.0.1
JRE 6u7

When trying to drag and drop some file from Dolphin/Konqueror to Firefox (at www.fileai.com) java applet, the application crashes

Step to reproduce:
- Open Firefox and go to www.fileai.com
- Select "Send File" , a java applet will appear.
- Open a Dolphin window and try to drop some file into Firefox. When the mouse is 1px inside Firefox, Dolphin crashes.

Konqueror (file browser) will crash too.

If you have another tab on top (other side) , Dolphin will still crash when trying to drop some file.
After closing the www.fileai.com tab, the behaviour is the same.

If you never opened www.fileai.com java applet, this will not happen.

It doesn't happen in Opera (but I can't drop files either)
I can't test in Konqueror Web Browser (it says Java is disabled/non-installed)

--------------------------

I reported this bug to QT bugtracker, but their response was:

Hi Darío

> Drag & Drop from QT(KDE) window to Firefox/Java crashes the
> application

It may indeed be a bug in Qt, but it may also not be. We can't do much
with the backtrace and we're not going to test Dolphin ourselves.

However, if the Dolphin team can write a small Qt-only program that
reproduces the problem (running against an unpatched Qt), we will be
very interested in analyzing the issue, of course.

Regards

--

Helder Correia
Support Engineer
Trolltech, a Nokia company

-------------------------------

Here is the Backtrace:

Aplicación: Dolphin (dolphin), señal SIGABRT
[Thread debugging using libthread_db enabled]
[New Thread 0xb60bd700 (LWP 8031)]
[KCrash handler]
#6  0xb8049424 in __kernel_vsyscall ()
#7  0xb6474740 in raise () from /lib/libc.so.6
#8  0xb6476078 in abort () from /lib/libc.so.6
#9  0xb64afc0d in __libc_message () from /lib/libc.so.6
#10 0xb64b5a44 in malloc_printerr () from /lib/libc.so.6
#11 0xb64b73cc in free () from /lib/libc.so.6
#12 0xb681082d in XFree () from /usr/lib/libX11.so.6
#13 0xb6ce30f6 in xdndProxy (w=<value optimized out>)
    at kernel/qdnd_x11.cpp:343
#14 0xb6ce63a0 in QDragManager::move (this=0x8ecab18, globalPos=@0xbfa62304)
    at kernel/qdnd_x11.cpp:1530
#15 0xb6ce9e7d in QDragManager::eventFilter (this=0x8ecab18, o=0x8f21888, 
    e=0xbfa622ec) at kernel/qdnd_x11.cpp:1274
#16 0xb7f33979 in QCoreApplicationPrivate::sendThroughApplicationEventFilters
    (this=0x8aa6998, receiver=0x8f21888, event=0xbfa622ec)
    at kernel/qcoreapplication.cpp:676
#17 0xb6c64f31 in QApplicationPrivate::notify_helper (this=0x8aa6998, 
    receiver=0x8f21888, e=0xbfa622ec) at kernel/qapplication.cpp:3749
#18 0xb6c6c65b in QApplication::notify (this=0xbfa63d8c, receiver=0x8f21888, 
    e=0xbfa622ec) at kernel/qapplication.cpp:3501
#19 0xb7ac45b0 in KApplication::notify (this=0xbfa63d8c, receiver=0x8f21888, 
    event=0xbfa622ec)
    at /home/dario/myData/ArchPKG/kdemod4/work/kdelibs/src/kdelibs-4.0.99/kdeui/kernel/kapplication.cpp:311
#20 0xb7f33ec1 in QCoreApplication::notifyInternal (this=0xbfa63d8c, 
    receiver=0x8f21888, event=0xbfa622ec) at kernel/qcoreapplication.cpp:587
#21 0xb6c6dae0 in QApplicationPrivate::sendMouseEvent (receiver=0x8f21888, 
    event=0xbfa622ec, alienWidget=0x0, nativeWidget=0x8f21888, 
    buttonDown=0xb745a540, lastMouseReceiver=@0xb745a544)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#22 0xb6cd8a48 in QETWidget::translateMouseEvent (this=0x8f21888, 
    event=0xbfa627bc) at kernel/qapplication_x11.cpp:4133
#23 0xb6cd7fe9 in QApplication::x11ProcessEvent (this=0xbfa63d8c, 
    event=0xbfa627bc) at kernel/qapplication_x11.cpp:3133
#24 0xb6cff770 in x11EventSourceDispatch (s=0x8aa9740, callback=0, 
    user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#25 0xb63c20e8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#26 0xb63c5783 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#27 0xb63c5941 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#28 0xb7f5f9b1 in QEventDispatcherGlib::processEvents (this=0x8aa6550, flags=
      {i = -1079629464}) at kernel/qeventdispatcher_glib.cpp:325
#29 0xb6cfef0d in QGuiEventDispatcherGlib::processEvents (this=0x8aa6550, 
    flags={i = -1079629416}) at kernel/qguieventdispatcher_glib.cpp:204
#30 0xb7f32a4c in QEventLoop::processEvents (this=0x8f4ea90, flags=
      {i = -1079629352}) at kernel/qeventloop.cpp:149
#31 0xb7f32c05 in QEventLoop::exec (this=0x8f4ea90, flags={i = -1079629156})
    at kernel/qeventloop.cpp:200
#32 0xb6ce6b6e in QDragManager::drag (this=0x8ecab18, o=0x8ef6d90)
    at kernel/qdnd_x11.cpp:1941
#33 0xb6c78242 in QDrag::exec (this=0x8ef6d90, supportedActions=
      {i = -1079628980}, defaultDropAction=Qt::IgnoreAction)
    at kernel/qdrag.cpp:281
#34 0xb75c84ca in DragAndDropHelper::startDrag (itemView=0x8f551e0, 
    supportedActions={i = -1079628916})
    at /home/dario/myData/ArchPKG/kdemod4/work/kdebase-apps/src/kdebase-4.0.99/apps/dolphin/src/draganddrophelper.cpp:53
#35 0xb75bcb64 in DolphinDetailsView::startDrag (this=0x8f551e0, 
    supportedActions={i = -1079628684})
    at /home/dario/myData/ArchPKG/kdemod4/work/kdebase-apps/src/kdebase-4.0.99/apps/dolphin/src/dolphindetailsview.cpp:299
#36 0xb714b7bc in QAbstractItemView::mouseMoveEvent (this=0x8f551e0, 
    event=0xbfa635fc) at itemviews/qabstractitemview.cpp:1505
#37 0xb75bccfc in DolphinDetailsView::mouseMoveEvent (this=0x8f551e0, 
    event=0xbfa635fc)
    at /home/dario/myData/ArchPKG/kdemod4/work/kdebase-apps/src/kdebase-4.0.99/apps/dolphin/src/dolphindetailsview.cpp:258
#38 0xb6cbe4ee in QWidget::event (this=0x8f551e0, event=0xbfa635fc)
    at kernel/qwidget.cpp:6912
#39 0xb7010bfb in QFrame::event (this=0x8f551e0, e=0xbfa635fc)
    at widgets/qframe.cpp:657
#40 0xb70a471a in QAbstractScrollArea::viewportEvent (this=0x8f551e0, e=0x6)
    at widgets/qabstractscrollarea.cpp:941
#41 0xb714f9a9 in QAbstractItemView::viewportEvent (this=0x8f551e0, 
    event=0xbfa635fc) at itemviews/qabstractitemview.cpp:1426
#42 0xb718a04c in QTreeView::viewportEvent (this=0x8f551e0, event=0xbfa635fc)
    at itemviews/qtreeview.cpp:1254
#43 0xb70a69e4 in QAbstractScrollAreaFilter::eventFilter (this=0x8f0cfa8, 
    o=0x8f49e00, e=0xbfa635fc) at widgets/qabstractscrollarea_p.h:102
#44 0xb7f338e4 in QCoreApplicationPrivate::sendThroughObjectEventFilters (
    this=0x8aa6998, receiver=0x8f49e00, event=0xbfa635fc)
    at kernel/qcoreapplication.cpp:694
#45 0xb6c64f8b in QApplicationPrivate::notify_helper (this=0x8aa6998, 
    receiver=0x8f49e00, e=0xbfa635fc) at kernel/qapplication.cpp:3768
#46 0xb6c6c65b in QApplication::notify (this=0xbfa63d8c, receiver=0x8f49e00, 
    e=0xbfa635fc) at kernel/qapplication.cpp:3501
#47 0xb7ac45b0 in KApplication::notify (this=0xbfa63d8c, receiver=0x8f49e00, 
    event=0xbfa635fc)
    at /home/dario/myData/ArchPKG/kdemod4/work/kdelibs/src/kdelibs-4.0.99/kdeui/kernel/kapplication.cpp:311
#48 0xb7f33ec1 in QCoreApplication::notifyInternal (this=0xbfa63d8c, 
    receiver=0x8f49e00, event=0xbfa635fc) at kernel/qcoreapplication.cpp:587
#49 0xb6c6dae0 in QApplicationPrivate::sendMouseEvent (receiver=0x8f49e00, 
    event=0xbfa635fc, alienWidget=0x8f49e00, nativeWidget=0x8b9a118, 
    buttonDown=0xb745a540, lastMouseReceiver=@0xb745a544)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#50 0xb6cd8a48 in QETWidget::translateMouseEvent (this=0x8b9a118, 
    event=0xbfa63acc) at kernel/qapplication_x11.cpp:4133
#51 0xb6cd7fe9 in QApplication::x11ProcessEvent (this=0xbfa63d8c, 
    event=0xbfa63acc) at kernel/qapplication_x11.cpp:3133
#52 0xb6cff770 in x11EventSourceDispatch (s=0x8aa9740, callback=0, 
    user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#53 0xb63c20e8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#54 0xb63c5783 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#55 0xb63c5941 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#56 0xb7f5f9b1 in QEventDispatcherGlib::processEvents (this=0x8aa6550, flags=
      {i = -1079624584}) at kernel/qeventdispatcher_glib.cpp:325
#57 0xb6cfef0d in QGuiEventDispatcherGlib::processEvents (this=0x8aa6550, 
    flags={i = -1079624536}) at kernel/qguieventdispatcher_glib.cpp:204
#58 0xb7f32a4c in QEventLoop::processEvents (this=0xbfa63d20, flags=
      {i = -1079624472}) at kernel/qeventloop.cpp:149
#59 0xb7f32c05 in QEventLoop::exec (this=0xbfa63d20, flags={i = -1079624408})
    at kernel/qeventloop.cpp:200
#60 0xb7f350c6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#61 0xb6c64d53 in QApplication::exec () at kernel/qapplication.cpp:3304
#62 0x0807e4f5 in main (argc=-1079623868, argv=0x805a5c3)
    at /home/dario/myData/ArchPKG/kdemod4/work/kdebase-apps/src/kdebase-4.0.99/apps/dolphin/src/main.cpp:94
#0  0xb8049424 in __kernel_vsyscall ()
Comment 1 Peter Penz 2008-07-29 06:27:45 UTC

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