Bug 324313

Summary: Crash when copying files
Product: [Unmaintained] kio Reporter: martinstingl
Component: generalAssignee: David Faure <faure>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: frank78ac, nate
Priority: NOR Keywords: drkonqi
Version First Reported In: 4.10.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description martinstingl 2013-08-31 09:37:50 UTC
Application: dolphin (2.2)
KDE Platform Version: 4.10.5
Qt Version: 4.8.4
Operating System: Linux 3.8.0-29-generic x86_64
Distribution: Linux Mint 15 Olivia

-- Information about the crash:
- What I was doing when the application crashed:

I was copying 21 folders and 5 files from one instance of Dolphin to another instance which had opened a Samba share location.

-- 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 0x7faf9749d7c0 (LWP 7217))]

Thread 4 (Thread 0x7faf7c9d5700 (LWP 7219)):
#0  0x00007faf8e6f335c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007faf8e6f35b9 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007faf8e6b3c74 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007faf8e6b4175 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007faf8e6b4304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007faf92d49036 in QEventDispatcherGlib::processEvents (this=0x7faf780008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007faf92d1938f in QEventLoop::processEvents (this=this@entry=0x7faf7c9d4d90, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007faf92d19618 in QEventLoop::exec (this=this@entry=0x7faf7c9d4d90, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007faf92c1b410 in QThread::exec (this=this@entry=0x12d0b20) at thread/qthread.cpp:542
#9  0x00007faf92cfaedf in QInotifyFileSystemWatcherEngine::run (this=0x12d0b20) at io/qfilesystemwatcher_inotify.cpp:256
#10 0x00007faf92c1dbec in QThreadPrivate::start (arg=0x12d0b20) at thread/qthread_unix.cpp:338
#11 0x00007faf8eb86f8e in start_thread (arg=0x7faf7c9d5700) at pthread_create.c:311
#12 0x00007faf96e82e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7faf7796a700 (LWP 7220)):
#0  0x00007faf8e6f3359 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007faf8e6f35b9 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007faf8e6b3abb in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007faf8e6b414c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007faf8e6b4304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007faf92d49036 in QEventDispatcherGlib::processEvents (this=0x7faf700008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007faf92d1938f in QEventLoop::processEvents (this=this@entry=0x7faf77969d90, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007faf92d19618 in QEventLoop::exec (this=this@entry=0x7faf77969d90, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007faf92c1b410 in QThread::exec (this=this@entry=0x1302f40) at thread/qthread.cpp:542
#9  0x00007faf92cfaedf in QInotifyFileSystemWatcherEngine::run (this=0x1302f40) at io/qfilesystemwatcher_inotify.cpp:256
#10 0x00007faf92c1dbec in QThreadPrivate::start (arg=0x1302f40) at thread/qthread_unix.cpp:338
#11 0x00007faf8eb86f8e in start_thread (arg=0x7faf7796a700) at pthread_create.c:311
#12 0x00007faf96e82e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7faf75f24700 (LWP 7240)):
#0  0x00007faf8eb8a07f in __pthread_mutex_unlock_usercnt (mutex=0x7faf6c000a60, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  0x00007faf8e6f35f1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007faf8e6b41d1 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007faf8e6b4304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007faf92d49036 in QEventDispatcherGlib::processEvents (this=0x7faf6c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007faf92d1938f in QEventLoop::processEvents (this=this@entry=0x7faf75f23d90, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007faf92d19618 in QEventLoop::exec (this=this@entry=0x7faf75f23d90, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007faf92c1b410 in QThread::exec (this=this@entry=0x1104a60) at thread/qthread.cpp:542
#8  0x00007faf92cfaedf in QInotifyFileSystemWatcherEngine::run (this=0x1104a60) at io/qfilesystemwatcher_inotify.cpp:256
#9  0x00007faf92c1dbec in QThreadPrivate::start (arg=0x1104a60) at thread/qthread_unix.cpp:338
#10 0x00007faf8eb86f8e in start_thread (arg=0x7faf75f24700) at pthread_create.c:311
#11 0x00007faf96e82e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7faf9749d7c0 (LWP 7217)):
[KCrash Handler]
#6  0x00007faf937aa1ac in QGuiEventDispatcherGlib::processEvents (this=0x4, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#7  0x00007faf92d1938f in QEventLoop::processEvents (this=this@entry=0x7fffb8556050, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007faf92d19618 in QEventLoop::exec (this=this@entry=0x7fffb8556050, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007faf93bbf1c8 in QDialog::exec (this=this@entry=0x7fffb8556100) at dialogs/qdialog.cpp:554
#10 0x00007faf94b63c28 in KIO::JobUiDelegate::askFileRename (this=this@entry=0x23cdca0, job=job@entry=0x18798c0, caption=..., src=..., dest=..., mode=mode@entry=(KIO::M_OVERWRITE | KIO::M_SKIP | KIO::M_MULTI), newDest=..., sizeSrc=sizeSrc@entry=31744, sizeDest=sizeDest@entry=31744, ctimeSrc=ctimeSrc@entry=-1, ctimeDest=ctimeDest@entry=-1, mtimeSrc=mtimeSrc@entry=981069058, mtimeDest=mtimeDest@entry=981069058) at ../../kio/kio/jobuidelegate.cpp:83
#11 0x00007faf94b2f67a in KIO::CopyJobPrivate::slotResultConflictCopyingFiles (this=0x2088130, job=0x21947e0) at ../../kio/kio/copyjob.cpp:1404
#12 0x00007faf92d2f0ef in QMetaObject::activate (sender=sender@entry=0x21947e0, m=m@entry=0x7faf9352a4e0 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fffb8556400) at kernel/qobject.cpp:3539
#13 0x00007faf9319da72 in KJob::result (this=this@entry=0x21947e0, _t1=_t1@entry=0x21947e0) at ./kjob.moc:208
#14 0x00007faf9319dab0 in KJob::emitResult (this=this@entry=0x21947e0) at ../../kdecore/jobs/kjob.cpp:318
#15 0x00007faf94b5ceb5 in KIO::SimpleJob::slotFinished (this=this@entry=0x21947e0) at ../../kio/kio/job.cpp:494
#16 0x00007faf94b5dd5d in KIO::StatJob::slotFinished (this=0x21947e0) at ../../kio/kio/job.cpp:896
#17 0x00007faf92d2f0ef in QMetaObject::activate (sender=sender@entry=0x19f6be0, m=m@entry=0x7faf94ef9620 <KIO::SlaveInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#18 0x00007faf94bf5343 in KIO::SlaveInterface::finished (this=this@entry=0x19f6be0) at ./slaveinterface.moc:185
#19 0x00007faf94bf8041 in KIO::SlaveInterface::dispatch (this=0x19f6be0, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:172
#20 0x00007faf94bf517a in KIO::SlaveInterface::dispatch (this=0x19f6be0) at ../../kio/kio/slaveinterface.cpp:88
#21 0x00007faf94be971e in KIO::Slave::gotInput (this=0x19f6be0) at ../../kio/kio/slave.cpp:344
#22 0x00007faf92d2f0ef in QMetaObject::activate (sender=0x1fcab20, m=m@entry=0x7faf94ef2b40 <KIO::Connection::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#23 0x00007faf94b28890 in KIO::Connection::readyRead (this=<optimized out>) at ./connection.moc:106
#24 0x00007faf94b28d82 in dequeue (this=<optimized out>) at ../../kio/kio/connection.cpp:82
#25 KIO::ConnectionPrivate::dequeue (this=0x23b3800) at ../../kio/kio/connection.cpp:71
#26 0x00007faf92d345be in QObject::event (this=0x1fcab20, e=<optimized out>) at kernel/qobject.cpp:1194
#27 0x00007faf937048ec in QApplicationPrivate::notify_helper (this=this@entry=0xf956e0, receiver=receiver@entry=0x1fcab20, e=e@entry=0x2011290) at kernel/qapplication.cpp:4567
#28 0x00007faf9370725b in QApplication::notify (this=this@entry=0x7fffb85574f0, receiver=receiver@entry=0x1fcab20, e=e@entry=0x2011290) at kernel/qapplication.cpp:4428
#29 0x00007faf944101a6 in KApplication::notify (this=0x7fffb85574f0, receiver=0x1fcab20, event=0x2011290) at ../../kdeui/kernel/kapplication.cpp:311
#30 0x00007faf92d1a63e in QCoreApplication::notifyInternal (this=0x7fffb85574f0, receiver=receiver@entry=0x1fcab20, event=event@entry=0x2011290) at kernel/qcoreapplication.cpp:946
#31 0x00007faf92d1e171 in sendEvent (event=0x2011290, receiver=0x1fcab20) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#32 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xf574a0) at kernel/qcoreapplication.cpp:1570
#33 0x00007faf92d1e4a3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#34 0x00007faf92d48e83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#35 postEventSourceDispatch (s=0xf95f60) at kernel/qeventdispatcher_glib.cpp:279
#36 0x00007faf8e6b3f05 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007faf8e6b4248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007faf8e6b4304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007faf92d49016 in QEventDispatcherGlib::processEvents (this=0xf58d60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#40 0x00007faf937aa1ae in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x00007faf92d1938f in QEventLoop::processEvents (this=this@entry=0x7fffb85573b0, flags=...) at kernel/qeventloop.cpp:149
#42 0x00007faf92d19618 in QEventLoop::exec (this=this@entry=0x7fffb85573b0, flags=...) at kernel/qeventloop.cpp:204
#43 0x00007faf92d1ecf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#44 0x00007faf93702ffc in QApplication::exec () at kernel/qapplication.cpp:3828
#45 0x00007faf971a0827 in kdemain (argc=6, argv=0x7fffb8557628) at ../../../dolphin/src/main.cpp:90
#46 0x00007faf96daaea5 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=6, ubp_av=0x7fffb8557628, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffb8557618) at libc-start.c:260
#47 0x0000000000400701 in _start ()

Possible duplicates by query: bug 324187, bug 324177, bug 324100, bug 324021, bug 324002.

Reported using DrKonqi
Comment 1 Frank Reininghaus 2013-09-02 20:56:13 UTC
Thanks for the bug report! Looks like it's related to KIO (the library that handles copying/moving files for us). Might be related to bug 255293, which also has

KIO::CopyJobPrivate::slotResultConflictCopyingFiles

in the backtrace.
Comment 2 Nate Graham 2018-04-25 21:57:30 UTC
Crash in old unmaintained KF4 software with no duplicates from any Qt5/KF5 versions. If anyone can still reproduce using recent KF5 versions of KIO and Dolphin, please file a new bug. Thanks!