Bug 177539 - If you have a folder in Trash: , Dolphin crash when trying to display trash:/ if the Folders panel is enabled
Summary: If you have a folder in Trash: , Dolphin crash when trying to display trash:/...
Status: RESOLVED DUPLICATE of bug 178416
Alias: None
Product: kio
Classification: Unmaintained
Component: general (show other bugs)
Version: SVN
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-11 23:00 UTC by Dario Andres
Modified: 2008-12-22 01:08 UTC (History)
2 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 Dario Andres 2008-12-11 23:00:10 UTC
Version:           Dolphin: 1.1.80 (using kdelibs svn rev. 895819 / kdebase svn rev. 895853) (using Devel)
OS:                Linux
Installed from:    Compiled sources

Here using:
Qt: 4.4.3
KDE: 4.1.85 (KDE 4.1.85 (KDE 4.2 Beta2))
kdelibs svn rev. 895819 / kdebase svn rev. 895853

Steps to reproduce:
- If you can, clean your Dolphin config to reset to defaults
- Open Dolphin, create some test folder "New Folder"
- Move to trash that "New Folder" folder
- Go to Trash click in the Places panel.
- Enable the "Folders" panel in Dolphin

Dolphin crashes.

Later, even if you disable the "Folders" panel, Dolphin will crash when going to trash:/ if you have a folder on it.

Here is the backtrace:

ASSERT: "result" in file /home/kde-devel/kde/src/KDE/kdelibs/kio/kio/kdirmodel.cpp, line 377

Application: Dolphin (dolphin), signal SIGABRT
0x00007f30b0e39ed1 in nanosleep () from /lib/libc.so.6

Thread 1 (Thread 0x7f30b65b9750 (LWP 9906)):
[KCrash Handler]
#5  0x00007f30b0dcd0d5 in raise () from /lib/libc.so.6
#6  0x00007f30b0dce5f3 in abort () from /lib/libc.so.6
#7  0x00007f30b2e910a5 in qt_message_output () from /usr/lib/libQtCore.so.4
#8  0x00007f30b2e911c7 in qFatal () from /usr/lib/libQtCore.so.4
#9  0x00007f30b6137eeb in KDirModelPrivate::_k_slotNewItems (this=0x16034a0, directoryUrl=<value optimized out>, items=@0x22bd280) at /home/kde-devel/kde/src/KDE/kdelibs/kio/kio/kdirmodel.cpp:377
#10 0x00007f30b6138ae9 in KDirModel::qt_metacall (this=0x15fbda0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffbe6f6fe0)
    at /home/kde-devel/kde/build/KDE/kdelibs/kio/kdirmodel.moc:76
#11 0x00007f30b2f7ad00 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#12 0x00007f30b611a39a in KDirLister::itemsAdded (this=0x26b2, _t1=<value optimized out>, _t2=<value optimized out>) at /home/kde-devel/kde/build/KDE/kdelibs/kio/kdirlister.moc:266
#13 0x00007f30b611b24b in KDirLister::Private::emitItems (this=0x20eb9e0) at /home/kde-devel/kde/src/KDE/kdelibs/kio/kio/kdirlister.cpp:2232
#14 0x00007f30b611ddce in KDirListerCache::slotEntries (this=0x1936570, job=<value optimized out>, entries=@0x21b7088) at /home/kde-devel/kde/src/KDE/kdelibs/kio/kio/kdirlister.cpp:1050
#15 0x00007f30b612d2cb in KDirListerCache::qt_metacall (this=0x1936570, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffbe6f7360)
    at /home/kde-devel/kde/build/KDE/kdelibs/kio/kdirlister_p.moc:97
#16 0x00007f30b2f7ad00 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#17 0x00007f30b60f4314 in KIO::ListJob::entries (this=0x26b2, _t1=0x20ea7e0, _t2=<value optimized out>) at /home/kde-devel/kde/build/KDE/kdelibs/kio/jobclasses.moc:763
#18 0x00007f30b61019d6 in KIO::ListJobPrivate::slotListEntries (this=0x21b2490, list=@0x7fffbe6f78f0) at /home/kde-devel/kde/src/KDE/kdelibs/kio/kio/job.cpp:2341
#19 0x00007f30b6101b46 in KIO::ListJob::qt_metacall (this=0x20ea7e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffbe6f76d0)
    at /home/kde-devel/kde/build/KDE/kdelibs/kio/jobclasses.moc:750
#20 0x00007f30b2f7ad00 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#21 0x00007f30b61b9f25 in KIO::SlaveInterface::listEntries (this=0x26b2, _t1=<value optimized out>) at /home/kde-devel/kde/build/KDE/kdelibs/kio/slaveinterface.moc:177
#22 0x00007f30b61bd77f in KIO::SlaveInterface::dispatch (this=0x1dfc1e0, _cmd=<value optimized out>, rawdata=@0x4) at /home/kde-devel/kde/src/KDE/kdelibs/kio/kio/slaveinterface.cpp:193
#23 0x00007f30b61ba2f8 in KIO::SlaveInterface::dispatch (this=0x1dfc1e0) at /home/kde-devel/kde/src/KDE/kdelibs/kio/kio/slaveinterface.cpp:91
#24 0x00007f30b61ac4c3 in KIO::Slave::gotInput (this=0x1dfc1e0) at /home/kde-devel/kde/src/KDE/kdelibs/kio/kio/slave.cpp:322
#25 0x00007f30b61ad4f8 in KIO::Slave::qt_metacall (this=0x1dfc1e0, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffbe6f7ac0) at /home/kde-devel/kde/build/KDE/kdelibs/kio/slave.moc:75
#26 0x00007f30b2f7ad00 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#27 0x00007f30b60c82e0 in KIO::ConnectionPrivate::dequeue (this=0x1dd77b0) at /home/kde-devel/kde/src/KDE/kdelibs/kio/kio/connection.cpp:82
#28 0x00007f30b60c841a in KIO::Connection::qt_metacall (this=0x16ceb60, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x229f9b0) at /home/kde-devel/kde/build/KDE/kdelibs/kio/connection.moc:72
#29 0x00007f30b2f76f9e in QObject::event () from /usr/lib/libQtCore.so.4
#30 0x00007f30b33c74dd in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#31 0x00007f30b33cd86a in QApplication::notify () from /usr/lib/libQtGui.so.4
#32 0x00007f30b47a700b in KApplication::notify (this=0x7fffbe6f8500, receiver=0x16ceb60, event=0x22a79e0) at /home/kde-devel/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#33 0x00007f30b2f693d1 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#34 0x00007f30b2f69db8 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#35 0x00007f30b2f8dc03 in ?? () from /usr/lib/libQtCore.so.4
#36 0x00007f30af177aa2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#37 0x00007f30af17b21d in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#38 0x00007f30af17b3db in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#39 0x00007f30b2f8d89f in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#40 0x00007f30b3447fff in ?? () from /usr/lib/libQtGui.so.4
#41 0x00007f30b2f67d42 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#42 0x00007f30b2f67ed5 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#43 0x00007f30b2f6a025 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#44 0x000000000044335d in main (argc=6, argv=0x7fffbe6f89e8) at /home/kde-devel/kde/src/KDE/kdebase/apps/dolphin/src/main.cpp:94
Comment 1 Dario Andres 2008-12-11 23:02:43 UTC
May be related to bug 168421
Comment 2 Dario Andres 2008-12-11 23:16:20 UTC

*** This bug has been marked as a duplicate of bug 174703 ***
Comment 3 Dario Andres 2008-12-19 15:19:12 UTC
Mh, not really sure if this is a duplicate of the original bug 174703
Comment 4 Peter Penz 2008-12-19 15:47:06 UTC
I've reassigned this issue to David (KDirModel...), I've lost a little bit the overview with the KDirModel patches ;-)
Comment 5 David Faure 2008-12-19 17:49:37 UTC
Peter: me too, I've lost overview by now :-)

I know of crashes due to corruption of the new QHash in KDirModel, I'll start by fixing that anyway.
Comment 6 Dario Andres 2008-12-22 01:08:13 UTC

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