https://bugs.kde.org/show_bug.cgi?id=430458

            Bug ID: 430458
           Summary: Krita crash on attempt to load a file with a huge
                    resolution (not file size!)
           Product: krita
           Version: 4.4.1
          Platform: Compiled Sources
                OS: Microsoft Windows
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: File formats
          Assignee: krita-bugs-n...@kde.org
          Reporter: denys.motor...@gmail.com
  Target Milestone: ---

Created attachment 134117
  --> https://bugs.kde.org/attachment.cgi?id=134117&action=edit
30000x30000 1bit per pixel

SUMMARY
Krita crash on attempt to load a file with a huge resolution (not file size!)

STEPS TO REPRODUCE
1. Load the attached file (boom.png - 30000x30000 1bit per pixel)
2. Observe result


OBSERVED RESULT
Krita hangs when try load the file and then it will crash and close.

EXPECTED RESULT
Krita will assess the file based on metadata - resolution. Krita will not
attempt to load the file that it is not able to load anyway. Krita will not
crash. Krita will show a message saying the file cannot be opened.

SOFTWARE/OS VERSIONS
Windows: 10.0.19041.630
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
The attached file was actually made to perform edge-case testing of other image
processing software, but I just wanted to check if Krita could handle this. And
it appears that it has the same issue (

The test PC had 32 Gb of RAM, and Krita took most of it before crash.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to