Bug 166132 - dolphin crashes when merging contents of folders and skip was chosen
Summary: dolphin crashes when merging contents of folders and skip was chosen
Status: RESOLVED DUPLICATE of bug 157601
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
: 157963 165865 169098 169332 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-07-09 14:22 UTC by Bohan
Modified: 2008-10-19 11:23 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
backtrace (4.92 KB, text/plain)
2008-07-09 14:22 UTC, Bohan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bohan 2008-07-09 14:22:14 UTC
Version:           1.0.99 (using 4.00.84 (KDE 4.0.84 (KDE 4.1 >= 20080625) "release 1.3", KDE:KDE4:Factory:Desktop / openSUSE_11.0)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.25.5-1.1-default

Tried to paste the contents of one folder into another. There was one file with the same name. When the merge dialog cam up, I chose 'Skip' and dolphin crashes with signal 11.
Comment 1 Bohan 2008-07-09 14:22:55 UTC
Created attachment 25987 [details]
backtrace
Comment 2 Christophe Marin 2008-07-09 23:33:22 UTC
Please paste backtraces in the description, this makes finding duplicates easier for us.

[KCrash handler]
#5  QUrl::operator= (this=0xfa81a0, url=@0x20e00020200001df)
    at io/qurl.cpp:5597
#6  0x00007f4c526259b9 in KUrl::operator= (this=0xfa81a0, 
    _u=@0x20e00020200001df)
    at /usr/src/debug/kdelibs-4.0.84/kdecore/io/kurl.cpp:517
#7  0x00007f4c536f53ae in KIO::CopyJobPrivate::statCurrentSrc (this=0xfa8050)
    at /usr/src/debug/kdelibs-4.0.84/kio/kio/copyjob.cpp:609
#8  0x00007f4c536f670b in KIO::CopyJobPrivate::slotResultRenaming (
    this=0xfa8050, job=0xfadf70)
    at /usr/src/debug/kdelibs-4.0.84/kio/kio/copyjob.cpp:1733
#9  0x00007f4c536f7da4 in KIO::CopyJob::qt_metacall (this=0xf94950, 
    _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, 
    _a=0x7fff5c174910)
    at /usr/src/debug/kdelibs-4.0.84/build/kio/copyjob.moc:114
#10 0x00007f4c520074e0 in QMetaObject::activate (sender=0xfadf70, 
    from_signal_index=<value optimized out>, to_signal_index=7, argv=0xf3cd68)
    at kernel/qobject.cpp:3007
#11 0x00007f4c5262fe52 in KJob::result (this=0xfa81a0, _t1=0xfadf70)
    at /usr/src/debug/kdelibs-4.0.84/build/kdecore/kjob.moc:186
#12 0x00007f4c526301c7 in KJob::emitResult (this=0xfadf70)
    at /usr/src/debug/kdelibs-4.0.84/kdecore/jobs/kjob.cpp:290
#13 0x00007f4c5371aac0 in KIO::SimpleJob::slotFinished (this=0xfadf70)
    at /usr/src/debug/kdelibs-4.0.84/kio/kio/job.cpp:496
#14 0x00007f4c53718547 in KIO::SimpleJob::slotError (this=0xfadf70, 
    err=<value optimized out>, errorText=@0x7fff5c174d70)
    at /usr/src/debug/kdelibs-4.0.84/kio/kio/job.cpp:508
#15 0x00007f4c53718742 in KIO::SimpleJob::qt_metacall (this=0xfadf70, 
    _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, 
    _a=0x7fff5c174bb0)
    at /usr/src/debug/kdelibs-4.0.84/build/kio/jobclasses.moc:155
#16 0x00007f4c520074e0 in QMetaObject::activate (sender=0xd587f0, 
    from_signal_index=<value optimized out>, to_signal_index=6, argv=0xf3cd68)
    at kernel/qobject.cpp:3007
#17 0x00007f4c537bb456 in KIO::SlaveInterface::error (this=0xfa81a0, _t1=112, 
    _t2=<value optimized out>)
    at /usr/src/debug/kdelibs-4.0.84/build/kio/slaveinterface.moc:149
#18 0x00007f4c537bdbd4 in KIO::SlaveInterface::dispatch (this=0xd587f0, 
    _cmd=102, rawdata=<value optimized out>)
    at /usr/src/debug/kdelibs-4.0.84/kio/kio/slaveinterface.cpp:212
#19 0x00007f4c537bba92 in KIO::SlaveInterface::dispatch (this=0xd587f0)
    at /usr/src/debug/kdelibs-4.0.84/kio/kio/slaveinterface.cpp:90
#20 0x00007f4c537af2ce in KIO::Slave::gotInput (this=0xd587f0)
    at /usr/src/debug/kdelibs-4.0.84/kio/kio/slave.cpp:319
#21 0x00007f4c537af5d8 in KIO::Slave::qt_metacall (this=0xd587f0, 
    _c=QMetaObject::InvokeMetaMethod, _id=15983280, _a=0x7fff5c174f00)
    at /usr/src/debug/kdelibs-4.0.84/build/kio/slave.moc:75
#22 0x00007f4c520074e0 in QMetaObject::activate (sender=0xd59040, 
    from_signal_index=<value optimized out>, to_signal_index=4, argv=0xf3cd68)
    at kernel/qobject.cpp:3007
#23 0x00007f4c536ef881 in KIO::ConnectionPrivate::dequeue (this=0xd56fd0)
    at /usr/src/debug/kdelibs-4.0.84/kio/kio/connection.cpp:82
#24 0x00007f4c536eff2a in KIO::Connection::qt_metacall (this=0xd59040, 
    _c=QMetaObject::InvokeMetaMethod, _id=15983280, _a=0xe796b0)
    at /usr/src/debug/kdelibs-4.0.84/build/kio/connection.moc:72
#25 0x00007f4c520039ce in QObject::event (this=0xd59040, e=0xdc6c50)
    at kernel/qobject.cpp:1137
#26 0x00007f4c4edb292d in QApplicationPrivate::notify_helper (this=0x68dc70, 
    receiver=0xd59040, e=0xdc6c50) at kernel/qapplication.cpp:3772
#27 0x00007f4c4edb8cfa in QApplication::notify (this=0x7fff5c175b80, 
    receiver=0xd59040, e=0xdc6c50) at kernel/qapplication.cpp:3739
#28 0x00007f4c5327d19b in KApplication::notify (this=0x7fff5c175b80, 
    receiver=0xd59040, event=0xdc6c50)
    at /usr/src/debug/kdelibs-4.0.84/kdeui/kernel/kapplication.cpp:311
#29 0x00007f4c51ff5e9c in QCoreApplication::notifyInternal (
    this=0x7fff5c175b80, receiver=0xd59040, event=0xdc6c50)
    at kernel/qcoreapplication.cpp:583
#30 0x00007f4c51ff67cb in QCoreApplicationPrivate::sendPostedEvents (
    receiver=0x0, event_type=0, data=0x66dd80) at kernel/qcoreapplication.h:215
#31 0x00007f4c4ee33277 in QEventDispatcherX11::processEvents (this=0x681350, 
    flags={i = 1545034368})
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#32 0x00007f4c51ff47f2 in QEventLoop::processEvents (
    this=<value optimized out>, flags={i = 1545034416})
    at kernel/qeventloop.cpp:149
#33 0x00007f4c51ff4985 in QEventLoop::exec (this=0x7fff5c175af0, flags=
      {i = 1545034496}) at kernel/qeventloop.cpp:196
#34 0x00007f4c51ff6a25 in QCoreApplication::exec ()
    at kernel/qcoreapplication.cpp:845
#35 0x00000000004402fd in main (argc=6, argv=0x7fff5c176068)
    at /usr/src/debug/kdebase-4.0.84/apps/dolphin/src/main.cpp:94
#0  0x00007f4c4d296261 in nanosleep () from /lib64/libc.so.6
Comment 3 Peter Penz 2008-07-10 07:56:07 UTC
*** Bug 157963 has been marked as a duplicate of this bug. ***
Comment 4 Dario Andres 2008-07-25 01:55:56 UTC
I think this is related to: http://bugs.kde.org/show_bug.cgi?id=157601#c9
Comment 5 Dario Andres 2008-07-30 19:41:59 UTC
Extract of: http://bugs.kde.org/show_bug.cgi?id=157601#c9
::

I think I have some related problem.
Using Dolphin 1.1 in KDE 4.0.99 (RC1+) in ArchLinux

This is the situation:
I have two folders "A" and "B"
A:
  anotherfile
  image.jpg
B:
  image.jpg

In the "A" folder I select the two files and drag&drop into folder "B" (drop the files to Dolphin TreeView Panel), and I select "Move here..."

A dialog appears: The "image.jpg" file already exists. (It shows the two images). If I press "SKIP" Dolphin crashes

This doesn't happen if I select "Copy Here..." instead of "Move here.." or if I select "Overwrite" instead of "Skip"

If I only move 1 file (the image.jpg), another dialog is displayed (it suggest other name , but not the "Skip" option); and Dolphin doesn't crash

My backtrace seems to be exactly like the Michal one (#8):

plicación: Dolphin (dolphin), señal SIGSEGV
[Thread debugging using libthread_db enabled]
[New Thread 0xb60bb700 (LWP 3501)]
[KCrash handler]
#6  0xb75a64bf in QUrl::operator= () from /usr/lib/libQtCore.so.4
#7  0xb77f8fa6 in KUrl::operator= () from /opt/kdemod/lib/libkdecore.so.5
#8  0xb7dec71d in KIO::CopyJobPrivate::statCurrentSrc ()
   from /opt/kdemod/lib/libkio.so.5
#9  0xb7ded47e in KIO::CopyJobPrivate::slotResultRenaming ()
   from /opt/kdemod/lib/libkio.so.5
#10 0xb7def504 in KIO::CopyJob::qt_metacall ()
   from /opt/kdemod/lib/libkio.so.5
#11 0xb7606a24 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#12 0xb760779a in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#13 0xb78030e2 in KJob::result () from /opt/kdemod/lib/libkdecore.so.5
#14 0xb78034f9 in KJob::emitResult () from /opt/kdemod/lib/libkdecore.so.5
#15 0xb7e12f4b in KIO::SimpleJob::slotFinished ()
   from /opt/kdemod/lib/libkio.so.5
#16 0xb7e1175c in KIO::SimpleJob::qt_metacall ()
   from /opt/kdemod/lib/libkio.so.5
#17 0xb7606a24 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#18 0xb760779a in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#19 0xb7eb7774 in KIO::SlaveInterface::finished ()
   from /opt/kdemod/lib/libkio.so.5
#20 0xb7eba412 in KIO::SlaveInterface::dispatch ()
   from /opt/kdemod/lib/libkio.so.5
#21 0xb7eb7d06 in KIO::SlaveInterface::dispatch ()
   from /opt/kdemod/lib/libkio.so.5
#22 0xb7eab239 in KIO::Slave::gotInput () from /opt/kdemod/lib/libkio.so.5
#23 0xb7eab565 in KIO::Slave::qt_metacall () from /opt/kdemod/lib/libkio.so.5
#24 0xb7606a24 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#25 0xb760779a in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#26 0xb7de50a8 in KIO::Connection::readyRead ()
   from /opt/kdemod/lib/libkio.so.5
#27 0xb7de6873 in KIO::ConnectionPrivate::dequeue ()
   from /opt/kdemod/lib/libkio.so.5
#28 0xb7de6e2d in KIO::Connection::qt_metacall ()
   from /opt/kdemod/lib/libkio.so.5
#29 0xb7600434 in QMetaCallEvent::placeMetaCall ()
   from /usr/lib/libQtCore.so.4
#30 0xb7601d84 in QObject::event () from /usr/lib/libQtCore.so.4
#31 0xb69111a0 in QApplicationPrivate::notify_helper ()
   from /usr/lib/libQtGui.so.4
#32 0xb6918aad in QApplication::notify () from /usr/lib/libQtGui.so.4
#33 0xb7be9784 in KApplication::notify () from /opt/kdemod/lib/libkdeui.so.5
#34 0xb75f33bd in QCoreApplication::notifyInternal ()
   from /usr/lib/libQtCore.so.4
#35 0xb75f3ec5 in QCoreApplicationPrivate::sendPostedEvents ()
   from /usr/lib/libQtCore.so.4
#36 0xb75f40df in QCoreApplication::sendPostedEvents ()
   from /usr/lib/libQtCore.so.4
#37 0xb761bb6e in ?? () from /usr/lib/libQtCore.so.4
#38 0xb62d80e8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#39 0xb62db783 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#40 0xb62db941 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#41 0xb761b7f9 in QEventDispatcherGlib::processEvents ()
   from /usr/lib/libQtCore.so.4
#42 0xb69a1fc9 in ?? () from /usr/lib/libQtGui.so.4
#43 0xb75f1d0c in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#44 0xb75f1ec5 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#45 0xb75f4186 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#46 0xb691105b in QApplication::exec () from /usr/lib/libQtGui.so.4
#47 0x0808204d in main ()
#0  0xb801d424 in __kernel_vsyscall ()

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

I can still reproduce this bug in KDE4.1 final (KdeMod) in ArchLinux i686
Comment 6 George Kiagiadakis 2008-08-14 22:48:54 UTC
*** Bug 169098 has been marked as a duplicate of this bug. ***
Comment 7 Jithin Emmanuel 2008-08-16 07:56:51 UTC
I have the same issue with fedora 9 kde 4.1
Comment 8 Bram Schoenmakers 2008-08-18 09:24:12 UTC
*** Bug 165865 has been marked as a duplicate of this bug. ***
Comment 9 Bram Schoenmakers 2008-08-18 09:24:26 UTC
*** Bug 169332 has been marked as a duplicate of this bug. ***
Comment 10 Dario Andres 2008-08-19 18:00:55 UTC
I can no longer reproduce the bug with:
Version 4.1.62 (KDE 4.1.62 (KDE 4.2 >= 20080814))
kdelibs4.2 svn rev.849324
kdebase4.2 svn rev.849337
ArchLinux 2.6.25-zen2-20080814 i686 

It would be fixed with http://websvn.kde.org/?view=rev&revision=845067 (bug 157601. comment 9 svn commit)
Comment 11 Jithin Emmanuel 2008-09-15 11:50:44 UTC
Is this fix included with kde 4.1.1?
Comment 12 Frank Reininghaus 2008-10-18 23:03:16 UTC
I agree with Darío (comment 10), this seems to be exactly what was fixed in that commit. Comment 11: Fix is included in KDE 4.1.1 and later.

*** This bug has been marked as a duplicate of bug 157601 ***
Comment 13 Jithin Emmanuel 2008-10-19 04:42:02 UTC
Have you guys taken away the ability to merge directories with dolphin?
Comment 14 Frank Reininghaus 2008-10-19 11:23:47 UTC
(In reply to comment #13)
> Have you guys taken away the ability to merge directories with dolphin?

No. I've just verified again that merging directories (by pasting the copied contents of the first dir into the second dir) works fine for me with 4.1.2 (Kubuntu) and trunk rev. 873100. If you have any problems merging directories, please file a new bug report and describe exactly what goes wrong. Thanks!