Summary: | safe assert | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Jasper <hartog.jas> |
Component: | Tools/Colorize | Assignee: | Krita Bugs <krita-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | halla, hartog.jas, tamtamy.tymona |
Priority: | NOR | ||
Version: | git master (please specify the git hash!) | ||
Target Milestone: | --- | ||
Platform: | Manjaro | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/kde/krita/commit/588cc0088e70018c802b9122609466b9262c6317 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | backtrace of crash |
Description
Jasper
2019-05-06 22:28:02 UTC
Can you please provide more information? According to the template shown in the first comment. SUMMARY When using the Colorize Mask tool the latest version of Krita(#2e600f3) crashes. This bug was probably introduced by #56a13166. STEPS TO REPRODUCE 1. Open Krita 2. Create new file 3. Select Colorize Mask Editing Tool 4. Click somewhere on the image OBSERVED RESULT The program crashes. EXPECTED RESULT The colorized mask is used as normal. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Kernel: 5.0.7-rt5-MANJARO KDE Plasma Version: 5.15.4 KDE Frameworks Version: 5.57.0 Qt Version: 5.12.3 ADDITIONAL INFORMATION Git hash of krita source: #2e600f3 Error code: SAFE ASSERT (krita): "m_d->selection" in file /home/jasper/Projects/krita/src/libs/image/kis_mask.cc, line 228 Created attachment 119877 [details]
backtrace of crash
No, that commit cannot be related to this assert. I also cannot reproduce this assert either, it must be some kind of timing issue where the mask isn't created in time for the image update. Git commit 588cc0088e70018c802b9122609466b9262c6317 by Dmitry Kazakov. Committed on 07/05/2019 at 20:14. Pushed by dkazakov into branch 'master'. Fix assert in KisMask when image has Colorize Masks (these masks don't have selections) M +5 -5 libs/image/kis_mask.cc https://invent.kde.org/kde/krita/commit/588cc0088e70018c802b9122609466b9262c6317 |