Calls to asl_next() result in SIGTRAP on iOS 7 for apps built with Xcode 6.

Originator:davepeck
Number:rdar://18615323 Date Originated:10-Oct-2014 02:06 PM
Status:Closed Resolved:WONTFIX
Product:iOS Product Version:7.x
Classification:Crash Reproducible:Always
 
Summary:
Calls to asl_next() result in a fully reproducible SIGTRAP crash in apps that are (1) built with Xcode 6 AND (2) running on iOS 7. 

Those same apps running on iOS 8 will _not_ crash; likewise, those same apps built with Xcode 5 and running on iOS 7 will _not_ crash.

Steps to Reproduce:
1. Build the attached repo project with Xcode 6
2. Run it on an iOS device

Expected Results:
When running on iOS 7, app will not crash and log lines may be written to console

Actual Results:
When running on iOS 7, app *will* crash in dyld.

Version:
iOS 7.1.2 (11D257)

Notes:
The repro code is in ViewController.m::reproduceASLBug.

Under the hood it looks like we're dying in `dyld_stub_binder`. This seems pretty arcane, as does the fact that things work with iOS 8 or with iOS 7+Xcode 5.

Configuration:
iPod Touch 5th Generation 16GB

Attachments:
'asltest.zip' was successfully uploaded.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!