SIGTERM Crash when exiting iOS Simulator when app being debugged not frontmost

Originator:pburleson
Number:rdar://9803379 Date Originated:19-Jul-2011 05:21 PM
Status:Open Resolved:
Product:Developer Tools Product Version:4.0.2 build 4A2002a
Classification:Serious Bug Reproducible:Always
 
Summary:

Quitting the iPhone Simulator app during debugging when the app being debugged is not frontmost causes a SIGTERM crash in main for the app.

Steps to Reproduce:

1. Create new iOS project (I did it with View Based Project, it will probably work with any type)

2. Run the app

3. Hit the home button on the simulator

4. Once at Simulator Springboard, quit the simulator

Expected Results:

1. Simulator exits cleanly

2. Debugging session exits cleanly

Actual Results:

1. Simulator exists cleanly

2. App being debugged crashes in main() with a SIGTERM

Regression:

This is something new in a recent version iOS SDK, I'm not sure which version introduced this.

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!