Bug 243716

Summary: Krusader 2.0.0 crash when moving files [KUrl::operator=, KIO::PreserveAttrCopyJob::statCurrentSrc, KIO::PreserveAttrCopyJob::slotResultRenaming]
Product: [Applications] krusader Reporter: Don <dweb98>
Component: generalAssignee: Shie Erlich <manson>
Status: RESOLVED FIXED    
Severity: crash CC: andresbajotierra, jan_lepper, roelof
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In: 2.4.0-beta1
Sentry Crash Report:

Description Don 2010-07-06 05:10:24 UTC
Application: krusader (2.0.0 "Mars Pathfinder")
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32.11-99.fc12.x86_64 x86_64
Distribution: "Fedora release 12 (Constantine)"

-- Information about the crash:
Krusader crash Fedora 12 64 bit. When hit auto skip during move operation and some files have an ~ in the beginning of the name. 

The crash can be reproduced some of the time.

 -- Backtrace:
Application: Krusader (krusader), signal: Segmentation fault
[KCrash Handler]
#5  0x0000003a0d51066e in QUrl::operator=(QUrl const&) () from /usr/lib64/libQtCore.so.4
#6  0x0000003a0e6e91f9 in KUrl::operator=(KUrl const&) () from /usr/lib64/libkdecore.so.5
#7  0x00000000005ac374 in KIO::PreserveAttrCopyJob::statCurrentSrc (this=0x18c20b0) at /usr/src/debug/krusader-2.0.0/krusader/VFS/preserveattrcopyjob.cpp:510
#8  0x00000000005ad4b2 in KIO::PreserveAttrCopyJob::slotResultRenaming (this=0x18c20b0, job=<value optimized out>) at /usr/src/debug/krusader-2.0.0/krusader/VFS/preserveattrcopyjob.cpp:1628
#9  0x00000000005ae6e7 in KIO::PreserveAttrCopyJob::qt_metacall (this=0x18c20b0, _c=InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff22b86ad0)
    at /usr/src/debug/krusader-2.0.0/x86_64-redhat-linux-gnu/krusader/VFS/preserveattrcopyjob.moc:118
#10 0x0000003a0d56a2af in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#11 0x0000003a0e6f3132 in KJob::result(KJob*) () from /usr/lib64/libkdecore.so.5
#12 0x0000003a0e6f33f0 in KJob::emitResult() () from /usr/lib64/libkdecore.so.5
#13 0x0000003a122ed273 in KIO::SimpleJob::slotFinished() () from /usr/lib64/libkio.so.5
#14 0x0000003a122ebf16 in KIO::SimpleJob::slotError(int, QString const&) () from /usr/lib64/libkio.so.5
#15 0x0000003a122ec058 in KIO::SimpleJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkio.so.5
#16 0x0000003a0d56a2af in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#17 0x0000003a1239e056 in KIO::SlaveInterface::error(int, QString const&) () from /usr/lib64/libkio.so.5
#18 0x0000003a123a0f3d in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /usr/lib64/libkio.so.5
#19 0x0000003a1239e2f3 in KIO::SlaveInterface::dispatch() () from /usr/lib64/libkio.so.5
#20 0x0000003a12393656 in KIO::Slave::gotInput() () from /usr/lib64/libkio.so.5
#21 0x0000003a1239382c in KIO::Slave::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkio.so.5
#22 0x0000003a0d56a2af in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#23 0x0000003a122becb7 in ?? () from /usr/lib64/libkio.so.5
#24 0x0000003a122bedcd in KIO::Connection::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libkio.so.5
#25 0x0000003a0d566921 in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#26 0x0000003a0f9aa9dc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#27 0x0000003a0f9b0aab in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#28 0x0000003a10806856 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#29 0x0000003a0d55774c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#30 0x0000003a0d558497 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQtCore.so.4
#31 0x0000003a0d57d523 in ?? () from /usr/lib64/libQtCore.so.4
#32 0x0000003a0343923e in g_main_dispatch (context=0xd56120) at gmain.c:1960
#33 IA__g_main_context_dispatch (context=0xd56120) at gmain.c:2513
#34 0x0000003a0343cc28 in g_main_context_iterate (context=0xd56120, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591
#35 0x0000003a0343cd4a in IA__g_main_context_iteration (context=0xd56120, may_block=1) at gmain.c:2654
#36 0x0000003a0d57d063 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#37 0x0000003a0fa49a4e in ?? () from /usr/lib64/libQtGui.so.4
#38 0x0000003a0d556192 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#39 0x0000003a0d55645c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#40 0x0000003a0d558749 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#41 0x0000000000456ec2 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/krusader-2.0.0/krusader/main.cpp:268

Reported using DrKonqi
Comment 1 Dario Andres 2011-04-14 13:32:42 UTC
[Comment from a bug triager]
From bug 270605 (KDE SC 4.3.2):
What I was doing when the application crashed:
the moved file name existed at destination so i skipped this file while moving
the set.  It was the last file in the selected set to move.

From bug 270588:
What I was doing when the application crashed:
it happened on an external 500 Gb HDD : moving from one point in the folder
tree to another. At that moment I was constantly moving folders and files
around on that HDD, using Krusader.  I had no special other processes running.

[Comment from a bug triager]
Note that all the duplicates are using Krusader 2.0.0 and old versions of KDE SC. Try updating to the latest versions of the software. 
Regards
Comment 2 Dario Andres 2011-04-14 13:32:52 UTC
*** Bug 270605 has been marked as a duplicate of this bug. ***
Comment 3 Dario Andres 2011-04-14 13:32:58 UTC
*** Bug 270588 has been marked as a duplicate of this bug. ***
Comment 4 Jan Lepper 2011-06-11 18:52:29 UTC
The bug occurs in KIO::PreserveAttrCopyJob which was removed from Krusader.