Bug 497832 - digiKam 8.5.0-Qt6 Win64 crashes on startup
Summary: digiKam 8.5.0-Qt6 Win64 crashes on startup
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Portability-Runtime (show other bugs)
Version: 8.5.0
Platform: Microsoft Windows Microsoft Windows
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-12-23 15:44 UTC by navatala
Modified: 2025-02-11 15:44 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description navatala 2024-12-23 15:44:08 UTC
digiKam-8.5.0-Qt6-Win64

this had been working fine but has started to crash on startup. 
I tried uninstalling and reinstalling
I tried removing all references to digilkam in the registry
I tried removing databases and starting from scratch
none of the above resolves the issue

Windows 10 fully patched

entry in event viewer application log
Faulting application name: digikam.exe, version: 8.5.0.0, time stamp: 0x67376ddd
Faulting module name: Qt6Gui.dll, version: 6.7.2.0, time stamp: 0x66cefc5f
Exception code: 0xc000041d
Fault offset: 0x00000000000eb6c9
Faulting process id: 0x213c
Faulting application start time: 0x01db554f7b060c68
Faulting application path: C:\Program Files\digiKam\digikam.exe
Faulting module path: C:\Program Files\digiKam\Qt6Gui.dll
Report Id: aa2dbc5c-2d5f-4255-bd20-d19a825591d1
Faulting package full name: 
Faulting package-relative application ID: 

During startup it seems to load/initalise  everything, then a blank creen shows up for a few seconds before closing.
Comment 1 Maik Qualmann 2024-12-23 16:26:45 UTC
Probably an OpenGL problem with your graphics card, try to enable software OpenGL:

Edit the following file: C:\Users\%USERNAME%\AppData\Local\digikam_systemrc

[System]
softwareOpenGL=true

Maik
Comment 2 navatala 2024-12-23 19:08:13 UTC
made the change suggested, but it made no difference

Faulting application name: digikam.exe, version: 8.5.0.0, time stamp: 0x67376ddd
Faulting module name: Qt6Gui.dll, version: 6.7.2.0, time stamp: 0x66cefc5f
Exception code: 0xc000041d
Fault offset: 0x00000000000eb6c9
Faulting process id: 0x325c
Faulting application start time: 0x01db556d529a6051
Faulting application path: C:\Program Files\digiKam\digikam.exe
Faulting module path: C:\Program Files\digiKam\Qt6Gui.dll
Report Id: f624793e-8a3a-47e1-a45a-9a8d5a4205f4
Faulting package full name: 
Faulting package-relative application ID:
Comment 3 Maik Qualmann 2024-12-23 21:38:34 UTC
Please rename the digiKam configuration file: C:\Users\%USERNAME%\AppData\Local\digikamrc

Maik
Comment 4 navatala 2024-12-23 21:48:46 UTC
after renaming C:\Users\%USERNAME%\AppData\Local\digikamrc digikam when through the intial setup, but still crashed
Comment 5 Matthew 2025-01-09 10:13:21 UTC
I have the identical bug happen. Now despite uninstalling/reinstalling multiple times from multiple mirrors, the same thing happens. The initial loading box comes up, but then an empty GUI shows up, the program freezes, and then quits spontaneously. 

Windows 10
digiKam-8.5.0-Qt6-Win64

Faulting application name: digikam.exe, version: 8.5.0.0, time stamp: 0x67376ddd
Faulting module name: Qt6Gui.dll, version: 6.7.2.0, time stamp: 0x66cefc5f
Exception code: 0xc000041d
Fault offset: 0x00000000000eb6c9
Faulting process id: 0x0x8A8C
Faulting application start time: 0x0x1DB627D28F493C6
Faulting application path: C:\Program Files\digiKam\digikam.exe
Faulting module path: C:\Program Files\digiKam\Qt6Gui.dll
Report Id: b875dcee-b8b6-4ea9-94d6-ab5196f814f2
Faulting package full name: 
Faulting package-relative application ID: 

Also had exception code 0xc0000005 occasionally.

I even tried to install a stable release of 8.4.0 again that uses the Qt5gui.dll. That did not crash but gave me a blank GUI screen that I can interact with - if I click on where a menu button like "File" should be, it opens the menu. Would love to get it working again!
Comment 6 caulier.gilles 2025-01-09 12:58:51 UTC
Edit the file listed in Comment #1 and try again.
Comment 7 Matthew 2025-01-10 01:40:05 UTC
(In reply to caulier.gilles from comment #6)
> Edit the file listed in Comment #1 and try again.

I edited the file listed to enable on the OpenGL and the same crash resulted.
I also tried changing the name of the digikamrc file to digikam like the previous user mentioned with the same result - the initial setup menu opened, but after completing the basic setup options, the program opened with a blank screen and then crashed. 
Error codes are the same from prior attempts.
Comment 8 navatala 2025-01-12 20:09:32 UTC
application is now working for me.
no changes made on my part, that I'm aware of
no OS updates installed
no applications uninstalled /disabled that I'm aware off
strange....
Comment 9 caulier.gilles 2025-01-14 07:00:14 UTC
Ok i close this file now. Don't hesitate to reopen if necessary.

Best

Gilles Caulier
Comment 10 navatala 2025-01-16 10:48:16 UTC
application has started crashing again

Faulting application name: digikam.exe, version: 8.5.0.0, time stamp: 0x67376ddd
Faulting module name: Qt6Gui.dll, version: 6.7.2.0, time stamp: 0x66cefc5f
Exception code: 0xc0000005
Fault offset: 0x00000000000eb6c9
Faulting process id: 0xe54
Faulting application start time: 0x01db68020247ee47
Faulting application path: C:\Program Files\digiKam\digikam.exe
Faulting module path: C:\Program Files\digiKam\Qt6Gui.dll
Report Id: c5ac7a9d-c93c-4035-b8ca-06356141334b
Faulting package full name: 
Faulting package-relative application ID: 

yesterday the only change I'm aware is that windows updates where applied
Comment 11 Hersir 2025-02-10 17:13:13 UTC
(In reply to Maik Qualmann from comment #1)
> Probably an OpenGL problem with your graphics card, try to enable software
> OpenGL:
> 
> Edit the following file: C:\Users\%USERNAME%\AppData\Local\digikam_systemrc
> 
> [System]
> softwareOpenGL=true
> 
> Maik

It worked for me