iOS Simulator becomes unusable due to issue with bootstrap server

Originator:JoshuaTBrown
Number:rdar://10987407 Date Originated:2012-03-05
Status:Open Resolved:
Product:Developer Tools Product Version:4.3
Classification:Crash/Hang/Data Loss Reproducible:Sometimes
 
Dupe of http://openradar.appspot.com/10834988

When trying to run an application on the iOS Simulator, it hangs on opening with the following error:

"Couldn't register com.my.app.name.here with the bootstrap server. Error: unknown error code. This generally means that another instance of this process was already running or is hung in the debugger.Program received signal: “SIGABRT”."

Steps to Reproduce:

Run an app in the iPhone 4.3 or 5.0 simulator, stop it at a breakpoint in gdb, then either a) build and run again or b) press the home button, quit the simulator and then build and run. 

Expected Results:

The app launches and runs.

Actual Results:

gdb hangs with the following error: "Couldn't register com.my.app.name.here with the bootstrap server. Error: unknown error code. This generally means that another instance of this process was already running or is hung in the debugger.Program received signal: “SIGABRT”."

Regression:

Notes:

Quitting the Simulator, clearing Derived Data, quitting Xcode... none of this resolves the issue. The only way to get the simulator working again is to either a) restart the machine or b) login as another administrator and kill my developer user's launchd process. This is very disruptive and happens frequently on the latest build, especially when switching between simulators.

It is well-documented here: http://stackoverflow.com/questions/788277/iphone-strange-error-when-testing-on-simulator

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!