Bug 488052

Summary: Hitting space with Dolphin in focus crashes it
Product: [Applications] dolphin Reporter: Arjun42M
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: felixernst, kfm-devel
Priority: NOR Keywords: drkonqi
Version: 24.02.2   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Arjun42M 2024-06-05 05:42:05 UTC
Application: dolphin (24.02.2)

Qt Version: 6.7.1
Frameworks Version: 6.2.0
Operating System: Linux 6.8.11-300.fc40.x86_64 x86_64
Windowing System: Wayland
Distribution: "Fedora Linux 40 (KDE Plasma)"
DrKonqi: 6.0.5 [CoredumpBackend]

-- Information about the crash:
Hi there,

This is my first ever bug report on KDE. 

I had opened Dolphin file browser, and hit space (habit from Microsoft Windows to select the first time), and it crashed. I have now replicated this a few times. 

This is a nearly stock Fedora Workstation 40 install that I had just completed a few hours ago. KDE Plasma 6. No custom tweaks. Have barely had a chance to play with standard settings, and haven't modified anything related to the Dolphin file browser. 

I'd be happy to answer any more questions you may have. 

Hope this helps!

Thank you.

The crash can be reproduced sometimes.

-- Backtrace (Reduced):
#5  QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData> >::get (this=0x8) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/tools/qscopedpointer.h:110
[...]
#8  QObject::deleteLater (this=0x0) at /usr/src/debug/qt6-qtbase-6.7.1-2.fc40.x86_64/src/corelib/kernel/qobject.cpp:2462
#9  0x000055bf8b1fe5b1 in SelectionMode::BottomBarContentsContainer::contextActionsFor (this=0x55bf8d130840, selectedItems=..., baseUrl=...) at /usr/src/debug/dolphin-24.02.2-2.fc40.x86_64/src/selectionmode/bottombarcontentscontainer.cpp:486
#10 SelectionMode::BottomBarContentsContainer::slotSelectionChanged (this=0x55bf8d130840, selection=..., baseUrl=...) at /usr/src/debug/dolphin-24.02.2-2.fc40.x86_64/src/selectionmode/bottombarcontentscontainer.cpp:133
#11 0x000055bf8b1d6bd9 in SelectionMode::BottomBar::slotSelectionChanged (this=0x55bf8d1d0550, selection=..., baseUrl=...) at /usr/src/debug/dolphin-24.02.2-2.fc40.x86_64/src/selectionmode/bottombar.cpp:103


Reported using DrKonqi
Comment 1 Arjun42M 2024-06-05 05:42:06 UTC
Created attachment 170157 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Felix Ernst 2024-06-20 16:30:42 UTC
(In reply to Arjun42M from comment #0)
> Hi there,
> 
> This is my first ever bug report on KDE. 

Hi, thanks for reaching out!

> I had opened Dolphin file browser, and hit space (habit from Microsoft
> Windows to select the first time), and it crashed. I have now replicated
> this a few times. 
> 
> This is a nearly stock Fedora Workstation 40 install that I had just
> completed a few hours ago. KDE Plasma 6. No custom tweaks. Have barely had a
> chance to play with standard settings, and haven't modified anything related
> to the Dolphin file browser. 

Indeed it is a bit unfortunate that setups like yours are still affected by this crash. The problem is that this crash wasn't introduced by a change in Dolphin, but by a change in the software Dolphin depends on. Qt 6.7 to be exact. So we released a Dolphin version that didn't crash originally and later Qt was updated on distributions that still used the same Dolphin version. We have promptly changed Dolphin so it no longer crashes, but we couldn't update the previously shipped Dolphin version anymore.

This crash will no longer happen once the Dolphin 24.05 version arrives on your system. I'll mark this bug report as a duplicate of the already solved bug report which first reported this crash.

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