Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#66046 - [qt5-base] Krita fails to start, stuck at "Adding resource types" after Qt 5.14.2 update

Attached to Project: Arch Linux
Opened by Jonas Witschel (diabonas) - Tuesday, 31 March 2020, 11:46 GMT
Last edited by Antonio Rojas (arojas) - Wednesday, 01 April 2020, 10:28 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


After upgrading to Qt 5.14.2 in [testing], Krita fails to start: the splash screen gets shown, but is stuck indefinitely at "Adding resource types". There is no console output at all, so I have no indication of what might go wrong. Other Qt applications like TeXworks and KeePassXC work without issues.

Temporarily downgrading qt5-base to version 5.14.1-4 for testing purposes makes the splash screen advance to "Loading Resources..." and "Loading Brush Presets..." before crashing with "Cannot mix incompatible Qt library (version 0x50e02) with this library (version 0x50e01)" (which is expected after such a partial upgrade). On the other hand, only upgrading qt5-base to 5.14.2 while keeping all other Qt packages at 5.14.1 results in Krita getting stuck at "Adding resource types" as above, so the issue seems to be in the interaction of the qt5-base and krita packages.

Additional info:
* qt5-base 5.14.2-1
* krita 4.2.9-1

Steps to reproduce:
Install and start Krita.
This task depends upon

Closed by  Antonio Rojas (arojas)
Wednesday, 01 April 2020, 10:28 GMT
Reason for closing:  Fixed
Additional comments about closing:  krita 4.2.9-2
Comment by Jonas Witschel (diabonas) - Tuesday, 31 March 2020, 12:13 GMT
Backtrace of the locked application:

#0 0x00007ffff455af8d in syscall () from /usr/lib/
#1 0x00007ffff48f4106 in QBasicMutex::lockInternal() () from /usr/lib/
#2 0x00007ffff4ac7d5a in ?? () from /usr/lib/
#3 0x00007ffff4aba24a in QPluginLoader::setFileName(QString const&) () from /usr/lib/
#4 0x00007ffff4aba30d in QPluginLoader::QPluginLoader(QString const&, QObject*) () from /usr/lib/
#5 0x00007ffff32bfe03 in KoJsonTrader::query(QString const&, QString const&) const () from /usr/lib/
#6 0x00007ffff32b93dc in KoPluginLoader::load(QString const&, QString const&, KoPluginLoader::PluginsConfig const&, QObject*, bool) ()
from /usr/lib/
#7 0x00007ffff372e536 in KoColorSpaceRegistry::init() () from /usr/lib/
#8 0x00007ffff372eef8 in KoColorSpaceRegistry::instance() () from /usr/lib/
#9 0x00007ffff36fd3f6 in KoColor::KoColor() () from /usr/lib/
#10 0x00007ffff7fe209a in call_init.part () from /lib64/
#11 0x00007ffff7fe21a1 in _dl_init () from /lib64/
#12 0x00007ffff459a905 in _dl_catch_exception () from /usr/lib/
#13 0x00007ffff7fe60e8 in dl_open_worker () from /lib64/
#14 0x00007ffff459a8a8 in _dl_catch_exception () from /usr/lib/
#15 0x00007ffff7fe596e in _dl_open () from /lib64/
#16 0x00007ffff20d334c in ?? () from /usr/lib/
#17 0x00007ffff459a8a8 in _dl_catch_exception () from /usr/lib/
#18 0x00007ffff459a973 in _dl_catch_error () from /usr/lib/
#19 0x00007ffff20d3ab9 in ?? () from /usr/lib/
#20 0x00007ffff20d33da in dlopen () from /usr/lib/
#21 0x00007ffff4acb3b1 in ?? () from /usr/lib/
#22 0x00007ffff4ac4dde in ?? () from /usr/lib/
#23 0x00007ffff4ac53d3 in ?? () from /usr/lib/
#24 0x00007ffff4ab91c8 in QPluginLoader::load() () from /usr/lib/
#25 0x00007ffff4ab92f7 in QPluginLoader::instance() () from /usr/lib/
#26 0x00007ffff32ba2c1 in KoPluginLoader::load(QString const&, QString const&, KoPluginLoader::PluginsConfig const&, QObject*, bool) ()
from /usr/lib/
#27 0x00007ffff5e9501e in KisPaintOpRegistry::initRegistry() () from /usr/lib/
#28 0x00007ffff5e954f1 in KisPaintOpRegistry::instance() () from /usr/lib/
#29 0x00007ffff70aef07 in KisApplication::loadPlugins() () from /usr/lib/
#30 0x00007ffff70b15f3 in KisApplication::start(KisApplicationArguments const&) () from /usr/lib/
#31 0x0000555555e4dc11 in main ()
Comment by Jonas Witschel (diabonas) - Tuesday, 31 March 2020, 17:47 GMT
Upstream bug report in Qt, including a bisect as well as a more detailed backtrace from a debug build: