Bug 513239

Summary: Dolphin crash: mouse drag from scrollbar or "Details" view mode headers to outside the window crashed Dolphin
Product: [Applications] dolphin Reporter: Márton Szász <szaszm>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: crash CC: dolphin-bugs-null
Priority: NOR Keywords: drkonqi
Version First Reported In: 25.08.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/273736/events/33cb5d8478e9421da862f545c7326d2d/
Attachments: New crash information added by DrKonqi
Short screen recording of the bug

Description Márton Szász 2025-12-12 05:39:47 UTC
Application: dolphin (25.08.3)

ApplicationNotResponding [ANR]: false
Qt Version: 6.10.1
Frameworks Version: 6.20.0
Operating System: Linux 6.12.59-1-lts x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 6.5.3 [CoredumpBackend]

-- Information about the crash:
Clicking on the file view scrollbar or the "Details" view mode headers, then holding the mouse button, dragging it outside the window, and releasing, crashed Dolphin.

The crash can be reproduced every time.

-- Backtrace (Reduced):
#5  std::__atomic_base<int>::fetch_add (this=<optimized out>, __i=1, __m=std::memory_order::acq_rel) at /usr/include/qt6/QtCore/qbasicatomic.h:48
#6  QAtomicOps<int>::ref<int> (_q_value=...) at /usr/include/qt6/QtCore/qatomic_cxx11.h:260
[...]
#10 QArrayDataPointer<char>::QArrayDataPointer (this=0x7ffee44c6210, other=...) at /usr/include/qt6/QtCore/qarraydatapointer.h:40
#11 QByteArray::QByteArray (this=<optimized out>, a=..., this=<optimized out>, a=...) at /usr/include/qt6/QtCore/qbytearray.h:658
#12 KItemListHeaderWidget::createRolePixmap (this=this@entry=0x5fa6c2570850, roleIndex=roleIndex@entry=-1) at /usr/src/debug/dolphin/dolphin-25.08.3/src/kitemviews/private/kitemlistheaderwidget.cpp:580
#13 0x00007db6a86710e8 in KItemListHeaderWidget::mouseMoveEvent (this=0x5fa6c2570850, event=0x7ffee44c6760) at /usr/src/debug/dolphin/dolphin-25.08.3/src/kitemviews/private/kitemlistheaderwidget.cpp:372
#14 0x00007db6a7272b89 in QGraphicsItem::sceneEvent (this=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/widgets/graphicsview/qgraphicsitem.cpp:6691
#15 0x00007db6a7294f29 in QGraphicsScenePrivate::sendMouseEvent (this=0x5fa6c25d1630, mouseEvent=0x7ffee44c6760) at /usr/src/debug/qt6-base/qtbase/src/widgets/graphicsview/qgraphicsscene.cpp:1303
#16 0x00007db6a72a033b in QGraphicsScene::mouseMoveEvent (this=<optimized out>, mouseEvent=0x7ffee44c6760) at /usr/src/debug/qt6-base/qtbase/src/widgets/graphicsview/qgraphicsscene.cpp:3986
#17 0x00007db6a729cc6b in QGraphicsScene::event (this=0x5fa6c25d1610, event=0x7ffee44c6760) at /usr/src/debug/qt6-base/qtbase/src/widgets/graphicsview/qgraphicsscene.cpp:3314
#18 0x00007db6a6e471c0 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5fa6c25d1610, e=0x7ffee44c6760) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3305
#19 0x00007db6a5eb8958 in QCoreApplication::notifyInternal2 (receiver=0x5fa6c25d1610, event=0x7ffee44c6760) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1109
#20 0x00007db6a5eb89ad in QCoreApplication::sendSpontaneousEvent (receiver=<optimized out>, event=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1563
#21 0x00007db6a72d26c4 in qt_sendSpontaneousEvent (receiver=<optimized out>, event=0x7ffee44c6760) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3667
#22 QGraphicsViewPrivate::mouseMoveEventHandler (this=0x5fa6c25d1d90, event=0x7ffee44c6e40) at /usr/src/debug/qt6-base/qtbase/src/widgets/graphicsview/qgraphicsview.cpp:663
#23 0x00007db6a6ea1cbf in QWidget::event (this=0x5fa6c25d15e0, event=0x7ffee44c6e40) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qwidget.cpp:8991


Reported using DrKonqi
Comment 1 Márton Szász 2025-12-12 05:39:48 UTC
Created attachment 187538 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Márton Szász 2025-12-12 05:44:04 UTC
Created attachment 187539 [details]
Short screen recording of the bug