https://bugs.kde.org/show_bug.cgi?id=506086
Bug ID: 506086
Summary: [5.3.0 Nightly] Safe Assert Warning containing
"KisResourceCacheDb.cpp, line 2085" with 'Noto-serif
Hebrew' font from Debian
Classification: Applications
Product: krita
Version First nightly build (please specify the git hash!)
Reported In:
Platform: Appimage
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: Resource Management
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
SUMMARY
When krita startup, loading cache font database, it will popup safe assert
warning which mentioned "KisResourceCacheDb.cpp, line 2085", ignore it will
proceed same warning (loading another font in the same family), until krita
start normally. After welcome screen, everything seems to work as expect.
Tested in Debian 12/13, still can reproduce in krita-5.3.0-prealpha-88295ba7c3
Cannot trigger the warning in OpenSUSE 15.6 (not have this certain font family)
Here is the output launching from terminal.
```
Could not execute addResourceVersionImpl statement QSqlError("19", "Unable to
fetch row", "UNIQUE constraint failed: versioned_resources.resource_id,
versioned_resources.storage_id, versioned_resources.version") 2474
"fontregistry" "fontregistry" "Noto Serif Hebrew SemBd" "Noto Serif Hebrew
SemBd" version 0
SAFE ASSERT (krita): "result" in file
/builds/graphics/krita/libs/resources/KisResourceCacheDb.cpp, line 2085
Could not execute addResourceVersionImpl statement QSqlError("19", "Unable to
fetch row", "UNIQUE constraint failed: versioned_resources.resource_id,
versioned_resources.storage_id, versioned_resources.version") 2475
"fontregistry" "fontregistry" "Noto Serif Hebrew ExtLt" "Noto Serif Hebrew
ExtLt" version 0
SAFE ASSERT (krita): "result" in file
/builds/graphics/krita/libs/resources/KisResourceCacheDb.cpp, line 2085
Could not execute addResourceVersionImpl statement QSqlError("19", "Unable to
fetch row", "UNIQUE constraint failed: versioned_resources.resource_id,
versioned_resources.storage_id, versioned_resources.version") 2476
"fontregistry" "fontregistry" "Noto Serif Hebrew Thin" "Noto Serif Hebrew Thin"
version 0
SAFE ASSERT (krita): "result" in file
/builds/graphics/krita/libs/resources/KisResourceCacheDb.cpp, line 2085
Could not execute addResourceVersionImpl statement QSqlError("19", "Unable to
fetch row", "UNIQUE constraint failed: versioned_resources.resource_id,
versioned_resources.storage_id, versioned_resources.version") 2477
"fontregistry" "fontregistry" "Noto Serif Hebrew ExtBd" "Noto Serif Hebrew
ExtBd" version 0
SAFE ASSERT (krita): "result" in file
/builds/graphics/krita/libs/resources/KisResourceCacheDb.cpp, line 2085
Could not execute addResourceVersionImpl statement QSqlError("19", "Unable to
fetch row", "UNIQUE constraint failed: versioned_resources.resource_id,
versioned_resources.storage_id, versioned_resources.version") 2478
"fontregistry" "fontregistry" "Noto Serif Hebrew Blk" "Noto Serif Hebrew Blk"
version 0
SAFE ASSERT (krita): "result" in file
/builds/graphics/krita/libs/resources/KisResourceCacheDb.cpp, line 2085
Could not execute addResourceVersionImpl statement QSqlError("19", "Unable to
fetch row", "UNIQUE constraint failed: versioned_resources.resource_id,
versioned_resources.storage_id, versioned_resources.version") 2479
"fontregistry" "fontregistry" "Noto Serif Hebrew Light" "Noto Serif Hebrew
Light" version 0
SAFE ASSERT (krita): "result" in file
/builds/graphics/krita/libs/resources/KisResourceCacheDb.cpp, line 2085
Could not execute addResourceVersionImpl statement QSqlError("19", "Unable to
fetch row", "UNIQUE constraint failed: versioned_resources.resource_id,
versioned_resources.storage_id, versioned_resources.version") 2480
"fontregistry" "fontregistry" "Noto Serif Hebrew Med" "Noto Serif Hebrew Med"
version 0
SAFE ASSERT (krita): "result" in file
/builds/graphics/krita/libs/resources/KisResourceCacheDb.cpp, line 2085
```
STEPS TO REPRODUCE
1. Debian 12/13 with "font-noto-core" package from repo, start krita to build
font resource cache
2. Close krita, start again, safe assert warning appears
SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 13
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.13.0
Qt Version: 6.8.2
Kernel Version: 6.12.32-amd64 (64-bit)
ADDITIONAL INFORMATION
Disable the font family "Noto-serif Hebrew" in Debian 12/13, the safe assert
warning will disappear.
The font files installed in Debian seems a little different from google
website, but I didn't test google version yet.
--
You are receiving this mail because:
You are watching all bug changes.