Bug 233184

Summary: Dolphin crash while drag and drop [QCoreApplicationPrivate::sendThroughObjectEventFilters, QApplicationPrivate::notify_helper, ..., QDragManager::move]
Product: [Applications] dolphin Reporter: Luis Lain <luislain>
Component: generalAssignee: Peter Penz <peter.penz19>
Status: RESOLVED FIXED    
Severity: crash CC: adaptee, andresbajotierra, atlanx, bernard, bugs, henrik, jashank.jeremy, johannes.schwall, johnrdboer, kainonergon, karl_heinz, kbuntu.dev, leonardo.la.malfa, leonyd.b, lianqiw, linuxhippy, martin.schroeder78, neon_bikini, rickopper, rookcifer, sbrandt, stavros.tsigas, tcaswell, tuxfusion, wg3w
Priority: NOR    
Version: 1.6.1   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In: 4.8.0
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description Luis Lain 2010-04-03 19:20:41 UTC
Application: dolphin (1.4)
KDE Platform Version: 4.4.1 (KDE 4.4.1)
Qt Version: 4.6.2
Operating System: Linux 2.6.30.10-105.2.23.fc11.i686.PAE i686
Distribution: "Fedora release 11 (Leonidas)"

-- Information about the crash:
When drag and drop is done in column view, dolphin crashes.
Usually I drag from right column to left column.
Most of times I have an external source in right column (usb, sd card, ...) and hard drive in left column.

The crash can be reproduced some of the time.

 -- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
[KCrash Handler]
#6  0x06f83493 in QPointer<QObject>::operator QObject* (this=<value optimized out>) at ../../src/corelib/kernel/qpointer.h:78
#7  QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>) at kernel/qcoreapplication.cpp:812
#8  0x41853c29 in QApplicationPrivate::notify_helper (this=0xa0d2a68, receiver=0xa6ed970, e=0xbfd90fa0) at kernel/qapplication.cpp:4296
#9  0x4185adca in QApplication::notify (this=0xbfd933c4, receiver=0xa3e5b08, e=0xbfd90fa0) at kernel/qapplication.cpp:4108
#10 0x0727a48a in KApplication::notify (this=0xbfd933c4, receiver=0xa3e5b08, event=0xbfd90fa0) at /usr/src/debug/kdelibs-4.4.1/kdeui/kernel/kapplication.cpp:302
#11 0x06f8423b in QCoreApplication::notifyInternal (this=0xbfd933c4, receiver=0xa3e5b08, event=0xbfd90fa0) at kernel/qcoreapplication.cpp:704
#12 0x4186316e in QCoreApplication::sendEvent (receiver=0xa3e5b08, event=0xa) at ../../src/corelib/kernel/qcoreapplication.h:215
#13 0x418f44c0 in handle_xdnd_position(struct QWidget *, const XEvent *, bool) (w=<value optimized out>, xe=<value optimized out>, passive=false) at kernel/qdnd_x11.cpp:928
#14 0x418f5bbf in QDragManager::move (this=0xa634d90, globalPos=@0xbfd91718) at kernel/qdnd_x11.cpp:1643
#15 0x418f6037 in QDragManager::eventFilter (this=0xa634d90, o=0xa61dfd8, e=0xbfd91700) at kernel/qdnd_x11.cpp:1287
#16 0x06f8357c in QCoreApplicationPrivate::sendThroughApplicationEventFilters (this=0xa0d2a68, receiver=0xa61dfd8, event=0xbfd91700) at kernel/qcoreapplication.cpp:800
#17 0x41853bd3 in QApplicationPrivate::notify_helper (this=0xa0d2a68, receiver=0xa61dfd8, e=0xbfd91700) at kernel/qapplication.cpp:4275
#18 0x4185b282 in QApplication::notify (this=0xbfd933c4, receiver=0xa61dfd8, e=0xbfd91700) at kernel/qapplication.cpp:3865
#19 0x0727a48a in KApplication::notify (this=0xbfd933c4, receiver=0xa61dfd8, event=0xbfd91700) at /usr/src/debug/kdelibs-4.4.1/kdeui/kernel/kapplication.cpp:302
#20 0x06f8423b in QCoreApplication::notifyInternal (this=0xbfd933c4, receiver=0xa61dfd8, event=0xbfd91700) at kernel/qcoreapplication.cpp:704
#21 0x4185a1ef in QCoreApplication::sendEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:215
#22 QApplicationPrivate::sendMouseEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qapplication.cpp:2965
#23 0x418e5378 in QETWidget::translateMouseEvent (this=0xa61dfd8, event=0xbfd91c1c) at kernel/qapplication_x11.cpp:4373
#24 0x418e4859 in QApplication::x11ProcessEvent (this=0xbfd933c4, event=0xbfd91c1c) at kernel/qapplication_x11.cpp:3384
#25 0x41911f8a in x11EventSourceDispatch (s=0xa0d9da8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#26 0x00572308 in g_main_dispatch (context=<value optimized out>) at gmain.c:1824
#27 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2377
#28 0x005759e0 in g_main_context_iterate (context=0xa0d9090, block=<value optimized out>, dispatch=1, self=0xa0d54d0) at gmain.c:2455
#29 0x00575b13 in IA__g_main_context_iteration (context=0xa0d9090, may_block=1) at gmain.c:2518
#30 0x06faff25 in QEventDispatcherGlib::processEvents (this=0xa0b4888, flags={i = 36}) at kernel/qeventdispatcher_glib.cpp:412
#31 0x41911ab5 in QGuiEventDispatcherGlib::processEvents (this=0xa0b4888, flags={i = 36}) at kernel/qguieventdispatcher_glib.cpp:204
#32 0x06f82849 in QEventLoop::processEvents (this=0xa774b78, flags={i = 36}) at kernel/qeventloop.cpp:149
#33 0x06f82c9a in QEventLoop::exec (this=0xa774b78, flags={i = 0}) at kernel/qeventloop.cpp:201
#34 0x418f9148 in QDragManager::drag (this=0xa634d90, o=0xa74e3a0) at kernel/qdnd_x11.cpp:1960
#35 0x4186c2be in QDrag::exec (this=0xa74e3a0, supportedActions={i = 7}, defaultDropAction=Qt::IgnoreAction) at kernel/qdrag.cpp:282
#36 0x07840433 in DragAndDropHelper::startDrag(QAbstractItemView*, QFlags<Qt::DropAction>, DolphinController*) () from /usr/lib/libdolphinprivate.so.4
#37 0x07826c27 in ?? () from /usr/lib/libdolphinprivate.so.4
#38 0x41df685a in QAbstractItemView::mouseMoveEvent (this=0xa6f62b0, event=0xbfd92b10) at itemviews/qabstractitemview.cpp:1691
#39 0x41e0fc4a in QListView::mouseMoveEvent (this=0xa6f62b0, e=0xbfd92b10) at itemviews/qlistview.cpp:778
#40 0x418b1f92 in QWidget::event (this=0xa6f62b0, event=0xbfd92b10) at kernel/qwidget.cpp:7983
#41 0x41cac1b3 in QFrame::event (this=0xa6f62b0, e=0xbfd92b10) at widgets/qframe.cpp:557
#42 0x41d46582 in QAbstractScrollArea::viewportEvent (this=0x6, e=0xa) at widgets/qabstractscrollarea.cpp:1036
#43 0x41dfaccf in QAbstractItemView::viewportEvent (this=0xa6f62b0, event=0xbfd92b10) at itemviews/qabstractitemview.cpp:1610
#44 0x41d48e65 in QAbstractScrollAreaPrivate::viewportEvent (event=<value optimized out>, this=<value optimized out>) at widgets/qabstractscrollarea_p.h:100
#45 QAbstractScrollAreaFilter::eventFilter (event=<value optimized out>, this=<value optimized out>) at widgets/qabstractscrollarea_p.h:116
#46 0x06f834ba in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0xa0d2a68, receiver=0xa6a9ba8, event=0xbfd92b10) at kernel/qcoreapplication.cpp:819
#47 0x41853c29 in QApplicationPrivate::notify_helper (this=0xa0d2a68, receiver=0xa6a9ba8, e=0xbfd92b10) at kernel/qapplication.cpp:4296
#48 0x4185b282 in QApplication::notify (this=0xbfd933c4, receiver=0xa6a9ba8, e=0xbfd92b10) at kernel/qapplication.cpp:3865
#49 0x0727a48a in KApplication::notify (this=0xbfd933c4, receiver=0xa6a9ba8, event=0xbfd92b10) at /usr/src/debug/kdelibs-4.4.1/kdeui/kernel/kapplication.cpp:302
#50 0x06f8423b in QCoreApplication::notifyInternal (this=0xbfd933c4, receiver=0xa6a9ba8, event=0xbfd92b10) at kernel/qcoreapplication.cpp:704
#51 0x4185a1ef in QCoreApplication::sendEvent (event=<value optimized out>, receiver=<value optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:215
#52 QApplicationPrivate::sendMouseEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qapplication.cpp:2965
#53 0x418e5378 in QETWidget::translateMouseEvent (this=0xa43afb8, event=0xbfd9302c) at kernel/qapplication_x11.cpp:4373
#54 0x418e4859 in QApplication::x11ProcessEvent (this=0xbfd933c4, event=0xbfd9302c) at kernel/qapplication_x11.cpp:3384
#55 0x41911f8a in x11EventSourceDispatch (s=0xa0d9da8, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#56 0x00572308 in g_main_dispatch (context=<value optimized out>) at gmain.c:1824
#57 IA__g_main_context_dispatch (context=<value optimized out>) at gmain.c:2377
#58 0x005759e0 in g_main_context_iterate (context=0xa0d9090, block=<value optimized out>, dispatch=1, self=0xa0d54d0) at gmain.c:2455
#59 0x00575b13 in IA__g_main_context_iteration (context=0xa0d9090, may_block=1) at gmain.c:2518
#60 0x06faff25 in QEventDispatcherGlib::processEvents (this=0xa0b4888, flags={i = 36}) at kernel/qeventdispatcher_glib.cpp:412
#61 0x41911ab5 in QGuiEventDispatcherGlib::processEvents (this=0xa0b4888, flags={i = 36}) at kernel/qguieventdispatcher_glib.cpp:204
#62 0x06f82849 in QEventLoop::processEvents (this=0xbfd93324, flags={i = 36}) at kernel/qeventloop.cpp:149
#63 0x06f82c9a in QEventLoop::exec (this=0xbfd93324, flags={i = 0}) at kernel/qeventloop.cpp:201
#64 0x06f8541f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#65 0x41853cf7 in QApplication::exec () at kernel/qapplication.cpp:3579
#66 0x0807935f in _start ()

Reported using DrKonqi
Comment 1 Luis Lain 2010-04-13 19:13:41 UTC
*** Bug 230171 has been marked as a duplicate of this bug. ***
Comment 2 Luis Lain 2010-04-13 19:14:12 UTC
*** Bug 229716 has been marked as a duplicate of this bug. ***
Comment 3 Luis Lain 2010-04-25 17:54:07 UTC
*** Bug 235363 has been marked as a duplicate of this bug. ***
Comment 4 Peter Penz 2010-08-15 14:08:03 UTC
*** Bug 232970 has been marked as a duplicate of this bug. ***
Comment 5 Peter Penz 2010-09-17 15:22:22 UTC
*** Bug 249953 has been marked as a duplicate of this bug. ***
Comment 6 Dario Andres 2010-12-14 17:18:58 UTC
[Comment from a bug triager]
From bug 254117:
-- Information about the crash:
Dolphin crashed while dragging a PDF file from the site of its creation to my
copy of a web site.
I cannot help wondering whether this is in fact related to the ongoing problem
I have with my hdd. Defined as sda1, my hdd is a 2-TB Western Digital one which
has never just "come up" as the old one always did. Instead, this one seems to
generate an error message every 0.8 seconds; one key change that this induces
the system to make is that every time, it says it's limiting the access speed
to 1.5 Gb/sec.
Comment 7 Dario Andres 2010-12-14 17:20:01 UTC
*** Bug 254117 has been marked as a duplicate of this bug. ***
Comment 8 Dario Andres 2010-12-14 17:21:15 UTC
[Comment from a bug triager]
From bug 235891:
What I was doing when the application crashed:
i tried to copy multiple files between one konqueror window showing a directory
 via smb:// on my phone an another konqeror showing my home directory by using
"drag and drop". after submitting the copy job via context menu "copy here..."
(or in german "An diese Stelle kopieren" the copy process/job seemed to start,
but then konqueror crashed with a seg fault
Comment 9 Dario Andres 2010-12-14 17:21:19 UTC
*** Bug 235891 has been marked as a duplicate of this bug. ***
Comment 10 Klaus Kleber 2011-01-15 22:50:15 UTC
Created attachment 56060 [details]
New crash information added by DrKonqi

dolphin (1.5) on KDE Platform 4.5.3 (KDE 4.5.3) using Qt 4.7.0

- What I was doing when the application crashed:

In the column-view I copied a file (by drag and drop) from the right column to the left column (the folder one level higher in the hierarchy).
Dolphin crashed directly after I released the mouse button in the higher folder. This was not producable.

-- Backtrace (Reduced):
#7  QCoreApplication::postEvent (receiver=0x9ea8f40, event=0x9fe06b8, priority=0) at kernel/qcoreapplication.cpp:1133
#8  0x015dbf6c in QCoreApplication::postEvent (receiver=0x9ea8f40, event=0x9fe06b8) at kernel/qcoreapplication.cpp:1094
#9  0x015ea6e4 in QObject::deleteLater (this=0x9ea8f40) at kernel/qobject.cpp:2131
#10 0x050de4ec in QX11Data::xdndHandleFinished (this=0x9ae6a90, xe=0xbfb83bdc, passive=false) at kernel/qdnd_x11.cpp:1254
#11 0x050b8e56 in QApplication::x11ClientMessage (this=0xbfb83f80, w=0x9d62a50, event=0xbfb83bdc, passive_only=false) at kernel/qapplication_x11.cpp:3107
Comment 11 FiNeX 2011-08-24 12:40:01 UTC
*** Bug 273842 has been marked as a duplicate of this bug. ***
Comment 12 FiNeX 2011-08-24 12:40:06 UTC
*** Bug 274350 has been marked as a duplicate of this bug. ***
Comment 13 FiNeX 2011-08-24 12:40:10 UTC
*** Bug 277520 has been marked as a duplicate of this bug. ***
Comment 14 FiNeX 2011-08-24 12:40:15 UTC
*** Bug 280574 has been marked as a duplicate of this bug. ***
Comment 15 FiNeX 2011-08-24 12:40:30 UTC
*** Bug 273833 has been marked as a duplicate of this bug. ***
Comment 16 FiNeX 2011-08-24 12:44:46 UTC
*** Bug 273354 has been marked as a duplicate of this bug. ***
Comment 17 FiNeX 2011-08-24 12:44:50 UTC
*** Bug 269984 has been marked as a duplicate of this bug. ***
Comment 18 FiNeX 2011-08-24 12:44:54 UTC
*** Bug 268306 has been marked as a duplicate of this bug. ***
Comment 19 FiNeX 2011-08-24 12:44:56 UTC
*** Bug 267066 has been marked as a duplicate of this bug. ***
Comment 20 FiNeX 2011-08-24 12:44:57 UTC
*** Bug 263106 has been marked as a duplicate of this bug. ***
Comment 21 FiNeX 2011-08-24 12:45:00 UTC
*** Bug 262195 has been marked as a duplicate of this bug. ***
Comment 22 xtian 2011-08-31 21:35:15 UTC
Created attachment 63273 [details]
New crash information added by DrKonqi

dolphin (1.6.1) on KDE Platform 4.6.5 (4.6.5) using Qt 4.7.3

- What I was doing when the application crashed:
this version of Dolphin is installed on Fedora 15/Xfce
The crash occured when dragging and dropping between split folders on the same HD and same partition in column view

-- Backtrace (Reduced):
#7  0x46767713 in QCoreApplicationPrivate::sendThroughApplicationEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#8  0x46ccb3db in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#9  0x46cd1247 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#10 0x478358c2 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#11 0x467676be in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
Comment 23 Leonardo La Malfa 2011-11-06 14:57:39 UTC
Created attachment 65296 [details]
New crash information added by DrKonqi

dolphin (1.7) on KDE Platform 4.7.2 (4.7.2) using Qt 4.7.4

- What I was doing when the application crashed:

I was dragging a folder from Dolphin to Amarok playlist when Dolphin crashed before reaching the latter.

-- Backtrace (Reduced):
#6  QDragManager::move (this=0x22fb130, globalPos=...) at kernel/qdnd_x11.cpp:1608
#7  0x00007f85b3c24f09 in QDragManager::eventFilter (this=0x22fb130, o=<optimized out>, e=<optimized out>) at kernel/qdnd_x11.cpp:1306
#8  0x00007f85b3195bcc in QCoreApplicationPrivate::sendThroughApplicationEventFilters (this=0x17738a0, receiver=0x3108120, event=0x7fff6a45e740) at kernel/qcoreapplication.cpp:883
#9  0x00007f85b3b96396 in QApplicationPrivate::notify_helper (this=0x17738a0, receiver=0x3108120, e=0x7fff6a45e740) at kernel/qapplication.cpp:4461
#10 0x00007f85b3b9bc6b in QApplication::notify (this=<optimized out>, receiver=0x3108120, e=0x7fff6a45e740) at kernel/qapplication.cpp:4047
Comment 24 Jekyll Wu 2011-12-04 18:52:42 UTC
*** Bug 273502 has been marked as a duplicate of this bug. ***
Comment 25 Jekyll Wu 2011-12-04 19:11:41 UTC
[from bug 281972]

- What I was doing when the application crashed:

I dragged some files from the right panel to the left panel. Both panels were
in column view and they had more than one column open (subfolders were open) .
At the very moment mouse pointer crossed the line between panels, Dolphin
crashed. If I do exactly the same it always repeats. But if I do something like
this (not exactly) it is not always reproduced. I tryed it many times and
discovered that if panels are not in column view there is no crash. If they are
in column view but only one column is shown there is no crash. If I drag files
not across the line between panels (e.g. out of the window, then move around it
and drag them in from the other side) there is no crash. If I drag files very
fast, there is no crash. If I drag files very slow, there is no crash.
Also I noticed, that sometimes there is no crush but there is unexpected change
of folder (when I drag files to the other panel it opens the folder selected in
the panel from which I drag the files) .

I think something is wrong when colums are automatically scrolled from the left
to the right. If I move mouse fast, scrolling has not yet started. If I move
mouse slow, scrolling has alredy finished when pointer is crossing the middle
line. If I move mouse around the window, there is no scrolling. If I drag files
from the left to the right, there is no scrolling. If only one column is shown,
there is no scrolling. So I suppose that crush occurs only when there is
scrolling of colums and at the same time dragged files are moved from one panel
to the other.
Comment 26 Jekyll Wu 2011-12-04 19:13:16 UTC
*** Bug 281972 has been marked as a duplicate of this bug. ***
Comment 27 Myriam Schweingruber 2011-12-12 08:38:51 UTC
*** Bug 288321 has been marked as a duplicate of this bug. ***
Comment 28 Myriam Schweingruber 2011-12-12 08:39:23 UTC
Confirmed by duplicates
Comment 29 Myriam Schweingruber 2011-12-12 08:40:07 UTC
*** Bug 272843 has been marked as a duplicate of this bug. ***
Comment 30 Myriam Schweingruber 2011-12-12 08:40:47 UTC
*** Bug 281873 has been marked as a duplicate of this bug. ***
Comment 31 Myriam Schweingruber 2011-12-12 09:35:03 UTC
*** Bug 288497 has been marked as a duplicate of this bug. ***
Comment 32 Clemens Eisserer 2011-12-17 22:14:03 UTC
please point me to the commit, which fixed this bug.
Comment 33 Peter Penz 2011-12-17 22:43:19 UTC
> please point me to the commit, which fixed this bug.

It is not a single commit but several commits related to the new view-engine starting with this one: 15cceaefe7a2db81486116af0206c629b0a3a0fe

If you still face a crash with the new view engine please reopen this report (at least I could not reproduce a single crash with drag & drop during the last months with the new view-engine). Thanks!