Created attachment 125488 [details] Corrupted image, you can see what I have drawn SUMMARY I can reliable and fast corrupt files in a manner as the attached file by doing the following: STEPS TO REPRODUCE 1. draw a few lines to use the colorize masked editing tool. I drew a cross and a rectangle within each other (see attached file) 2. use the coloring tool to color all rectangles. Color the outside in a transparent fashion 3. While the tool is calculating undo one of your changes 4. Krita will crash 5. The file will be corrupted 6. The file can't open under other system (tested on linux) OBSERVED RESULT File corrupt, artist sad EXPECTED RESULT No crash in Krita and most importantly no file corruption SOFTWARE/OS VERSIONS Windows: 7 ADDITIONAL INFORMATION See the attachment for a corrupted file and a way to repoduce
Created attachment 125489 [details] krita log Part of my log so you can see what is causing this
This makes bug 416846 obsolete
*** Bug 416846 has been marked as a duplicate of this bug. ***
Very important addendum: you have to click on "Edit key strokes" between step 3. and step 4! This might cause the crash on its own. Without it you won't always crash.
Friend of mine can reproduce under Windows 10 Krita 4.2.8 but it is less reliable STEPS TO REPRODUCE 1. draw a few lines to use the colorize masked editing tool. I drew a cross and a rectangle within each other (see attached file) 2. use the coloring tool to color all rectangles. Color the outside in a transparent fashion 3. While the tool is calculating undo one of your changes 4. While the tool is calculating click on "Edit key strokes" 4.b) undo/redo changes if no crash. This might be done after the calculation is done 5. Krita will crash 6. The file will be corrupted 7. The file can't open under other system (tested on windows 7) ADDITIONAL INFORMATION It has something to do with the "colorize masked editing tool","Edit key strokes" and the "undo" & "redo" I add the corrupted file as "test_windows10.kra"
Created attachment 125490 [details] My old test file used under windows 10 to repudce the crash/corruption
I can't reproduce this with the Jan 28th 4.3.0 prealpha appimage git(049dd11) and both the provided test .kra files open ok and behave well. I can't reproduce this with the 4.2.8 appimage but both the provided test .kra files cause a vanishment crash when opened. I can't reproduce this with the Jan 20th 4.3.0 prealpha Windows standalone .zip package git (07888a2) and both the provided test .kra files open ok and behave well. I can't reproduce this with the 4.2.8 Windows standalone .zip package but both the provided test .kra files cause a vanishment crash when opened. My inability to reproduce the crash may be due to not replicating the process exactly as you did, Can you test this with the latest Nightly Build from https://binary-factory.kde.org/job/Krita_Nightly_Windows_Build/lastSuccessfulBuild/artifact/krita-nightly-x64-v4.3.0-prealpha-1071-g065745731c.zip and see if still happens?
I did the test with the latest Krita Plus version. The problem seems to be solved! Apparently the bug is no longer triggerable! The corrupted files are readable again. The corrupted files appear to be in order! Please note: the biggest problem was to understand that there is a Krita Plus version. I strongly recommend to promote this version more / better.