Details
-
Type:
Bug
-
Status: Closed
-
Priority:
P1: Critical
-
Resolution: Fixed
-
Affects Version/s: 5.14.1
-
Fix Version/s: 5.14.2
-
Component/s: Image formats
-
Labels:None
-
Environment:Windows x64 debug
-
Platform/s:
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