Bug 441868

Summary: Creating a Krita Document with 1x1 Pixels Crashes
Product: [Applications] krita Reporter: dginovker <danielginovker>
Component: * UnknownAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: alvin
Priority: NOR    
Version: 5.0.0-beta1   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description dginovker 2021-09-01 14:49:04 UTC
When creating a new Krita document, if you specify 1 for the height and width, Krita immediately crashes with a segmentation fault


STEPS TO REPRODUCE
1. Create a new document - https://i.imgur.com/FgM9DLn.png
2. Enter 1 for height and width
3. Click create
4. Watch it crash quickly - https://gyazo.com/b409c7c77df7dd3eac1021bfabfd44dd

OBSERVED RESULT
* Nearly instantly crashes every time

Logs from command line (exp. 1yr): https://privatebin.at/?30a57cec9fc63586#2CCib5wpyS1sABcQSJBVodKcat37XxztX2tkEPXD8U7t

Logs from ~/Library/Logs/DiagnosticReports (not sure how useful this is, exp. 1yr): https://privatebin.at/?b47bb35c11ff5885#7ELJMMGMbwuzF4dc7vHpMe17hy3mjfemR6fzGejZJxC9

EXPECTED RESULT
* Doesn't crash

SOFTWARE/OS VERSIONS
macOS: macOS Big Sur 11.5.2 (20G95)

ADDITIONAL INFORMATION

* First noticed in 4.4.7, upgraded to 5.0.0-beta1 and verified it's still happening
* It happens with any document 38x38px or less, but you can get lower on either number sometimes

Krita is <3
Comment 1 Alvin Wong 2021-09-01 15:04:40 UTC

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