Bug 327681 - Crash when copying files
Summary: Crash when copying files
Status: RESOLVED WORKSFORME
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 4.10.5
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: David Faure
URL:
Keywords: drkonqi, triaged
Depends on:
Blocks:
 
Reported: 2013-11-16 12:50 UTC by martinstingl
Modified: 2018-10-27 02:08 UTC (History)
2 users (show)

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 martinstingl 2013-11-16 12:50:13 UTC
Application: dolphin (2.2)
KDE Platform Version: 4.10.5
Qt Version: 4.8.4
Operating System: Linux 3.8.0-33-generic x86_64
Distribution: Linux Mint 15 Olivia

-- Information about the crash:
I wanted to move  25 files and 1 directory from my local RAID 1 disk to my NAS which is mounted as a samba share.
The crash occured immediately after the movement was finished i.e. the files have moved although the crash occured.

-- 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 0x7f3e227c77c0 (LWP 6517))]

Thread 4 (Thread 0x7f3e07d02700 (LWP 6518)):
#0  0x00007f3e199dcaaa in g_main_context_query () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f3e199dd14c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3e199dd304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3e1e072036 in QEventDispatcherGlib::processEvents (this=0x7f3e000008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f3e1e04238f in QEventLoop::processEvents (this=this@entry=0x7f3e07d01d90, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f3e1e042618 in QEventLoop::exec (this=this@entry=0x7f3e07d01d90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f3e1df44410 in QThread::exec (this=this@entry=0x1c27830) at thread/qthread.cpp:542
#7  0x00007f3e1e023edf in QInotifyFileSystemWatcherEngine::run (this=0x1c27830) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007f3e1df46bec in QThreadPrivate::start (arg=0x1c27830) at thread/qthread_unix.cpp:338
#9  0x00007f3e19eaff8e in start_thread (arg=0x7f3e07d02700) at pthread_create.c:311
#10 0x00007f3e221aca0d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f3e06d17700 (LWP 6519)):
#0  0x00007f3e199da4ce in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f3e199dcbf7 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f3e199dd175 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f3e199dd304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f3e1e072036 in QEventDispatcherGlib::processEvents (this=0x7f3df80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f3e1e04238f in QEventLoop::processEvents (this=this@entry=0x7f3e06d16d90, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f3e1e042618 in QEventLoop::exec (this=this@entry=0x7f3e06d16d90, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f3e1df44410 in QThread::exec (this=this@entry=0x1c647c0) at thread/qthread.cpp:542
#8  0x00007f3e1e023edf in QInotifyFileSystemWatcherEngine::run (this=0x1c647c0) at io/qfilesystemwatcher_inotify.cpp:256
#9  0x00007f3e1df46bec in QThreadPrivate::start (arg=0x1c647c0) at thread/qthread_unix.cpp:338
#10 0x00007f3e19eaff8e in start_thread (arg=0x7f3e06d17700) at pthread_create.c:311
#11 0x00007f3e221aca0d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f3e052ce700 (LWP 6529)):
#0  0x00007fffe849aaf7 in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f3e227c77c0 (LWP 6517)):
[KCrash Handler]
#6  __GI___libc_free (mem=0x31) at malloc.c:2892
#7  0x00007f3e1df62796 in QHashData::free_helper (this=0x24c5e20, node_delete=0x7f3e1ff27a70 <QHash<unsigned int, KIO::UDSEntryPrivate::Field>::deleteNode2(QHashData::Node*)>) at tools/qhash.cpp:276
#8  0x00007f3e1ff2712a in freeData (x=<optimized out>, this=<optimized out>) at /usr/include/qt4/QtCore/qhash.h:570
#9  ~QHash (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qhash.h:283
#10 ~UDSEntryPrivate (this=<optimized out>, __in_chrg=<optimized out>) at ../../kio/kio/udsentry.cpp:36
#11 ~QSharedDataPointer (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qshareddata.h:90
#12 KIO::UDSEntry::~UDSEntry (this=0x31, __in_chrg=<optimized out>) at ../../kio/kio/udsentry.cpp:63
#13 0x00007f3e1feb5e93 in ~KFileItemPrivate (this=<optimized out>, __in_chrg=<optimized out>) at ../../kio/kio/kfileitem.cpp:97
#14 ~QSharedDataPointer (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qshareddata.h:90
#15 KFileItem::~KFileItem (this=0x31, __in_chrg=<optimized out>) at ../../kio/kio/kfileitem.cpp:508
#16 0x00007f3e1fe9661c in node_destruct (to=0x26646a0, from=0x2664648, this=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:431
#17 QList<KFileItem>::free (data=0x2664630, this=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:757
#18 0x00007f3e1fea77f8 in operator= (l=..., this=0x26d1b38) at /usr/include/qt4/QtCore/qlist.h:443
#19 QList<KFileItem>::clear (this=this@entry=0x26d1b38) at /usr/include/qt4/QtCore/qlist.h:766
#20 0x00007f3e1fea782c in KDirListerCache::DirItem::~DirItem (this=0x26d1b10, __in_chrg=<optimized out>) at ../../kio/kio/kdirlister_p.h:333
#21 0x00007f3e1fe9c0ec in unlink (n=..., this=0x1c2e770) at /usr/include/qt4/QtCore/qcache.h:75
#22 remove (key=..., this=0x1c2e770) at /usr/include/qt4/QtCore/qcache.h:161
#23 KDirListerCache::removeDirFromCache (this=this@entry=0x1c2e750, dir=...) at ../../kio/kio/kdirlister.cpp:1672
#24 0x00007f3e1fe9f36d in KDirListerCache::deleteDir (this=this@entry=0x1c2e750, dirUrl=...) at ../../kio/kio/kdirlister.cpp:1971
#25 0x00007f3e1fe9f59c in KDirListerCache::itemsDeleted (this=this@entry=0x1c2e750, listers=..., deletedItems=...) at ../../kio/kio/kdirlister.cpp:1898
#26 0x00007f3e1fe9fa5b in KDirListerCache::slotFilesRemoved (this=this@entry=0x1c2e750, fileList=...) at ../../kio/kio/kdirlister.cpp:919
#27 0x00007f3e1fe9fc9b in KDirListerCache::slotFilesRemoved (this=this@entry=0x1c2e750, fileList=...) at ../../kio/kio/kdirlister.cpp:874
#28 0x00007f3e1fea10fa in KDirListerCache::slotFileDeleted (this=0x1c2e750, path=...) at ../../kio/kio/kdirlister.cpp:1180
#29 0x00007f3e1e0580ef in QMetaObject::activate (sender=sender@entry=0x1c215f0, m=m@entry=0x7f3e1e852b60 <KDirWatch::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7fffe84618f0) at kernel/qobject.cpp:3539
#30 0x00007f3e1e4a6395 in KDirWatch::deleted (this=this@entry=0x1c215f0, _t1=...) at ./kdirwatch.moc:127
#31 0x00007f3e1e4a7ab6 in KDirWatch::setDeleted (this=0x1c215f0, _file=...) at ../../kdecore/io/kdirwatch.cpp:1905
#32 0x00007f3e1e05d5be in QObject::event (this=0x1c215f0, e=<optimized out>) at kernel/qobject.cpp:1194
#33 0x00007f3e1ea2d8ec in QApplicationPrivate::notify_helper (this=this@entry=0x18d62d0, receiver=receiver@entry=0x1c215f0, e=e@entry=0x210bdb0) at kernel/qapplication.cpp:4567
#34 0x00007f3e1ea3025b in QApplication::notify (this=this@entry=0x7fffe8462390, receiver=receiver@entry=0x1c215f0, e=e@entry=0x210bdb0) at kernel/qapplication.cpp:4428
#35 0x00007f3e1f7391a6 in KApplication::notify (this=0x7fffe8462390, receiver=0x1c215f0, event=0x210bdb0) at ../../kdeui/kernel/kapplication.cpp:311
#36 0x00007f3e1e04363e in QCoreApplication::notifyInternal (this=0x7fffe8462390, receiver=receiver@entry=0x1c215f0, event=event@entry=0x210bdb0) at kernel/qcoreapplication.cpp:946
#37 0x00007f3e1e047171 in sendEvent (event=0x210bdb0, receiver=0x1c215f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#38 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x189b4a0) at kernel/qcoreapplication.cpp:1570
#39 0x00007f3e1e0474a3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#40 0x00007f3e1e071e83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#41 postEventSourceDispatch (s=0x18da170) at kernel/qeventdispatcher_glib.cpp:279
#42 0x00007f3e199dcf05 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007f3e199dd248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007f3e199dd304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007f3e1e072016 in QEventDispatcherGlib::processEvents (this=0x189cd60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#46 0x00007f3e1ead313e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#47 0x00007f3e1e04238f in QEventLoop::processEvents (this=this@entry=0x7fffe8462250, flags=...) at kernel/qeventloop.cpp:149
#48 0x00007f3e1e042618 in QEventLoop::exec (this=this@entry=0x7fffe8462250, flags=...) at kernel/qeventloop.cpp:204
#49 0x00007f3e1e047cf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#50 0x00007f3e1ea2bffc in QApplication::exec () at kernel/qapplication.cpp:3828
#51 0x00007f3e224ca827 in kdemain (argc=6, argv=0x7fffe84624c8) at ../../../dolphin/src/main.cpp:90
#52 0x00007f3e220d3ea5 in __libc_start_main (main=0x4006d0 <main(int, char**)>, argc=6, ubp_av=0x7fffe84624c8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffe84624b8) at libc-start.c:260
#53 0x0000000000400701 in _start ()

Possible duplicates by query: bug 240304, bug 236787, bug 235974, bug 234977.

Reported using DrKonqi
Comment 1 Christoph Feck 2013-11-16 13:50:08 UTC
Moving from local to remote would mean the local directory has been deleted, which shouldn't cause a crash in KDirListerCache. Maybe QCache already removed the entry, and KDirListerCache tries to delete it again.

Reassigning to kio developers for inspection.
Comment 2 Dawit Alemayehu 2013-11-18 05:08:34 UTC
Can you reliably reproduce this crash?
Comment 3 martinstingl 2013-11-18 16:34:02 UTC
I did the same file-move-action again but the bug could not be reproduced.
Maybe this bug is related:
https://bugs.kde.org/show_bug.cgi?id=324313
Comment 4 Andrew Crouthamel 2018-09-25 03:56:15 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Andrew Crouthamel 2018-10-27 02:08:52 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!