Bug 511060 - safe assert in KoResourceManager::addDerivedResourceConverter can be triggered
Summary: safe assert in KoResourceManager::addDerivedResourceConverter can be triggered
Status: REPORTED
Alias: None
Product: krita
Classification: Applications
Component: * Unknown (other bugs)
Version First Reported In: unspecified
Platform: Kubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2025-10-25 00:41 UTC by Matt
Modified: 2025-11-06 09:52 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
gdb backtrace (6.57 KB, text/x-log)
2025-10-25 00:41 UTC, Matt
Details
backtrace (different crash event) (2 bytes, text/x-log)
2025-10-25 22:44 UTC, Matt
Details
backtrace (different crash event) (6.57 KB, text/x-log)
2025-10-25 22:46 UTC, Matt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt 2025-10-25 00:41:39 UTC
Created attachment 186116 [details]
gdb backtrace

SUMMARY
Unable to predictably reproduce. Also randomly observed on 5.2.11 and 5.2.13
version: krita-5.3.0-prealpha-c9c81e12c4-x86_64.Appimage


Operating System: Kubuntu 24.04
KDE Plasma Version: 5.27.12
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13
Kernel Version: 6.8.0-86-generic (64-bit)
Graphics Platform: X11
Comment 1 Matt 2025-10-25 22:44:25 UTC
Created attachment 186158 [details]
backtrace (different crash event)

Another crash when using keyboard shortcut
Comment 2 Matt 2025-10-25 22:46:48 UTC
Created attachment 186159 [details]
backtrace (different crash event)
Comment 3 Halla Rempt 2025-11-05 11:20:15 UTC
The location of the safe assert is the same. It shouldn't be possible to trigger this assert with a release appimage. However, without more information it's going to be really hard to reproduce the issue even with nightly builds.
Comment 4 Dmitry Kazakov 2025-11-06 09:52:19 UTC
This bug is a consequence of a recent opacity switch patch. The opacity converter is switched on every tool switch. And it seems like something fails here. The tool switch happens with the tool shortcut. I would try to test if pressing tool shortcut while some other tool is doing and action could trigger the issue.