Bug 512708

Summary: Custom brush causes crash when attempts made to use or edit it
Product: [Applications] krita Reporter: 3chovine
Component: Brush enginesAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version First Reported In: 5.2.13   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Crash report information

Description 3chovine 2025-11-28 05:09:49 UTC
Created attachment 187224 [details]
Crash report information

SUMMARY
I made a custom brush on  7/3/25 (annotations page in text file). It worked fine. I did not use it since then. I came back to use it today, and now whenever I try to draw with it or open the Krita brush editor, Krita will quickly crash. No brush stroke is visually produced. I think it may be linked to corrupted text in the brush annotations(at the end, near the text: name="Texture/Pattern/PatternMD5"). A way to fix it would be very appreciated, I spent 5 hours making it.

used textures notes: 2025, 07jul 03 crrpt brush update2.png.png is just a black circle png that I edited in Krita, aura_texture.png.png is the pattern I applied to the brush.

STEPS TO REPRODUCE
1. Download brush
2. Create relevant pattern/texture files(I'd include them if I could add multiple attachments sorry)
3. Krita crashed upon attempted use

OBSERVED RESULT
Krita crashes

EXPECTED RESULT
The brush draws something/the brush edit menu stays open

SOFTWARE/OS VERSIONS
Edition	Windows 10 Home
Version	22H2
Installed on	‎3/‎11/‎2023
OS Build	19045.6093
Serial number	3ZF79FAN801564

Device Name	DESKTOP-8FURNG1
Processor	Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz   2.11 GHz
Installed RAM	8.00 GB (7.79 GB usable)
Storage	238 GB SSD SN730 SDBQNTY-256G-1004
Graphics Card	Intel(R) UHD Graphics (128 MB)
Device ID	54EB957F-C74C-46F9-83B8-7A91C28A8F3E
Product ID	00325-81846-75789-AAOEM
System Type	64-bit operating system, x64-based processor
Pen and touch	Pen and touch support with 10 touch points


ADDITIONAL INFORMATION

See attached text file, contains the information the Krita bug report told me to include as well as the crash report and brush annotations page.
Comment 1 3chovine 2025-11-28 18:50:55 UTC
Edit: I am also getting a crash when I try to make a brush with the brush mode Gradient Map in the brush editor. It crashes when I select Gradient Map. I believe I used Gradient Map in the original brush, so this may be the root bug.
Comment 2 3chovine 2025-11-28 18:53:42 UTC

*** This bug has been marked as a duplicate of bug 505968 ***
Comment 3 3chovine 2025-11-28 18:56:14 UTC

*** This bug has been marked as a duplicate of bug 505986 ***