Bug 315953

Summary: dolphin crash upon copying files, overwriting originals.
Product: [Unmaintained] kio Reporter: bosyber
Component: generalAssignee: David Faure <faure>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: frank78ac, nate, nitish.nc18
Priority: NOR    
Version First Reported In: 4.10.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description bosyber 2013-03-01 13:47:06 UTC
Application: dolphin (2.2)
KDE Platform Version: 4.10.00
Qt Version: 4.8.3
Operating System: Linux 3.7.6-030706-generic x86_64
Distribution: Ubuntu-Secure-Remix 12.10 30nov2012

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

I copied a directory over another one, with two files that were named the same as those in that folder, but a different verison. Presented with the "skip/rename/overwrite" dialog, I wanted to overwrite them, but dolphin crashed on the 2nd of the two. The files were properly overwritten though.

-- 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 0x7fc488ddd780 (LWP 9190))]

Thread 4 (Thread 0x7fc46d8d2700 (LWP 9192)):
#0  0x00007fc488694313 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fc47fe9fd84 in g_main_context_poll (n_fds=1, fds=0x7fc468002c00, timeout=-1, context=0x7fc4680009a0, priority=<optimized out>) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3584
#2  g_main_context_iterate (context=context@entry=0x7fc4680009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3285
#3  0x00007fc47fe9fea4 in g_main_context_iteration (context=0x7fc4680009a0, may_block=1) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3351
#4  0x00007fc484576c46 in QEventDispatcherGlib::processEvents (this=0x7fc4680008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007fc4845472ef in QEventLoop::processEvents (this=this@entry=0x7fc46d8d1dd0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fc484547578 in QEventLoop::exec (this=0x7fc46d8d1dd0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fc484448b40 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007fc4845279df in QInotifyFileSystemWatcherEngine::run (this=0x985fd0) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007fc48444bb1c in QThreadPrivate::start (arg=0x985fd0) at thread/qthread_unix.cpp:338
#10 0x00007fc48036ee9a in start_thread (arg=0x7fc46d8d2700) at pthread_create.c:308
#11 0x00007fc48869fccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fc46c9ea700 (LWP 9193)):
#0  0x00007fc47fedce51 in g_mutex_unlock (mutex=mutex@entry=0x7fc4600009a0) at /build/buildd/glib2.0-2.34.1/./glib/gthread-posix.c:227
#1  0x00007fc47fe9fd79 in g_main_context_poll (n_fds=1, fds=0x7fc4600029b0, timeout=-1, context=0x7fc4600009a0, priority=<optimized out>) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3583
#2  g_main_context_iterate (context=context@entry=0x7fc4600009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3285
#3  0x00007fc47fe9fea4 in g_main_context_iteration (context=0x7fc4600009a0, may_block=1) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3351
#4  0x00007fc484576c46 in QEventDispatcherGlib::processEvents (this=0x7fc4600008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007fc4845472ef in QEventLoop::processEvents (this=this@entry=0x7fc46c9e9dd0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fc484547578 in QEventLoop::exec (this=0x7fc46c9e9dd0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fc484448b40 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007fc4845279df in QInotifyFileSystemWatcherEngine::run (this=0xc98280) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007fc48444bb1c in QThreadPrivate::start (arg=0xc98280) at thread/qthread_unix.cpp:338
#10 0x00007fc48036ee9a in start_thread (arg=0x7fc46c9ea700) at pthread_create.c:308
#11 0x00007fc48869fccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fc4677c9700 (LWP 9201)):
#0  0x00007fc488694313 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fc47fe9fd84 in g_main_context_poll (n_fds=1, fds=0x7fc45c00dc40, timeout=-1, context=0x7fc45c007f70, priority=<optimized out>) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3584
#2  g_main_context_iterate (context=context@entry=0x7fc45c007f70, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3285
#3  0x00007fc47fe9fea4 in g_main_context_iteration (context=0x7fc45c007f70, may_block=1) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3351
#4  0x00007fc484576c46 in QEventDispatcherGlib::processEvents (this=0x7fc45c00caa0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007fc4845472ef in QEventLoop::processEvents (this=this@entry=0x7fc4677c8dd0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fc484547578 in QEventLoop::exec (this=0x7fc4677c8dd0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fc484448b40 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007fc4845279df in QInotifyFileSystemWatcherEngine::run (this=0x11b9460) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007fc48444bb1c in QThreadPrivate::start (arg=0x11b9460) at thread/qthread_unix.cpp:338
#10 0x00007fc48036ee9a in start_thread (arg=0x7fc4677c9700) at pthread_create.c:308
#11 0x00007fc48869fccd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc488ddd780 (LWP 9190)):
[KCrash Handler]
#6  deref (this=0x1016a6ea0) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:133
#7  QList<int>::~QList (this=0x1663120, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qlist.h:731
#8  0x00007fc48417f619 in QDBusConnectionPrivate::SignalHook::~SignalHook (this=0x16630f8, __in_chrg=<optimized out>) at qdbusconnection_p.h:121
#9  0x00007fc48418006d in ~QHashNode (this=0x16630e0, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qhash.h:216
#10 deleteNode2 (node=0x16630e0) at ../../include/QtCore/../../src/corelib/tools/qhash.h:521
#11 deleteNode (node=0x16630e0, this=0x774fc8) at ../../include/QtCore/../../src/corelib/tools/qhash.h:511
#12 QHash<QString, QDBusConnectionPrivate::SignalHook>::erase (this=this@entry=0x774fc8, it=...) at ../../include/QtCore/../../src/corelib/tools/qhash.h:840
#13 0x00007fc4841770b4 in QDBusConnectionPrivate::disconnectSignal (this=this@entry=0x774f20, it=...) at qdbusintegrator.cpp:2213
#14 0x00007fc4841774b1 in QDBusConnectionPrivate::objectDestroyed (this=0x774f20, obj=0x1076100) at qdbusintegrator.cpp:1179
#15 0x00007fc48455df8f in QMetaObject::activate (sender=sender@entry=0x1076100, m=m@entry=0x7fc48489ab60 <QObject::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffff5fdb610) at kernel/qobject.cpp:3547
#16 0x00007fc48455e9cf in QObject::destroyed (this=this@entry=0x1076100, _t1=_t1@entry=0x1076100) at .moc/release-shared/moc_qobject.cpp:149
#17 0x00007fc48455eac3 in QObject::~QObject (this=0x1076100, __in_chrg=<optimized out>) at kernel/qobject.cpp:844
#18 0x00007fc485d70319 in OrgKdeJobViewV2Interface::~OrgKdeJobViewV2Interface (this=0x1076100, __in_chrg=<optimized out>) at jobviewifacev2.cpp:25
#19 0x00007fc485c2e0b1 in KUiServerJobTracker::unregisterJob (this=<optimized out>, job=0x16653d0) at ../../kdeui/jobs/kuiserverjobtracker.cpp:155
#20 0x00007fc48455df8f in QMetaObject::activate (sender=0x16653d0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffff5fdb880) at kernel/qobject.cpp:3547
#21 0x00007fc4849c4d2f in KJob::finished (this=this@entry=0x16653d0, _t1=_t1@entry=0x16653d0) at ./kjob.moc:187
#22 0x00007fc4849c4f75 in KJob::emitResult (this=0x16653d0) at ../../kdecore/jobs/kjob.cpp:316
#23 0x00007fc486352010 in KIO::CopyJob::emitResult (this=this@entry=0x16653d0) at ../../kio/kio/copyjob.cpp:1767
#24 0x00007fc48635236f in KIO::CopyJobPrivate::setNextDirAttribute (this=0x16ac330) at ../../kio/kio/copyjob.cpp:1738
#25 0x00007fc486356109 in KIO::CopyJobPrivate::copyNextFile (this=this@entry=0x16ac330) at ../../kio/kio/copyjob.cpp:1666
#26 0x00007fc486357bdd in KIO::CopyJobPrivate::slotResultCopyingFiles (this=0x16ac330, job=0x1660b70) at ../../kio/kio/copyjob.cpp:1346
#27 0x00007fc48455df8f in QMetaObject::activate (sender=0x1660b70, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffff5fdbdd0) at kernel/qobject.cpp:3547
#28 0x00007fc4849c4f42 in KJob::result (this=this@entry=0x1660b70, _t1=_t1@entry=0x1660b70) at ./kjob.moc:208
#29 0x00007fc4849c4f80 in KJob::emitResult (this=0x1660b70) at ../../kdecore/jobs/kjob.cpp:318
#30 0x00007fc486382c4c in KIO::FileCopyJob::slotResult (this=0x1660b70, job=0x1660ac0) at ../../kio/kio/job.cpp:2449
#31 0x00007fc48455df8f in QMetaObject::activate (sender=0x1660ac0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffff5fdbf70) at kernel/qobject.cpp:3547
#32 0x00007fc4849c4f42 in KJob::result (this=this@entry=0x1660ac0, _t1=_t1@entry=0x1660ac0) at ./kjob.moc:208
#33 0x00007fc4849c4f80 in KJob::emitResult (this=0x1660ac0) at ../../kdecore/jobs/kjob.cpp:318
#34 0x00007fc48637b8a5 in KIO::SimpleJob::slotFinished (this=0x1660ac0) at ../../kio/kio/job.cpp:494
#35 0x00007fc48455df8f in QMetaObject::activate (sender=0xcb4920, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#36 0x00007fc48641e951 in KIO::SlaveInterface::dispatch (this=0xcb4920, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:172
#37 0x00007fc48641ba2a in KIO::SlaveInterface::dispatch (this=0xcb4920) at ../../kio/kio/slaveinterface.cpp:88
#38 0x00007fc48640ff9e in KIO::Slave::gotInput (this=0xcb4920) at ../../kio/kio/slave.cpp:344
#39 0x00007fc48455df8f in QMetaObject::activate (sender=0xf109d0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#40 0x00007fc486350782 in dequeue (this=<optimized out>) at ../../kio/kio/connection.cpp:82
#41 KIO::ConnectionPrivate::dequeue (this=0xeed340) at ../../kio/kio/connection.cpp:71
#42 0x00007fc48455d46e in QObject::event (this=0xf109d0, e=<optimized out>) at kernel/qobject.cpp:1195
#43 0x00007fc484f29e9c in QApplicationPrivate::notify_helper (this=this@entry=0x70d200, receiver=receiver@entry=0xf109d0, e=e@entry=0x15c4640) at kernel/qapplication.cpp:4562
#44 0x00007fc484f2e30a in QApplication::notify (this=0x7ffff5fdcfb0, receiver=0xf109d0, e=0x15c4640) at kernel/qapplication.cpp:4423
#45 0x00007fc485c32636 in KApplication::notify (this=0x7ffff5fdcfb0, receiver=0xf109d0, event=0x15c4640) at ../../kdeui/kernel/kapplication.cpp:311
#46 0x00007fc48454859e in QCoreApplication::notifyInternal (this=0x7ffff5fdcfb0, receiver=receiver@entry=0xf109d0, event=event@entry=0x15c4640) at kernel/qcoreapplication.cpp:915
#47 0x00007fc48454c421 in sendEvent (event=0x15c4640, receiver=0xf109d0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#48 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x6dd230) at kernel/qcoreapplication.cpp:1539
#49 0x00007fc484576a93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#50 postEventSourceDispatch (s=s@entry=0x70fd80) at kernel/qeventdispatcher_glib.cpp:279
#51 0x00007fc47fe9fab5 in g_main_dispatch (context=0x71ee10) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:2715
#52 g_main_context_dispatch (context=context@entry=0x71ee10) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3219
#53 0x00007fc47fe9fde8 in g_main_context_iterate (context=context@entry=0x71ee10, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3290
#54 0x00007fc47fe9fea4 in g_main_context_iteration (context=0x71ee10, may_block=1) at /build/buildd/glib2.0-2.34.1/./glib/gmain.c:3351
#55 0x00007fc484576c26 in QEventDispatcherGlib::processEvents (this=0x6deb10, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#56 0x00007fc484fcec1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#57 0x00007fc4845472ef in QEventLoop::processEvents (this=this@entry=0x7ffff5fdce70, flags=...) at kernel/qeventloop.cpp:149
#58 0x00007fc484547578 in QEventLoop::exec (this=0x7ffff5fdce70, flags=...) at kernel/qeventloop.cpp:204
#59 0x00007fc48454c738 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#60 0x00007fc4889ba5f7 in kdemain (argc=5, argv=0x7ffff5fdd0e8) at ../../../dolphin/src/main.cpp:90
#61 0x00007fc4885cd76d in __libc_start_main (main=0x4006a0 <main(int, char**)>, argc=5, ubp_av=0x7ffff5fdd0e8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffff5fdd0d8) at libc-start.c:226
#62 0x00000000004006d1 in _start ()

Reported using DrKonqi
Comment 1 Frank Reininghaus 2013-03-01 13:49:05 UTC
Thanks for the bug report, looks like a KIO issue.
Comment 2 Emmanuel Pescosta 2015-10-16 17:40:42 UTC
*** Bug 353961 has been marked as a duplicate of this bug. ***
Comment 3 Nitish Chauhan 2015-12-22 09:28:39 UTC
i want to help fix this issue.
I am a newcomer...it will be great if someone could guide me.
Thanks a lot.
Comment 4 Nate Graham 2018-04-20 21:59:12 UTC
Ancient unsupported versions with no duplicates from Qt5 and KF5 versions.