Details
-
Bug
-
Resolution: Incomplete
-
Not Evaluated
-
None
-
5.1.1
-
None
-
MSVC 2012
Windows 8.1 64-Bit
Description
Using QNetworkReply under Windows 32-bit can cause access violation crashes if file size is around 450 MB.
If you are using QNetworkReply after the finish signal is emitted and try to use readAll function, the application stops to response and crashes with an access violation. The same code works without any problem under Windows 64-bit.
A workaround is to use reply->read(reply->size()), content is read and no crash happens. This problem is present since Qt5.0.
Sample code: https://github.com/QuantumBytesInc/ROAL/blob/master/src/cpp/httpdownload.cpp