[dolphin] [Bug 485714] New: Dolphin crashes when dragging file or folder over location bar in non-editable mode

bugzilla_noreply at kde.org bugzilla_noreply at kde.org
Thu Apr 18 07:47:58 BST 2024


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

            Bug ID: 485714
           Summary: Dolphin crashes when dragging file or folder over
                    location bar in non-editable mode
    Classification: Applications
           Product: dolphin
           Version: 24.02.2
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: bars: location
          Assignee: dolphin-bugs-null at kde.org
          Reporter: anacty at protonmail.ch
                CC: kfm-devel at kde.org
  Target Milestone: ---

Created attachment 168637
  --> https://bugs.kde.org/attachment.cgi?id=168637&action=edit
gdb.txt

This is dolphin 24.02.2 but archlinux applied this patch:
https://invent.kde.org/system/dolphin/-/commit/a07f2422.patch

Dolphin segfaults when dragging something over the folder names in the location
bar (not the arrows)


STEPS TO REPRODUCE
1. Open dolphin
2. Have the location bar in non-editable mode
3. drag something over a folder name of the bar

OBSERVED RESULT
crash

EXPECTED RESULT
no crash

SOFTWARE/OS VERSIONS
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 24.0.2.2
Qt Version: 5.15.13

Backtrace: (I'm attaching the whole thing)

Thread 1 (Thread 0x7fffeee97f80 (LWP 6092) "dolphin"):
#0  0x00007ffff5396a27 in QObject::deleteLater() () at /usr/lib/libQt6Core.so.6
#1  0x00007ffff7d24cce in KDEPrivate::KUrlNavigatorButton::dragMoveEvent
(this=0x555556c54810, event=<optimized out>) at
/usr/src/debug/kio/kio-6.1.0/src/filewidgets/kurlnavigatorbutton.cpp:323
        rect = {x1 = <optimized out>, y1 = <optimized out>, x2 = <optimized
out>, y2 = <optimized out>}
#2  0x00007ffff6547705 in QWidget::event(QEvent*) () at
/usr/lib/libQt6Widgets.so.6
#3  0x00007ffff64fc13b in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib/libQt6Widgets.so.6
#4  0x00007ffff6500e2d in QApplication::notify(QObject*, QEvent*) () at
/usr/lib/libQt6Widgets.so.6
#5  0x00007ffff5345a58 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib/libQt6Core.so.6
#6  0x00007ffff655e5f4 in ??? () at /usr/lib/libQt6Widgets.so.6
#7  0x00007ffff64fc13b in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib/libQt6Widgets.so.6
#8  0x00007ffff5345a58 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib/libQt6Core.so.6
#9  0x00007ffff5b87c0b in QGuiApplicationPrivate::processDrag(QWindow*,
QMimeData const*, QPoint const&, QFlags<Qt::DropAction>,
QFlags<Qt::MouseButton>, QFlags<Qt::KeyboardModifier>) () at
/usr/lib/libQt6Gui.so.6
#10 0x00007ffff5bed4e5 in QWindowSystemInterface::handleDrag(QWindow*,
QMimeData const*, QPoint const&, QFlags<Qt::DropAction>,
QFlags<Qt::MouseButton>, QFlags<Qt::KeyboardModifier>) () at
/usr/lib/libQt6Gui.so.6
#11 0x00007fffeee69515 in ??? () at
/usr/lib/qt6/plugins/platforms/../../../libQt6XcbQpa.so.6
#12 0x00007fffeee6a4f4 in ??? () at
/usr/lib/qt6/plugins/platforms/../../../libQt6XcbQpa.so.6
#13 0x00007ffff5f5d8aa in QBasicDrag::eventFilter(QObject*, QEvent*) () at
/usr/lib/libQt6Gui.so.6
#14 0x00007ffff5344888 in
QCoreApplicationPrivate::sendThroughApplicationEventFilters(QObject*, QEvent*)
() at /usr/lib/libQt6Core.so.6
#15 0x00007ffff64fc212 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib/libQt6Widgets.so.6
#16 0x00007ffff5345a58 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib/libQt6Core.so.6
#17 0x00007ffff5b7e780 in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
() at /usr/lib/libQt6Gui.so.6
#18 0x00007ffff5beb4ec in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() at /usr/lib/libQt6Gui.so.6
#19 0x00007fffeee3d0ef in ??? () at
/usr/lib/qt6/plugins/platforms/../../../libQt6XcbQpa.so.6
#20 0x00007ffff3a9c8b9 in ??? () at /usr/lib/libglib-2.0.so.0
#21 0x00007ffff3b105c8 in ??? () at /usr/lib/libglib-2.0.so.0
#22 0x00007ffff3a9e632 in g_main_context_iteration () at
/usr/lib/libglib-2.0.so.0
#23 0x00007ffff55acb54 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/libQt6Core.so.6
#24 0x00007ffff534dcee in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib/libQt6Core.so.6
#25 0x00007ffff5f58f0a in QBasicDrag::drag(QDrag*) () at
/usr/lib/libQt6Gui.so.6
#26 0x00007ffff5f5a099 in QDragManager::drag(QDrag*) () at
/usr/lib/libQt6Gui.so.6
#27 0x00007ffff5f5a3e6 in QDrag::exec(QFlags<Qt::DropAction>, Qt::DropAction)
() at /usr/lib/libQt6Gui.so.6
#28 0x00007ffff7e58943 in KItemListController::startDragging() () at
/usr/lib/libdolphinprivate.so.6
#29 0x00007ffff7e58c5a in
KItemListController::mouseMoveEvent(QGraphicsSceneMouseEvent*, QTransform
const&) () at /usr/lib/libdolphinprivate.so.6
#30 0x00007ffff7e59082 in KItemListController::processEvent(QEvent*, QTransform
const&) () at /usr/lib/libdolphinprivate.so.6
#31 0x00007ffff7e752ae in KItemListView::event(QEvent*) () at
/usr/lib/libdolphinprivate.so.6
#32 0x00007ffff64fc13b in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib/libQt6Widgets.so.6
#33 0x00007ffff5345a58 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib/libQt6Core.so.6
#34 0x00007ffff68a370f in ??? () at /usr/lib/libQt6Widgets.so.6
#35 0x00007ffff68a7f3c in ??? () at /usr/lib/libQt6Widgets.so.6
#36 0x00007ffff68aae50 in
QGraphicsScene::mouseMoveEvent(QGraphicsSceneMouseEvent*) () at
/usr/lib/libQt6Widgets.so.6
#37 0x00007ffff68afab5 in QGraphicsScene::event(QEvent*) () at
/usr/lib/libQt6Widgets.so.6
#38 0x00007ffff64fc13b in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib/libQt6Widgets.so.6
#39 0x00007ffff5345a58 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib/libQt6Core.so.6
#40 0x00007ffff68d75b6 in
QGraphicsViewPrivate::mouseMoveEventHandler(QMouseEvent*) () at
/usr/lib/libQt6Widgets.so.6
#41 0x00007ffff65476dd in QWidget::event(QEvent*) () at
/usr/lib/libQt6Widgets.so.6
#42 0x00007ffff65d62e6 in QFrame::event(QEvent*) () at
/usr/lib/libQt6Widgets.so.6
#43 0x00007ffff53449c0 in
QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at
/usr/lib/libQt6Core.so.6
#44 0x00007ffff64fc12b in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib/libQt6Widgets.so.6
#45 0x00007ffff6500bd7 in QApplication::notify(QObject*, QEvent*) () at
/usr/lib/libQt6Widgets.so.6
#46 0x00007ffff5345a58 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib/libQt6Core.so.6
#47 0x00007ffff64f46b7 in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) ()
at /usr/lib/libQt6Widgets.so.6
#48 0x00007ffff655c770 in ??? () at /usr/lib/libQt6Widgets.so.6
#49 0x00007ffff655dae0 in ??? () at /usr/lib/libQt6Widgets.so.6
#50 0x00007ffff64fc13b in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib/libQt6Widgets.so.6
#51 0x00007ffff5345a58 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() at /usr/lib/libQt6Core.so.6
#52 0x00007ffff5b7e780 in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
() at /usr/lib/libQt6Gui.so.6
#53 0x00007ffff5beb4ec in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() at /usr/lib/libQt6Gui.so.6
#54 0x00007fffeee3d0ef in ??? () at
/usr/lib/qt6/plugins/platforms/../../../libQt6XcbQpa.so.6
#55 0x00007ffff3a9c8b9 in ??? () at /usr/lib/libglib-2.0.so.0
#56 0x00007ffff3b105c8 in ??? () at /usr/lib/libglib-2.0.so.0
#57 0x00007ffff3a9e632 in g_main_context_iteration () at
/usr/lib/libglib-2.0.so.0
#58 0x00007ffff55acb54 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib/libQt6Core.so.6
#59 0x00007ffff534dcee in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib/libQt6Core.so.6
#60 0x00007ffff5349718 in QCoreApplication::exec() () at
/usr/lib/libQt6Core.so.6
#61 0x0000555555597eab in ??? ()
#62 0x00007ffff4c43cd0 in __libc_start_call_main
(main=main at entry=0x555555596680, argc=argc at entry=1,
argv=argv at entry=0x7fffffffe1a8) at ../sysdeps/nptl/libc_start_call_main.h:58
        self = <optimized out>
        result = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737488347560,
8361534667971177248, 0, 140737488347576, 140737354125312, 93824993488888,
-8361534667529442528, -8361553988847195360}, mask_was_saved = 0}}, priv = {pad
= {0x0, 0x0, 0x7fffffffe1a8, 0x1}, data = {prev = 0x0, cleanup = 0x0,
canceltype = -7768}}}
        not_first_call = <optimized out>
#63 0x00007ffff4c43d8a in __libc_start_main_impl (main=0x555555596680, argc=1,
argv=0x7fffffffe1a8, init=<optimized out>, fini=<optimized out>,
rtld_fini=<optimized out>, stack_end=0x7fffffffe198) at ../csu/libc-start.c:360
#64 0x0000555555598425 in ??? ()

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


More information about the kfm-devel mailing list