Bug 441868 - Creating a Krita Document with 1x1 Pixels Crashes
Summary: Creating a Krita Document with 1x1 Pixels Crashes
Status: RESOLVED DUPLICATE of bug 430366
Alias: None
Product: krita
Classification: Applications
Component: * Unknown (show other bugs)
Version: 5.0.0-beta1
Platform: macOS (DMG) macOS
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-01 14:49 UTC by dginovker
Modified: 2021-09-01 15:04 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***