https://bugs.kde.org/show_bug.cgi?id=525171
Bug ID: 525171
Summary: Right-clicking on anything in a Plasma Vault crashes
Dolphin in Solid::StorageVolume::fsType(), via
SnapshotFileItemAction::actions()
Classification: Frameworks and Libraries
Product: kio-snapshot
Version First git master
Reported In:
Platform: KDE Linux
OS: Linux
Status: REPORTED
Severity: critical
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
STEPS TO REPRODUCE
1. Create/have a Plasma Vault
2. Mount it and show it in Dolphin
3. Right-click on anything in the vault (the view background, a file or folder;
anything)
OBSERVED RESULT
Dolphin crashes:
#0 __pthread_kill_implementation (threadid=<optimized out>,
signo=signo@entry=11, no_tid=no_tid@entry=0)
at pthread_kill.c:44
#1 0x00007f7e0659e243 in __pthread_kill_internal (threadid=<optimized out>,
signo=11) at pthread_kill.c:89
#2 0x00007f7e065425d0 in __GI_raise (sig=11) at ../sysdeps/posix/raise.c:26
#3 0x00007f7e099c7b42 in KCrash::defaultCrashHandler (sig=11) at
/builder/src/kcrash/src/kcrash.cpp:653
#4 0x00007f7e065426f0 in <signal handler called> () at /usr/lib/libc.so.6
#5 Solid::StorageVolume::fsType (this=this@entry=0x0)
at /home/nate/kde/src/solid/src/solid/devices/frontend/storagevolume.cpp:43
#6 0x00007f7dd58ba87a in SnapshotFileItemAction::actions
(this=0x556b1e674710, fileItemInfos=<optimized out>,
parentWidget=0x556b1d9a27c0)
at /builder/src/kio-snapshot/contextmenu/snapshotfileitemaction.cpp:66
#7 0x00007f7e09f4c2a6 in KFileItemActionsPrivate::addPluginActionsTo
(this=<error reading variable: DW_FORM_addr_index used without .debug_addr
section [in module /usr/lib/libKF6KIOWidgets.so.6]>, mainMenuHolder=<error
reading variable: dwarf2_find_location_expression: Corrupted DWARF
expression.>, actionsMenuHolder=<optimized out>, excludeList=<optimized out>)
at /home/nate/kde/src/kio/src/widgets/kfileitemactions.cpp:476
#8 0x00007f7e09f4e844 in KFileItemActions::addActionsTo
(this=<optimized out>, mainMenu=<optimized out>, sources=...,
additionalActions=<error reading variable: dwarf2_find_location_expression:
Corrupted DWARF expression.>, excludeList=<optimized out>)
at /usr/include/c++/16/bits/unique_ptr.h:192
#9 0x0000556b13008466 in DolphinContextMenu::addAdditionalActions
(this=this@entry=0x556b1e2fd3f0, props=...)
at /builder/src/dolphin/src/dolphincontextmenu.cpp:550
#10 0x0000556b13008d0b in DolphinContextMenu::addViewportContextMenu
(this=this@entry=0x556b1e2fd3f0)
at /builder/src/dolphin/src/dolphincontextmenu.cpp:388
#11 0x0000556b13009f14 in DolphinContextMenu::addAllActions
(this=this@entry=0x556b1e2fd3f0)
at /builder/src/dolphin/src/dolphincontextmenu.cpp:110
#12 0x0000556b1300a205 in DolphinContextMenu::DolphinContextMenu
(this=this@entry=0x556b1e2fd3f0, parent=parent@entry=0x556b1d9a27c0,
fileInfo=..., selectedItems=..., baseUrl=..., fileItemActions=<optimized out>)
at /builder/src/dolphin/src/dolphincontextmenu.cpp:58
#13 0x0000556b12fd1458 in DolphinMainWindow::openContextMenu
(this=0x556b1d9a27c0, pos=..., item=..., selectedItems=..., url=...)
at /builder/src/dolphin/src/dolphinmainwindow.cpp:1536
#14 0x00007f7e06dadff3 in QtPrivate::QSlotObjectBase::call
(this=0x556b1e126520, r=<optimized out>, a=0x7ffed12a3d70, this=<optimized
out>, r=<optimized out>, a=<optimized out>) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs_impl.h:462
#15 doActivate<false> (sender=0x556b1e040700, signal_index=31,
argv=0x7ffed12a3d70)
at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4393
#16 0x00007f7e0a5687a4 in QMetaObject::activate<void, QPoint, KFileItem,
KFileItemList, QUrl>
(sender=0x556b1e040700, mo=0x7f7e0a600900 <DolphinView::staticMetaObject>,
local_signal_index=24, ret=0x0)
at /usr/include/qt6/QtCore/qobjectdefs.h:320
#17 DolphinView::requestContextMenu (this=this@entry=0x556b1e040700, _t1=...,
_t2=..., _t3=..., _t4=...)
at
/usr/src/debug/2f8e5c57-4946306.x86-64/dolphin/src/dolphinprivate_autogen/include/moc_dolphinview.cpp:1130
#18 0x00007f7e0a571b03 in DolphinView::slotViewContextMenuRequested
(this=0x556b1e040700, pos=...)
at /builder/src/dolphin/src/views/dolphinview.cpp:1313
#19 0x00007f7e06dadff3 in QtPrivate::QSlotObjectBase::call
(this=0x556b1e2ec9a0, r=<optimized out>, a=0x7ffed12a3ee0, this=<optimized
out>, r=<optimized out>, a=<optimized out>) at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs_impl.h:462
#20 doActivate<false> (sender=0x556b1e04acc0, signal_index=7,
argv=0x7ffed12a3ee0)
at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4393
#21 0x00007f7e0a4f4a65 in QMetaObject::activate<void, QPointF>
(sender=0x556b1e04acc0, mo=0x7f7e0a5fbd20
<KItemListController::staticMetaObject>, local_signal_index=4, ret=0x0) at
/usr/include/qt6/QtCore/qobjectdefs.h:320
#22 KItemListController::viewContextMenuRequested
(this=this@entry=0x556b1e04acc0, _t1=...)
at
/usr/src/debug/2f8e5c57-4946306.x86-64/dolphin/src/dolphinprivate_autogen/include/moc_kitemlistcontroller.cpp:415
#23 0x00007f7e0a4fa9e5 in KItemListController::contextMenuEvent
(this=0x556b1e04acc0, event=<optimized out>)
at /builder/src/dolphin/src/kitemviews/kitemlistcontroller.cpp:824
#24 0x00007f7e0a516077 in KItemListView::event (this=0x556b1db02e80,
event=0x7ffed12a44c0)
at /builder/src/dolphin/src/kitemviews/kitemlistview.cpp:1180
#25 0x00007f7e07dde25f in QApplicationPrivate::notify_helper
(this=<optimized out>, receiver=0x556b1db02e80, e=0x7ffed12a44c0)
at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3273
#26 0x00007f7e06d412b8 in QCoreApplication::notifyInternal2
(receiver=0x556b1db02e80, event=0x7ffed12a44c0)
at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1126
#27 0x00007f7e07e3fd92 in QWidget::event (this=0x556b1e0a4570,
event=0x7ffed12a44c0)
at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qwidget.cpp:9213
#28 0x00007f7e07eadfa9 in QFrame::event (this=0x556b1e0a4570, e=0x7ffed12a44c0)
at /usr/src/debug/qt6-base/qtbase/src/widgets/widgets/qframe.cpp:522
#29 0x00007f7e06d4084c in
QCoreApplicationPrivate::sendThroughObjectEventFilters
(receiver=<optimized out>, event=<optimized out>)
at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1263
#30 QCoreApplicationPrivate::sendThroughObjectEventFilters
(receiver=receiver@entry=0x556b1e09c900, event=event@entry=0x7ffed12a44c0)
at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1252
#31 0x00007f7e07dde24e in QApplicationPrivate::notify_helper
(this=this@entry=0x556b1d84a180, receiver=receiver@entry=0x556b1e09c900,
e=e@entry=0x7ffed12a44c0)
at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3267
#32 0x00007f7e07de0bed in QApplication::notify
(this=<optimized out>, receiver=<optimized out>, e=<optimized out>)
at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2892
#33 0x00007f7e06d412b8 in QCoreApplication::notifyInternal2
(receiver=0x556b1e0e6000, event=0x7ffed12a4640)
at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1126
#34 0x00007f7e06d412ea in QCoreApplication::forwardEvent
(receiver=<optimized out>, event=<optimized out>,
originatingEvent=<optimized out>)
at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1141
#35 0x00007f7e07e5d1ac in QWidgetWindow::handleContextMenuEvent
(this=<optimized out>, e=0x7ffed12a4830)
at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qwidgetwindow.cpp:1239
#36 QWidgetWindow::event (this=<optimized out>, event=0x7ffed12a4830)
at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qwidgetwindow.cpp:370
#37 0x00007f7e07dde25f in QApplicationPrivate::notify_helper
(this=<optimized out>, receiver=0x556b1df5fee0, e=0x7ffed12a4830)
at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3273
#38 0x00007f7e06d412b8 in QCoreApplication::notifyInternal2
(receiver=0x556b1df5fee0, event=0x7ffed12a4830)
at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1126
#39 0x00007f7e06d412ea in QCoreApplication::forwardEvent
(receiver=<optimized out>, event=<optimized out>,
originatingEvent=<optimized out>)
at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1141
#40 0x00007f7e0759a463 in QWindowPrivate::maybeSynthesizeContextMenuEvent
(this=0x556b1df430b0, event=0x7ffed12a4de0) at
/usr/src/debug/qt6-base/qtbase/src/gui/kernel/qwindow_p.h:35
#41 QWindowPrivate::maybeSynthesizeContextMenuEvent (this=0x556b1df430b0,
event=<optimized out>)
at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qwindow.cpp:2825
#42 0x00007f7e07e5bb49 in QWidgetWindow::handleMouseEvent
(this=0x556b1df5fee0, event=event@entry=0x7ffed12a4de0)
at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qwidgetwindow.cpp:702
#43 0x00007f7e07e5c4bb in QWidgetWindow::event (this=<optimized out>,
event=0x7ffed12a4de0)
at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qwidgetwindow.cpp:293
#44 0x00007f7e07dde25f in QApplicationPrivate::notify_helper
(this=<optimized out>, receiver=0x556b1df5fee0, e=0x7ffed12a4de0)
at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3273
#45 0x00007f7e06d412b8 in QCoreApplication::notifyInternal2
(receiver=0x556b1df5fee0, event=0x7ffed12a4de0)
at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1126
#46 0x00007f7e06d4130d in QCoreApplication::sendSpontaneousEvent
(receiver=<optimized out>, event=<optimized out>)
at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1585
#47 0x00007f7e0752a0c0 in QGuiApplicationPrivate::processMouseEvent
(e=0x556b1e3d1410)
at /usr/src/debug/qt6-base/qtbase/src/gui/kernel/qguiapplication.cpp:2500
#48 0x00007f7e075a3d3b in QWindowSystemInterface::sendWindowSystemEvents
(flags=...)
at
/usr/src/debug/qt6-base/qtbase/src/gui/kernel/qwindowsysteminterface.cpp:1117
#49 0x00007f7e07aeee74 in userEventSourceDispatch (source=<optimized out>)
at
/usr/src/debug/qt6-base/qtbase/src/gui/platform/unix/qeventdispatcher_glib.cpp:39
#50 0x00007f7e03462c76 in g_main_dispatch (context=0x7f7df8000f00) at
../glib/glib/gmain.c:3591
#51 0x00007f7e03464ed7 in g_main_context_dispatch_unlocked
(context=0x7f7df8000f00)
at ../glib/glib/gmain.c:4451
#52 g_main_context_iterate_unlocked
(context=context@entry=0x7f7df8000f00, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4516
#53 0x00007f7e03465055 in g_main_context_iteration (context=0x7f7df8000f00,
may_block=1)
at ../glib/glib/gmain.c:4582
#54 0x00007f7e07055f32 in QEventDispatcherGlib::processEvents
(this=0x556b1d850250, flags=...)
at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:402
#55 0x00007f7e06d4e664 in QEventLoop::processEvents (this=0x7ffed12a5220,
flags=...)
at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:109
#56 QEventLoop::exec (this=0x7ffed12a5220, flags=...)
at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventloop.cpp:198
#57 0x00007f7e06d4585a in QCoreApplication::exec ()
at
/usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1469
#58 0x00007f7e07ddab7a in QApplication::exec ()
at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:2543
#59 0x0000556b12fcbb1c in main (argc=<optimized out>, argv=<optimized out>)
at /builder/src/dolphin/src/main.cpp:291
EXPECTED RESULT
Context menu.
ADDITIONAL INFORMATION
I bisected back a month in Dolphin, solid, and kio, but got no results. So I
think it's more likely to be something in kio-snapshot, rather than any of
them.
SOFTWARE/OS VERSIONS
Operating System: KDE Linux 202609021142
KDE Plasma Version: 6.7.80
KDE Frameworks Version: 6.30.0
Qt Version: 6.11.2
Kernel Version: 7.2.2-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7840U w/ Radeon™ 780M Graphics
Memory: 17 GB of RAM (16.0 GB usable)
Graphics Processor: AMD Radeon 780M Graphics
--
You are receiving this mail because:
You are watching all bug changes.