Bug 178205 - dolphin crashes after refreshing list of directories
Summary: dolphin crashes after refreshing list of directories
Status: RESOLVED DUPLICATE of bug 177125
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-19 18:39 UTC by Andrew Belitsky
Modified: 2008-12-20 14:01 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Belitsky 2008-12-19 18:39:30 UTC
Version:           1.1.80 (using 4.1.85 (KDE 4.1.85 (KDE 4.2 Beta2)), Eth-OS)
Compiler:          gcc
OS:                Linux (i686) release 2.6.27-ARCH

Dolphin crashes when refreshing list of directories after deleting some folders.

For example:
1. Start dolphin and create directory ~/test
2. Go into that directory and then go back into home directory
3. Delete this directory with Del button

Приложение: Dolphin (dolphin), сигнал SIGSEGV

Thread 1 (Thread 0xb61da700 (LWP 4616)):
[KCrash Handler]
#6  0xb7ef4971 in KDirModelNode::rowNumber () from /usr/lib/libkio.so.5
#7  0xb7ef4a10 in KDirModelPrivate::indexForNode () from /usr/lib/libkio.so.5
#8  0xb7ef8573 in KDirModel::indexForUrl () from /usr/lib/libkio.so.5
#9  0xb7d38f78 in SelectionManager::indexForUrl () from /usr/lib/libdolphinprivate.so.4
#10 0xb7d39098 in SelectionManager::slotSelectionChanged () from /usr/lib/libdolphinprivate.so.4
#11 0xb7d394dc in SelectionManager::qt_metacall () from /usr/lib/libdolphinprivate.so.4
#12 0xb6c5582b in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#13 0xb6c55d82 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#14 0xb72bd729 in QItemSelectionModel::selectionChanged () from /usr/lib/libQtGui.so.4
#15 0xb72c1a9c in QItemSelectionModel::emitSelectionChanged () from /usr/lib/libQtGui.so.4
#16 0xb72c2f32 in QItemSelectionModel::select () from /usr/lib/libQtGui.so.4
#17 0xb72c3a6d in ?? () from /usr/lib/libQtGui.so.4
#18 0x0990bc58 in ?? ()
#19 0xbfb75448 in ?? ()
#20 0xbfb75444 in ?? ()
#21 0x00000008 in ?? ()
#22 0xbfb75614 in ?? ()
#23 0xbfb75614 in ?? ()
#24 0x00000001 in ?? ()
#25 0xbfb753e0 in ?? ()
#26 0xb72f13f0 in ?? () from /usr/lib/libQtGui.so.4
#27 0x0990bc58 in ?? ()
#28 0xbfb753e8 in ?? ()
#29 0xb744e0cc in ?? () from /usr/lib/libQtGui.so.4
#30 0x00000001 in ?? ()
#31 0x00000008 in ?? ()
#32 0x0990b880 in ?? ()
#33 0x096227a0 in ?? ()
#34 0x00000001 in ?? ()
#35 0x00000000 in ?? ()
Comment 1 Dario Andres 2008-12-19 18:47:43 UTC
I can reproduce this here, but I think I got the "Delete folder crash".
But there's something new : "SelectionManager" (not in my backtrace)

Here using:

Qt: 4.4.3
KDE: 4.1.85 (KDE 4.1.85 (KDE 4.2 Beta2))
kdelibs svn rev. 898705 / kdebase svn rev. 898705
on ArchLinux x86_64 - Kernel 2.6.27.8

Backtrace:

Application: Dolphin (dolphin), signal SIGSEGV
0x00007fa8e2a65fd0 in __nanosleep_nocancel () from /lib/libc.so.6

Thread 1 (Thread 0x7fa8e6edd750 (LWP 9129)):
[KCrash Handler]
#5  KDirModelNode::rowNumber (this=0x2679520) at /usr/include/QtCore/qlist.h:83
#6  0x00007fa8e6a54a48 in KDirModelPrivate::indexForNode (this=0x2177600, node=0x2679520, rowNumber=-1) at /home/kde-devel/kde/src/KDE/kdelibs/kio/kio/kdirmodel.cpp:291
#7  0x00007fa8e6a5936b in KDirModel::indexForUrl (this=0x21e9830, url=@0x21e5b78) at /home/kde-devel/kde/src/KDE/kdelibs/kio/kio/kdirmodel.cpp:856
#8  0x00007fa8e621f2ee in DolphinView::restoreCurrentItem (this=0x21e5ad0) at /home/kde-devel/kde/src/KDE/kdebase/apps/dolphin/src/dolphinview.cpp:1095
#9  0x00007fa8e6222d9f in DolphinView::qt_metacall (this=0x21e5ad0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffef01c810)
    at /home/kde-devel/kde/build/KDE/kdebase/apps/dolphin/src/dolphinview.moc:204
#10 0x00007fa8e382dac0 in QMetaObject::activate (sender=0x21e7b20, from_signal_index=<value optimized out>, to_signal_index=5, argv=0xffffffff) at kernel/qobject.cpp:3028
#11 0x00007fa8e6a4f1e4 in KDirListerCache::slotUpdateResult (this=0x210c690, j=<value optimized out>) at /home/kde-devel/kde/src/KDE/kdelibs/kio/kio/kdirlister.cpp:1581
#12 0x00007fa8e6a50327 in KDirListerCache::qt_metacall (this=0x210c690, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffef01cca0)
    at /home/kde-devel/kde/build/KDE/kdelibs/kio/kdirlister_p.moc:101
#13 0x00007fa8e382dac0 in QMetaObject::activate (sender=0x2408da0, from_signal_index=<value optimized out>, to_signal_index=7, argv=0xffffffff) at kernel/qobject.cpp:3028
#14 0x00007fa8e48c9f92 in KJob::result (this=0x2679520, _t1=0x2408da0) at /home/kde-devel/kde/build/KDE/kdelibs/kdecore/kjob.moc:186
#15 0x00007fa8e48ca35f in KJob::emitResult (this=0x2408da0) at /home/kde-devel/kde/src/KDE/kdelibs/kdecore/jobs/kjob.cpp:294
#16 0x00007fa8e6a1ffe0 in KIO::SimpleJob::slotFinished (this=0x2408da0) at /home/kde-devel/kde/src/KDE/kdelibs/kio/kio/job.cpp:489
#17 0x00007fa8e6a22b15 in KIO::ListJob::slotFinished (this=0x2408da0) at /home/kde-devel/kde/src/KDE/kdelibs/kio/kio/job.cpp:2416
#18 0x00007fa8e6a24c2d in KIO::ListJob::qt_metacall (this=0x2408da0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffef01cfe0)
    at /home/kde-devel/kde/build/KDE/kdelibs/kio/jobclasses.moc:747
#19 0x00007fa8e382dac0 in QMetaObject::activate (sender=0x2564a30, from_signal_index=<value optimized out>, to_signal_index=8, argv=0xffffffff) at kernel/qobject.cpp:3028
#20 0x00007fa8e6ae0971 in KIO::SlaveInterface::dispatch (this=0x2564a30, _cmd=104, rawdata=<value optimized out>) at /home/kde-devel/kde/src/KDE/kdelibs/kio/kio/slaveinterface.cpp:175
#21 0x00007fa8e6add448 in KIO::SlaveInterface::dispatch (this=0x2564a30) at /home/kde-devel/kde/src/KDE/kdelibs/kio/kio/slaveinterface.cpp:91
#22 0x00007fa8e6acf613 in KIO::Slave::gotInput (this=0x2564a30) at /home/kde-devel/kde/src/KDE/kdelibs/kio/kio/slave.cpp:322
#23 0x00007fa8e6ad0648 in KIO::Slave::qt_metacall (this=0x2564a30, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffef01d400) at /home/kde-devel/kde/build/KDE/kdelibs/kio/slave.moc:75
#24 0x00007fa8e382dac0 in QMetaObject::activate (sender=0x250d820, from_signal_index=<value optimized out>, to_signal_index=4, argv=0xffffffff) at kernel/qobject.cpp:3028
#25 0x00007fa8e69eb370 in KIO::ConnectionPrivate::dequeue (this=0x254f6d0) at /home/kde-devel/kde/src/KDE/kdelibs/kio/kio/connection.cpp:82
#26 0x00007fa8e69eb4aa in KIO::Connection::qt_metacall (this=0x250d820, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x266d730) at /home/kde-devel/kde/build/KDE/kdelibs/kio/connection.moc:72
#27 0x00007fa8e3827c6e in QObject::event (this=0x250d820, e=0x2684bc0) at kernel/qobject.cpp:1152
#28 0x00007fa8e3c7f0ad in QApplicationPrivate::notify_helper (this=0x1dca3b0, receiver=0x250d820, e=0x2684bc0) at kernel/qapplication.cpp:3803
#29 0x00007fa8e3c8640e in QApplication::notify (this=0x7fffef01de40, receiver=0x250d820, e=0x2684bc0) at kernel/qapplication.cpp:3768
#30 0x00007fa8e50c122b in KApplication::notify (this=0x7fffef01de40, receiver=0x250d820, event=0x2684bc0) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#31 0x00007fa8e3818d90 in QCoreApplication::notifyInternal (this=0x7fffef01de40, receiver=0x250d820, event=0x2684bc0) at kernel/qcoreapplication.cpp:583
#32 0x00007fa8e381c643 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1d85eb0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:209
#33 0x00007fa8e383ffa3 in postEventSourceDispatch (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:214
#34 0x00007fa8dfa17aa2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#35 0x00007fa8dfa1b21d in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#36 0x00007fa8dfa1b3db in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#37 0x00007fa8e383fcdf in QEventDispatcherGlib::processEvents (this=0x1d949b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:319
#38 0x00007fa8e3d06f7f in QGuiEventDispatcherGlib::processEvents (this=0x2679520, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:198
#39 0x00007fa8e38179c2 in QEventLoop::processEvents (this=<value optimized out>, flags={i = -285090448}) at kernel/qeventloop.cpp:143
#40 0x00007fa8e3817b55 in QEventLoop::exec (this=0x7fffef01ddb0, flags={i = -285090368}) at kernel/qeventloop.cpp:190
#41 0x00007fa8e381c8f7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:845
#42 0x000000000044376d in main (argc=1, argv=0x7fffef01e328) at /home/kde-devel/kde/src/KDE/kdebase/apps/dolphin/src/main.cpp:94

Comment 2 Peter Penz 2008-12-19 19:04:23 UTC
The second trace indicates another KDirModel issue, but I'm not 100 % sure... I've set David to CC.
Comment 3 Frank Reininghaus 2008-12-19 20:18:32 UTC
The backtrace of Darío's comment 1 looks like bug 177125. I don't know if the original report is also related to that one...
Comment 4 Peter Penz 2008-12-20 14:01:19 UTC
Thanks Frank for comparing the backtraces. I've set this as duplicate of bug 177125 - David got so many KDirModel tickets during the last weeks, that it might be easier if he has collected them as part of bug 177125.

Only 4 days until Christmas and I'm bombing David with KDirModel issues - I'm feeling guilty ;-)

*** This bug has been marked as a duplicate of bug 177125 ***