Summary: | Dolphin crashes whenever I try to open a folder (KCategorizedSortFilterProxyModel::compareCategories , groups related) | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | Raphael Kubo da Costa <rakuco> |
Component: | general | Assignee: | Peter Penz <peter.penz19> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | andresbajotierra, bsduser65, ereslibre, faure, gejdos.pavel, pzcdyhbb0nzq9layi4mcj1hhp, schnitzelkuchen |
Priority: | NOR | ||
Version: | 16.12.2 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: |
Faulty dolphinrc
.directory |
Description
Raphael Kubo da Costa
2009-05-29 04:01:37 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 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. Created attachment 34199 [details]
Faulty dolphinrc
If I use a clean dolphinrc but have a faulty $KDEHOME/share/apps/dolphin/ it still crashes.
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 ;)
*** Bug 195168 has been marked as a duplicate of this bug. *** Duplicated bug 195168 offers a different path that triggers this crash: 1) View->Show in Groups 2) View->Sort by Type 3) crash 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? 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 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. @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 *** Bug 198648 has been marked as a duplicate of this bug. *** 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) ? 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). @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) (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. 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. 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 |