lionheart / openradar-mirror

A mirror of radars pulled from http://openradar.me/.
246 stars 17 forks source link

33270321: CoreLocation broken (crashes) on 32-bit High Sierra Beta 3 #17907

Open openradar-mirror opened 7 years ago

openradar-mirror commented 7 years ago

Description

Summary: CoreLocation depends on a private framework GeoServices which invoke initCNPostalAddressStreetKey at static initializer time even in 32-bit, but Contacts which I assume it is setting up is 64-bit only. It

See the steps to reproduce, as a trivial use of CoreLocation in 32-bit applications is broken.

This also happens to break every single Xamarin.Mac 32-bit application.

This worked in Beta 2, so it appears to have been introduced in Beta 3.

Steps to Reproduce: Create a new Cocoa Application in Xcode Set it to 32-bit Add the following code:

CLLocationManager * mgr = [[CLLocationManager alloc] init];

Run.

You will crash with a stack like this:

Expected Results: CoreLocation not crash on the simplest use case.

Observed Results: Crashes 100% of the time

Version: 10.13 Beta (17A306f) (Beta 3)

- Product Version: 10.13 Beta (17A306f) Created: 2017-07-12T18:53:50.528920 Originated: 2017-07-12T00:00:00 Open Radar Link: http://www.openradar.me/33270321

openradar-mirror commented 7 years ago

Modified: 2017-08-09T18:42:47.962700