Bug 501838 - Digikam won't start after updating to 8.6.0
Summary: Digikam won't start after updating to 8.6.0
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Sqlite (show other bugs)
Version: 8.6.0
Platform: Microsoft Windows Microsoft Windows
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-21 16:31 UTC by mathieu.sauzay
Modified: 2025-03-23 16:27 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mathieu.sauzay 2025-03-21 16:31:52 UTC
SUMMARY
I updated digicam from 8.5 to 8.6, and it crashed during startup. Going back to 8.5 works. 

STEPS TO REPRODUCE
1. Start from a working 8.5 version on windows
2. Upgrade to 8.6
3. Launch the application => Crash
4. uninstall everything,
5. delete digikam files
6. install mariadb
7. install 8.6, and configure it to use internal MySQL instead of SQLite
8. seems to be working fine

=> Bug seems to be related to SQLite

OBSERVED RESULT
Splash screen appears, then disappears. process crashes.

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: Windows 11, 24H2
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

ADDITIONAL INFORMATION
Comment 1 caulier.gilles 2025-03-22 02:24:48 UTC
We need a backtrace of the crash with the 8.6.0 version following instruction here :

https://www.digikam.org/contribute/#windows-host-1
Comment 2 mathieu.sauzay 2025-03-22 08:09:22 UTC
(In reply to caulier.gilles from comment #1)
> We need a backtrace of the crash with the 8.6.0 version following
> instruction here :
> 
> https://www.digikam.org/contribute/#windows-host-1

Sorry, but now it's fixed by changing the database engine, I won't break it again. The person how asked to open a ticket should have mentioned it at the same time... I f you cannot reproduce the issue, then close it.
Comment 3 caulier.gilles 2025-03-22 08:27:23 UTC
I cannot reproduce the dysfunction here
Comment 4 mathieu.sauzay 2025-03-22 08:42:33 UTC
(In reply to caulier.gilles from comment #3)
> I cannot reproduce the dysfunction here

Then I suggest we cancel (close?) this issue. I won't break everything again to reproduce the bug : digikam has been processing my photos for more than 12 hours now, and probably has 12 more hours to go ar least. I won't break it again.
Comment 5 Maik Qualmann 2025-03-23 16:27:24 UTC
Git commit 1b359d356d4168a377789f2f7b70b7540a50a71f by Maik Qualmann.
Committed on 23/03/2025 at 16:26.
Pushed by mqualmann into branch 'master'.

also with SQLite a message box if the face DB integrity check fails
Related: bug 501905
FIXED-IN: 8.7.0

M  +1    -1    NEWS
M  +13   -4    core/libs/facesengine/facedb/facedb.cpp

https://invent.kde.org/graphics/digikam/-/commit/1b359d356d4168a377789f2f7b70b7540a50a71f