Bug 416814

Summary: Krita crashes when using spray brush on a alpha-locked layer converted from a vector layer
Product: [Applications] krita Reporter: Dmitry Kazakov <dimula73>
Component: Brush enginesAssignee: Dmitry Kazakov <dimula73>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: griffinvalley
Priority: NOR    
Version First Reported In: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Backtrace of the crash

Description Dmitry Kazakov 2020-01-27 08:07:36 UTC
Created attachment 125457 [details]
Backtrace of the crash

Git Sha1 (master for 24.01.20): 7572e2de933ab99a3508b0a6c8b944d4028a55ce

STEPS TO REPRODUCE
1. Create a vector layer
2. Add some shapes
3. Convert->to Paint Layer
4. Lock alpha for the result raster layer
5. Select "Texture Spray" brush
6. Make a dozen of strokes of a different color
-> crash

See attached file for a backtrace
Comment 1 Dmitry Kazakov 2020-01-27 08:18:00 UTC
The bug is reproducible even without doing the vectors conversion.
Comment 2 Dmitry Kazakov 2020-01-27 08:19:17 UTC
And locking alpha is not needed...

New steps to reproduce:

1. Create a paint layer
2. Select "Texture Spray" brush
3. Make a dozen of strokes of a different color
Comment 3 Dmitry Kazakov 2020-01-27 10:00:35 UTC
The crash happens only when Krita is build in Debug mode, the crash is not reproducible in RelWithDebInfo
Comment 4 wolthera 2020-04-24 12:52:49 UTC
assigning this to you then, dmitry :)
Comment 5 Dmitry Kazakov 2020-05-01 20:15:02 UTC
Well, I think I'll better just close the bug. We don't really support building Krita in Debug mode :)