Bug 486069 - With no files selected, activating Selection Mode crash Dolphin
Summary: With no files selected, activating Selection Mode crash Dolphin
Status: RESOLVED DUPLICATE of bug 485599
Alias: None
Product: dolphin
Classification: Applications
Component: Selection Mode (show other bugs)
Version: 24.02.2
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: KFM Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-24 12:58 UTC by LTS20050703
Modified: 2024-04-24 15:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description LTS20050703 2024-04-24 12:58:06 UTC
SUMMARY
With no files selected, activating Selection Mode by pressing Space crash Dolphin

STEPS TO REPRODUCE
1. Open dolphin
2. Press space (make sure there're no files selected)

OBSERVED RESULT
Dolphin crash

EXPECTED RESULT
Selection Mode activated

SOFTWARE/OS VERSIONS
KDE Neon: 6.0
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0

ADDITIONAL INFORMATION
Graphics Platform: Wayland

BACKTRACE

Application: Dolphin (dolphin), signal: Segmentation fault

[KCrash Handler]
#4  QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::get (this=<optimized out>, this=<optimized out>) at ./src/corelib/tools/qscopedpointer.h:110
#5  qGetPtrHelper<QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> > > (ptr=..., ptr=...) at ./src/corelib/global/qtclasshelpermacros.h:79
#6  QObject::d_func (this=0x0) at ./src/corelib/kernel/qobject.h:107
#7  QObject::deleteLater (this=0x0) at ./src/corelib/kernel/qobject.cpp:2456
#8  0x00005f36ae03c1c9 in SelectionMode::BottomBarContentsContainer::contextActionsFor (baseUrl=..., selectedItems=..., this=0x5f36b0504240) at ./src/selectionmode/bottombarcontentscontainer.cpp:486
#9  SelectionMode::BottomBarContentsContainer::slotSelectionChanged (this=0x5f36b0504240, selection=..., baseUrl=...) at ./src/selectionmode/bottombarcontentscontainer.cpp:133
#10 0x00005f36ae014dc5 in SelectionMode::BottomBar::slotSelectionChanged (this=0x5f36b04fdeb0, this=0x5f36b04fdeb0, baseUrl=..., selection=...) at ./src/selectionmode/bottombar.cpp:103
#11 DolphinViewContainer::setSelectionModeEnabled (this=0x5f36aff73d20, enabled=<optimized out>, actionCollection=<optimized out>, bottomBarContents=<optimized out>) at ./src/dolphinviewcontainer.cpp:367
#12 0x00005f36adffaf07 in DolphinMainWindow::toggleSelectionMode (this=0x5f36afaec010) at ./src/dolphinmainwindow.cpp:979
#13 0x00007245d166355e in QtPrivate::QSlotObjectBase::call (a=<optimized out>, r=<optimized out>, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ./src/corelib/kernel/qobjectdefs_impl.h:469
#14 doActivate<false> (sender=0x5f36afbc1480, signal_index=7, argv=0x7ffe11b858f0) at ./src/corelib/kernel/qobject.cpp:4078
#15 0x00007245d1e3e746 in QAction::triggered (this=this@entry=0x5f36afbc1480, _t1=<optimized out>) at ./obj-x86_64-linux-gnu/src/gui/Gui_autogen/include/moc_qaction.cpp:480
#16 0x00007245d1e41574 in QAction::activate (this=0x5f36afbc1480, event=<optimized out>) at ./src/gui/kernel/qaction.cpp:1102
#17 0x00007245d1e41998 in QAction::event (e=0x7ffe11b85b30, this=0x5f36afbc1480) at ./src/gui/kernel/qaction.cpp:1044
#18 QAction::event (this=0x5f36afbc1480, e=0x7ffe11b85b30) at ./src/gui/kernel/qaction.cpp:1027
#19 0x00007245d280992b in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5f36afbc1480, e=0x7ffe11b85b30) at ./src/widgets/kernel/qapplication.cpp:3287
#20 0x00007245d16a1c38 in QCoreApplication::notifyInternal2 (receiver=0x5f36afbc1480, event=event@entry=0x7ffe11b85b30) at ./src/corelib/kernel/qcoreapplication.cpp:1134
#21 0x00007245d16a1c7d in QCoreApplication::sendEvent (receiver=<optimized out>, event=event@entry=0x7ffe11b85b30) at ./src/corelib/kernel/qcoreapplication.cpp:1575
#22 0x00007245d1e50063 in QShortcutMap::dispatchEvent (this=<optimized out>, e=0x7ffe11b85c20) at ./src/gui/kernel/qshortcutmap.cpp:606
#23 0x00007245d1e5077b in QShortcutMap::tryShortcut (this=0x5f36af961888, e=0x7ffe11b85c20) at ./src/gui/kernel/qshortcutmap.cpp:310
#24 0x00007245d1b48f9e in QWindowSystemInterface::handleShortcutEvent (window=<optimized out>, timestamp=<optimized out>, keyCode=32, modifiers=..., nativeScanCode=65, nativeVirtualKey=32, nativeModifiers=16, text=..., autorepeat=false, count=1) at ./src/gui/kernel/qwindowsysteminterface.cpp:449
#25 0x00007245d1aec7da in QGuiApplicationPrivate::processKeyEvent (e=0x5f36b03efc00) at ./src/gui/kernel/qguiapplication.cpp:2434
#26 0x00007245d1b4fd3c in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at ./src/gui/kernel/qwindowsysteminterface.cpp:1114
#27 0x00007245d1f114e4 in userEventSourceDispatch (source=<optimized out>) at ./src/gui/platform/unix/qeventdispatcher_glib.cpp:38
#28 0x00007245cf8bed3b in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007245cf914258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007245cf8bc3e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007245d1476570 in QEventDispatcherGlib::processEvents (this=0x5f36af97e780, flags=...) at ./src/corelib/kernel/qeventdispatcher_glib.cpp:394
#32 0x00007245d16a3e3b in QEventLoop::exec (this=this@entry=0x7ffe11b85fc0, flags=..., flags@entry=...) at ./src/corelib/global/qflags.h:34
#33 0x00007245d16a5a6c in QCoreApplication::exec () at ./src/corelib/global/qflags.h:74
#34 0x00007245d1ae4330 in QGuiApplication::exec () at ./src/gui/kernel/qguiapplication.cpp:1926
#35 0x00007245d28078d9 in QApplication::exec () at ./src/widgets/kernel/qapplication.cpp:2555
#36 0x00005f36adfec8b3 in main (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:253
[Inferior 1 (process 24901) detached]
Comment 1 Felix Ernst 2024-04-24 15:17:01 UTC

*** This bug has been marked as a duplicate of bug 485599 ***