https://bugs.kde.org/show_bug.cgi?id=523815
Bug ID: 523815
Summary: [gdb stacktrace provided] Segfault on startup
Classification: Applications
Product: krita
Version First 6.0.3
Reported In:
Platform: Arch Linux
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: General
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
DESCRIPTION
After updating to the newer version of Krita provided by Arch Linux (both
6.0.3-1 and 6.0.3-2) they now Segfault on startup. Last version that was
working here was 6.0.2.1-2. The GDB backtrace of said segfault is as follows:
```
Thread 1 "krita" received signal SIGSEGV, Segmentation fault.
0x00007ffff4397050 in KisForestDetail::ChildIterator<FontFamilyNode,
false>::increment (this=<synthetic pointer>) at
/usr/src/debug/krita/krita-6.0.3/libs/global/KisForest.h:205
205 this->m_node = this->m_node->nextSibling;
(gdb) bt
#0 0x00007ffff4397050 in KisForestDetail::ChildIterator<FontFamilyNode,
false>::increment (this=<synthetic pointer>) at
/usr/src/debug/krita/krita-6.0.3/libs/global/KisForest.h:205
#1
boost::iterators::iterator_core_access::increment<KisForestDetail::ChildIterator<FontFamilyNode,
false> > (f=<synthetic pointer>...) at
/usr/include/boost/iterator/iterator_facade.hpp:506
#2
boost::iterators::detail::iterator_facade_base<KisForestDetail::ChildIterator<FontFamilyNode,
false>, FontFamilyNode, boost::iterators::bidirectional_traversal_tag,
FontFamilyNode&, long, false, false>::operator++
(this=<synthetic pointer>) at
/usr/include/boost/iterator/iterator_facade.hpp:608
#3 boost::iterators::operator++<KisForestDetail::ChildIterator<FontFamilyNode,
false>, FontFamilyNode, boost::iterators::bidirectional_traversal_tag,
FontFamilyNode&, long> (i=<synthetic pointer>...)
at /usr/include/boost/iterator/iterator_facade.hpp:732
#4 KoFFWWSConverter::representationByFamilyName (this=<optimized out>,
familyName=...) at
/usr/src/debug/krita/krita-6.0.3/libs/flake/text/KoFFWWSConverter.cpp:1080
#5 0x00007ffff42f0712 in KoFontRegistry::representationByFamilyName
(this=<optimized out>, familyName=<optimized out>) at
/usr/src/debug/krita/krita-6.0.3/libs/flake/text/KoFontRegistry.cpp:770
#6 0x00007ffff43e3422 in KoFontStorage::resource (this=<optimized out>,
url=<optimized out>) at
/usr/src/debug/krita/krita-6.0.3/libs/flake/resources/KoFontStorage.cpp:120
#7 0x00007ffff7ea658a in KisResourceStorage::resource (this=<optimized out>,
url=<optimized out>) at
/usr/src/debug/krita/krita-6.0.3/libs/resources/KisResourceStorage.cpp:265
#8 0x00007ffff7e822bb in KisResourceCacheDb::synchronizeStorage (storage=...)
at /usr/src/debug/krita/krita-6.0.3/libs/resources/KisResourceCacheDb.cpp:2091
#9 0x00007ffff7e9f1d0 in KisResourceLocator::synchronizeDb
(this=0x555556736c60) at
/usr/src/debug/krita/krita-6.0.3/libs/resources/KisResourceLocator.cpp:1244
#10 0x00007ffff7e91d71 in KisResourceLocator::initialize
(this=this@entry=0x555556736c60, installationResourcesLocation=...) at
/usr/src/debug/krita/krita-6.0.3/libs/resources/KisResourceLocator.cpp:143
#11 0x00007ffff7a55d55 in KisApplication::registerResources
(this=this@entry=0x7fffffffd360) at
/usr/src/debug/krita/krita-6.0.3/libs/ui/KisApplication.cpp:479
#12 0x00007ffff7a585ec in KisApplication::start
(this=this@entry=0x7fffffffd360, args=...) at
/usr/src/debug/krita/krita-6.0.3/libs/ui/KisApplication.cpp:585
#13 0x000055555555c71f in main (argc=<optimized out>, argv=0x7fffffffd548) at
/usr/src/debug/krita/krita-6.0.3/krita/main.cc:869
```
STEPS TO REPRODUCE
1. Update Krita to given version
2. Observe the Segfault
OBSERVED RESULT
Segfault on startup
EXPECTED RESULT
Not segfaulting on splash screen
SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 6.7.3
KDE Frameworks Version: 6.28.0
Qt Version: 6.11.1
Kernel Version: 7.1.4-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 6800HS with Radeon Graphics
Memory: 16 GiB of RAM (14.9 GiB usable)
Graphics Processor 1: AMD Radeon 680M
Graphics Processor 2: AMD Radeon 680M
ADDITIONAL INFORMATION
On the last known working version, 6.0.2.1-2, during startup there is also this
message:
```
Could not execute addResourceVersionImpl statement QSqlError("2067", "Unable to
fetch row", "UNIQUE constraint failed: versioned_resources.resource_id,
versioned_resources.storage_id, versioned_resources.version") 1155
"fontregistry" "fontregistry" "Iosevka" "Iosevka" version 0
SAFE ASSERT (krita): "result" in file
/usr/src/debug/krita/krita-6.0.2.1/libs/resources/KisResourceCacheDb.cpp, line
2160
```
--
You are receiving this mail because:
You are watching all bug changes.
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.