Application: dolphin (15.08.2) Qt Version: 5.5.0 Operating System: Linux 4.1.12-1-default x86_64 Distribution: "openSUSE Leap 42.1 (x86_64)" -- Information about the crash: - What I was doing when the application crashed: Dolphin crashes every time my cursor moves over a file with an extension of .h or every time I select one using the arrow keys. I have not seen that happen with any other mimetype. It happens whether or not the Informations panel is present in the interface. The crash can be reproduced every time. -- Backtrace: Application: Dolphin (dolphin), signal: Segmentation fault Using host libthread_db library "/lib64/libthread_db.so.1". [Current thread is 1 (Thread 0x7fab1ab757c0 (LWP 8126))] Thread 3 (Thread 0x7fab03d55700 (LWP 8127)): #0 0x00007fab1a41ec1d in poll () at /lib64/libc.so.6 #1 0x00007fab0d67b422 in () at /usr/lib64/libxcb.so.1 #2 0x00007fab0d67d00f in xcb_wait_for_event () at /usr/lib64/libxcb.so.1 #3 0x00007fab060a9c29 in () at /usr/lib64/libQt5XcbQpa.so.5 #4 0x00007fab1477655f in () at /usr/lib64/libQt5Core.so.5 #5 0x00007fab101170a4 in start_thread () at /lib64/libpthread.so.0 #6 0x00007fab1a42704d in clone () at /lib64/libc.so.6 Thread 2 (Thread 0x7faaf8548700 (LWP 8128)): #0 0x00007fab1a41ec1d in poll () at /lib64/libc.so.6 #1 0x00007fab0f9e3e64 in () at /usr/lib64/libglib-2.0.so.0 #2 0x00007fab0f9e3f7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #3 0x00007fab149a7a5b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #4 0x00007fab1494ea63 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #5 0x00007fab1477184a in QThread::exec() () at /usr/lib64/libQt5Core.so.5 #6 0x00007fab1477655f in () at /usr/lib64/libQt5Core.so.5 #7 0x00007fab101170a4 in start_thread () at /lib64/libpthread.so.0 #8 0x00007fab1a42704d in clone () at /lib64/libc.so.6 Thread 1 (Thread 0x7fab1ab757c0 (LWP 8126)): [KCrash Handler] #6 0x00007fab14807518 in operator==(QString const&, QString const&) () at /usr/lib64/libQt5Core.so.5 #7 0x00007fab149e0ddd in () at /usr/lib64/libQt5Core.so.5 #8 0x00007fab149d3df8 in QMimeType::comment() const () at /usr/lib64/libQt5Core.so.5 #9 0x00007fab1848b7d8 in KFileItem::mimeComment() const () at /usr/lib64/libKF5KIOCore.so.5 #10 0x00007fab1848bd09 in KFileItem::getStatusBarInfo() const () at /usr/lib64/libKF5KIOCore.so.5 #11 0x00007fab1a73ab15 in () at /usr/lib64/libkdeinit5_dolphin.so #12 0x00007fab1498040f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5 #13 0x00007fab1a103655 in DolphinView::requestItemInfo(KFileItem const&) () at /usr/lib64/libdolphinprivate.so.5 #14 0x00007fab1a0df716 in DolphinView::slotItemHovered(int) () at /usr/lib64/libdolphinprivate.so.5 #15 0x00007fab1498040f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5 #16 0x00007fab1a1025b1 in KItemListController::itemHovered(int) () at /usr/lib64/libdolphinprivate.so.5 #17 0x00007fab1a0a6745 in KItemListController::hoverMoveEvent(QGraphicsSceneHoverEvent*, QTransform const&) () at /usr/lib64/libdolphinprivate.so.5 #18 0x00007fab1a0a3b5b in KItemListController::processEvent(QEvent*, QTransform const&) () at /usr/lib64/libdolphinprivate.so.5 #19 0x00007fab1a0b5622 in KItemListView::event(QEvent*) () at /usr/lib64/libdolphinprivate.so.5 #20 0x00007fab15ac5e8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #21 0x00007fab15acacd8 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #22 0x00007fab14950ba5 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5 #23 0x00007fab15dd42dc in () at /usr/lib64/libQt5Widgets.so.5 #24 0x00007fab15dd9ce0 in () at /usr/lib64/libQt5Widgets.so.5 #25 0x00007fab15dda117 in () at /usr/lib64/libQt5Widgets.so.5 #26 0x00007fab15dda50b in QGraphicsScene::mouseMoveEvent(QGraphicsSceneMouseEvent*) () at /usr/lib64/libQt5Widgets.so.5 #27 0x00007fab15de6ea4 in QGraphicsScene::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #28 0x00007fab15ac5e8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #29 0x00007fab15acacd8 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #30 0x00007fab14950ba5 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5 #31 0x00007fab15dff2a6 in QGraphicsViewPrivate::mouseMoveEventHandler(QMouseEvent*) () at /usr/lib64/libQt5Widgets.so.5 #32 0x00007fab15b05fe8 in QWidget::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #33 0x00007fab15c004de in QFrame::event(QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #34 0x00007fab15e02683 in QGraphicsView::viewportEvent(QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #35 0x00007fab14950de3 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5 #36 0x00007fab15ac5e6c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #37 0x00007fab15acb2db in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #38 0x00007fab14950ba5 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5 #39 0x00007fab15aca1a1 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /usr/lib64/libQt5Widgets.so.5 #40 0x00007fab15b1f25b in () at /usr/lib64/libQt5Widgets.so.5 #41 0x00007fab15b21453 in () at /usr/lib64/libQt5Widgets.so.5 #42 0x00007fab15ac5e8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #43 0x00007fab15acacd8 in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5 #44 0x00007fab14950ba5 in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5 #45 0x00007fab153323b4 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib64/libQt5Gui.so.5 #46 0x00007fab15333bc5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib64/libQt5Gui.so.5 #47 0x00007fab15318d68 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Gui.so.5 #48 0x00007fab060d4f20 in () at /usr/lib64/libQt5XcbQpa.so.5 #49 0x00007fab0f9e3c84 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0 #50 0x00007fab0f9e3ed8 in () at /usr/lib64/libglib-2.0.so.0 #51 0x00007fab0f9e3f7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0 #52 0x00007fab149a7a3c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #53 0x00007fab1494ea63 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5 #54 0x00007fab149565d6 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5 #55 0x00007fab1a749390 in kdemain () at /usr/lib64/libkdeinit5_dolphin.so #56 0x00007fab1a363b05 in __libc_start_main () at /lib64/libc.so.6 #57 0x00000000004007ee in _start () Reported using DrKonqi
Thanks for the bug report! Could you try to get a more detailed backtrace by installing debugging packages, and ideally, also a Valgrind log? See https://community.kde.org/Dolphin/FAQ/Crashes for details. Thanks for your help.
Created attachment 95849 [details] Valgrind backtrace Valgrind backtrace with debug package
Thanks, but I'm afraid the log does not contain much useful information. It crashes while determining the mime type of the hovered file, so it could be a problem with QMimeDatabase.
Created attachment 96133 [details] Old ~/.local/share/mime folder which caused the problem It seems I have found the source of the crash. Renaming ~/.local/share/mime to mime.old instantly stopped all crashes. Here is an archive of the whole folder in case someone wants to further investigate.
Apparently this bug was caused by a corrupt ~/.local/share/mime folder, and such a case has not been reported again in the last two years. Chances are that this bug is very specific and/or does no longer exist. Can probably be closed.
If someone still experiences a crash when hovering over a .h file, feel free to re-open this bug. But because the chances for that are very low (old, was probably caused by corrupted cache) I'll close it for now.