Bug 266491 - Dolphin crashes when drag and dropping between columns - Split view
Summary: Dolphin crashes when drag and dropping between columns - Split view
Status: RESOLVED WORKSFORME
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-16 22:40 UTC by Ben Gouhier
Modified: 2018-03-08 19:59 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (9.50 KB, text/plain)
2011-03-08 23:00 UTC, Vladislav Blanton
Details
New crash information added by DrKonqi (11.25 KB, text/plain)
2011-05-05 21:19 UTC, hermes37
Details
New crash information added by DrKonqi (10.34 KB, text/plain)
2011-05-29 12:59 UTC, Edward Oubrayrie
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ben Gouhier 2011-02-16 22:40:48 UTC
Application: dolphin (1.6)
KDE Platform Version: 4.6.00 (4.6.0)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-25-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:
     - Using split view in dolphin (right panel: a local folder, left panel: a folder on usb disk)
     - Both panels were using column layout
     - Dolphin crashed when dragging one folder form the right panel to the left one (it actually crashes as soon as the cursor overlaps the left panel)

Can be reproduced almost everytime. It only happen when dragging fast. 

kde 4.6.0, kubuntu 10.10 with kubuntu-backports ppa

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
[Current thread is 1 (Thread 0xb78c5710 (LWP 29587))]

Thread 3 (Thread 0xb5758b70 (LWP 29589)):
#0  0x079a8e36 in clock_gettime () from /lib/librt.so.1
#1  0x0642c50b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0x065036e5 in QTimerInfoList::updateCurrentTime (this=0xb4e01a34) at kernel/qeventdispatcher_unix.cpp:339
#4  0x0650372a in QTimerInfoList::timerWait (this=0xb4e01a34, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x065017a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb57580bc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x0650183d in timerSourcePrepare (source=0x0, timeout=0x79acff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0x077e2e6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0x077e3279 in ?? () from /lib/libglib-2.0.so.0
#9  0x077e3848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0x0650159f in QEventDispatcherGlib::processEvents (this=0xb4e00468, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0x064d1609 in QEventLoop::processEvents (this=0xb5758290, flags=) at kernel/qeventloop.cpp:149
#12 0x064d1a8a in QEventLoop::exec (this=0xb5758290, flags=...) at kernel/qeventloop.cpp:201
#13 0x063cdb7e in QThread::exec (this=0x89b1fa8) at thread/qthread.cpp:490
#14 0x064b035b in QInotifyFileSystemWatcherEngine::run (this=0x89b1fa8) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x063d0df9 in QThreadPrivate::start (arg=0x89b1fa8) at thread/qthread_unix.cpp:266
#16 0x00c21cc9 in start_thread () from /lib/libpthread.so.0
#17 0x00a9869e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb3b82b70 (LWP 29594)):
#0  0x00c257d4 in __pthread_mutex_unlock_usercnt () from /lib/libpthread.so.0
#1  0x00aa5fa6 in pthread_mutex_unlock () from /lib/libc.so.6
#2  0x077e2b34 in g_main_context_check () from /lib/libglib-2.0.so.0
#3  0x077e345e in ?? () from /lib/libglib-2.0.so.0
#4  0x077e3848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x0650159f in QEventDispatcherGlib::processEvents (this=0x8ca9db0, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#6  0x064d1609 in QEventLoop::processEvents (this=0xb3b82290, flags=) at kernel/qeventloop.cpp:149
#7  0x064d1a8a in QEventLoop::exec (this=0xb3b82290, flags=...) at kernel/qeventloop.cpp:201
#8  0x063cdb7e in QThread::exec (this=0x8c5fb28) at thread/qthread.cpp:490
#9  0x064b035b in QInotifyFileSystemWatcherEngine::run (this=0x8c5fb28) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x063d0df9 in QThreadPrivate::start (arg=0x8c5fb28) at thread/qthread_unix.cpp:266
#11 0x00c21cc9 in start_thread () from /lib/libpthread.so.0
#12 0x00a9869e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb78c5710 (LWP 29587)):
[KCrash Handler]
#7  0x064d2229 in size (this=0x8920ee0, receiver=0x9b71b68, event=0xbfe42a40) at ../../include/QtCore/../../src/corelib/tools/qlist.h:94
#8  size (this=0x8920ee0, receiver=0x9b71b68, event=0xbfe42a40) at ../../include/QtCore/../../src/corelib/tools/qlist.h:124
#9  QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8920ee0, receiver=0x9b71b68, event=0xbfe42a40) at kernel/qcoreapplication.cpp:839
#10 0x04aa4fb9 in QApplicationPrivate::notify_helper (this=0x8920ee0, receiver=0x9b71b68, e=0xbfe42a40) at kernel/qapplication.cpp:4392
#11 0x04aab51f in QApplication::notify (this=0xbfe44e50, receiver=0x9a8c388, e=0xbfe42a40) at kernel/qapplication.cpp:4202
#12 0x01197f7a in KApplication::notify (this=0xbfe44e50, receiver=0x9a8c388, event=0xbfe42a40) at ../../kdeui/kernel/kapplication.cpp:311
#13 0x064d2b3b in QCoreApplication::notifyInternal (this=0xbfe44e50, receiver=0x9a8c388, event=0xbfe42a40) at kernel/qcoreapplication.cpp:732
#14 0x04ab36ce in QCoreApplication::sendEvent (receiver=0x9a8c388, event=0x9b71b68) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#15 0x04b47617 in handle_xdnd_position (w=<value optimized out>, xe=<value optimized out>, passive=false) at kernel/qdnd_x11.cpp:929
#16 0x04b48cee in QDragManager::move (this=0x9e53230, globalPos=...) at kernel/qdnd_x11.cpp:1668
#17 0x04b4beff in QDragManager::eventFilter (this=0x9e53230, o=0x9df3b90, e=0xbfe431b0) at kernel/qdnd_x11.cpp:1306
#18 0x064d235c in QCoreApplicationPrivate::sendThroughApplicationEventFilters (this=0x8920ee0, receiver=0x9df3b90, event=0xbfe431b0) at kernel/qcoreapplication.cpp:828
#19 0x04aa4f63 in QApplicationPrivate::notify_helper (this=0x8920ee0, receiver=0x9df3b90, e=0xbfe431b0) at kernel/qapplication.cpp:4371
#20 0x04aabc2e in QApplication::notify (this=0xbfe44e50, receiver=0x9df3b90, e=0xbfe431b0) at kernel/qapplication.cpp:3959
#21 0x01197f7a in KApplication::notify (this=0xbfe44e50, receiver=0x9df3b90, event=0xbfe431b0) at ../../kdeui/kernel/kapplication.cpp:311
#22 0x064d2b3b in QCoreApplication::notifyInternal (this=0xbfe44e50, receiver=0x9df3b90, event=0xbfe431b0) at kernel/qcoreapplication.cpp:732
#23 0x04aaa094 in sendEvent (receiver=0x9df3b90, event=0xbfe431b0, alienWidget=0x0, nativeWidget=0x9df3b90, buttonDown=0x543f3c0, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#24 QApplicationPrivate::sendMouseEvent (receiver=0x9df3b90, event=0xbfe431b0, alienWidget=0x0, nativeWidget=0x9df3b90, buttonDown=0x543f3c0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3058
#25 0x04b38d10 in QETWidget::translateMouseEvent (this=0x9df3b90, event=0xbfe436cc) at kernel/qapplication_x11.cpp:4403
#26 0x04b38151 in QApplication::x11ProcessEvent (this=0xbfe44e50, event=0xbfe436cc) at kernel/qapplication_x11.cpp:3414
#27 0x04b6736a in x11EventSourceDispatch (s=0x8924c40, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#28 0x077df855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#29 0x077e3668 in ?? () from /lib/libglib-2.0.so.0
#30 0x077e3848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#31 0x06501565 in QEventDispatcherGlib::processEvents (this=0x8900b58, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#32 0x04b66be5 in QGuiEventDispatcherGlib::processEvents (this=0x8900b58, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x064d1609 in QEventLoop::processEvents (this=0x8c4df80, flags=) at kernel/qeventloop.cpp:149
#34 0x064d1a8a in QEventLoop::exec (this=0x8c4df80, flags=...) at kernel/qeventloop.cpp:201
#35 0x04b4c5f7 in QDragManager::drag (this=0x9e53230, o=0x9bca3f8) at kernel/qdnd_x11.cpp:1981
#36 0x04abcd4e in QDrag::exec (this=0x9bca3f8, supportedActions=..., defaultDropAction=Qt::IgnoreAction) at kernel/qdrag.cpp:284
#37 0x002a8e27 in DragAndDropHelper::startDrag(QAbstractItemView*, QFlags<Qt::DropAction>, DolphinViewController*) () from /usr/lib/libdolphinprivate.so.4
#38 0x00296a7d in ?? () from /usr/lib/libdolphinprivate.so.4
#39 0x0507933a in QAbstractItemView::mouseMoveEvent (this=0x9f0af98, event=0xbfe44590) at itemviews/qabstractitemview.cpp:1700
#40 0x002a18f4 in DolphinTreeView::mouseMoveEvent(QMouseEvent*) () from /usr/lib/libdolphinprivate.so.4
#41 0x04b02caa in QWidget::event (this=0x9f0af98, event=0xbfe44590) at kernel/qwidget.cpp:8172
#42 0x04f24763 in QFrame::event (this=0x9f0af98, e=0xbfe44590) at widgets/qframe.cpp:557
#43 0x04fc1a82 in QAbstractScrollArea::viewportEvent (this=0xe4, e=0x9b71b68) at widgets/qabstractscrollarea.cpp:1043
#44 0x0507e0f7 in QAbstractItemView::viewportEvent (this=0x9f0af98, event=0xbfe44590) at itemviews/qabstractitemview.cpp:1619
#45 0x050c0883 in QTreeView::viewportEvent (this=0x9f0af98, event=0xbfe44590) at itemviews/qtreeview.cpp:1256
#46 0x04fc44d5 in viewportEvent (this=0x957f538, o=0x9ab4ab8, e=0xbfe44590) at widgets/qabstractscrollarea_p.h:100
#47 QAbstractScrollAreaFilter::eventFilter (this=0x957f538, o=0x9ab4ab8, e=0xbfe44590) at widgets/qabstractscrollarea_p.h:116
#48 0x064d229a in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x8920ee0, receiver=0x9ab4ab8, event=0xbfe44590) at kernel/qcoreapplication.cpp:847
#49 0x04aa4fb9 in QApplicationPrivate::notify_helper (this=0x8920ee0, receiver=0x9ab4ab8, e=0xbfe44590) at kernel/qapplication.cpp:4392
#50 0x04aabc2e in QApplication::notify (this=0xbfe44e50, receiver=0x9ab4ab8, e=0xbfe44590) at kernel/qapplication.cpp:3959
#51 0x01197f7a in KApplication::notify (this=0xbfe44e50, receiver=0x9ab4ab8, event=0xbfe44590) at ../../kdeui/kernel/kapplication.cpp:311
#52 0x064d2b3b in QCoreApplication::notifyInternal (this=0xbfe44e50, receiver=0x9ab4ab8, event=0xbfe44590) at kernel/qcoreapplication.cpp:732
#53 0x04aaa094 in sendEvent (receiver=0x9ab4ab8, event=0xbfe44590, alienWidget=0x9ab4ab8, nativeWidget=0x9081020, buttonDown=0x543f3c0, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#54 QApplicationPrivate::sendMouseEvent (receiver=0x9ab4ab8, event=0xbfe44590, alienWidget=0x9ab4ab8, nativeWidget=0x9081020, buttonDown=0x543f3c0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3058
#55 0x04b38d10 in QETWidget::translateMouseEvent (this=0x9081020, event=0xbfe44aac) at kernel/qapplication_x11.cpp:4403
#56 0x04b38151 in QApplication::x11ProcessEvent (this=0xbfe44e50, event=0xbfe44aac) at kernel/qapplication_x11.cpp:3414
#57 0x04b6736a in x11EventSourceDispatch (s=0x8924c40, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#58 0x077df855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#59 0x077e3668 in ?? () from /lib/libglib-2.0.so.0
#60 0x077e3848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#61 0x06501565 in QEventDispatcherGlib::processEvents (this=0x8900b58, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#62 0x04b66be5 in QGuiEventDispatcherGlib::processEvents (this=0x8900b58, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#63 0x064d1609 in QEventLoop::processEvents (this=0xbfe44da4, flags=) at kernel/qeventloop.cpp:149
#64 0x064d1a8a in QEventLoop::exec (this=0xbfe44da4, flags=...) at kernel/qeventloop.cpp:201
#65 0x064d600f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#66 0x04aa3e07 in QApplication::exec () at kernel/qapplication.cpp:3672
#67 0x0014838b in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_dolphin.so
#68 0x080485ab in _start ()

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

Possible duplicates by query: bug 266396, bug 264563, bug 262199, bug 262195, bug 261329.

Reported using DrKonqi
Comment 1 Vladislav Blanton 2011-03-08 23:00:24 UTC
Created attachment 57782 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:

I had Split View on between an sftp connection (sftp://...) and a local folder. When draggin over 3 files (2 .doc's and 1 .odt) to the sftp folder dolphin crashed. I believe it crashed before I even released the mouse click.

- Custom settings of the application:
One side was in Column view while the other side was in icon view

-- Backtrace (Reduced):
#7  0x077d7229 in size (this=0x9aa9568, receiver=0xa078128, event=0xbfcc1c20) at ../../include/QtCore/../../src/corelib/tools/qlist.h:94
#8  size (this=0x9aa9568, receiver=0xa078128, event=0xbfcc1c20) at ../../include/QtCore/../../src/corelib/tools/qlist.h:124
#9  QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x9aa9568, receiver=0xa078128, event=0xbfcc1c20) at kernel/qcoreapplication.cpp:839
#10 0x03e0efb9 in QApplicationPrivate::notify_helper (this=0x9aa9568, receiver=0xa078128, e=0xbfcc1c20) at kernel/qapplication.cpp:4392
#11 0x03e1551f in QApplication::notify (this=0xbfcc3ff0, receiver=0xa931c40, e=0xbfcc1c20) at kernel/qapplication.cpp:4202
Comment 2 Peter Penz 2011-03-08 23:09:43 UTC
Thanks for the reports. Regarding:
> - Both panels were using column layout
and
> One side was in Column view while the other side was in icon view

Is it really "column view" (View -> View Mode -> Columns) or probably the "details view" (View -> View Mode -> Details)? I'm asking as I cannot reproduce the issue in my environment...
Comment 3 Ben Gouhier 2011-03-08 23:33:02 UTC
I'm sure it was with column view on both sides. I have to say a few times I couldn't reproduce it. I'll retry with 4.6.1
Comment 4 Vladislav Blanton 2011-03-08 23:38:19 UTC
Hmm, i just went ahead and tried it again. One side was definetely column view (the local folder) and the other was icon view.

At first, when i dragged from the right (column / local) to the left (icon / sftp connection to an AFS filesystem server[1]) the left side became a copy of the right. That is, just became the local column view in the exact same folder.  That is, perhaps, a seperate bug. However, then I click "back" with the left side highlighted to return to the sftp connection. I tried dragging over a file again from the right and I crashed.

This is generally reproducible. It seems that the column view needs to be at least 1 folder "in" (have at least one folder within another folder open)

Sometime I do not get as far as doing the whole "clicking "back"" and trying again before it crashes. The crash is immediate before unreleasing the mouse click.

1: http://en.wikipedia.org/wiki/Andrew_File_System
Comment 5 hermes37 2011-05-05 21:19:46 UTC
Created attachment 59663 [details]
New crash information added by DrKonqi

dolphin (1.6.1) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

- What I was doing when the application crashed:
Dolphin in slipped view, both with columns layout. Left panel was opened on a USB external disk (ntfs) and right panel on local mounted partition in ntfs too. I was dragging a folder from right panel to the left of the slipped view. Dolphin crashed as soon as my cursor goes over the destination folder (left panel).

- Custom settings of the application:
full path in location bar,  thumbnails enabled

-- Backtrace (Reduced):
#7  0x0149e1eb in size (this=0x97c9a68, receiver=0x9f5a138, event=0xbfdb7a80) at ../../include/QtCore/../../src/corelib/tools/qlist.h:94
#8  size (this=0x97c9a68, receiver=0x9f5a138, event=0xbfdb7a80) at ../../include/QtCore/../../src/corelib/tools/qlist.h:124
#9  QCoreApplicationPrivate::sendThroughObjectEventFilters (this=0x97c9a68, receiver=0x9f5a138, event=0xbfdb7a80) at kernel/qcoreapplication.cpp:838
#10 0x04cd4d00 in QApplicationPrivate::notify_helper (this=0x97c9a68, receiver=0x9f5a138, e=0xbfdb7a80) at kernel/qapplication.cpp:4458
#11 0x04cd9d35 in QApplication::notify (this=0xbfdb9e30, receiver=0x9f77fc0, e=0xbfdb7a80) at kernel/qapplication.cpp:4266
Comment 6 Edward Oubrayrie 2011-05-29 12:59:19 UTC
Created attachment 60432 [details]
New crash information added by DrKonqi

dolphin (1.6.1) on KDE Platform 4.6.2 (4.6.2) using Qt 4.7.2

Same here, it happened when dragging between the two panes of a Dolphin "Split" window, except both sides were inside an internal ntfs partition. It might be related too changing the view mode of the right pane to "Columns view" with the setting "Use common view properties for all folders" enabled, which makes the left pane  change mode too... I am not sure though, I didn't try to reproduce it.

-- Backtrace (Reduced):
#6  0x00007f6c8de845be in size (this=<value optimized out>, receiver=0x45ea9c0, event=0x7fff8f171610) at ../../include/QtCore/../../src/corelib/tools/qlist.h:94
#7  size (this=<value optimized out>, receiver=0x45ea9c0, event=0x7fff8f171610) at ../../include/QtCore/../../src/corelib/tools/qlist.h:124
#8  QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<value optimized out>, receiver=0x45ea9c0, event=0x7fff8f171610) at kernel/qcoreapplication.cpp:838
#9  0x00007f6c8e8439b1 in QApplicationPrivate::notify_helper (this=0xfe1ca0, receiver=0x45ea9c0, e=0x7fff8f171610) at kernel/qapplication.cpp:4458
#10 0x00007f6c8e848611 in QApplication::notify (this=<value optimized out>, receiver=<value optimized out>, e=0x7fff8f171610) at kernel/qapplication.cpp:4266
Comment 7 Piotr Keplicz 2011-06-06 20:43:04 UTC
Possible duplicate: bug 273833. I've just added another backtrace there, attachment 60708 [details].
Comment 8 Julian Steinmann 2018-03-08 19:59:31 UTC
This should be fixed as the new view-engine was introduced later on, which should fix this & all related bugs. I cannot reproduce with Dolphin 17.12.2 -> closing.