As far as I understand it, this is a race condition inside PyQt5 related
to the order of destruction of Python-based QObject instances. Since the
call that trigger the crash is the destruction of the plugin itself
(which in turn stops the Python engine, etc... as your stacktrace
shows), I believe
Reopening this bug because, with PyQt 5.15.4, PtQt5_sip 12.9 and SIP
6.1, this arose again.
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to krita in Ubuntu.
https://bugs.launchpad.net/bugs/1874096
Title:
Closing Krita normally always
*** Bug 438842 has been marked as a duplicate of this bug. ***
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to krita in Ubuntu.
https://bugs.launchpad.net/bugs/1874096
Title:
Closing Krita normally always result in "Krita closed