• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Crash in CFRunLoopRunInMode doing CFNetworkExecuteProxyAutoConfigurationURL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Crash in CFRunLoopRunInMode doing CFNetworkExecuteProxyAutoConfigurationURL


  • Subject: Crash in CFRunLoopRunInMode doing CFNetworkExecuteProxyAutoConfigurationURL
  • From: Misha Efimov <email@hidden>
  • Date: Fri, 03 Jan 2014 12:48:30 -0500

Hi,

I'm working on the crash issue in Chrome for iOS: http://crbug.com/166387.
It is not easily reproducible (see below), but is periodically reported by users.

Crash always occurs in iOS code, and searching for similar stack traces shows similar issues reported on Mac OS X in the past.

Chrome code that leads to the crash is inspired by Apple's sample code and is publicly available here:
https://code.google.com/p/chromium/codesearch#chromium/src/net/proxy/proxy_resolver_mac.cc&l=75

The only relatively repeatable way to reproduce this (or similar) issue requires the following:

1. Use Mac OS X machine connected to wired corporate network.
2. Have 'Auto Proxy Discovery' enabled for that ethernet adapter.
3. Build Chrome for iOS for running in the simulator.
4. Place breakpoints in certain (unrelated) places to affect timing.
5. Start Chrome in the simulator under debugger.
6. Pause on break points for 5-15 seconds at the time.
7. In ~20% of the cases observe crash inside of CoreFoundation.
8. If crash does not occur, stop Chrome and restart with step 5.

Couple of notes:

- Corporate network uses fairly complex proxy configuration script.
- There are multiple (3-5) threads that are concurrently calling net::ProxyResolverMac::GetProxyForURL().
- There are crash reports with slightly different call stacks, all of them somewhere inside of Apple's code called from CFRunLoopRunInMode doing CFNetworkExecuteProxyAutoConfigurationURL.

We have tried a few ideas, but they didn't seem to help, so I'll appreciate any expert advice,

thanks,
-m
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Next by Date: Re: How to isolate issue with app that works on Lion but not on Mountain Lion SOLVED
  • Next by thread: Re: How to isolate issue with app that works on Lion but not on Mountain Lion SOLVED
  • Index(es):
    • Date
    • Thread