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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 5.4.2
    • 5.2.1, 5.3.1
    • Network: Proxies
    • None
    • ArchLinux, with MXE (M cross environment) installed
    • dcedbce99a28a0a07c664ac264820412406a963e

      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

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes