Bug 511294 - digikam 8.8 crashes with a segmentation fault on startup on a system running Cinnamon X11
Summary: digikam 8.8 crashes with a segmentation fault on startup on a system running ...
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: ColorManagement-Profiles (other bugs)
Version First Reported In: 8.8.0
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-28 22:55 UTC by rue.wessel
Modified: 2025-12-25 10:53 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 9.0.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rue.wessel 2025-10-28 22:55:00 UTC
***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
Description of problem:
digikam 8.8 crashes with a segmentation fault on startup on a system running Cinnamon X11.

Digikam runs on the same system under KDE, Gnome Classic, and Cinnamon experimental with Wayland.

Version-Release number of selected component (if applicable):
Fedora 42 digikam   digikam.x86_64 8.8.0-1.fc42

How reproducible: 
Installation and/or update of package digikam 8.8 and start digikam in desktop environment Cinnamon (with X11)

STEPS TO REPRODUCE
1.sudo dnf install digikam
2.digikam
3.

OBSERVED RESULT
German: Speicherzugriffsfehler (Speicherabzug geschrieben)
Segmentation fault

EXPECTED RESULT
digiKam starts

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 6.9.2
Linux Fedora 42 - Cinnamon Xorg

ADDITIONAL INFORMATION
8.7 ran smoothly. 
Even an initial start with 8.8. with a new database and new configurations results in a crash. 
During the initial start, the wizard begins the setup, and the subsequent start of DigiKam results in a segmentation fault. 
Unfortunately, downgrading to 8.7 is no longer possible due to the updated dependencies.

As described, the crash only occurs in an Xorg environment. It works in an Wayland environment.
DigiKam crashes under Gnome Classic (Xorg) and Cinnamon. 
It works under Plasma, Gnome Classic (Wayland), and Cinnamon Wayland (Experimental).

The segmentation fault also occurs with a current AppImage from the digiKam website.
I still need to test whether the AppImage works under Wayland. I will provide the result later.
Comment 1 rue.wessel 2025-10-28 23:08:22 UTC
AppImage 8.8 exhibits the same behavior:

SegmentationFault under Xorg, error-free startup in Wayland environments
Comment 2 caulier.gilles 2025-10-29 04:08:45 UTC
probably a duplicate of bug 511092
Comment 3 Maik Qualmann 2025-10-29 06:53:01 UTC
The crash has been fixed and has already been confirmed in the mailing list.
Please test the updated digiKam AppImage from here:

https://files.kde.org/digikam/

Maik
Comment 4 rue.wessel 2025-10-29 08:16:06 UTC
The Segmentation Fault ist fixed in Appimage 8.8.0-20251029T070102-Qt6
Comment 5 nucleo 2025-10-29 10:49:05 UTC
Both commits from bug 511092 needed to fix segmentation fault?