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

Multiple QNetworkRequest setRawHeader crash

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Fixed
    • Affects Version/s: 5.15.0
    • Fix Version/s: 5.15.1
    • Component/s: Network: HTTP
    • Labels:
      None
    • Platform/s:
      WebAssembly
    • Commits:
      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

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

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes