Bug 180673

Summary: Konqueror crashes whilst moving folders betweens tabs
Product: [Unmaintained] kio Reporter: gorgonizer <gorgonizer>
Component: generalAssignee: David Faure <faure>
Status: RESOLVED FIXED    
Severity: crash CC: andresbajotierra, mpartap, ybz
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description gorgonizer 2009-01-14 15:31:28 UTC
Version:           4.1.96 (using Devel)
OS:                Linux
Installed from:    Compiled sources

With Konqueror set to Detail view (with expandable folder view) movinf folders between tabs causes Konqueror to crash.  Backtrace is below:

Application: Konqueror (konqueror), signal SIGABRT

Thread 1 (Thread 0xb5fdeaf0 (LWP 15521)):
[KCrash Handler]
#6  0xb8047430 in __kernel_vsyscall ()
#7  0xb655f880 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb6561248 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb7244795 in qt_message_output () from /usr/lib/libQtCore.so.4
#10 0xb7244872 in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb7244915 in qt_assert () from /usr/lib/libQtCore.so.4
#12 0xb7cd6c13 in KDirModelPrivate::_k_slotDeleteItems (this=0x962ce18, items=@0xbff48038) at /build/buildd/kde4libs-4.1.96/kio/kio/kdirmodel.cpp:469
#13 0xb7cd8515 in KDirModel::qt_metacall (this=0x963a068, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbff47ffc) at /build/buildd/kde4libs-4.1.96/obj-i486-linux-gnu/kio/kdirmodel.moc:78
#14 0xb7351a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#15 0xb73527e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#16 0xb7cba053 in KDirLister::itemsDeleted (this=0x963b9e8, _t1=@0xbff48038) at /build/buildd/kde4libs-4.1.96/obj-i486-linux-gnu/kio/kdirlister.moc:287
#17 0xb7cbb4b1 in KDirLister::Private::emitItemsDeleted (this=0x9638080, _items=@0xae03c24) at /build/buildd/kde4libs-4.1.96/kio/kio/kdirlister.cpp:2294
#18 0xb7ccaa90 in KDirListerCache::itemsDeleted (this=0x93c2e70, listers=@0x9e44f88, deletedItems=@0xae03c24) at /build/buildd/kde4libs-4.1.96/kio/kio/kdirlister.cpp:1647
#19 0xb7ccc5ff in KDirListerCache::slotFilesRemoved (this=0x93c2e70, fileList=@0xacd6098) at /build/buildd/kde4libs-4.1.96/kio/kio/kdirlister.cpp:790
#20 0xb7cccd7a in KDirListerCache::qt_metacall (this=0x93c2e70, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbff4830c) at /build/buildd/kde4libs-4.1.96/obj-i486-linux-gnu/kio/kdirlister_p.moc:91
#21 0xb7351a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#22 0xb73527e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#23 0xb7cda483 in OrgKdeKDirNotifyInterface::FilesRemoved (this=0x93b65f8, _t1=@0xacd6098) at /build/buildd/kde4libs-4.1.96/obj-i486-linux-gnu/kio/kdirnotify.moc:123
#24 0xb7cda682 in OrgKdeKDirNotifyInterface::qt_metacall (this=0x93b65f8, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbff484a8)
    at /build/buildd/kde4libs-4.1.96/obj-i486-linux-gnu/kio/kdirnotify.moc:82
#25 0xb744526e in ?? () from /usr/lib/libQtDBus.so.4
#26 0xb744c627 in ?? () from /usr/lib/libQtDBus.so.4
#27 0xb734c771 in QObject::event () from /usr/lib/libQtCore.so.4
#28 0xb6a2d8ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#29 0xb6a3572e in QApplication::notify () from /usr/lib/libQtGui.so.4
#30 0xb78dc04d in KApplication::notify (this=0xbff48d98, receiver=0x93b65f8, event=0xa7725d0) at /build/buildd/kde4libs-4.1.96/kdeui/kernel/kapplication.cpp:307
#31 0xb733ce61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#32 0xb733dae5 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#33 0xb733dcdd in QCoreApplication::sendPostedEvents () from /usr/lib/libQtCore.so.4
#34 0xb736782f in ?? () from /usr/lib/libQtCore.so.4
#35 0xb63146f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#36 0xb6317da3 in ?? () from /usr/lib/libglib-2.0.so.0
#37 0xb6317f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#38 0xb7367478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#39 0xb6ac7ea5 in ?? () from /usr/lib/libQtGui.so.4
#40 0xb733b52a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#41 0xb733b6ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#42 0xb733dda5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#43 0xb6a2d767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#44 0xb7ff25f5 in kdemain () from /usr/lib/libkdeinit4_konqueror.so
#45 0x080486f2 in _start ()

Prior to the folder move I have used Kid3 to change ID3 tags of mp3s within the folder, then renamed the folder.  This may be of relevance, though it caused no problem in Beta 2 version of Konqueror.
Comment 1 Dario Andres 2009-01-15 23:46:08 UTC
It is hitting the same assert as bug 179214. This may be related.
Comment 2 David Faure 2009-01-19 16:55:22 UTC
*** Bug 179214 has been marked as a duplicate of this bug. ***
Comment 3 David Faure 2009-01-20 12:09:29 UTC
SVN commit 913990 by dfaure:

Fix corruption while renaming a directory, which led to a crash when moving that directory afterwards.
(no need for the nodesbyname hash anymore now that we have the global KUrl-based hash -> less bookkeeping to do)
BUG: 180673
Fix will be in 4.2 (just in time)


 M  +7 -21     kio/kdirmodel.cpp  
 M  +62 -2     tests/kdirmodeltest.cpp  
 M  +2 -0      tests/kdirmodeltest.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=913990
Comment 4 David Faure 2009-01-21 12:39:37 UTC
*** Bug 179260 has been marked as a duplicate of this bug. ***