Bug 501980

Summary: digiKam hangs and does not respond during restoration image
Product: [Applications] digikam Reporter: Olga <urozhaevaoo>
Component: Plugin-Editor-RestorationAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version First Reported In: 8.5.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 9.0.0
Sentry Crash Report:
Attachments: backtrace

Description Olga 2025-03-25 14:41:11 UTC
Created attachment 179723 [details]
backtrace

STEPS TO REPRODUCE
1.  Open digiKam -> Import -> Add images -> Choose image and add
2. Select imported image -> Image Editor -> Enhance -> Restoration

OBSERVED RESULT
The program hangs and does not respond. It crashes with a segmentation error after closing Image Editor window

EXPECTED RESULT
Image restoration is correct

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  ALT Workstation K 11.0 Beta
KDE Frameworks Version:  6.11.0
Qt Version:  6.8.2

ADDITIONAL INFORMATION
Attaching backtrace. It's coredump, which is debugged by gdb.
Comment 1 caulier.gilles 2025-03-25 14:58:26 UTC
One alternative to this plusing, is to use GMic-Qt plugins which provides more than 500 filters, including Restoration stuff.

In fact the GMic-Qt tool author is the same than Restoration Tool (this last one is a very old implementation).

https://docs.digikam.org/en/image_editor/enhancement_tools.html#g-mic-qt-tool

GMic-Qt is avaialble in the Linux AppImage bundle that we provides.

Gilles Caulier
Comment 2 Maik Qualmann 2025-03-25 16:35:13 UTC
I can't reproduce  freezing the Restoration Tool under Windows.
The backtrace does not seem to contain the crashing thread.

Maik
Comment 3 caulier.gilles 2025-12-09 03:15:01 UTC
Not reproducible here too. The back-trace contains Wayland stuff, recognition thread, ans scan controller. I'm not sure if the problem come from Restoration as well...