Bug 406591 - Error in SDL2.dll
Summary: Error in SDL2.dll
Status: RESOLVED NOT A BUG
Alias: None
Product: digikam
Classification: Applications
Component: Bundle-Windows (show other bugs)
Version: 6.1.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-16 09:38 UTC by Matthias Rehs
Modified: 2020-09-12 10:40 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 7.2.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Rehs 2019-04-16 09:38:46 UTC
SUMMARY


STEPS TO REPRODUCE
1. Install digikam 6.0.0 or 6.1.0 on Windows 10 (Windows 10 Pro)
2. Try to start digikam


OBSERVED RESULT

Error Message appears:
digikam.exe - Bad Image

C:\Program Files\digiKam\SDL2.dll is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support. Error status 0xc0000022.

Application does not start.

EXPECTED RESULT

Application should start


SOFTWARE/OS VERSIONS
Windows: Microsoft Windows [Version 10.0.17763.437]

ADDITIONAL INFORMATION
Comment 1 caulier.gilles 2019-04-16 11:07:57 UTC
I just tried with 6.0.0 or 6.1.0 official installers under Windows 7 or 10 and there is no problem at startup.

I suspect a problem with the anti-virus working in background...

Gilles Caulier
Comment 2 Matthias Rehs 2019-04-16 12:24:22 UTC
You were right.
On a system without antivirus (sophos in particular) the software started just fine.

To solve my problem, I switched back to 5.9.0.
But I would appreciate, if future versions would be "sophos-compatible".
Comment 3 Simon 2019-04-16 15:17:09 UTC
It's not about digikam being sophos compatible, it's about sophos fixing a false positive. You need to report this to Sophos and if they are any good, they will include a fix in the next update.
Comment 4 caulier.gilles 2019-04-16 16:08:07 UTC
and SDL.dll is an open source shared library :

https://www.libsdl.org/

All digiKam installer is cross compiled under Linux => there is no windows here, so no virus is possible !

Gilles Caulier
Comment 5 Maik Qualmann 2019-04-16 16:28:19 UTC
I'm adding this link, even if it's related to Malwarebytes, to show what anti-virus programs do.

https://forums.malwarebytes.com/topic/212490-digikam-removed-as-ransomware/

Maik