Bug 429333

Summary: Crash when creating a new file with a height of less than 100 pixels.
Product: [Applications] krita Reporter: splinter_hermit
Component: GeneralAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: halla
Priority: NOR    
Version First Reported In: 4.4.1   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: crash report

Description splinter_hermit 2020-11-19 04:29:44 UTC
Created attachment 133451 [details]
crash report

SUMMARY

Krita crashes when creating a new file with a height of less than 100 pixels.

STEPS TO REPRODUCE
1. Click File > New
2. Start creating a custom document and under 'Image Size' enter a height of less than 100 pixels
3. Click 'Create'

OBSERVED RESULT
Program crashes

EXPECTED RESULT

a new file

SOFTWARE/OS VERSIONS

macOS: 10.15.7 (19H15)
Krita 4.4.1

ADDITIONAL INFORMATION
Comment 1 Halla Rempt 2020-11-19 09:00:30 UTC
I'm sorry, but I cannot reproduce that. The crash happens in the opengl canvas code. Please check whether the crash still happens if you disable canvas accceleration in Krita's settings; if that makes a difference, please provide the information from the "about this mac" dialog.
Comment 2 splinter_hermit 2020-11-20 03:27:51 UTC
It does not crash after disabling canvass acceleration.  I re-enabled it while having a <10 pixel height file open and it crashed immediately.

About the Mac: 

macOS Catalina
Version 10.15.7 (19H15)

iMac (27-inch, Late 2013)

Processor: 3.4 GHz Quad-Core Intel Core i5

Memory: 8GB 1600 MHz DDR3

Graphics: NvVIDIA GeForce GTX 780M 4 GB
Comment 3 splinter_hermit 2020-11-20 03:29:06 UTC
that is, NVIDIA
Comment 4 Bug Janitor Service 2020-11-20 04:33:51 UTC
Thanks for your comment!

Automatically switching the status of this bug to REPORTED so that the KDE team
knows that the bug is ready to get confirmed.

In the future you may also do this yourself when providing needed information.
Comment 5 Halla Rempt 2020-11-20 08:19:07 UTC
Hm... That's going to be hard to reproduce because I don't know anyone else who has a mac with an nvidia card, and it's pretty clear it's a bug in the graphics driver that we'd have to work around. I'm afraid you'll have to keep running with gpu canvas acceleration disabled for images this small :-(
Comment 6 splinter_hermit 2020-11-20 14:36:33 UTC
(In reply to Boudewijn Rempt from comment #5)
> Hm... That's going to be hard to reproduce because I don't know anyone else
> who has a mac with an nvidia card, and it's pretty clear it's a bug in the
> graphics driver that we'd have to work around. I'm afraid you'll have to
> keep running with gpu canvas acceleration disabled for images this small :-(

No problem.  Thank you for your help.