Created attachment 115083 [details] gdb backtrace Krita 4.1.1-4 (Arch Linux) Tested with fresh configuration (removing existing ~/.local/share/krita, ~/.config/krita*) Reproducible: Always but inconsistent in how many actions required prior to crash Steps: 1. Create new document (ctrl+n) 2. Layer > Flatten Image (ctrl+shift+e) 3. Perform action, such as draw with brush tool on "root Merged" layer 4. Undo/Redo entire stack several times (ctrl+z, ctrl+shift+z) (undoing brush stroke, flatten, then redoing) Hold down ctrl+z to undo, then hold down shift in addition to quickly redo. Repeat. Results: SIGSEGV Expected: Proper undo/redo of flatten.
Hm, I cannot reproduce this with the latest build from git master. Could you give the nightly appimage a try? See https://binary-factory.kde.org/job/Krita_Nightly_Appimage_Build/
Unable to reproduce using 'krita-4.2.0-pre-alpha-127857b-x86_64.appimage'. Assume resolved.
Thanks for testing!