Bug 194502 - Dolphin crashes whenever I try to open a folder (KCategorizedSortFilterProxyModel::compareCategories , groups related)
Summary: Dolphin crashes whenever I try to open a folder (KCategorizedSortFilterProxyM...
Status: RESOLVED FIXED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 16.12.2
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
: 195168 198648 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-05-29 04:01 UTC by Raphael Kubo da Costa
Modified: 2009-07-10 13:45 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Faulty dolphinrc (2.51 KB, text/plain)
2009-06-02 15:42 UTC, Raphael Kubo da Costa
Details
.directory (90 bytes, application/octet-stream)
2009-06-02 15:45 UTC, Raphael Kubo da Costa
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Raphael Kubo da Costa 2009-05-29 04:01:37 UTC
Application that crashed: dolphin
Version of the application: 1.2.80
KDE Version: 4.2.88 (KDE 4.2.88 (KDE 4.3 >= 20090527))
Qt Version: 4.5.1
Operating System: Linux 2.6.29-ARCH i686

What I was doing when the application crashed:
Whenever I click a folder on the file view or in the places view on the left, Dolphin crashes with the following backtrace. It seems to be a kdelibs bug, but as it happens inside Dolphin and I don't know the component to assign to in kdelibs, I'm letting DrKonqi assign it to Dolphin.

 -- Backtrace:
Application: Dolphin (dolphin), signal: Aborted
[KCrash Handler]
#6  0xb7f12424 in __kernel_vsyscall ()
#7  0xb5efb7a1 in raise () from /lib/libc.so.6
#8  0xb5efcfd4 in abort () from /lib/libc.so.6
#9  0xb61e63f0 in qt_message_output (msgType=QtFatalMsg, buf=0x9c020e0 "ASSERT: \"r.isValid()\" in file /home/kubo/kde4/build/kdelibs/kdeui/itemviews/kcategorizedsortfilterproxymodel.cpp, line 133")
    at /home/kubo/kde4/build/qt-copy/src/corelib/global/qglobal.cpp:2017
#10 0xb61e6469 in qFatal (msg=0xb636fc24 "ASSERT: \"%s\" in file %s, line %d") at /home/kubo/kde4/build/qt-copy/src/corelib/global/qglobal.cpp:2216
#11 0xb61e691c in qt_assert (assertion=0xb76578bf "r.isValid()", file=0xb7657860 "/home/kubo/kde4/build/kdelibs/kdeui/itemviews/kcategorizedsortfilterproxymodel.cpp", line=133)
    at /home/kubo/kde4/build/qt-copy/src/corelib/global/qglobal.cpp:1786
#12 0xb74ceca3 in KCategorizedSortFilterProxyModel::compareCategories (this=0x98f5028, left=@0xbfd2d64c, right=@0xbfd2d63c)
    at /home/kubo/kde4/build/kdelibs/kdeui/itemviews/kcategorizedsortfilterproxymodel.cpp:133
#13 0xb74ceb21 in KCategorizedSortFilterProxyModel::lessThan (this=0x98f5028, left=@0xbfd2d64c, right=@0xbfd2d63c)
    at /home/kubo/kde4/build/kdelibs/kdeui/itemviews/kcategorizedsortfilterproxymodel.cpp:107
#14 0xb6ce28ac in QSortFilterProxyModelLessThan::operator() (this=0xbfd2d788, r1=2, r2=1) at /home/kubo/kde4/build/qt-copy/src/gui/itemviews/qsortfilterproxymodel.cpp:71
#15 0xb6ce3660 in QAlgorithmsPrivate::qMerge<int*, int const, QSortFilterProxyModelLessThan> (begin=0x9bd8a7c, pivot=0x9bd8a80, end=0x9bd8a84, t=@0x9bd8a78, lessThan=
      {sort_column = -1076701304, source_parent = {r = 0, c = -1, p = 0xffffffff, m = 0x6}, source_model = 0xffffffff, proxy_model = 0xffffffff})
    at ../../include/QtCore/../../../../qt-copy/src/corelib/tools/qalgorithms.h:452
#16 0xb6ce3a3b in QAlgorithmsPrivate::qStableSortHelper<int*, int, QSortFilterProxyModelLessThan> (begin=0x9bd8a7c, end=0x9bd8a84, t=@0x9bd8a78, lessThan=
      {sort_column = -1076701188, source_parent = {r = 0, c = 0, p = 0x1b, m = 0x9c011c8}, source_model = 0x6, proxy_model = 0xffffffff})
    at ../../include/QtCore/../../../../qt-copy/src/corelib/tools/qalgorithms.h:487
#17 0xb6ce39cd in QAlgorithmsPrivate::qStableSortHelper<int*, int, QSortFilterProxyModelLessThan> (begin=0x9bd8a78, end=0x9bd8a84, t=@0x9bd8a78, lessThan=
      {sort_column = -1076701072, source_parent = {r = 160285096, c = -1237171788, p = 0xbfd2d8b8, m = 0xb61ead75}, source_model = 0x6, proxy_model = 0xffffffff})
    at ../../include/QtCore/../../../../qt-copy/src/corelib/tools/qalgorithms.h:486
#18 0xb6ce3990 in QAlgorithmsPrivate::qStableSortHelper<int*, int, QSortFilterProxyModelLessThan> (begin=0x9bd8a78, end=0x9bd8a94, t=@0x9bd8a78, lessThan=
      {sort_column = -1076700928, source_parent = {r = -1076700920, c = -1228254264, p = 0xbfd2d934, m = 0x80d2c2c}, source_model = 0x6, proxy_model = 0xffffffff})
    at ../../include/QtCore/../../../../qt-copy/src/corelib/tools/qalgorithms.h:485
#19 0xb6ce3990 in QAlgorithmsPrivate::qStableSortHelper<int*, int, QSortFilterProxyModelLessThan> (begin=0x9bd8a78, end=0x9bd8ab0, t=@0x9bd8a78, lessThan=
      {sort_column = -1076700784, source_parent = {r = 158087796, c = 0, p = 0x0, m = 0xb63242a0}, source_model = 0x6, proxy_model = 0xffffffff})
    at ../../include/QtCore/../../../../qt-copy/src/corelib/tools/qalgorithms.h:485
#20 0xb6ce3990 in QAlgorithmsPrivate::qStableSortHelper<int*, int, QSortFilterProxyModelLessThan> (begin=0x9bd8a78, end=0x9bd8ae8, t=@0x9bd8a78, lessThan=
      {sort_column = -1076700640, source_parent = {r = -1076700544, c = -1237171788, p = 0xbfd2dab8, m = 0xb6324173}, source_model = 0x6, proxy_model = 0xffffffff})
    at ../../include/QtCore/../../../../qt-copy/src/corelib/tools/qalgorithms.h:485
#21 0xb6ce3af0 in qStableSort<int*, QSortFilterProxyModelLessThan> (start=0x9bd8a78, end=0x9bd8ae8, lessThan=
      {sort_column = -1076700480, source_parent = {r = 160201792, c = 160387112, p = 0xb6ffeaa4, m = 0xbfd2da78}, source_model = 0xb6caf2f7, proxy_model = 0xbfd2dac8})
    at ../../include/QtCore/../../../../qt-copy/src/corelib/tools/qalgorithms.h:229
#22 0xb6cdb9b7 in QSortFilterProxyModelPrivate::sort_source_rows (this=0x98f4f30, source_rows=@0x992bdd0, source_parent=@0xbfd2db38)
    at /home/kubo/kde4/build/qt-copy/src/gui/itemviews/qsortfilterproxymodel.cpp:388
#23 0xb6cde4ca in QSortFilterProxyModelPrivate::sort (this=0x98f4f30) at /home/kubo/kde4/build/qt-copy/src/gui/itemviews/qsortfilterproxymodel.cpp:353
#24 0xb6ce0ce8 in QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0x98f4f30, source_parent=@0xbfd2dd50, start=0, end=27)
    at /home/kubo/kde4/build/qt-copy/src/gui/itemviews/qsortfilterproxymodel.cpp:1154
#25 0xb6ce22da in QSortFilterProxyModel::qt_metacall (this=0x98f5028, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbfd2dd14) at .moc/debug-shared/moc_qsortfilterproxymodel.cpp:126
#26 0xb7af621a in DolphinSortFilterProxyModel::qt_metacall (this=0x98f5028, _c=QMetaObject::InvokeMetaMethod, _id=32, _a=0xbfd2dd14)
    at /home/kubo/kde4/build/build/kdebase/apps/dolphin/src/dolphinsortfilterproxymodel.moc:62
#27 0xb6323f07 in QMetaObject::activate (sender=0x98c7c40, from_signal_index=9, to_signal_index=9, argv=0xbfd2dd14) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qobject.cpp:3120
#28 0xb63254fb in QMetaObject::activate (sender=0x98c7c40, m=0xb64236b8, local_signal_index=5, argv=0xbfd2dd14) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qobject.cpp:3194
#29 0xb636dba2 in QAbstractItemModel::rowsInserted (this=0x98c7c40, _t1=@0xbfd2dd50, _t2=0, _t3=27) at .moc/debug-shared/moc_qabstractitemmodel.cpp:159
#30 0xb62fea2c in QAbstractItemModel::endInsertRows (this=0x98c7c40) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qabstractitemmodel.cpp:2081
#31 0xb7d72935 in KDirModelPrivate::_k_slotNewItems (this=0x98dad20, directoryUrl=@0x9bd4248, items=@0x9bd4250) at /home/kubo/kde4/build/kdelibs/kio/kio/kdirmodel.cpp:433
#32 0xb7d72aff in KDirModel::qt_metacall (this=0x98c7c40, _c=QMetaObject::InvokeMetaMethod, _id=22, _a=0xbfd2e024) at /home/kubo/kde4/build/build/kdelibs/kio/kdirmodel.moc:82
#33 0xb6323f07 in QMetaObject::activate (sender=0x9924dc0, from_signal_index=14, to_signal_index=14, argv=0xbfd2e024) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qobject.cpp:3120
#34 0xb63254fb in QMetaObject::activate (sender=0x9924dc0, m=0x80d27b0, local_signal_index=10, argv=0xbfd2e024) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qobject.cpp:3194
#35 0xb7d56309 in KDirLister::itemsAdded (this=0x9924dc0, _t1=@0x9bd4248, _t2=@0x9bd4250) at /home/kubo/kde4/build/build/kdelibs/kio/kdirlister.moc:268
#36 0xb7d5790a in KDirLister::Private::emitItems (this=0x98c7bd8) at /home/kubo/kde4/build/kdelibs/kio/kio/kdirlister.cpp:2303
#37 0xb7d5c87a in KDirListerCache::slotEntries (this=0x99515b0, job=0x98f22a0, entries=@0xbfd2e60c) at /home/kubo/kde4/build/kdelibs/kio/kio/kdirlister.cpp:1096
#38 0xb7d6540e in KDirListerCache::qt_metacall (this=0x99515b0, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbfd2e304) at /home/kubo/kde4/build/build/kdelibs/kio/kdirlister_p.moc:98
#39 0xb6323f07 in QMetaObject::activate (sender=0x98f22a0, from_signal_index=40, to_signal_index=40, argv=0xbfd2e304) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qobject.cpp:3120
#40 0xb63254fb in QMetaObject::activate (sender=0x98f22a0, m=0xb7f04fc0, local_signal_index=0, argv=0xbfd2e304) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qobject.cpp:3194
#41 0xb7d34709 in KIO::ListJob::entries (this=0x98f22a0, _t1=0x98f22a0, _t2=@0xbfd2e60c) at /home/kubo/kde4/build/build/kdelibs/kio/jobclasses.moc:781
#42 0xb7d3db36 in KIO::ListJobPrivate::slotListEntries (this=0x98d1bd8, list=@0xbfd2e60c) at /home/kubo/kde4/build/kdelibs/kio/kio/job.cpp:2333
#43 0xb7d3de8d in KIO::ListJob::qt_metacall (this=0x98f22a0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfd2e4f8) at /home/kubo/kde4/build/build/kdelibs/kio/jobclasses.moc:767
#44 0xb6323f07 in QMetaObject::activate (sender=0x9ad9298, from_signal_index=10, to_signal_index=10, argv=0xbfd2e4f8) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qobject.cpp:3120
#45 0xb63254fb in QMetaObject::activate (sender=0x9ad9298, m=0xb7f07b84, local_signal_index=6, argv=0xbfd2e4f8) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qobject.cpp:3194
#46 0xb7def233 in KIO::SlaveInterface::listEntries (this=0x9ad9298, _t1=@0xbfd2e60c) at /home/kubo/kde4/build/build/kdelibs/kio/slaveinterface.moc:179
#47 0xb7df1009 in KIO::SlaveInterface::dispatch (this=0x9ad9298, _cmd=106, rawdata=@0xbfd2e668) at /home/kubo/kde4/build/kdelibs/kio/kio/slaveinterface.cpp:193
#48 0xb7df1a8a in KIO::SlaveInterface::dispatch (this=0x9ad9298) at /home/kubo/kde4/build/kdelibs/kio/kio/slaveinterface.cpp:91
#49 0xb7de5107 in KIO::Slave::gotInput (this=0x9ad9298) at /home/kubo/kde4/build/kdelibs/kio/kio/slave.cpp:322
#50 0xb7de65ab in KIO::Slave::qt_metacall (this=0x9ad9298, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbfd2e7a4) at /home/kubo/kde4/build/build/kdelibs/kio/slave.moc:76
#51 0xb6323f07 in QMetaObject::activate (sender=0x9919810, from_signal_index=4, to_signal_index=4, argv=0x0) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qobject.cpp:3120
#52 0xb63254fb in QMetaObject::activate (sender=0x9919810, m=0xb7f044c0, local_signal_index=0, argv=0x0) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qobject.cpp:3194
#53 0xb7d09287 in KIO::Connection::readyRead (this=0x9919810) at /home/kubo/kde4/build/build/kdelibs/kio/connection.moc:86
#54 0xb7d0a156 in KIO::ConnectionPrivate::dequeue (this=0x96f89f0) at /home/kubo/kde4/build/kdelibs/kio/kio/connection.cpp:82
#55 0xb7d0afa6 in KIO::Connection::qt_metacall (this=0x9919810, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x98f3c28) at /home/kubo/kde4/build/build/kdelibs/kio/connection.moc:73
#56 0xb631c0e6 in QMetaCallEvent::placeMetaCall (this=0x9bc8ac8, object=0x9919810) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qobject.cpp:489
#57 0xb6321427 in QObject::event (this=0x9919810, e=0x9bc8ac8) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qobject.cpp:1118
#58 0xb6591f57 in QApplicationPrivate::notify_helper (this=0x9704998, receiver=0x9919810, e=0x9bc8ac8) at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qapplication.cpp:4057
#59 0xb659230b in QApplication::notify (this=0xbfd2f1c4, receiver=0x9919810, e=0x9bc8ac8) at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qapplication.cpp:3604
#60 0xb74ed6ab in KApplication::notify (this=0xbfd2f1c4, receiver=0x9919810, event=0x9bc8ac8) at /home/kubo/kde4/build/kdelibs/kdeui/kernel/kapplication.cpp:302
#61 0xb6309732 in QCoreApplication::notifyInternal (this=0xbfd2f1c4, receiver=0x9919810, event=0x9bc8ac8) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qcoreapplication.cpp:610
#62 0xb658e667 in QCoreApplication::sendEvent (receiver=0x9919810, event=0x9bc8ac8) at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:213
#63 0xb6309cbc in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x96c39c8) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1247
#64 0xb6309f51 in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qcoreapplication.cpp:1140
#65 0xb665f0a0 in QCoreApplication::sendPostedEvents () at ../../include/QtCore/../../../../qt-copy/src/corelib/kernel/qcoreapplication.h:218
#66 0xb63416de in postEventSourceDispatch (s=0x96fd908) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:209
#67 0xb5a55288 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#68 0xb5a58878 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#69 0xb5a589ea in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#70 0xb63408c2 in QEventDispatcherGlib::processEvents (this=0x9704300, flags={i = -1076694920}) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qeventdispatcher_glib.cpp:324
#71 0xb665d644 in QGuiEventDispatcherGlib::processEvents (this=0x9704300, flags={i = -1076694872}) at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qguieventdispatcher_glib.cpp:202
#72 0xb6305d3c in QEventLoop::processEvents (this=0xbfd2f138, flags={i = -1076694808}) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qeventloop.cpp:149
#73 0xb6305f97 in QEventLoop::exec (this=0xbfd2f138, flags={i = -1076694720}) at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qeventloop.cpp:200
#74 0xb630a087 in QCoreApplication::exec () at /home/kubo/kde4/build/qt-copy/src/corelib/kernel/qcoreapplication.cpp:888
#75 0xb6591c70 in QApplication::exec () at /home/kubo/kde4/build/qt-copy/src/gui/kernel/qapplication.cpp:3526
#76 0x080795af in main (argc=6, argv=0xbfd2f3a4) at /home/kubo/kde4/build/kdebase/apps/dolphin/src/main.cpp:94

Reported using DrKonqi
Comment 1 Dario Andres 2009-05-29 14:56:35 UTC
Adding the maintainer of the class to the CC. (it is indeed on kdelibs/kdeui, but let leave it a bit on Dolphin). Thanks
Comment 2 Raphael Kubo da Costa 2009-06-02 15:41:17 UTC
It seems to be some problem with my $KDEHOME/share/config/dolphinrc and $KDEHOME/share/apps/dolphin.

If I remove/rename both of them and start Dolphin, everything runs fine. If I use any of them, however, Dolphin crashes.
Comment 3 Raphael Kubo da Costa 2009-06-02 15:42:34 UTC
Created attachment 34199 [details]
Faulty dolphinrc

If I use a clean dolphinrc but have a faulty $KDEHOME/share/apps/dolphin/ it still crashes.
Comment 4 Raphael Kubo da Costa 2009-06-02 15:45:20 UTC
Created attachment 34200 [details]
.directory

This is the only file that makes this directory different from a fresh one.

It's $KDEHOME/share/apps/dolphin/view_properties/local/mnt/cdrom/home/rakuco/amsn_received/.directory and I have no idea how it got there ;)
Comment 5 Raphael Kubo da Costa 2009-06-04 06:31:18 UTC
*** Bug 195168 has been marked as a duplicate of this bug. ***
Comment 6 Raphael Kubo da Costa 2009-06-04 06:33:23 UTC
Duplicated bug 195168 offers a different path that triggers this crash:

1) View->Show in Groups
2) View->Sort by Type
3) crash
Comment 7 Dario Andres 2009-06-07 18:15:03 UTC
Here using:

Qt: 4.5.1 (qt-copy  971295)
KDE: 4.2.90 (KDE 4.2.90 (KDE 4.3 Beta2))
kdelibs svn rev. 978201 / kdebase svn rev. 978202
on ArchLinux i686 - Kernel 2.6.29.4

I can't reproduce the crash with the steps of comment 5 / comment 6
I guess it could depend on the folder contents

Are you still able to reproduce this?
Comment 8 Raphael Kubo da Costa 2009-06-08 00:48:54 UTC
Yes, I'm able to reproduce it by following the steps in both comment 4 and comment 6.
Comment 9 Michael 2009-06-14 15:53:10 UTC
Application that crashed: dolphin
Version of the application: 1.2.80
KDE Version: 4.2.91 (KDE 4.2.91 (KDE 4.3 >= 20090609))
Qt Version: 4.5.1
Operating System: Linux 2.6.30 x86_64

What I was doing when the application crashed:

1. Opened Dolphin
2. Changed sorting to "Filetype"
3. Toggled "Show in Groups"

So i can second that bug, and it is existing in 4.2.91

 -- Backtrace:
Application: Dolphin (dolphin), signal: Aborted
[KCrash Handler]
#5  0x00007fa4f22b8285 in raise () from /lib64/libc.so.6
#6  0x00007fa4f22b9642 in abort () from /lib64/libc.so.6
#7  0x00007fa4f344ab25 in qt_message_output () from /usr/lib64/qt4/libQtCore.so.4
#8  0x00007fa4f344ac40 in qFatal () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007fa4f4056a8c in KCategorizedSortFilterProxyModel::compareCategories (this=0x23ed580, left=@0x7fff9f28dd90, right=@0x7fff9f28ddb0)
    at /var/tmp/paludis/kde-base-kdelibs-4.2.91/work/kdelibs-4.2.91/kdeui/itemviews/kcategorizedsortfilterproxymodel.cpp:133
#10 0x00007fa4f405699c in KCategorizedSortFilterProxyModel::lessThan (this=0x53bb, left=@0x7fff9f28dd90, right=@0x7fff9f28ddb0)
    at /var/tmp/paludis/kde-base-kdelibs-4.2.91/work/kdelibs-4.2.91/kdeui/itemviews/kcategorizedsortfilterproxymodel.cpp:107
#11 0x00007fa4f2fb5e06 in QAlgorithmsPrivate::qMerge<int*, int const, QSortFilterProxyModelLessThan> () from /usr/lib64/qt4/libQtGui.so.4
#12 0x00007fa4f2fb643b in QAlgorithmsPrivate::qStableSortHelper<int*, int, QSortFilterProxyModelLessThan> () from /usr/lib64/qt4/libQtGui.so.4
#13 0x00007fa4f2fb63dd in QAlgorithmsPrivate::qStableSortHelper<int*, int, QSortFilterProxyModelLessThan> () from /usr/lib64/qt4/libQtGui.so.4
#14 0x00007fa4f2fb63dd in QAlgorithmsPrivate::qStableSortHelper<int*, int, QSortFilterProxyModelLessThan> () from /usr/lib64/qt4/libQtGui.so.4
#15 0x00007fa4f2fb637f in QAlgorithmsPrivate::qStableSortHelper<int*, int, QSortFilterProxyModelLessThan> () from /usr/lib64/qt4/libQtGui.so.4
#16 0x00007fa4f2fb637f in QAlgorithmsPrivate::qStableSortHelper<int*, int, QSortFilterProxyModelLessThan> () from /usr/lib64/qt4/libQtGui.so.4
#17 0x00007fa4f2fb637f in QAlgorithmsPrivate::qStableSortHelper<int*, int, QSortFilterProxyModelLessThan> () from /usr/lib64/qt4/libQtGui.so.4
#18 0x00007fa4f2fb637f in QAlgorithmsPrivate::qStableSortHelper<int*, int, QSortFilterProxyModelLessThan> () from /usr/lib64/qt4/libQtGui.so.4
#19 0x00007fa4f2fb637f in QAlgorithmsPrivate::qStableSortHelper<int*, int, QSortFilterProxyModelLessThan> () from /usr/lib64/qt4/libQtGui.so.4
#20 0x00007fa4f2fb01ab in QSortFilterProxyModelPrivate::sort_source_rows () from /usr/lib64/qt4/libQtGui.so.4
#21 0x00007fa4f2fb0570 in QSortFilterProxyModelPrivate::create_mapping () from /usr/lib64/qt4/libQtGui.so.4
#22 0x00007fa4f2fb156e in QSortFilterProxyModelPrivate::update_persistent_indexes () from /usr/lib64/qt4/libQtGui.so.4
#23 0x00007fa4f2fb19e3 in QSortFilterProxyModelPrivate::clear_mapping () from /usr/lib64/qt4/libQtGui.so.4
#24 0x00007fa4f2fb1aa2 in QSortFilterProxyModel::invalidate () from /usr/lib64/qt4/libQtGui.so.4
#25 0x00007fa4f4e7f823 in DolphinView::setCategorizedSorting (this=0x241c0c0, categorized=true) at /var/tmp/paludis/kde-base-dolphin-4.2.91/work/dolphin-4.2.91/dolphin/src/dolphinview.cpp:824
#26 0x00007fa4f4e6e77c in DolphinViewActionHandler::qt_metacall (this=0x2475ed0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff9f28e880)
    at /var/tmp/paludis/kde-base-dolphin-4.2.91/work/dolphin-4.2.91_build/dolphin/src/moc_dolphinviewactionhandler.cpp:136
#27 0x00007fa4f3537ebd in QMetaObject::activate () from /usr/lib64/qt4/libQtCore.so.4
#28 0x00007fa4f2a8d4a7 in QAction::triggered () from /usr/lib64/qt4/libQtGui.so.4
#29 0x00007fa4f2a8e740 in QAction::activate () from /usr/lib64/qt4/libQtGui.so.4
#30 0x00007fa4f2e5ccfc in QMenuPrivate::activateCausedStack () from /usr/lib64/qt4/libQtGui.so.4
#31 0x00007fa4f2e62a8b in QMenuPrivate::activateAction () from /usr/lib64/qt4/libQtGui.so.4
#32 0x00007fa4f4106a61 in KMenu::mouseReleaseEvent (this=0x246e850, e=0x7fff9f28f500) at /var/tmp/paludis/kde-base-kdelibs-4.2.91/work/kdelibs-4.2.91/kdeui/widgets/kmenu.cpp:456
#33 0x00007fa4f2adfff0 in QWidget::event () from /usr/lib64/qt4/libQtGui.so.4
#34 0x00007fa4f2e6410b in QMenu::event () from /usr/lib64/qt4/libQtGui.so.4
#35 0x00007fa4f2a9291d in QApplicationPrivate::notify_helper () from /usr/lib64/qt4/libQtGui.so.4
#36 0x00007fa4f2a9ba7b in QApplication::notify () from /usr/lib64/qt4/libQtGui.so.4
#37 0x00007fa4f406c9d1 in KApplication::notify (this=0x7fff9f291280, receiver=0x246e850, event=0x7fff9f28f500)
    at /var/tmp/paludis/kde-base-kdelibs-4.2.91/work/kdelibs-4.2.91/kdeui/kernel/kapplication.cpp:302
#38 0x00007fa4f3525a9b in QCoreApplication::notifyInternal () from /usr/lib64/qt4/libQtCore.so.4
#39 0x00007fa4f2a9ad28 in QApplicationPrivate::sendMouseEvent () from /usr/lib64/qt4/libQtGui.so.4
#40 0x00007fa4f2af5beb in QETWidget::translateMouseEvent () from /usr/lib64/qt4/libQtGui.so.4
#41 0x00007fa4f2af4575 in QApplication::x11ProcessEvent () from /usr/lib64/qt4/libQtGui.so.4
#42 0x00007fa4f2b1944c in x11EventSourceDispatch () from /usr/lib64/qt4/libQtGui.so.4
#43 0x00007fa4eeabe89e in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#44 0x00007fa4eeac0665 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#45 0x00007fa4eeac0745 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#46 0x00007fa4f354af3f in QEventDispatcherGlib::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#47 0x00007fa4f2b18d0f in QGuiEventDispatcherGlib::processEvents () from /usr/lib64/qt4/libQtGui.so.4
#48 0x00007fa4f3524452 in QEventLoop::processEvents () from /usr/lib64/qt4/libQtCore.so.4
#49 0x00007fa4f35245e5 in QEventLoop::exec () from /usr/lib64/qt4/libQtCore.so.4
#50 0x00007fa4f352667c in QCoreApplication::exec () from /usr/lib64/qt4/libQtCore.so.4
#51 0x0000000000434195 in main (argc=5, argv=0x7fff9f291768) at /var/tmp/paludis/kde-base-dolphin-4.2.91/work/dolphin-4.2.91/dolphin/src/main.cpp:94
Comment 10 John 2009-06-26 11:58:24 UTC
I get a sig fault in Dolphin on PC-BSD, a FreeBSD derivative:

A Fatal Error Occurred
The application Dolphin (dolphin) crashed and caused the signal 11 (SIGSEGV).
Please help us improve the software you use by filing a report at http://bugs.kde.org. Useful details include how to reproduce the error, documents that were loaded, etc.
Comment 11 Dario Andres 2009-06-26 14:55:21 UTC
@John: thanks. Your crash may be related or not to this one. If you can reproduce the crash at will, may you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and post a complete backtrace in a NEW report? Thanks
Comment 12 Dario Andres 2009-07-03 17:18:04 UTC
*** Bug 198648 has been marked as a duplicate of this bug. ***
Comment 13 David Faure 2009-07-07 01:41:57 UTC
I'm getting this crash every time I open $HOME in dolphin or konqueror. Any hints about how to debug this (e.g. possible causes / recent changes) ?
Comment 14 Raphael Kubo da Costa 2009-07-07 05:45:21 UTC
I don't know about the technical causes; if it helps, on the user side there are two possible and different causes: see comments #2 and #4 for one and comment #9 for another (and workarounds for each of them).
Comment 15 Peter Penz 2009-07-09 01:22:29 UTC
@David: I'm not aware of any technical change done in Dolphin which might trigger this issue.

I just tried to reproduce it as explained in comment #6, but I get no crash. Might it be possible that this is related to Qt 4.5.1? Can somebody reproduce it with Qt 4.5.2? (I've Qt 4.5.2 installed)
Comment 16 Raphael Kubo da Costa 2009-07-09 02:43:50 UTC
(In reply to comment #15)
> I just tried to reproduce it as explained in comment #6, but I get no crash.
> Might it be possible that this is related to Qt 4.5.1? Can somebody reproduce
> it with Qt 4.5.2? (I've Qt 4.5.2 installed)
I've just tried it with kde-qt (HEAD = fad3c738d6c) and it crashed when I chose to group by type here.
Comment 17 Michael 2009-07-09 12:20:50 UTC
I just recompiled kde-base/dolphin::kde :4.3 [R 4.2.95] with x11-libs/qt-core :4 [R 4.5.2] and can reproduce the bug every time.
Comment 18 David Faure 2009-07-10 13:45:30 UTC
SVN commit 994215 by dfaure:

Fix regression introduced by an obviously untested "krazy fix" (r973284). Setting a
QVariant to QString() is not the same as calling clear on the QVariant (which makes the variant invalid).
BUG: 194502
CCMAIL: peter.penz@gmx.at


 M  +2 -1      dolphinmodel.cpp  


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