[dolphin] [Bug 471279] Dolphin crash when dragging files or folders across or to the path navigation bar

Joe Hillenbrand bugzilla_noreply at kde.org
Thu Apr 25 18:06:45 BST 2024


https://bugs.kde.org/show_bug.cgi?id=471279

Joe Hillenbrand <joehillen at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |joehillen at gmail.com

--- Comment #17 from Joe Hillenbrand <joehillen at gmail.com> ---
It's very easy to replicate the crash. I built dolphin from source and got this
backtrace:

Commit: 0b87f091c (committed 2 days ago)
Qt Version: 6.7.0
OS: Arch Linux

```
AddressSanitizer:DEADLYSIGNAL
=================================================================
==1284081==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000008 (pc
0x7afa21989567 bp 0x7ffc80ed3750 sp 0x7ffc80ed3370 T0)
==1284081==The signal is caused by a READ memory access.
==1284081==Hint: address points to the zero page.
    #0 0x7afa21989567 in QObject::deleteLater()
(/usr/lib/libQt6Core.so.6+0x189567) (BuildId:
872d4adf2baec6d9d68181290c645df59a742af6)
    #1 0x7afa26d97ccd  (/usr/lib/libKF6KIOFileWidgets.so.6+0xb3ccd) (BuildId:
dec15e4e4929ebff7afe5938e4239f0b3f2d6332)
    #2 0x7afa229470d2 in QWidget::event(QEvent*)
(/usr/lib/libQt6Widgets.so.6+0x1470d2) (BuildId:
1acc2a5af715a07a49da84d032ad4729ba05d7dc)
    #3 0x7afa228fbfca in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(/usr/lib/libQt6Widgets.so.6+0xfbfca) (BuildId:
1acc2a5af715a07a49da84d032ad4729ba05d7dc)
    #4 0x7afa22900d13 in QApplication::notify(QObject*, QEvent*)
(/usr/lib/libQt6Widgets.so.6+0x100d13) (BuildId:
1acc2a5af715a07a49da84d032ad4729ba05d7dc)
    #5 0x7afa2193dae7 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(/usr/lib/libQt6Core.so.6+0x13dae7) (BuildId:
872d4adf2baec6d9d68181290c645df59a742af6)
    #6 0x7afa2295dcf8  (/usr/lib/libQt6Widgets.so.6+0x15dcf8) (BuildId:
1acc2a5af715a07a49da84d032ad4729ba05d7dc)
    #7 0x7afa228fbfca in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(/usr/lib/libQt6Widgets.so.6+0xfbfca) (BuildId:
1acc2a5af715a07a49da84d032ad4729ba05d7dc)
    #8 0x7afa2193dae7 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(/usr/lib/libQt6Core.so.6+0x13dae7) (BuildId:
872d4adf2baec6d9d68181290c645df59a742af6)
    #9 0x7afa21f7ae6f in QGuiApplicationPrivate::processDrag(QWindow*,
QMimeData const*, QPoint const&, QFlags<Qt::DropAction>,
QFlags<Qt::MouseButton>, QFlags<Qt::KeyboardModifier>)
(/usr/lib/libQt6Gui.so.6+0x17ae6f) (BuildId:
40a99cfcaa356361693738c54ac28acf17c748bf)
    #10 0x7afa21fdefa0 in QWindowSystemInterface::handleDrag(QWindow*,
QMimeData const*, QPoint const&, QFlags<Qt::DropAction>,
QFlags<Qt::MouseButton>, QFlags<Qt::KeyboardModifier>)
(/usr/lib/libQt6Gui.so.6+0x1defa0) (BuildId:
40a99cfcaa356361693738c54ac28acf17c748bf)
    #11 0x7afa1b7d9e34 
(/usr/lib/qt6/plugins/platforms/../../../libQt6XcbQpa.so.6+0x78e34) (BuildId:
184891fbb629a38454181bc5310f9526cb75ac9e)
    #12 0x7afa1b7dae18 
(/usr/lib/qt6/plugins/platforms/../../../libQt6XcbQpa.so.6+0x79e18) (BuildId:
184891fbb629a38454181bc5310f9526cb75ac9e)
    #13 0x7afa222f5229 in QBasicDrag::eventFilter(QObject*, QEvent*)
(/usr/lib/libQt6Gui.so.6+0x4f5229) (BuildId:
40a99cfcaa356361693738c54ac28acf17c748bf)
    #14 0x7afa2193c977 in
QCoreApplicationPrivate::sendThroughApplicationEventFilters(QObject*, QEvent*)
(/usr/lib/libQt6Core.so.6+0x13c977) (BuildId:
872d4adf2baec6d9d68181290c645df59a742af6)
    #15 0x7afa228fc0a1 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(/usr/lib/libQt6Widgets.so.6+0xfc0a1) (BuildId:
1acc2a5af715a07a49da84d032ad4729ba05d7dc)
    #16 0x7afa2193dae7 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(/usr/lib/libQt6Core.so.6+0x13dae7) (BuildId:
872d4adf2baec6d9d68181290c645df59a742af6)
    #17 0x7afa21f720e4 in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
(/usr/lib/libQt6Gui.so.6+0x1720e4) (BuildId:
40a99cfcaa356361693738c54ac28acf17c748bf)
    #18 0x7afa21fdcfdb in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(/usr/lib/libQt6Gui.so.6+0x1dcfdb) (BuildId:
40a99cfcaa356361693738c54ac28acf17c748bf)
    #19 0x7afa1b7adb9e 
(/usr/lib/qt6/plugins/platforms/../../../libQt6XcbQpa.so.6+0x4cb9e) (BuildId:
184891fbb629a38454181bc5310f9526cb75ac9e)
    #20 0x7afa2010d198  (/usr/lib/libglib-2.0.so.0+0x5a198) (BuildId:
0a2311dfbbc6c215dc36f4b6bdd2b4b6fbae55a2)
    #21 0x7afa2016c3be  (/usr/lib/libglib-2.0.so.0+0xb93be) (BuildId:
0a2311dfbbc6c215dc36f4b6bdd2b4b6fbae55a2)
    #22 0x7afa2010c711 in g_main_context_iteration
(/usr/lib/libglib-2.0.so.0+0x59711) (BuildId:
0a2311dfbbc6c215dc36f4b6bdd2b4b6fbae55a2)
    #23 0x7afa21b83df3 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(/usr/lib/libQt6Core.so.6+0x383df3) (BuildId:
872d4adf2baec6d9d68181290c645df59a742af6)
    #24 0x7afa21945c7d in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(/usr/lib/libQt6Core.so.6+0x145c7d) (BuildId:
872d4adf2baec6d9d68181290c645df59a742af6)
    #25 0x7afa222f0899 in QBasicDrag::drag(QDrag*)
(/usr/lib/libQt6Gui.so.6+0x4f0899) (BuildId:
40a99cfcaa356361693738c54ac28acf17c748bf)
    #26 0x7afa222f1a28 in QDragManager::drag(QDrag*)
(/usr/lib/libQt6Gui.so.6+0x4f1a28) (BuildId:
40a99cfcaa356361693738c54ac28acf17c748bf)
    #27 0x7afa222f1d77 in QDrag::exec(QFlags<Qt::DropAction>, Qt::DropAction)
(/usr/lib/libQt6Gui.so.6+0x4f1d77) (BuildId:
40a99cfcaa356361693738c54ac28acf17c748bf)
    #28 0x7afa252e3a6e in KItemListController::startDragging()
/home/joe/src/dolphin/src/kitemviews/kitemlistcontroller.cpp:1428
    #29 0x7afa252d6376 in
KItemListController::mouseMoveEvent(QGraphicsSceneMouseEvent*, QTransform
const&) /home/joe/src/dolphin/src/kitemviews/kitemlistcontroller.cpp:645
    #30 0x7afa252e035b in KItemListController::processEvent(QEvent*, QTransform
const&) /home/joe/src/dolphin/src/kitemviews/kitemlistcontroller.cpp:1260
    #31 0x7afa2532c089 in KItemListView::event(QEvent*)
/home/joe/src/dolphin/src/kitemviews/kitemlistview.cpp:1060
    #32 0x7afa228fbfca in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(/usr/lib/libQt6Widgets.so.6+0xfbfca) (BuildId:
1acc2a5af715a07a49da84d032ad4729ba05d7dc)
    #33 0x7afa2193dae7 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(/usr/lib/libQt6Core.so.6+0x13dae7) (BuildId:
872d4adf2baec6d9d68181290c645df59a742af6)
    #34 0x7afa22c9e01e  (/usr/lib/libQt6Widgets.so.6+0x49e01e) (BuildId:
1acc2a5af715a07a49da84d032ad4729ba05d7dc)
    #35 0x7afa22ca2781  (/usr/lib/libQt6Widgets.so.6+0x4a2781) (BuildId:
1acc2a5af715a07a49da84d032ad4729ba05d7dc)
    #36 0x7afa22ca5617 in
QGraphicsScene::mouseMoveEvent(QGraphicsSceneMouseEvent*)
(/usr/lib/libQt6Widgets.so.6+0x4a5617) (BuildId:
1acc2a5af715a07a49da84d032ad4729ba05d7dc)
    #37 0x7afa22caa122 in QGraphicsScene::event(QEvent*)
(/usr/lib/libQt6Widgets.so.6+0x4aa122) (BuildId:
1acc2a5af715a07a49da84d032ad4729ba05d7dc)
    #38 0x7afa228fbfca in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(/usr/lib/libQt6Widgets.so.6+0xfbfca) (BuildId:
1acc2a5af715a07a49da84d032ad4729ba05d7dc)
    #39 0x7afa2193dae7 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(/usr/lib/libQt6Core.so.6+0x13dae7) (BuildId:
872d4adf2baec6d9d68181290c645df59a742af6)
    #40 0x7afa22cd11df in
QGraphicsViewPrivate::mouseMoveEventHandler(QMouseEvent*)
(/usr/lib/libQt6Widgets.so.6+0x4d11df) (BuildId:
1acc2a5af715a07a49da84d032ad4729ba05d7dc)
    #41 0x7afa229470aa in QWidget::event(QEvent*)
(/usr/lib/libQt6Widgets.so.6+0x1470aa) (BuildId:
1acc2a5af715a07a49da84d032ad4729ba05d7dc)
    #42 0x7afa229d45b5 in QFrame::event(QEvent*)
(/usr/lib/libQt6Widgets.so.6+0x1d45b5) (BuildId:
1acc2a5af715a07a49da84d032ad4729ba05d7dc)
    #43 0x7afa2193caaf in
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*)
(/usr/lib/libQt6Core.so.6+0x13caaf) (BuildId:
872d4adf2baec6d9d68181290c645df59a742af6)
    #44 0x7afa228fbfba in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(/usr/lib/libQt6Widgets.so.6+0xfbfba) (BuildId:
1acc2a5af715a07a49da84d032ad4729ba05d7dc)
    #45 0x7afa22900ac4 in QApplication::notify(QObject*, QEvent*)
(/usr/lib/libQt6Widgets.so.6+0x100ac4) (BuildId:
1acc2a5af715a07a49da84d032ad4729ba05d7dc)
    #46 0x7afa2193dae7 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(/usr/lib/libQt6Core.so.6+0x13dae7) (BuildId:
872d4adf2baec6d9d68181290c645df59a742af6)
    #47 0x7afa228f4596 in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool)
(/usr/lib/libQt6Widgets.so.6+0xf4596) (BuildId:
1acc2a5af715a07a49da84d032ad4729ba05d7dc)
    #48 0x7afa2295be36  (/usr/lib/libQt6Widgets.so.6+0x15be36) (BuildId:
1acc2a5af715a07a49da84d032ad4729ba05d7dc)
    #49 0x7afa2295d1bf  (/usr/lib/libQt6Widgets.so.6+0x15d1bf) (BuildId:
1acc2a5af715a07a49da84d032ad4729ba05d7dc)
    #50 0x7afa228fbfca in QApplicationPrivate::notify_helper(QObject*, QEvent*)
(/usr/lib/libQt6Widgets.so.6+0xfbfca) (BuildId:
1acc2a5af715a07a49da84d032ad4729ba05d7dc)
    #51 0x7afa2193dae7 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
(/usr/lib/libQt6Core.so.6+0x13dae7) (BuildId:
872d4adf2baec6d9d68181290c645df59a742af6)
    #52 0x7afa21f720e4 in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
(/usr/lib/libQt6Gui.so.6+0x1720e4) (BuildId:
40a99cfcaa356361693738c54ac28acf17c748bf)
    #53 0x7afa21fdcfdb in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(/usr/lib/libQt6Gui.so.6+0x1dcfdb) (BuildId:
40a99cfcaa356361693738c54ac28acf17c748bf)
    #54 0x7afa1b7adb9e 
(/usr/lib/qt6/plugins/platforms/../../../libQt6XcbQpa.so.6+0x4cb9e) (BuildId:
184891fbb629a38454181bc5310f9526cb75ac9e)
    #55 0x7afa2010d198  (/usr/lib/libglib-2.0.so.0+0x5a198) (BuildId:
0a2311dfbbc6c215dc36f4b6bdd2b4b6fbae55a2)
    #56 0x7afa2016c3be  (/usr/lib/libglib-2.0.so.0+0xb93be) (BuildId:
0a2311dfbbc6c215dc36f4b6bdd2b4b6fbae55a2)
    #57 0x7afa2010c711 in g_main_context_iteration
(/usr/lib/libglib-2.0.so.0+0x59711) (BuildId:
0a2311dfbbc6c215dc36f4b6bdd2b4b6fbae55a2)
    #58 0x7afa21b83df3 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(/usr/lib/libQt6Core.so.6+0x383df3) (BuildId:
872d4adf2baec6d9d68181290c645df59a742af6)
    #59 0x7afa21945c7d in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(/usr/lib/libQt6Core.so.6+0x145c7d) (BuildId:
872d4adf2baec6d9d68181290c645df59a742af6)
    #60 0x7afa219416e7 in QCoreApplication::exec()
(/usr/lib/libQt6Core.so.6+0x1416e7) (BuildId:
872d4adf2baec6d9d68181290c645df59a742af6)
    #61 0x5d775cbbff1c in main /home/joe/src/dolphin/src/main.cpp:259
    #62 0x7afa21243ccf  (/usr/lib/libc.so.6+0x25ccf) (BuildId:
6542915cee3354fbcf2b3ac5542201faec43b5c9)
    #63 0x7afa21243d89 in __libc_start_main (/usr/lib/libc.so.6+0x25d89)
(BuildId: 6542915cee3354fbcf2b3ac5542201faec43b5c9)
    #64 0x5d775cbb0694 in _start (/home/joe/src/dolphin/bin/dolphin+0x67c694)
(BuildId: 7fe9b3c674331cae3326154056182e2426d085be)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/usr/lib/libQt6Core.so.6+0x189567) (BuildId:
872d4adf2baec6d9d68181290c645df59a742af6) in QObject::deleteLater()
==1284081==ABORTING
```

I know nothing about Qt and am a C++ newbie, but it looks like the issue might
be with Qt itself.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list