https://bugs.kde.org/show_bug.cgi?id=517110
Bug ID: 517110
Summary: Crash when selecting an item in selection mode
Classification: Applications
Product: dolphin
Version First git-master
Reported In:
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Selection Mode
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
Steps to reproduce:
- hit Space to enter selection mode
- click on any file
Expected result:
- a "bottom bar" shows up with options for the selected file
Actual result:
- crash
Versions:
- Dolphin master at 583120a3
- KIO master at 1279f73
This is a relatively recent regression, because I think I did use selection
mode a month ago.
Backtrace:
Thread 1 "dolphin" received signal SIGSEGV, Segmentation fault.
KFileItem::url (this=this@entry=0x0) at
/usr/src/debug/kio-6.24.0git.20260304T014358~1279f73/src/core/kfileitem.cpp:1710
1710 if (!d) {
(gdb) bt
#0 KFileItem::url (this=this@entry=0x0) at
/usr/src/debug/kio-6.24.0git.20260304T014358~1279f73/src/core/kfileitem.cpp:1710
#1 0x00007ffff7bb613b in KFileItemActionsPrivate::insertOpenWithActionsTo
(this=0x555556035570, before=0x0, topMenu=0x5555560418e0,
excludedDesktopEntryNames=...) at
/usr/src/debug/kio-6.24.0git.20260304T014358~1279f73/src/widgets/kfileitemactions.cpp:740
#2 0x00005555555e5ef8 in DolphinContextMenu::addOpenWithActions
(this=this@entry=0x5555560418e0)
at /usr/include/qt6/QtCore/qarraydataops.h:293
#3 0x00005555555e8fbe in DolphinContextMenu::addItemContextMenu
(this=0x5555560418e0)
at
/usr/src/debug/dolphin-26.03.70git.20260304T015157~583120a3/src/dolphincontextmenu.cpp:283
#4 DolphinContextMenu::addAllActions (this=0x5555560418e0)
at
/usr/src/debug/dolphin-26.03.70git.20260304T015157~583120a3/src/dolphincontextmenu.cpp:97
#5 DolphinContextMenu::DolphinContextMenu (this=<optimized out>,
parent=<optimized out>, fileInfo=..., selectedItems=..., baseUrl=...,
fileItemActions=<optimized out>, this=<optimized out>, parent=<optimized
out>, fileInfo=..., selectedItems=..., baseUrl=...,
fileItemActions=<optimized out>) at
/usr/src/debug/dolphin-26.03.70git.20260304T015157~583120a3/src/dolphincontextmenu.cpp:57
#6 0x0000555555616558 in std::make_unique<DolphinContextMenu,
DolphinMainWindow*&, KFileItem const&, KFileItemList const&, QUrl const&,
KFileItemActions*&> () at /usr/include/c++/15/bits/unique_ptr.h:1083
#7 SelectionMode::BottomBarContentsContainer::contextActionsFor
(this=0x5555560325c0, selectedItems=..., baseUrl=...)
at
/usr/src/debug/dolphin-26.03.70git.20260304T015157~583120a3/src/selectionmode/bottombarcontentscontainer.cpp:520
#8 SelectionMode::BottomBarContentsContainer::slotSelectionChanged
(this=0x5555560325c0, selection=..., baseUrl=...)
at
/usr/src/debug/dolphin-26.03.70git.20260304T015157~583120a3/src/selectionmode/bottombarcontentscontainer.cpp:145
#9 0x00005555555db5cc in SelectionMode::BottomBar::slotSelectionChanged
(this=0x55555603eb80, selection=..., baseUrl=...)
at
/usr/src/debug/dolphin-26.03.70git.20260304T015157~583120a3/src/selectionmode/bottombar.cpp:60
#10 DolphinViewContainer::setSelectionModeEnabled (this=0x555555a65a50,
enabled=<optimized out>, actionCollection=<optimized out>,
bottomBarContents=SelectionMode::BottomBar::GeneralContents)
at
/usr/src/debug/dolphin-26.03.70git.20260304T015157~583120a3/src/dolphinviewcontainer.cpp:453
#11 0x00005555555bea4d in DolphinMainWindow::toggleSelectionMode
(this=0x555555852280)
at
/usr/src/debug/dolphin-26.03.70git.20260304T015157~583120a3/src/dolphinmainwindow.cpp:1210
#12 0x00007ffff5636dc0 in ?? () from /lib64/libQt6Core.so.6
#13 0x00007ffff626f02b in QAction::triggered(bool) () from
/lib64/libQt6Gui.so.6
#14 0x00007ffff627323a in QAction::activate(QAction::ActionEvent) () from
/lib64/libQt6Gui.so.6
#15 0x00007ffff6274690 in QAction::event(QEvent*) () from /lib64/libQt6Gui.so.6
#16 0x00007ffff67e8e38 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /lib64/libQt6Widgets.so.6
#17 0x00007ffff55cd288 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /lib64/libQt6Core.so.6
#18 0x00007ffff6283849 in QShortcutMap::dispatchEvent(QKeyEvent*) () from
/lib64/libQt6Gui.so.6
#19 0x00007ffff6283f44 in QShortcutMap::tryShortcut(QKeyEvent*) () from
/lib64/libQt6Gui.so.6
#20 0x00007ffff5ea4922 in QWindowSystemInterface::handleShortcutEvent(QWindow*,
unsigned long, int, QFlags<Qt::KeyboardModifier>, unsigned int, unsigned int,
unsigned int, QString const&, bool, unsigned short) () from
/lib64/libQt6Gui.so.6
#21 0x00007ffff5e32b2e in
QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*)
() from /lib64/libQt6Gui.so.6
#22 0x00007ffff5e9fb5b in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
() from /lib64/libQt6Gui.so.6
#23 0x00007ffff0b9ee7e in ?? () from
/usr/lib64/qt6/plugins/platforms/../../../libQt6XcbQpa.so.6
#24 0x00007ffff26b4b76 in ?? () from /lib64/libglib-2.0.so.0
#25 0x00007ffff26b7a68 in ?? () from /lib64/libglib-2.0.so.0
#26 0x00007ffff26b82ac in g_main_context_iteration () from
/lib64/libglib-2.0.so.0
#27 0x00007ffff5899908 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /lib64/libQt6Core.so.6
#28 0x00007ffff55d668b in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/lib64/libQt6Core.so.6
#29 0x00007ffff55d0373 in QCoreApplication::exec() () from
/lib64/libQt6Core.so.6
#30 0x00005555555b320a in main (argc=<optimized out>, argv=<optimized out>)
at
/usr/src/debug/dolphin-26.03.70git.20260304T015157~583120a3/src/main.cpp:261
--
You are receiving this mail because:
You are watching all bug changes.