Bug 258368 - [steps] Dolphin crashes when moving a remote folder to a local folder in split view
Summary: [steps] Dolphin crashes when moving a remote folder to a local folder in spli...
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
: 240833 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-11-30 12:57 UTC by Michael Trunner
Modified: 2011-12-18 13:13 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.8.0


Attachments
New crash information added by DrKonqi (9.54 KB, text/plain)
2011-01-01 20:39 UTC, Thomas PIERSON
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Trunner 2010-11-30 12:57:59 UTC
Application: dolphin (1.5)
KDE Platform Version: 4.5.3 (KDE 4.5.3)
Qt Version: 4.7.1
Operating System: Linux 2.6.36-ARCH x86_64
Distribution: "Arch Linux"

-- Information about the crash:
- What I was doing when the application crashed:
Moving a folder on a fish remote host to a local folder in split view.
The right folder was the remote folder via fish.
The left side was the local directory.

Both side where in column mode

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (kdeinit4), signal: Segmentation fault
[KCrash Handler]
#6  0x00007fc0db5e5f0d in QCoreApplicationPrivate::sendThroughApplicationEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#7  0x00007fc0da792226 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#8  0x00007fc0da79703b in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#9  0x00007fc0dc32e226 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#10 0x00007fc0db5e5ebc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#11 0x00007fc0da81e0bd in ?? () from /usr/lib/libQtGui.so.4
#12 0x00007fc0da81ee99 in ?? () from /usr/lib/libQtGui.so.4
#13 0x00007fc0da81f789 in ?? () from /usr/lib/libQtGui.so.4
#14 0x00007fc0db5e5f8b in QCoreApplicationPrivate::sendThroughApplicationEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#15 0x00007fc0da792226 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#16 0x00007fc0da79764a in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#17 0x00007fc0dc32e226 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#18 0x00007fc0db5e5ebc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#19 0x00007fc0da7932b5 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#20 0x00007fc0da811968 in ?? () from /usr/lib/libQtGui.so.4
#21 0x00007fc0da810029 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#22 0x00007fc0da837592 in ?? () from /usr/lib/libQtGui.so.4
#23 0x00007fc0d7338bf3 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#24 0x00007fc0d73393d0 in ?? () from /usr/lib/libglib-2.0.so.0
#25 0x00007fc0d733966d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#26 0x00007fc0db610f4f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#27 0x00007fc0da83723e in ?? () from /usr/lib/libQtGui.so.4
#28 0x00007fc0db5e5252 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#29 0x00007fc0db5e549c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#30 0x00007fc0da81f48c in ?? () from /usr/lib/libQtGui.so.4
#31 0x00007fc0da7a4138 in QDrag::exec(QFlags<Qt::DropAction>, Qt::DropAction) () from /usr/lib/libQtGui.so.4
#32 0x00007fc0ccbbbfd5 in DragAndDropHelper::startDrag(QAbstractItemView*, QFlags<Qt::DropAction>, DolphinViewController*) () from /usr/lib/libdolphinprivate.so.4
#33 0x00007fc0ccba5194 in ?? () from /usr/lib/libdolphinprivate.so.4
#34 0x00007fc0daca6ea1 in QAbstractItemView::mouseMoveEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#35 0x00007fc0dacbbd11 in QListView::mouseMoveEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4
#36 0x00007fc0da7e39ac in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#37 0x00007fc0dab8da76 in QFrame::event(QEvent*) () from /usr/lib/libQtGui.so.4
#38 0x00007fc0dac9e523 in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/libQtGui.so.4
#39 0x00007fc0db5e6047 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#40 0x00007fc0da792281 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#41 0x00007fc0da79764a in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4
#42 0x00007fc0dc32e226 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5
#43 0x00007fc0db5e5ebc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4
#44 0x00007fc0da7932b5 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4
#45 0x00007fc0da811968 in ?? () from /usr/lib/libQtGui.so.4
#46 0x00007fc0da810029 in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4
#47 0x00007fc0da837592 in ?? () from /usr/lib/libQtGui.so.4
#48 0x00007fc0d7338bf3 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#49 0x00007fc0d73393d0 in ?? () from /usr/lib/libglib-2.0.so.0
#50 0x00007fc0d733966d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#51 0x00007fc0db610f4f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#52 0x00007fc0da83723e in ?? () from /usr/lib/libQtGui.so.4
#53 0x00007fc0db5e5252 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#54 0x00007fc0db5e549c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#55 0x00007fc0db5e999b in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#56 0x00007fc0cd5453c5 in kdemain () from /usr/lib/libkdeinit4_dolphin.so
#57 0x0000000000406ae3 in _start ()

Possible duplicates by query: bug 254117, bug 250197, bug 249583, bug 249143, bug 246539.

Reported using DrKonqi
Comment 1 Dario Andres 2010-12-14 16:27:40 UTC
[Comment from a bug triager]
- Does this happen with a similar situation but using both local folders ?
- Do you have desktop effects enabled ?
Thanks
Comment 2 Dario Andres 2010-12-14 17:21:54 UTC
[Comment from a bug triager]
Actually, this report could be merged with bug 233184 which trackes bugs with similar backtraces
Comment 3 Michael Trunner 2010-12-14 17:28:37 UTC
Yes, desktop effect are activated. But there is no problem when both folders are local. Dolphin crashes exactly in at the border between left and right when you use drag n' drop.
Comment 4 Dario Andres 2010-12-14 20:18:33 UTC
[Comment from a bug triager]
Thanks for the information.

I have managed to reproduce the crash.

Here using: KDE SC 4.5.4 / Qt 4.7.1 on ArchLinux 686 Kernel 2.6.36
xf86-video-ati 6.13.2
xorg-server 1.9.2

- Desktop effects enabled
- A local folder with some subfolder, with a file on it
- Dolphin settings file (dolphinrc) clean
- Dolphin View properties folders (~/.kde4/share/apps/dolphin/view_properties/) clean
(you may want to backup this data first)

- Start Dolphin 
It starts on Home folder, with Icon view mode
- Browse to ftp://ftp.kde.org/  (just used as a demo remote filesystem)
- Switch to the columns view
- Click on "pub"
"pub" opens on a second column
- Click on "kde"
"kde" opens on a third column

- Press "Split"
A new view is opened on the right, currently showing some of the ftp.kde.org folder
- Browse to a local folder which has a subfolder with a file inside it
- Switch to column view again
- Click on the subfolder
"subfolder" is opened on the second column

- Now, on the left view (which was showing ftp.kde.org), click on the empty space of the second column
(The column showing the "kde" folder as its unique item is now selected, its backtrace is white... the background of the other two columns is more gray)

- Drag the file inside the local subfolder (third column of the right view) and drag it (in straigh line) to the second column of the left view

Dolphin may crash.

You may need to repeat the situation.
You may need to move the mouse back to the right view (during the same drag-and-drop mouse movement I described)

This may be related to some bug with the column view: during my tests, when dragging a file between files, some of the views switched the location.
Example: dragging a local file in the right to a remote folder in the left... the left view changes automatically to to the same local path that contained the local files you intended to drag originally.

If this explanation is not good enough I can record a screencast.

Regards
Comment 5 Dario Andres 2010-12-14 21:18:31 UTC
[Comment from a bug triager]
I tried using Valgrind and I only could reproduce it one time (without Dolphin debug symbols), it mentioned something related to the deletion to a QListView related to the later crash... (so it may be related to the "automatic" path change on drag-and-drop I mentioned before)

I managed to reproduce the crash without desktop effects a couple of times.. however with effects its reproducibility rate is almost 100%
Comment 6 Dario Andres 2010-12-15 02:28:13 UTC
*** Bug 240833 has been marked as a duplicate of this bug. ***
Comment 7 Thomas PIERSON 2011-01-01 20:39:10 UTC
Created attachment 55451 [details]
New crash information added by DrKonqi

Hi,
Same issue for me, I attached a trace.
Regards,
Thomas PIERSON