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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.4.2
    • 5.2.1, 5.3.1
    • Network: Proxies
    • None
    • ArchLinux, with MXE (M cross environment) installed
    • 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

            peter-har Peter Hartmann
            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