Bug 398815 - crash on undo/redo of flatten image
Summary: crash on undo/redo of flatten image
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Layer Stack (show other bugs)
Version: 4.1.1
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-18 18:32 UTC by wkg28406
Modified: 2018-09-19 13:30 UTC (History)
1 user (show)

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


Attachments
gdb backtrace (10.54 KB, text/x-log)
2018-09-18 18:32 UTC, wkg28406
Details

Note You need to log in before you can comment on or make changes to this bug.
Description wkg28406 2018-09-18 18:32:43 UTC
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.
Comment 1 Halla Rempt 2018-09-19 07:45:42 UTC
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/
Comment 2 wkg28406 2018-09-19 13:28:09 UTC
Unable to reproduce using 'krita-4.2.0-pre-alpha-127857b-x86_64.appimage'. Assume resolved.
Comment 3 Halla Rempt 2018-09-19 13:30:53 UTC
Thanks for testing!