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

Details

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/libc.so.6
#1 0x00007ffff48f4106 in QBasicMutex::lockInternal() () from /usr/lib/libQt5Core.so.5
#2 0x00007ffff4ac7d5a in ?? () from /usr/lib/libQt5Core.so.5
#3 0x00007ffff4aba24a in QPluginLoader::setFileName(QString const&) () from /usr/lib/libQt5Core.so.5
#4 0x00007ffff4aba30d in QPluginLoader::QPluginLoader(QString const&, QObject*) () from /usr/lib/libQt5Core.so.5
#5 0x00007ffff32bfe03 in KoJsonTrader::query(QString const&, QString const&) const () from /usr/lib/libkritaplugin.so.18
#6 0x00007ffff32b93dc in KoPluginLoader::load(QString const&, QString const&, KoPluginLoader::PluginsConfig const&, QObject*, bool) ()
from /usr/lib/libkritaplugin.so.18
#7 0x00007ffff372e536 in KoColorSpaceRegistry::init() () from /usr/lib/libkritapigment.so.18
#8 0x00007ffff372eef8 in KoColorSpaceRegistry::instance() () from /usr/lib/libkritapigment.so.18
#9 0x00007ffff36fd3f6 in KoColor::KoColor() () from /usr/lib/libkritapigment.so.18
#10 0x00007ffff7fe209a in call_init.part () from /lib64/ld-linux-x86-64.so.2
#11 0x00007ffff7fe21a1 in _dl_init () from /lib64/ld-linux-x86-64.so.2
#12 0x00007ffff459a905 in _dl_catch_exception () from /usr/lib/libc.so.6
#13 0x00007ffff7fe60e8 in dl_open_worker () from /lib64/ld-linux-x86-64.so.2
#14 0x00007ffff459a8a8 in _dl_catch_exception () from /usr/lib/libc.so.6
#15 0x00007ffff7fe596e in _dl_open () from /lib64/ld-linux-x86-64.so.2
#16 0x00007ffff20d334c in ?? () from /usr/lib/libdl.so.2
#17 0x00007ffff459a8a8 in _dl_catch_exception () from /usr/lib/libc.so.6
#18 0x00007ffff459a973 in _dl_catch_error () from /usr/lib/libc.so.6
#19 0x00007ffff20d3ab9 in ?? () from /usr/lib/libdl.so.2
#20 0x00007ffff20d33da in dlopen () from /usr/lib/libdl.so.2
#21 0x00007ffff4acb3b1 in ?? () from /usr/lib/libQt5Core.so.5
#22 0x00007ffff4ac4dde in ?? () from /usr/lib/libQt5Core.so.5
#23 0x00007ffff4ac53d3 in ?? () from /usr/lib/libQt5Core.so.5
#24 0x00007ffff4ab91c8 in QPluginLoader::load() () from /usr/lib/libQt5Core.so.5
#25 0x00007ffff4ab92f7 in QPluginLoader::instance() () from /usr/lib/libQt5Core.so.5
#26 0x00007ffff32ba2c1 in KoPluginLoader::load(QString const&, QString const&, KoPluginLoader::PluginsConfig const&, QObject*, bool) ()
from /usr/lib/libkritaplugin.so.18
#27 0x00007ffff5e9501e in KisPaintOpRegistry::initRegistry() () from /usr/lib/libkritaimage.so.18
#28 0x00007ffff5e954f1 in KisPaintOpRegistry::instance() () from /usr/lib/libkritaimage.so.18
#29 0x00007ffff70aef07 in KisApplication::loadPlugins() () from /usr/lib/libkritaui.so.18
#30 0x00007ffff70b15f3 in KisApplication::start(KisApplicationArguments const&) () from /usr/lib/libkritaui.so.18
#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: https://bugreports.qt.io/browse/QTBUG-83207

Loading...