Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
6.4.3
-
None
Description
My application crashes when I attempt to load a large TIFF file (>180MB of compressed data). The following error message is printed to the command line:
> qt.gui.imageio: QImageIOHandler: Rejecting image as it exceeds the current allocation limit of 128 megabytes
> ASSERT: "pos <= size()" in file /home/kebekus/Software/buildsystems/Qt/6.4.3/gcc_64/include/QtCore/qstring.h, line 625
> 08:41:08: /home/kebekus/Software/projects/build-enroute-Desktop_Qt_6_4_3_GCC_64bit-Debug/src/enroute ist abgestürzt.
I understand that QImageIOHandler does not want to load a file that large, but I would strongly prefer proper error handling (i.e. returning a null-image) rather than a crash.
Best,
Stefan Kebekus.