Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
5.11, 5.12.3, 5.13.0 Beta3
-
None
-
-
8adcfa8b240876236f08ad826e6d77ff1f5e9a96 (qt/qtbase/5.12)
Description
When accessing the web address "https://nominatim.openstreetmap.org" then the app crashes with Qt 5.11, 5.12, and 5.13 (both WinRT 32 and 64). The crash does not occur with Qt 5.10 WinRT 32/64.
Interestingly the crash does not happen with different other webserver addresses I tested.
The following code reproduces the problem (just place it in a new project):
auto nam = new QNetworkAccessManager(this); QNetworkRequest request; //request.setHeader(QNetworkRequest::UserAgentHeader, "Test Browser"); //request.setAttribute(QNetworkRequest::HttpPipeliningAllowedAttribute, true); //request.setAttribute(QNetworkRequest::FollowRedirectsAttribute, true); request.setUrl(QUrl("https://nominatim.openstreetmap.org/reverse?format=json&addressdetails=1&namedetails=1&extratags=1&lat=58.02&lon=11.9&zoom=10&accept-language=en-US")); QNetworkReply* reply = nam->get(request); if (reply) { qDebug() << "Got reply. Ok..."; }
Attachments
Issue Links
- is duplicated by
-
QTBUG-76238 Crash in QNativeSocketEngine::handleTcpError
- Closed