Bug 174703 - Dolphin crashes when renaming folders in "Split Mode" when the other windows is in "Preview Mode"
Summary: Dolphin crashes when renaming folders in "Split Mode" when the other windows ...
Status: RESOLVED FIXED
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-09 13:33 UTC by mystuff
Modified: 2008-12-23 23:28 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Doplhin kcrash log (5.74 KB, application/octet-stream)
2008-11-09 13:34 UTC, mystuff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mystuff 2008-11-09 13:33:33 UTC
Version:            (using KDE 4.1.2)
OS:                Linux
Installed from:    SuSE RPMs

Open Dolphin, click "Split Mode" then put one of the two windows in preview mode and then rename a folder in the other window mode. This often (but not always) results in a crash of Dolphin, usually after having worked a bit with Doplhin. Crach log is attached.
Comment 1 mystuff 2008-11-09 13:34:56 UTC
Created attachment 28435 [details]
Doplhin kcrash log

This is the crash log resulting from switching Dolphin to switch mode, setting one panel to preview mode and then renaming folders.
Comment 2 Frank Reininghaus 2008-11-09 17:07:39 UTC
Thanks for the bug report. I'm pasting the backtrace below because that makes duplicate checks easier. Could you update to KDE 4.1.3 and check if the crash still happens? It might be a duplicate of bug 172945 which is now fixed.

Application: Dolphin (dolphin), signal SIGSEGV
(no debugging symbols found)
...
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb416bb90 (LWP 11750)]
(no debugging symbols found)
...
(no debugging symbols found)
[KCrash handler]
#5  0xb771e708 in ?? () from /usr/lib/libkio.so.5
#6  0xb771e7b0 in ?? () from /usr/lib/libkio.so.5
#7  0xb7721d44 in ?? () from /usr/lib/libkio.so.5
#8  0xb7722fa5 in KDirModel::qt_metacall(QMetaObject::Call, int, void**) ()
   from /usr/lib/libkio.so.5
#9  0xb7f9e490 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /usr/lib/libQtCore.so.4
#10 0xb7f9f212 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#11 0xb770b9a3 in KDirLister::newItems(KFileItemList const&) ()
   from /usr/lib/libkio.so.5
#12 0xb770cbaa in KDirLister::Private::emitItems() () from /usr/lib/libkio.so.5
#13 0xb770e2b2 in ?? () from /usr/lib/libkio.so.5
#14 0xb7719bc0 in ?? () from /usr/lib/libkio.so.5
#15 0xb7719f39 in ?? () from /usr/lib/libkio.so.5
#16 0xb7f9e490 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /usr/lib/libQtCore.so.4
#17 0xb7f9f212 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#18 0xb7723b19 in OrgKdeKDirNotifyInterface::FileRenamed(QString const&, QString const&) () from /usr/lib/libkio.so.5
#19 0xb7723c41 in OrgKdeKDirNotifyInterface::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5
#20 0xb7274e6f in ?? () from /usr/lib/libQtDBus.so.4
#21 0xb727c1f7 in ?? () from /usr/lib/libQtDBus.so.4
#22 0xb7f99191 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#23 0xb6a858fc in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib/libQtGui.so.4
#24 0xb6a8d75e in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libQtGui.so.4
#25 0xb7a484fd in KApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libkdeui.so.5
#26 0xb7f89871 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /usr/lib/libQtCore.so.4
#27 0xb7f8a4e5 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#28 0xb7f8a6dd in QCoreApplication::sendPostedEvents(QObject*, int) ()
   from /usr/lib/libQtCore.so.4
#29 0xb7fb427f in ?? () from /usr/lib/libQtCore.so.4
#30 0xb62529a8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#31 0xb6256063 in ?? () from /usr/lib/libglib-2.0.so.0
#32 0xb6256221 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#33 0xb7fb3ec8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#34 0xb6b1e765 in ?? () from /usr/lib/libQtGui.so.4
#35 0xb7f87f2a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#36 0xb7f880ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/libQtCore.so.4
#37 0xb7f8a7a5 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#38 0xb6a85777 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#39 0x0808344f in _start ()
Comment 3 mystuff 2008-11-10 00:12:41 UTC
Actually bug 172945 seems very much like the bug I reported, however I'm currently unable to update to KDE 4.1.3. Give it a week or so until my repositories are up to date and I will see if the bug has indeed been fixed, if so I will mark it as a duplicate of bug 172945.
Comment 4 FiNeX 2008-11-14 14:41:53 UTC
Bug #174703, bug #173725 and bug #172643 seems similar.
Comment 5 mystuff 2008-11-14 23:32:50 UTC
My reported issue remains. I am now running:
Dolphin
Version 1.1
Using KDE 4.1.3 (KDE 4.1.3) "release 55.1"

Key issues is that you have split panel view with one in preview mode, *then* go into a folder, go out and then rename it.

Here's the new crash report:

Application: Dolphin (dolphin), signal SIGSEGV
[?1034h(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb4123b90 (LWP 10094)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#6  0xb7650738 in ?? () from /usr/lib/libkio.so.5
#7  0xb76507e0 in ?? () from /usr/lib/libkio.so.5
#8  0xb7653f44 in ?? () from /usr/lib/libkio.so.5
#9  0xb76551a5 in KDirModel::qt_metacall(QMetaObject::Call, int, void**) ()
   from /usr/lib/libkio.so.5
#10 0xb7ed1580 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /usr/lib/libQtCore.so.4
#11 0xb7ed2302 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#12 0xb763d993 in KDirLister::newItems(KFileItemList const&) ()
   from /usr/lib/libkio.so.5
#13 0xb763e91a in KDirLister::Private::emitItems() () from /usr/lib/libkio.so.5
#14 0xb7640462 in ?? () from /usr/lib/libkio.so.5
#15 0xb764c360 in ?? () from /usr/lib/libkio.so.5
#16 0xb764c6f9 in ?? () from /usr/lib/libkio.so.5
#17 0xb7ed1580 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /usr/lib/libQtCore.so.4
#18 0xb7ed2302 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#19 0xb7655d19 in OrgKdeKDirNotifyInterface::FileRenamed(QString const&, QString const&) () from /usr/lib/libkio.so.5
#20 0xb7655e41 in OrgKdeKDirNotifyInterface::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5
#21 0xb71a5e6f in ?? () from /usr/lib/libQtDBus.so.4
#22 0xb71ad1f7 in ?? () from /usr/lib/libQtDBus.so.4
#23 0xb7ecc281 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#24 0xb69b78fc in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib/libQtGui.so.4
#25 0xb69bf75e in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libQtGui.so.4
#26 0xb79793ed in KApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libkdeui.so.5
#27 0xb7ebc961 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /usr/lib/libQtCore.so.4
#28 0xb7ebd5d5 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#29 0xb7ebd7cd in QCoreApplication::sendPostedEvents(QObject*, int) ()
   from /usr/lib/libQtCore.so.4
#30 0xb7ee736f in ?? () from /usr/lib/libQtCore.so.4
#31 0xb61839a8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#32 0xb6187063 in ?? () from /usr/lib/libglib-2.0.so.0
#33 0xb6187221 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#34 0xb7ee6fb8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#35 0xb6a50785 in ?? () from /usr/lib/libQtGui.so.4
#36 0xb7ebb01a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#37 0xb7ebb1da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/libQtCore.so.4
#38 0xb7ebd895 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#39 0xb69b7777 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#40 0x080834df in _start ()
Comment 6 Frank Reininghaus 2008-11-15 00:30:33 UTC
Thanks for the update! So far, I could not reproduce this in 4.1.3 (Kubuntu) and trunk rev. 883346. I'll reassign the bug to KIO because that's where the problem seems to be (and because David might know if this is something he has already fixed after the 4.1.3 release).

If I understood you correctly, you split the view, then enable previews in one of them, then go into a folder and out again and rename that folder in the other view. I suppose you do the "going in and out" step in the view where previews are enabled, or is it in the one where you do the renaming? And do you need a special view mode (Icons, Details, Columns) to reproduce this? I tried a couple of different combinations, but got no crash so far. It would also help to know if you get the crash in every folder or if there must be some special kind of files (like subfolders or images) to get the crash.

Another thing that might help the developers to fix this would be a backtrace with debugging symbols, see
http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports
Thanks for your help!
Comment 7 mystuff 2008-11-15 17:18:33 UTC
To reproduce the bug:

1: Open Dolpin in ~. It defaults to icon mode, normal view.
2: Click 'Splot' button in Dolphin Toolbar.
3: Select right view and switch it to preview mode.
4: In the right view go inside a folder.
5: Now select the *left* window (in normal mode), select that folder and rename it
6: Profit ... crash!



Application: Dolphin (dolphin), signal SIGSEGV
[?1034h(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0xb416fb90 (LWP 27703)]
(no debugging symbols found)
.
.
.
(no debugging symbols found)
[KCrash handler]
#6  0xb769b738 in ?? () from /usr/lib/libkio.so.5
#7  0xb769b7e0 in ?? () from /usr/lib/libkio.so.5
#8  0xb769ef44 in ?? () from /usr/lib/libkio.so.5
#9  0xb76a01a5 in KDirModel::qt_metacall(QMetaObject::Call, int, void**) ()
   from /usr/lib/libkio.so.5
#10 0xb7f1c580 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /usr/lib/libQtCore.so.4
#11 0xb7f1d302 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#12 0xb7688993 in KDirLister::newItems(KFileItemList const&) ()
   from /usr/lib/libkio.so.5
#13 0xb768991a in KDirLister::Private::emitItems() () from /usr/lib/libkio.so.5
#14 0xb768b462 in ?? () from /usr/lib/libkio.so.5
#15 0xb7697360 in ?? () from /usr/lib/libkio.so.5
#16 0xb76976f9 in ?? () from /usr/lib/libkio.so.5
#17 0xb7f1c580 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /usr/lib/libQtCore.so.4
#18 0xb7f1d302 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4
#19 0xb76a0d19 in OrgKdeKDirNotifyInterface::FileRenamed(QString const&, QString const&) () from /usr/lib/libkio.so.5
#20 0xb76a0e41 in OrgKdeKDirNotifyInterface::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5
#21 0xb71f0e6f in ?? () from /usr/lib/libQtDBus.so.4
#22 0xb71f81f7 in ?? () from /usr/lib/libQtDBus.so.4
#23 0xb7f17281 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4
#24 0xb6a028fc in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib/libQtGui.so.4
#25 0xb6a0a75e in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libQtGui.so.4
#26 0xb79c43ed in KApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/libkdeui.so.5
#27 0xb7f07961 in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
   from /usr/lib/libQtCore.so.4
#28 0xb7f085d5 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4
#29 0xb7f087cd in QCoreApplication::sendPostedEvents(QObject*, int) ()
   from /usr/lib/libQtCore.so.4
#30 0xb7f3236f in ?? () from /usr/lib/libQtCore.so.4
#31 0xb61ce9a8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#32 0xb61d2063 in ?? () from /usr/lib/libglib-2.0.so.0
#33 0xb61d2221 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#34 0xb7f31fb8 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#35 0xb6a9b785 in ?? () from /usr/lib/libQtGui.so.4
#36 0xb7f0601a in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4
#37 0xb7f061da in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib/libQtCore.so.4
#38 0xb7f08895 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#39 0xb6a02777 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#40 0x080834df in _start ()
Comment 8 FiNeX 2008-11-15 17:52:33 UTC
Reproduced using current trunk, but I've got no backtrace :-(
Comment 9 Frank Reininghaus 2008-11-16 00:13:54 UTC
Thanks, with the steps in comment 7 I could also reproduce the crash in trunk rev. 884536. I renamed "~/tmp" to "~/tmp-1" and got the output:

dolphin(6820)/kio (KDirModel): First item has URL KUrl("file:///home/kde-devel/tmp-1") -> parent directory would be KUrl("file:///home/kde-devel") but that directory isn't in KDirModel! Root directory: KUrl("file:///home/kde-devel/tmp")
ASSERT: "result" in file /home/kde-devel/kde/src/KDE/kdelibs/kio/kio/kdirmodel.cpp, line 347

Backtrace with debugging information:

Application: Dolphin (dolphin), signal SIGABRT
[Current thread is 0 (LWP 6820)]

Thread 2 (Thread 0xb40e4b90 (LWP 6831)):
#0  0xb7f28430 in __kernel_vsyscall ()
#1  0xb61b1c01 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb664114f in QProcessManager::run (this=0x99bf8d8) at io/qprocess_unix.cpp:301
#3  0xb6551460 in QThreadPrivate::start (arg=0x99bf8d8) at thread/qthread_unix.cpp:185
#4  0xb64c650f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb61b97ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb5b11a60 (LWP 6820)):
[KCrash Handler]
#6  0xb7f28430 in __kernel_vsyscall ()
#7  0xb6103880 in raise () from /lib/tls/i686/cmov/libc.so.6
#8  0xb6105248 in abort () from /lib/tls/i686/cmov/libc.so.6
#9  0xb65458c4 in qt_message_output (msgType=QtFatalMsg, buf=0xbf825300 "ASSERT: \"result\" in file /home/kde-devel/kde/src/KDE/kdelibs/kio/kio/kdirmodel.cpp, line 347") at global/qglobal.cpp:2102
#10 0xb6545948 in qFatal (msg=0xb66c8e04 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2303
#11 0xb6545da4 in qt_assert (assertion=0xb7eddc23 "result", file=0xb7edd600 "/home/kde-devel/kde/src/KDE/kdelibs/kio/kio/kdirmodel.cpp", line=347) at global/qglobal.cpp:1872
#12 0xb7db3a12 in KDirModelPrivate::_k_slotNewItems (this=0x9d01668, items=@0x9cd1db8) at /home/kde-devel/kde/src/KDE/kdelibs/kio/kio/kdirmodel.cpp:347
#13 0xb7db41ec in KDirModel::qt_metacall (this=0x9d015e8, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbf82757c) at /home/kde-devel/kde/build/KDE/kdelibs/kio/kdirmodel.moc:76
#14 0xb667d788 in QMetaObject::activate (sender=0x9d01160, from_signal_index=13, to_signal_index=13, argv=0xbf82757c) at kernel/qobject.cpp:3031
#15 0xb667dd3b in QMetaObject::activate (sender=0x9d01160, m=0x80ab270, local_signal_index=9, argv=0xbf82757c) at kernel/qobject.cpp:3101
#16 0xb7d99a06 in KDirLister::newItems (this=0x9d01160, _t1=@0x9cd1db8) at /home/kde-devel/kde/build/KDE/kdelibs/kio/kdirlister.moc:256
#17 0xb7d99a84 in KDirLister::Private::emitItems (this=0x9d01080) at /home/kde-devel/kde/src/KDE/kdelibs/kio/kio/kdirlister.cpp:2273
#18 0xb7d9fcfe in KDirListerCache::emitRefreshItem (this=0x9ab74e8, oldItem=@0xbf8276b0, fileitem=@0x9c90870) at /home/kde-devel/kde/src/KDE/kdelibs/kio/kio/kdirlister.cpp:922
#19 0xb7da79ee in KDirListerCache::slotFileRenamed (this=0x9ab74e8, _src=@0x9d10fd8, _dst=@0x9d83dc0) at /home/kde-devel/kde/src/KDE/kdelibs/kio/kio/kdirlister.cpp:872
#20 0xb7da7bb6 in KDirListerCache::qt_metacall (this=0x9ab74e8, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbf827808) at /home/kde-devel/kde/build/KDE/kdelibs/kio/kdirlister_p.moc:93
#21 0xb667d788 in QMetaObject::activate (sender=0x9aa4210, from_signal_index=5, to_signal_index=5, argv=0xbf827808) at kernel/qobject.cpp:3031
#22 0xb667dd3b in QMetaObject::activate (sender=0x9aa4210, m=0xb7f02334, local_signal_index=0, argv=0xbf827808) at kernel/qobject.cpp:3101
#23 0xb7db6df7 in OrgKdeKDirNotifyInterface::FileRenamed (this=0x9aa4210, _t1=@0x9d10fd8, _t2=@0x9d83dc0) at /home/kde-devel/kde/build/KDE/kdelibs/kio/kdirnotify.moc:95
#24 0xb7db6e8e in OrgKdeKDirNotifyInterface::qt_metacall (this=0x9aa4210, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbf827948) at /home/kde-devel/kde/build/KDE/kdelibs/kio/kdirnotify.moc:78
#25 0xb72251dc in QDBusConnectionPrivate::deliverCall (this=0x99b6b60, object=0x9aa4210, msg=@0x9da34f4, metaTypes=@0x9da34f8, slotIdx=5) at qdbusintegrator.cpp:849
#26 0xb7231c3a in QDBusCallDeliveryEvent::placeMetaCall (this=0x9da34c8, object=0x9aa4210) at qdbusintegrator_p.h:130
#27 0xb667b2ea in QObject::event (this=0x9aa4210, e=0x9da34c8) at kernel/qobject.cpp:1155
#28 0xb68c64cf in QApplicationPrivate::notify_helper (this=0x99bc580, receiver=0x9aa4210, e=0x9da34c8) at kernel/qapplication.cpp:3803
#29 0xb68c67b1 in QApplication::notify (this=0xbf8281ac, receiver=0x9aa4210, e=0x9da34c8) at kernel/qapplication.cpp:3393
#30 0xb76b88cf in KApplication::notify (this=0xbf8281ac, receiver=0x9aa4210, event=0x9da34c8) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#31 0xb6664f07 in QCoreApplication::notifyInternal (this=0xbf8281ac, receiver=0x9aa4210, event=0x9da34c8) at kernel/qcoreapplication.cpp:587
#32 0xb68c3131 in QCoreApplication::sendEvent (receiver=0x9aa4210, event=0x9da34c8) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:209
#33 0xb66654ca in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x99a7288) at kernel/qcoreapplication.cpp:1198
#34 0xb666575f in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1091
#35 0xb698a542 in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:214
#36 0xb669bd83 in postEventSourceDispatch (s=0x99be310) at kernel/qeventdispatcher_glib.cpp:205
#37 0xb5e0f6f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#38 0xb5e12da3 in ?? () from /usr/lib/libglib-2.0.so.0
#39 0xb5e12f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#40 0xb669af9a in QEventDispatcherGlib::processEvents (this=0x99bc638, flags={i = -1081966460}) at kernel/qeventdispatcher_glib.cpp:319
#41 0xb69889cc in QGuiEventDispatcherGlib::processEvents (this=0x99bc638, flags={i = -1081966412}) at kernel/qguieventdispatcher_glib.cpp:198
#42 0xb6661588 in QEventLoop::processEvents (this=0xbf828138, flags={i = -1081966352}) at kernel/qeventloop.cpp:143
#43 0xb66617c6 in QEventLoop::exec (this=0xbf828138, flags={i = -1081966272}) at kernel/qeventloop.cpp:194
#44 0xb6665881 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#45 0xb68c61e8 in QApplication::exec () at kernel/qapplication.cpp:3331
#46 0x0808597d in main (argc=1, argv=0xbf828364) at /home/kde-devel/kde/src/KDE/kdebase/apps/dolphin/src/main.cpp:94

Comment 10 Dario Andres 2008-12-11 23:16:20 UTC
*** Bug 177539 has been marked as a duplicate of this bug. ***
Comment 11 Dario Andres 2008-12-11 23:18:12 UTC
Look at Bug 177539 for another testcase with steps to reproduce the crash. I created a new report because the line number of the assert was different, but I suppose is the same assert and the line number changed between rev.884536 and rev.895819 (my bug).
Comment 12 David Faure 2008-12-23 01:39:46 UTC
Indeed. Can reproduce the bug. Unit test written. Will finish fixing it tomorrow.
Comment 13 David Faure 2008-12-23 23:28:40 UTC
SVN commit 900898 by dfaure:

Fix crash when renaming a directory. The mechanics involved in KDirLister and KDirModel are rather complex :(
  (those represent two levels of caches to update).
Not writing a unit test for 172945 was really a bad idea back then...

BUG: 174703


 M  +43 -38    kio/kdirlister.cpp  
 M  +10 -1     kio/kdirlister_p.h  
 M  +21 -8     kio/kdirmodel.cpp  
 M  +0 -1      tests/jobremotetest.cpp  
 M  +2 -0      tests/kdirlistertest.cpp  
 M  +51 -2     tests/kdirmodeltest.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=900898