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

ProtocolHandler is "null" in access\qhttpnetworkconnectionchannel.cpp

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.12.3, 5.14.0 Alpha
    • 5.5.0, 5.11.2
    • Network: SSL
    • None
    • MinGW 4.9.1 (Windows 7)
      Android (NDK r18)
    • e431a3ac027915dbfc0588f42f3b56e07639811e (qt/qtbase/5.12)

    Description

      Hi there,

      we use Qt 5.5.0 and OpenSSL 1.0.2d with RSA-PSK-Patch to connect a client to a server.
      The client gets the following crash with MinGW at an internal test-server. It works if we try the same example under Linux.

      As this is a testcase for our application we expect a correct "The host name did not match any of the valid hosts for this certificate" error.

      ASSERT: "!protocolHandler.isNull()" in file access\qhttpnetworkconnectionchannel.cpp, line 206
      

      I added an example project that is used for the "log.txt". The ssl_packages.pcap is the ssl network communication from the "log.txt" that can be decoded with wireshark.

      Attachments

        1. backtraces.txt
          16 kB
        2. log.txt
          8 kB
        3. msvc_autos.png
          msvc_autos.png
          40 kB
        4. msvc_stacktrace.png
          msvc_stacktrace.png
          82 kB
        5. network.tar.gz
          2 kB
        6. ssl_packages.pcap
          3 kB

        Issue Links

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

          Activity

            People

              manordheim Mårten Nordheim
              misery André Klitzing
              Votes:
              3 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes