Bug 172945 - dolphin crashes upon renaming a folder I just "level up-ed" from
Summary: dolphin crashes upon renaming a folder I just "level up-ed" from
Status: RESOLVED FIXED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
: 174689 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-10-16 12:47 UTC by Oliver Putz
Modified: 2008-12-05 14:44 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 Oliver Putz 2008-10-16 12:47:37 UTC
Version:           1.1.80 (using 4.1.68 (KDE 4.1.68 (KDE 4.2 >= 20081001)), Gentoo)
Compiler:          i686-pc-linux-gnu-gcc
OS:                Linux (i686) release 2.6.26-gentoo-r1

Steps to reproduce:

1) Open dolphin
2) Go to some folder
3) Go up one level (using the "up arrow" icon
4) rename the folder you just came from
5) See dolphin crash with the backtrace below:

Note: This also works with konqueror (KIO related?)

Application: Dolphin (dolphin), signal SIGSEGV

Thread 1 (Thread 0xb60e4700 (LWP 6514)):
[KCrash Handler]
#6  QHash<unsigned int, KIO::UDSEntryPrivate::Field>::value (this=0x7f0004, akey=@0xbfbbf8b8) at /usr/include/qt4/QtCore/qhash.h:594
#7  0xb73ef609 in KIO::UDSEntry::stringValue (this=0x836829e, field=16777223) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kio/kio/udsentry.cpp:75
#8  0xb738df1c in KFileItem::localPath (this=0x8368294) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kio/kio/kfileitem.cpp:530
#9  0xb7375723 in KDirListerCache::slotFileRenamed (this=0x818feb0, _src=@0x8315c10, _dst=@0x837b7c8) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kio/kio/kdirlister.cpp:866
#10 0xb7375acf in KDirListerCache::qt_metacall (this=0x818feb0, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfbbfa98)
    at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs_build/kio/kdirlister_p.moc:93
#11 0xb7ed54e1 in QMetaObject::activate (sender=0x819db38, from_signal_index=<value optimized out>, to_signal_index=5, argv=0xbfbbfa98) at kernel/qobject.cpp:3028
#12 0xb7ed73d8 in QMetaObject::activate (sender=0x819db38, m=0xb74a92f4, local_signal_index=0, argv=0xbfbbfa98) at kernel/qobject.cpp:3098
#13 0xb738202d in OrgKdeKDirNotifyInterface::FileRenamed (this=0x819db38, _t1=@0x8315c10, _t2=@0x837b7c8) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs_build/kio/kdirnotify.moc:95
#14 0xb73820aa in OrgKdeKDirNotifyInterface::qt_metacall (this=0x819db38, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfbbfb98)
    at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs_build/kio/kdirnotify.moc:78
#15 0xb70613d3 in QDBusConnectionPrivate::deliverCall (this=0x80ac560, object=0x819db38, msg=@0x813e824, metaTypes=@0x813e828, slotIdx=5) at qdbusintegrator.cpp:855
#16 0xb7068b2b in QDBusCallDeliveryEvent::placeMetaCall (this=0x813e7f8, object=0x819db38) at qdbusintegrator_p.h:136
#17 0xb7eceba7 in QObject::event (this=0x819db38, e=0x813e7f8) at kernel/qobject.cpp:1152
#18 0xb6879fab in QApplicationPrivate::notify_helper (this=0x80b1980, receiver=0x819db38, e=0x813e7f8) at kernel/qapplication.cpp:3809
#19 0xb6880ae5 in QApplication::notify (this=0xbfbc043c, receiver=0x819db38, e=0x813e7f8) at kernel/qapplication.cpp:3399
#20 0xb7a0e2b1 in KApplication::notify (this=0xbfbc043c, receiver=0x819db38, event=0x813e7f8) at /var/tmp/portage/kde-base/kdelibs-9999/work/kdelibs-9999/kdeui/kernel/kapplication.cpp:307
#21 0xb7ebeb21 in QCoreApplication::notifyInternal (this=0xbfbc043c, receiver=0x819db38, event=0x813e7f8) at kernel/qcoreapplication.cpp:593
#22 0xb7ebf984 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x80a1310) at kernel/qcoreapplication.h:215
#23 0xb7ebfbc3 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1097
#24 0xb690f5a1 in QEventDispatcherX11::processEvents (this=0x80acf48, flags={i = -1078197416}) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#25 0xb7ebd6b0 in QEventLoop::processEvents (this=0xbfbc03d0, flags={i = -1078197352}) at kernel/qeventloop.cpp:149
#26 0xb7ebd852 in QEventLoop::exec (this=0xbfbc03d0, flags={i = -1078197288}) at kernel/qeventloop.cpp:200
#27 0xb7ebfc6f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:851
#28 0xb6879d43 in QApplication::exec () at kernel/qapplication.cpp:3337
#29 0x0807e978 in main (argc=6, argv=0xbfbc05f4) at /var/tmp/portage/kde-base/dolphin-9999/work/dolphin/apps/dolphin/src/main.cpp:94
Comment 1 Peter Penz 2008-10-17 08:11:10 UTC
Confirmed on KDE 4.2 (kdelibs >= 2008.10.13) + 4.1.x (kdelibs >= 2008.10.13). 
Comment 2 David Faure 2008-10-18 03:06:01 UTC
SVN commit 872744 by dfaure:

Fix crash when renaming a directory which was listed previously (the KFileItem* became dangling)
BUG: 172945


 M  +6 -1      kdirlister.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=872744
Comment 3 Peter Penz 2008-12-05 14:44:12 UTC
*** Bug 174689 has been marked as a duplicate of this bug. ***