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

Crash on Win 8 64 bit with proxy QNetworkProxyFactory::setUseSystemConfiguration

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.2.1, 5.3.1
    • Fix Version/s: 5.4.2
    • Component/s: Network: Proxies
    • Labels:
      None
    • Environment:
      ArchLinux, with MXE (M cross environment) installed
    • Commits:
      dcedbce99a28a0a07c664ac264820412406a963e

      Description

      When trying to use proxy auto configuration, the program crashes on Windows 8 64 bit (32 bit works).

      Tried:

      QNetworkProxyFactory::setUseSystemConfiguration(true)
      

      also tried:

      QNetworkProxyQuery npq(QUrl("http://www.google.com"));
      QList<QNetworkProxy> listOfProxies = QNetworkProxyFactory::systemProxyForQuery(npq);
      if (listOfProxies.size())
          QNetworkProxy::setApplicationProxy(listOfProxies[0]);
      

      When crash occured i was using mxe for crosscompiling on linux, have no way to try a native 64bit windows build.

      Attached is a minimal qtcreator project that fails when compiled with mxe.

      Tried current mxe master with gcc 4.9 and qt 5.3.1 and some older 4.8 branch with qt 5.2.1

        Attachments

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

          Activity

            People

            • Assignee:
              peter-har Peter Hartmann
              Reporter:
              hi Heiko
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes