Bug 517328

Summary: Error when starting digiKam 9.0.0 - lensfun.dll
Product: [Applications] digikam Reporter: matthias <matthiasveth>
Component: Bundle-WindowsAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles, metzpinguin
Priority: NOR    
Version First Reported In: 9.0.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In: 9.1.0
Sentry Crash Report:
Attachments: my lensfun.dll

Description matthias 2026-03-09 08:43:37 UTC
SUMMARY
When starting digiKam 9.0.0 on a German Windows 11 25H2 (26200.7840) 64-bit, i get the following error message:

---------------------------
digikam.exe - Ungültiges Bild
---------------------------
C:\Program Files\digiKam\lensfun.dll ist entweder nicht für die Ausführung unter Windows vorgesehen oder enthält einen Fehler. Installieren Sie das Programm mit den Originalinstallationsmedien erneut, oder wenden Sie sich an den Systemadministrator oder Softwarelieferanten, um Unterstützung zu erhalten. Fehlerstatus 0xc0e90002.
---------------------------

STEPS TO REPRODUCE
1. Start digiKam (It´s the same, if i start it with admin privileges 

OBSERVED RESULT
I get the Error message, pasted above

EXPECTED RESULT
That the software is starting correct

SOFTWARE/OS VERSIONS
Windows: Windows 11 25H2 (26200.7840) 64-bit, German

ADDITIONAL INFORMATION
Comment 1 Maik Qualmann 2026-03-09 08:59:42 UTC
The problem cannot be reproduced here under Windows 11 in a German environment. Where exactly did you download digiKam-9.0.0 from?

The problem could also be caused by antivirus software; which one are you using?

Maik
Comment 2 matthias 2026-03-09 09:02:57 UTC
I have used this download link:
https://mirror.hs-esslingen.de/Mirrors/ftp.kde.org/pub/kde/stable/digikam/9.0.0/digiKam-9.0.0-Qt6-Win64.exe

I have no specific Antivirus Software installed. I use the Windows Builtin Defender and Firewall
Comment 3 Maik Qualmann 2026-03-09 09:11:33 UTC
I checked the download, no problems there.

The exact size of lensfun.dll is 1.701.888 bytes, what size is your file?

Maik
Comment 4 matthias 2026-03-09 09:12:50 UTC
It´s the same:
1,62 MB (1.701.888 Bytes)
Comment 5 Maik Qualmann 2026-03-09 10:09:01 UTC
I have no idea. Could you send me your lensfun.dll so I can do a binary comparison?

Maik
Comment 6 matthias 2026-03-09 10:10:19 UTC
Created attachment 190501 [details]
my lensfun.dll

Here is my lensfun.dll

It was a fresh digiKam installation
Comment 7 matthias 2026-03-09 10:16:11 UTC
Ok, i have found the problem. Windows Smart App Control ist blocking the dll. I have turned it off. Unfortunately it is not possible to configure exclusions in SmartApp Control :-(

Thanks for your support!