All,
I am experiencing a very weird crash in my app. It works fine up to version 3.2, but with 4.0 is crashes as soon as it hits the main(). I suspect that some static method or variable bows up the initialization. But after hours of searching, and completely re-istalling the SDK I haven't come any closer to a solution yet. An other suspicious msg is the __springboad_unimplemented from libSystem.dylib. Could it be that my dev. env. got out of sync somehow?
Same behavior with Beta-3 as with Beta-2.
Any help is highly appreciated.
Regards,
Erwin
#import <UIKit/UIKit.h>
int main(int argc, char *argv[]) { <--- crash. int retVal; NSAutoreleasePool * pool; @try { pool = [[NSAutoreleasePool alloc] init]; retVal = UIApplicationMain(argc, argv, nil, nil); } @catch(NSException* e) { NSLog(@"%@", e.reason); } @finally { [pool release]; } return retVal; } Process: myApp [17863] Path: /Users/erwin/Library/Application Support/iPhone Simulator/4.0/Applications/AC31C50C-4B8A-429E-A051-A706954B67F4/myApp.app/myApp Identifier: myApp Version: ??? (???) Code Type: X86 (Native) Parent Process: gdb-i386-apple-darwin [17865]
Date/Time: 2010-05-04 02:13:02.845 -0400 OS Version: Mac OS X 10.6.3 (10D573) Report Version: 6
Interval Since Last Report: 100886 sec Crashes Since Last Report: 3 Per-App Crashes Since Last Report: 3 Anonymous UUID: 4804DD71-EE4E-491B-A0D5-CCD5E39E4454
Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Application Specific Information: abort() called
Thread 0 Crashed: Dispatch queue: com.apple.main-thread 0 libSystem.B.dylib 0x9704a132 __kill + 10 1 libSystem.B.dylib 0x9704a124 kill$UNIX2003 + 32 2 libSystem.B.dylib 0x970dc8e5 raise + 26 3 libSystem.B.dylib 0x970f2931 __abort + 124 4 libSystem.B.dylib 0x970f29ad abort_report_np + 0 5 libSystem.dylib 0x027bd751 __springboard_unimplemented + 129 <---- This seems weird to me 6 libSystem.dylib 0x027cc6b2 mcount_L1 + 0 7 myApp 0x00002299 main + 19 (main.m:16) 8 myApp 0x0000227d start + 53
Thread 1: Dispatch queue: com.apple.libdispatch-manager 0 libSystem.B.dylib 0x9700fb42 kevent + 10 1 libSystem.B.dylib 0x9701025c _dispatch_mgr_invoke + 215 2 libSystem.B.dylib 0x9700f719 _dispatch_queue_invoke + 163 3 libSystem.B.dylib 0x9700f4be _dispatch_worker_thread2 + 240 4 libSystem.B.dylib 0x9700ef41 _pthread_wqthread + 390 5 libSystem.B.dylib 0x9700ed86 start_wqthread + 30
Thread 2: 0 libSystem.B.dylib 0x9700ebd2 __workq_kernreturn + 10 1 libSystem.B.dylib 0x9700f168 _pthread_wqthread + 941 2 libSystem.B.dylib 0x9700ed86 start_wqthread + 30
Thread 0 crashed with X86 Thread State (32-bit): eax: 0x00000000 ebx: 0x970f28c1 ecx: 0xbfffdeec edx: 0x9704a132 edi: 0x027d3cd4 esi: 0xbfffdfac ebp: 0xbfffdf08 esp: 0xbfffdeec ss: 0x0000001f efl: 0x00000286 eip: 0x9704a132 cs: 0x00000007 ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037 cr2: 0xa0972f08
|