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

macQueryInternal blocks main thread and freezes application (OS X)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Need More Info
    • Priority: P2: Important
    • Resolution: Incomplete
    • Affects Version/s: 5.4.1
    • Fix Version/s: None
    • Component/s: Network: Proxies
    • Labels:
      None
    • Environment:
      OSX 10.10.5, MacBook Pro, two active connections (WiFi and Thunderbolt Ethernet), Ethernet connection proxy settings set to "Auto Proxy Discovery"
    • Platform/s:
      macOS

      Description

      OS X 10.10.5. Two internet connections: Wifi and Thunderbolt Ethernet. "Auto Proxy Discovery" in Ethernet's proxy settings is checked.

      When I start my application I get a freeze as main thread is blocked by:

      CFURLCreateDataAndPropertiesFromResource(kCFAllocatorDefault, pacUrl, &pacData, NULL, NULL, &errorCode)
      

      inside

      macQueryInternal(const QNetworkProxyQuery &query) 
      

      (qnetworkproxy_mac.cpp)

      pacUrl is set to http://wpad/wpad.dat.

      Unselecting "Auto Proxy Discovery" in Ethernet proxy settings solves the problem.

        Attachments

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

          Activity

            People

            • Assignee:
              tpochep Timur Pocheptsov
              Reporter:
              dakron Pawel Kurdybacha
            • Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Gerrit Reviews

                There are no open Gerrit changes