#1098242 dolphin: Segmentation fault when opening menus in gnome-shell

Package:
dolphin
Source:
dolphin
Description:
file manager
Submitter:
Richard
Date:
2025-02-18 09:39:02 UTC
Severity:
normal
#1098242#5
Date:
2025-02-18 09:37:07 UTC
From:
To:
Dear Maintainer,

using dolphin as file manager in gnome-shell can lead to dolphin just crashing. In this instance, when putting dolphin onto a half of the screen and then going to the hamburger menu to create a new directory, the window crashes. But not when clicking just the menu icon, but when the submenu under "new" would be drawn outside of the window's surface. Running dolphin from terminal during that shows these error messages:

virtual const QPalette* Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::SystemPalette
virtual const QPalette* Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::ToolButtonPalette
virtual const QPalette* Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::ButtonPalette
virtual const QPalette* Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::CheckBoxPalette
virtual const QPalette* Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::RadioButtonPalette
virtual const QPalette* Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::HeaderPalette
virtual const QPalette* Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::ItemViewPalette
virtual const QPalette* Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::MessageBoxLabelPelette
virtual const QPalette* Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::TabBarPalette
virtual const QPalette* Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::LabelPalette
virtual const QPalette* Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::GroupBoxPalette
virtual const QPalette* Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::MenuPalette
virtual const QPalette* Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::MenuBarPalette
virtual const QPalette* Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::TextEditPalette
virtual const QPalette* Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::TextEditPalette
virtual const QPalette* Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::TextLineEditPalette
virtual const QPalette* Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::ToolTipPalette
virtual QVariant Qt6CTPlatformTheme::themeHint(QPlatformTheme::ThemeHint) const
virtual const QPalette* Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::SystemPalette
virtual const QPalette* Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::SystemPalette
virtual const QPalette* Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::SystemPalette
virtual const QPalette* Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::SystemPalette
virtual const QPalette* Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::ToolButtonPalette
virtual const QPalette* Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::ButtonPalette
virtual const QPalette* Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::CheckBoxPalette
virtual const QPalette* Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::RadioButtonPalette
virtual const QPalette* Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::HeaderPalette
virtual const QPalette* Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::ItemViewPalette
virtual const QPalette* Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::MessageBoxLabelPelette
virtual const QPalette* Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::TabBarPalette
virtual const QPalette* Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::LabelPalette
virtual const QPalette* Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::GroupBoxPalette
virtual const QPalette* Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::MenuPalette
virtual const QPalette* Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::MenuBarPalette
virtual const QPalette* Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::TextEditPalette
virtual const QPalette* Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::TextEditPalette
virtual const QPalette* Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::TextLineEditPalette
virtual const QPalette* Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::ToolTipPalette
virtual QVariant Qt6CTPlatformTheme::themeHint(QPlatformTheme::ThemeHint) const
virtual const QPalette* Qt6CTPlatformTheme::palette(QPlatformTheme::Palette) const QPlatformTheme::SystemPalette
Segmentation fault

and the journal also logs these messages which coincide with the time stamp of the crash:

Feb 18 10:16:14 gnome-shell[3192]: Buggy client caused popup to be placed outside of parent window
Feb 18 10:16:15 gnome-shell[3192]: Buggy client caused popup to be placed outside of parent window
Feb 18 10:16:16 gnome-shell[3192]: Buggy client caused popup to be placed outside of parent window
Feb 18 10:16:17 gnome-shell[3192]: Buggy client caused popup to be placed outside of parent window
Feb 18 10:16:18 systemd[2837]: app-org.kde.konsole-7017.scope: Consumed 2.298s CPU time, 133.2M memory peak.
Feb 18 10:16:20 systemd[2837]: Started app-org.kde.konsole-7968.scope.
Feb 18 10:16:25 gnome-shell[3192]: Buggy client caused popup to be placed outside of parent window
Feb 18 10:16:25 systemd[2837]: app-org.kde.konsole-7968.scope: Consumed 1.926s CPU time, 91.2M memory peak.


The same can be seen in Konsole (v4:24.12.0-1), but not with kalzium (v4:24.12.1-1), though that may be because it doesn't have a menu button in the top right corner. So it's possible that this is a general issue with Qt6 apps, but only happens when trying to open context menus that wouldn't be drawn on top of the window's surface only. Also, in general, when Qt6 apps have nested submenus, they often only show up for a fraction of a second before vanishing. This may or may not be related.

  I'm not sure where to report this for more general issues with Qt6 apps, so for now I'm only reporting this here until someone can recommend a better place.