Bug 311809 - Dolphin crashes when trying to copy file and folder with sub-folder
Summary: Dolphin crashes when trying to copy file and folder with sub-folder
Status: RESOLVED DUPLICATE of bug 311246
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 2.1.85
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-16 22:57 UTC by William Linna
Modified: 2012-12-17 12:36 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description William Linna 2012-12-16 22:57:23 UTC
Application: dolphin (2.1.85)
KDE Platform Version: 4.9.90
Qt Version: 4.8.3
Operating System: Linux 3.5.0-19-generic x86_64
Distribution: Ubuntu 12.10

-- Information about the crash:
- What I was doing when the application crashed:
When select file and folder that has subfolder at the same time and then copy and paste them to 
any folder , Dolphin crashes. Dolphin didn't crash if the folder did not have subfolder. 

Here is a step-by-step guide for reproducing problem:
1. Open terminal and execute these commands: 
mkdir to
mkdir -p what/in
touch text

Step one can be done in graphical way too

2. Now open Dolphin, and go to directory where you created text:
First select "text"-file and then select "what"-directory an. Now open "to"-folder and paste. At this point Dolphin crashes.

Sometimes I have to delete everything inside "to"-folder and then paste again. 

Dolphin doesn't crash if I right click "to"-folder and then select paste option. I can do that as many times I want and it doesn't crash. Only when I open "to"-folder.

Folder and / or filenames seem to matter too. If you replace name 
"to" with "a",
 "what" with "b",
 "in" with "c" and
"text" with "f"

Then dolphin won't crash. It doesn't matter if you rename folders or create folders with those names.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f586b4b87c0 (LWP 8916))]

Thread 3 (Thread 0x7f584ecd9700 (LWP 8918)):
#0  pthread_mutex_unlock (mutex=0x7f5848000a90) at forward.c:184
#1  0x00007f586280ac61 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f58627cd60b in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f58627cdcab in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f58627cdea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f5866eacc16 in QEventDispatcherGlib::processEvents (this=0x7f58480008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f5866e7d2bf in QEventLoop::processEvents (this=this@entry=0x7f584ecd8cd0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f5866e7d548 in QEventLoop::exec (this=0x7f584ecd8cd0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f5866d7eb10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f5866e5d9af in QInotifyFileSystemWatcherEngine::run (this=0x1a584d0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f5866d81aec in QThreadPrivate::start (arg=0x1a584d0) at thread/qthread_unix.cpp:338
#11 0x00007f585a7812e4 in ?? () from /usr/lib/nvidia-experimental-310/libGL.so.1
#12 0x00007f5862c9ce9a in start_thread (arg=0x7f584ecd9700) at pthread_create.c:308
#13 0x00007f586ad7ecbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f584dd41700 (LWP 8919)):
#0  0x00007f586ad73303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f58627cdd84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f58627cdea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f5866eacc16 in QEventDispatcherGlib::processEvents (this=0x7f58400008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f5866e7d2bf in QEventLoop::processEvents (this=this@entry=0x7f584dd40cd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f5866e7d548 in QEventLoop::exec (this=0x7f584dd40cd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f5866d7eb10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f5866e5d9af in QInotifyFileSystemWatcherEngine::run (this=0x1d745e0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f5866d81aec in QThreadPrivate::start (arg=0x1d745e0) at thread/qthread_unix.cpp:338
#9  0x00007f585a7812e4 in ?? () from /usr/lib/nvidia-experimental-310/libGL.so.1
#10 0x00007f5862c9ce9a in start_thread (arg=0x7f584dd41700) at pthread_create.c:308
#11 0x00007f586ad7ecbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f586b4b87c0 (LWP 8916)):
[KCrash Handler]
#6  0x00007f5866dbec43 in QMutex::lockInline (this=0x2367a90) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:187
#7  0x00007f5866e31b38 in QMutexLocker (m=<optimized out>, this=0x7fff1c104740) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:109
#8  QUrl::path (this=0x7fff1c1047f0) at io/qurl.cpp:4937
#9  0x00007f58672ee81b in KUrl::path (this=this@entry=0x7fff1c1047f0, trailing=trailing@entry=KUrl::LeaveTrailingSlash) at ../../kdecore/io/kurl.cpp:880
#10 0x00007f58672ef6bd in KUrl::adjustPath (this=0x7fff1c1047f0, trailing=KUrl::RemoveTrailingSlash) at ../../kdecore/io/kurl.cpp:809
#11 0x00007f586a090d5a in KFileItemModel::index(KUrl const&) const () from /usr/lib/libdolphinprivate.so.4
#12 0x00007f586a0dc62c in DolphinView::updateViewState() () from /usr/lib/libdolphinprivate.so.4
#13 0x00007f586a0deb8f in ?? () from /usr/lib/libdolphinprivate.so.4
#14 0x00007f5866e9343e in QObject::event (this=0x27bdca0, e=<optimized out>) at kernel/qobject.cpp:1195
#15 0x00007f58678b00da in QWidget::event (this=0x27bdca0, event=0x264ecc0) at kernel/qwidget.cpp:8830
#16 0x00007f5867860e9c in QApplicationPrivate::notify_helper (this=this@entry=0x17da7b0, receiver=receiver@entry=0x27bdca0, e=e@entry=0x264ecc0) at kernel/qapplication.cpp:4562
#17 0x00007f586786530a in QApplication::notify (this=0x7fff1c1054d0, receiver=0x27bdca0, e=0x264ecc0) at kernel/qapplication.cpp:4423
#18 0x00007f58685693a6 in KApplication::notify (this=0x7fff1c1054d0, receiver=0x27bdca0, event=0x264ecc0) at ../../kdeui/kernel/kapplication.cpp:311
#19 0x00007f5866e7e56e in QCoreApplication::notifyInternal (this=0x7fff1c1054d0, receiver=receiver@entry=0x27bdca0, event=event@entry=0x264ecc0) at kernel/qcoreapplication.cpp:915
#20 0x00007f5866e823f1 in sendEvent (event=0x264ecc0, receiver=0x27bdca0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#21 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x179d2a0) at kernel/qcoreapplication.cpp:1539
#22 0x00007f5866eaca63 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#23 postEventSourceDispatch (s=0x17d1ca0) at kernel/qeventdispatcher_glib.cpp:279
#24 0x00007f58627cdab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f58627cdde8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f58627cdea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f5866eacbf6 in QEventDispatcherGlib::processEvents (this=0x179eb80, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#28 0x00007f5867905c1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#29 0x00007f5866e7d2bf in QEventLoop::processEvents (this=this@entry=0x7fff1c105390, flags=...) at kernel/qeventloop.cpp:149
#30 0x00007f5866e7d548 in QEventLoop::exec (this=0x7fff1c105390, flags=...) at kernel/qeventloop.cpp:204
#31 0x00007f5866e82708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#32 0x00007f586b099497 in kdemain () from /usr/lib/kde4/libkdeinit/libkdeinit4_dolphin.so
#33 0x00007f586acac76d in __libc_start_main (main=0x4006a0, argc=5, ubp_av=0x7fff1c105608, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff1c1055f8) at libc-start.c:226
#34 0x00000000004006d1 in _start ()

Reported using DrKonqi
Comment 1 William Linna 2012-12-16 23:07:44 UTC
I restarted my computer to test I could repeat the bug and I was able to do that after couple of tries.
Comment 2 Frank Reininghaus 2012-12-17 12:36:48 UTC
Thanks for the bug report! This has been fixed recently.

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