Hard Crash On Ipad 1,1 Ios 5.1.1 After 30 Seconds

Any application, including a simple print hello world crashes on my IPad 1,1 when the device is connected to a network but able to communicate with the internet (e.g., you are connected to a wifi access point but when you open Safari the request times out). I believe this is being triggered by the Corona stats call that happens on startup (I see the DNS request but no response for stats.coronalabs.com). The following is the output from the device logs when running a one-liner “print(“test”);” and I’ve tried this on the most recent public release and today’s daily build with the same result.

The key line to me is “Bug workaround timeout triggered” that gets outputted exactly 30 seconds after application startup and just prior to the crash.

Apr 16 09:47:36 Dudes-iPad ipadcrasher[1384] \<Warning\>: test Apr 16 09:48:06 Dudes-iPad ipadcrasher[1384] \<Warning\>: Bug workaround timeout triggered Apr 16 09:48:06 Dudes-iPad ipadcrasher[1384] \<Warning\>: ERROR: Error during request, code: -1001, details: The request timed out. Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Notice\>: Formulating crash report for process ipadcrasher[1384] Apr 16 09:48:07 Dudes-iPad com.apple.launchd[1] (UIKitApplication:ipadcrasher[0xadfb][1384]) \<Warning\>: (UIKitApplication:ipadcrasher[0xadfb]) Job appears to have crashed: Segmentation fault: 11 Apr 16 09:48:07 Dudes-iPad SpringBoard[51] \<Warning\>: Application 'ipadcrasher' exited abnormally with signal 11: Segmentation fault: 11 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: Not saving crash log because we have reached the limit for logs to store on disk. Sync or otherwise clear logs from /var/mobile/Library/Logs/CrashReporter to save new logs. Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: Could not save crash report to disk! Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: Incident Identifier: A5074767-F97D-49BC-AA53-06F93C99E1EF Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: CrashReporter Key: c4211e69ea8beb306521bcdd678cac42254f92bc Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: Hardware Model: iPad1,1 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: Process: ipadcrasher [1384] Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: Path: /var/mobile/Applications/2219C46C-23C4-454E-9121-0390C06B628B/ipadcrasher.app/ipadcrasher Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: Identifier: ipadcrasher Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: Version: ??? (???) Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: Code Type: ARM (Native) Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: Parent Process: launchd [1] Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: Date/Time: 2013-04-16 09:48:06.593 -0400 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: OS Version: iPhone OS 5.1.1 (9B206) Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: Report Version: 104 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: Exception Type: EXC\_BAD\_ACCESS (SIGSEGV) Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: Exception Codes: KERN\_INVALID\_ADDRESS at 0x0000000f Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: Crashed Thread: 0 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: Thread 0 name: Dispatch queue: com.apple.main-thread Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: Thread 0 Crashed: Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: 0 libobjc.A.dylib 0x33641f78 0x3363e000 + 16248 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: 1 Foundation 0x34e4976e 0x34dae000 + 636782 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: 2 CoreFoundation 0x35978998 0x3596a000 + 59800 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: 3 CoreFoundation 0x359f76c8 0x3596a000 + 579272 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: 4 CoreFoundation 0x359f6268 0x3596a000 + 574056 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: 5 CoreFoundation 0x3597949e 0x3596a000 + 62622 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: 6 CoreFoundation 0x35979366 0x3596a000 + 62310 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: 7 GraphicsServices 0x33714432 0x33710000 + 17458 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: 8 UIKit 0x33151cce 0x33120000 + 203982 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: 9 ipadcrasher 0x00033e48 0x31000 + 11848 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: 10 ipadcrasher 0x00033e00 0x31000 + 11776 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: Thread 1 name: Dispatch queue: com.apple.libdispatch-manager Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: Thread 1: Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: 0 libsystem\_kernel.dylib 0x35a893a8 0x35a88000 + 5032 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: 1 libdispatch.dylib 0x33dbcea4 0x33db0000 + 52900 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: 2 libdispatch.dylib 0x33dbcbc2 0x33db0000 + 52162 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: Thread 2 name: WebThread Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: Thread 2: Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: 0 libsystem\_kernel.dylib 0x35a89004 0x35a88000 + 4100 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: 1 libsystem\_kernel.dylib 0x35a891fa 0x35a88000 + 4602 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: 2 CoreFoundation 0x359f73ec 0x3596a000 + 578540 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: 3 CoreFoundation 0x359f6124 0x3596a000 + 573732 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: 4 CoreFoundation 0x3597949e 0x3596a000 + 62622 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: 5 CoreFoundation 0x35979366 0x3596a000 + 62310 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: 6 WebCore 0x376bfc9c 0x37616000 + 695452 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: 7 libsystem\_c.dylib 0x34c4272e 0x34c34000 + 59182 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: 8 libsystem\_c.dylib 0x34c425e8 0x34c34000 + 58856 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: Thread 3 name: com.apple.NSURLConnectionLoader Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: Thread 3: Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: 0 libsystem\_kernel.dylib 0x35a89004 0x35a88000 + 4100 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: 1 libsystem\_kernel.dylib 0x35a891fa 0x35a88000 + 4602 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: 2 CoreFoundation 0x359f73ec 0x3596a000 + 578540 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: 3 CoreFoundation 0x359f6124 0x3596a000 + 573732 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: 4 CoreFoundation 0x3597949e 0x3596a000 + 62622 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: 5 CoreFoundation 0x35979366 0x3596a000 + 62310 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: 6 Foundation 0x34dbebb2 0x34dae000 + 68530 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: 7 Foundation 0x34dbea7a 0x34dae000 + 68218 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: 8 Foundation 0x34e5258a 0x34dae000 + 673162 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: 9 libsystem\_c.dylib 0x34c4272e 0x34c34000 + 59182 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: 10 libsystem\_c.dylib 0x34c425e8 0x34c34000 + 58856 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: Thread 4: Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: 0 libsystem\_kernel.dylib 0x35a99cd4 0x35a88000 + 72916 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: 1 libsystem\_c.dylib 0x34c3cf36 0x34c34000 + 36662 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: 2 libsystem\_c.dylib 0x34c3ccc8 0x34c34000 + 36040 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: Thread 5: Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: 0 libsystem\_kernel.dylib 0x35a99cd4 0x35a88000 + 72916 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: 1 libsystem\_c.dylib 0x34c3cf36 0x34c34000 + 36662 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: 2 libsystem\_c.dylib 0x34c3ccc8 0x34c34000 + 36040 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: Thread 0 crashed with ARM Thread State: Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: r0: 0x003e88a0 r1: 0x326173e8 r2: 0x00000000 r3: 0x00000000 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: r4: 0x00000007 r5: 0x0d32f030 r6: 0x3f396374 r7: 0x2fe2eef0 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: r8: 0x0038bdb8 r9: 0x0c985cfa r10: 0x00000000 r11: 0x003b0370 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: ip: 0x3f3716f0 sp: 0x2fe2eedc lr: 0x34e49775 pc: 0x33641f78 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>: cpsr: 0x20000030 Apr 16 09:48:07 Dudes-iPad ReportCrash[1386] \<Error\>:

Hi,

we have the same problem. Because we have a lot of timers, I suspect this has to do something with inavlid timers. Most crashes happen on resuming the application, sometimes it happens while the app is running.

The resolved symbols (iPhone OS 5.1.1) show this in the crashing thread:

0   libobjc.A.dylib                   0x3554cf78 objc_msgSend + 16
1   Foundation                        0x380be76e __delayedPerformCleanup + 26
2   CoreFoundation                    0x377a2998 CFRunLoopTimerInvalidate + 420
3   CoreFoundation                    0x378216c8 __CFRunLoopDoTimer + 412
4   CoreFoundation                    0x37820268 __CFRunLoopRun + 1200
5   CoreFoundation                    0x377a349e CFRunLoopRunSpecific + 294
6   CoreFoundation                    0x377a3366 CFRunLoopRunInMode + 98
7   GraphicsServices                  0x33f62432 GSEventRunModal + 130
8   UIKit                             0x3154fcce UIApplicationMain + 1074
9   our_app                     0x00058190 0x45000 + 78224
10  our_app                     0x0004781c 0x45000 + 10268
11  our_app                     0x000477b8 0x45000 + 10168

best, Boerje

We’ll take a look at this today.

A change has been made to the networking library to resolve this issue for devices running iOS 5.1.

This change will be available in the upcoming daily builds.

Hi,

we have the same problem. Because we have a lot of timers, I suspect this has to do something with inavlid timers. Most crashes happen on resuming the application, sometimes it happens while the app is running.

The resolved symbols (iPhone OS 5.1.1) show this in the crashing thread:

0   libobjc.A.dylib                   0x3554cf78 objc_msgSend + 16
1   Foundation                        0x380be76e __delayedPerformCleanup + 26
2   CoreFoundation                    0x377a2998 CFRunLoopTimerInvalidate + 420
3   CoreFoundation                    0x378216c8 __CFRunLoopDoTimer + 412
4   CoreFoundation                    0x37820268 __CFRunLoopRun + 1200
5   CoreFoundation                    0x377a349e CFRunLoopRunSpecific + 294
6   CoreFoundation                    0x377a3366 CFRunLoopRunInMode + 98
7   GraphicsServices                  0x33f62432 GSEventRunModal + 130
8   UIKit                             0x3154fcce UIApplicationMain + 1074
9   our_app                     0x00058190 0x45000 + 78224
10  our_app                     0x0004781c 0x45000 + 10268
11  our_app                     0x000477b8 0x45000 + 10168

best, Boerje

We’ll take a look at this today.

A change has been made to the networking library to resolve this issue for devices running iOS 5.1.

This change will be available in the upcoming daily builds.