Summary: | Crash in assert when importing old digikam db | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Jonathan Verner <jonathan.verner> |
Component: | Database-Similarity | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | caulier.gilles, metzpinguin |
Priority: | NOR | Keywords: | drkonqi |
Version First Reported In: | 8.1.0 | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/graphics/digikam/-/commit/7c7a6406839ed9c233d14bf935b642cb96af6425 | Version Fixed In: | 8.2.0 |
Sentry Crash Report: |
Description
Jonathan Verner
2023-10-27 14:02:54 UTC
Can you reproduce the crash using the Linux AppImage bundle 8.2.0 pre-release available here : https://files.kde.org/digikam/ The crash is possible, the scanning process can be started before the similarity database has been initialized. In commitCopyImageAttributes() it crashes. I'll fix it. Maik Git commit 7c7a6406839ed9c233d14bf935b642cb96af6425 by Maik Qualmann. Committed on 27/10/2023 at 22:23. Pushed by mqualmann into branch 'master'. fix race condition with uninitialized similarity database Related: bug 430858 FIXED-IN: 8.2.0 M +1 -1 NEWS M +5 -5 core/libs/album/manager/albummanager_database.cpp M +2 -2 core/libs/database/utils/scan/scancontroller.cpp M +9 -0 core/libs/database/utils/scan/scancontroller.h M +11 -0 core/libs/database/utils/scan/scancontroller_start.cpp https://invent.kde.org/graphics/digikam/-/commit/7c7a6406839ed9c233d14bf935b642cb96af6425 WOW!!! That was a quick fix. Thank you!!! |