Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-85048

Multiple QNetworkRequest setRawHeader crash

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 5.15.1
    • 5.15.0
    • Network: HTTP
    • None
    • WebAssembly
    • 36c80ec4076fcbc44c8c27de5c3b11398be39152 b483c65adc47918c697258389dc3b2a95336a90e

    Description

      If multiple QnetworkAccessManager are created in the application there is an error on the get call 

      To reproduce this, use the same sample code than QTBUG-84685 and add those two lines in main.cpp

      QNetworkAccessManager *qnam_2 = new QNetworkAccessManager();
       w.connect(qnam_2, &QNetworkAccessManager::finished, &w, &MainWindow::netReply);

      It results in an exception on edge:

      exception thrown: RuntimeError: memory access out of bounds,RuntimeError: memory access out of bounds

      With only one QNAM, it works.

       

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            lpotter Lorn Potter
            remy67 remy rouvin
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes