Bug 370283

Summary: Krita crashes when using flatten image on animation frames
Product: [Applications] krita Reporter: smithtrombone
Component: AnimationAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: major    
Priority: NOR    
Version First Reported In: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description smithtrombone 2016-10-08 07:39:31 UTC
Krita crashes completely when using flatten image or flatten layer when there are more than one animation frames.

Reproducible: Always

Steps to Reproduce:
1. open krita
2. create mutiple animation frames
3. select "flatten image" or "flatten layer"


Actual Results:  
Krita crashes

Expected Results:  
Krita should have flattened the image or layer.

This bug is only in the Krita-git master. None of the latest stable releases have this issue.
Comment 1 Halla Rempt 2016-10-09 10:51:22 UTC
Git commit 8564a291348180f716d8f1270b303eea40e421c0 by Boudewijn Rempt.
Committed on 09/10/2016 at 10:50.
Pushed by rempt into branch 'master'.

Check whether there's an active node before dereferencing

Bug introduced when merging the latest animation code.
Related: bug 370319

M  +28   -26   plugins/dockers/defaultdockers/kis_layer_box.cpp

http://commits.kde.org/krita/8564a291348180f716d8f1270b303eea40e421c0