Background
After upgrading xcode4.1/ios4 to xcode4.2/ios5 I am experiencing crashes while the App is loading and before it even enters main().
I have set a break point in main() but it is never reached.

- Compiling the project in Xcode 4.1 with a
Base SDKof 4.3 works fine on iOS 4.x and iOS 5. - Compiling the same project in Xcode 4.2 with a
Base SDKof 5.0 works fine on 4.x but crashes in iOS 5, both on the simulator and on a device.
Simulator Crash

Crashes with EXC_BAD_ACCESS

List of calls, all system calls, not even the main() has not been called yet.
My best guess is a problem loading a library, but have know idea how to track it down!
Attempts at a resolution
- Turned on Zombies
- Turned on all logging
- Added different versions of system libraries (libz.1.2.5.dylib and libz.dylib)
- Cleaned the project
- Deleted the App form the simulator
- Delete the
Derived Datafolder

