Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
5.14.1
-
None
-
Windows x64 debug
Description
Load the attached image file into QImageReader with read function.
Crash.
HEAP CORRUPTION DETECTED: after Normal block (#432746129) at 0x000002173F502B80.
CRT detected that the application wrote to memory after end of heap buffer.
My code
QImageReader reader(fileName);
QSize imageSize = reader.size();
imageSize.scale(size, size, Qt::KeepAspectRatio);
reader.setScaledSize(imageSize);
reader.setAutoTransform(true);
result = reader.read();
The imageviewer example also crashes.
C:\Qt\Examples\Qt-5.14.1\widgets\widgets\imageviewer
I can't attach the file because I am getting an error:
"Jira could not attach the file as there was a missing token. Please try attaching the file again."
Link to file here:
https://www.dropbox.com/s/ibc1t55qcbpmjck/input_truecolor_32.tiff