Bug 439044

Summary: Krita Closes by itself
Product: [Applications] krita Reporter: oscar121098
Component: * UnknownAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: oscar121098
Priority: NOR    
Version First Reported In: 4.4.5   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: krita crash log

Description oscar121098 2021-06-23 03:12:05 UTC
Created attachment 139599 [details]
krita crash log

SUMMARY


STEPS TO REPRODUCE
While painting, after adding reference image, screen becomes unresponsive, no matter which brush I'm using, it happens more commonly while using the RGB brushes or the mixing brushes. 

OBSERVED RESULT
Krita freezes, sometimes blocking mouse, tablet or trackpad, and after a minute closes.

EXPECTED RESULT
Krita Krashes

SOFTWARE/OS VERSIONS
Windows: Windows 10 Home
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Dmitry Kazakov 2021-07-30 11:41:53 UTC
Git commit aaf0d9e0f3f09d618baf9c02cd92e416625df0b7 by Dmitry Kazakov.
Committed on 30/07/2021 at 11:41.
Pushed by dkazakov into branch 'master'.

Possibly fix a crash when removing the last reference image

I couldn't reproduce the bug itself, but it might be that the
layer has been removed somehow in parallel to the reference image
rendering.

M  +16   -3    libs/ui/KisReferenceImagesDecoration.cpp
M  +1    -0    libs/ui/KisReferenceImagesDecoration.h

https://invent.kde.org/graphics/krita/commit/aaf0d9e0f3f09d618baf9c02cd92e416625df0b7