CoreTelephony crash - iphone

I am receiving this backtrace from TestFlight regarding one interesting crash.
As far as I understood, the application crashes at some point, when using CoreTelephony. Can this be possible of someone "calling" while the user is using the application?
To my knowledge, the application is not using the CoreTelephony Framework. The Exception reason is SIGSEGV and the crash thread is 0
Thank You!
PRIMARY THREAD THREAD 0
0 GPIreland 0x00113a1a testflight_backtrace + 238
1 GPIreland 0x00114704 TFSignalHandler + 264
2 libsystem_c.dylib 0x359d1e92 _sigtramp + 42
3 CoreTelephony 0x330078b4 <redacted> + 32
4 CoreFoundation 0x333465de __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 14
5 CoreFoundation 0x33346290 __CFRunLoopDoTimer + 272
6 CoreFoundation 0x33344f00 __CFRunLoopRun + 1232
7 CoreFoundation 0x332b7ebc CFRunLoopRunSpecific + 356
8 CoreFoundation 0x332b7d48 CFRunLoopRunInMode + 104
9 GraphicsServices 0x3b0b52ea GSEventRunModal + 74
10 UIKit 0x3ab732f8 UIApplicationMain + 1120
11 GPIreland 0x00036f8a main (main.m:4)
12 GPIreland 0x0000d5a7 start + 39
Hide Other Threads
COM.APPLE.NSURLCONNECTIONLOADER
0 CoreFoundation 0x33344da2 __CFRunLoopRun + 882
1 CoreFoundation 0x332b7ebc CFRunLoopRunSpecific + 356
2 CoreFoundation 0x332b7d48 CFRunLoopRunInMode + 104
3 Foundation 0x34ed7bcc +[NSURLConnection(Loader) _resourceLoadLoop:] + 308
4 Foundation 0x34f5b67c __NSThread__main__ + 972
5 libsystem_c.dylib 0x359aa310 _pthread_start + 308
6 libsystem_c.dylib 0x359aa1d7 thread_start + 7
COM.APPLE.CFSOCKET.PRIVATE
0 libsystem_c.dylib 0x359aa1d7 thread_start + 7
THREAD 10
0 libsystem_c.dylib 0x3599f8a3 start_wqthread + 7
THREAD 11
0 libsystem_c.dylib 0x3599f8a3 start_wqthread + 7
WEBTHREAD
0 CoreFoundation 0x33344da2 __CFRunLoopRun + 882
1 CoreFoundation 0x332b7ebc CFRunLoopRunSpecific + 356
2 CoreFoundation 0x332b7d48 CFRunLoopRunInMode + 104
3 WebCore 0x37613a44 <redacted> + 444
4 libsystem_c.dylib 0x359aa310 _pthread_start + 308
5 libsystem_c.dylib 0x359aa1d7 thread_start + 7
THREAD 8
0 libsystem_c.dylib 0x3599f8a3 start_wqthread + 7
THREAD 12
0 libsystem_c.dylib 0x3599f8a3 start_wqthread + 7
THREAD 1
0 CoreLocation 0x39148d26 <redacted> + 350
1 CoreLocation 0x3917f072 <redacted> + 346
2 libxpc.dylib 0x349377e8 _xpc_connection_mach_event + 772
3 libdispatch.dylib 0x35970df8 _dispatch_mach_msg_invoke$VARIANT$up + 124
4 libdispatch.dylib 0x3596095c _dispatch_queue_drain$VARIANT$up + 84
5 libdispatch.dylib 0x3597106e _dispatch_mach_invoke$VARIANT$up + 154
6 libdispatch.dylib 0x3596095c _dispatch_queue_drain$VARIANT$up + 84
7 libdispatch.dylib 0x35960894 _dispatch_queue_invoke$VARIANT$up + 36
8 libdispatch.dylib 0x3596095c _dispatch_queue_drain$VARIANT$up + 84
9 libdispatch.dylib 0x35960894 _dispatch_queue_invoke$VARIANT$up + 36
10 libdispatch.dylib 0x3596f214 _dispatch_root_queue_drain + 192
11 libdispatch.dylib 0x3596f3b8 _dispatch_worker_thread2 + 84
12 libsystem_c.dylib 0x3599fa10 _pthread_wqthread + 360
13 libsystem_c.dylib 0x3599f8a3 start_wqthread + 7
THREAD 2
0 0xffffffff 0xffffffff
THREAD 3
0 libdispatch.dylib 0x3596f258 _dispatch_root_queue_drain + 260
1 libdispatch.dylib 0x3596f3b8 _dispatch_worker_thread2 + 84
2 libsystem_c.dylib 0x3599fa10 _pthread_wqthread + 360
3 libsystem_c.dylib 0x3599f8a3 start_wqthread + 7
THREAD 6
0 CoreLocation 0x391491f0 <redacted> + 136
1 CoreLocation 0x3918065c <redacted> + 36
2 CoreLocation 0x3917efee <redacted> + 214
3 libxpc.dylib 0x34930b40 do_mach_notify_port_destroyed + 160
4 libxpc.dylib 0x34930a9a _Xmach_notify_port_destroyed + 126
5 libxpc.dylib 0x34930a16 notify_server + 90
6 libxpc.dylib 0x3493789c _xpc_connection_mach_event + 952
7 libdispatch.dylib 0x35970df8 _dispatch_mach_msg_invoke$VARIANT$up + 124
8 libdispatch.dylib 0x3596095c _dispatch_queue_drain$VARIANT$up + 84
9 libdispatch.dylib 0x3597106e _dispatch_mach_invoke$VARIANT$up + 154
10 libdispatch.dylib 0x3596095c _dispatch_queue_drain$VARIANT$up + 84
11 libdispatch.dylib 0x35960894 _dispatch_queue_invoke$VARIANT$up + 36
12 libdispatch.dylib 0x3596095c _dispatch_queue_drain$VARIANT$up + 84
13 libdispatch.dylib 0x35960894 _dispatch_queue_invoke$VARIANT$up + 36
14 libdispatch.dylib 0x3596f214 _dispatch_root_queue_drain + 192
15 libdispatch.dylib 0x3596f3b8 _dispatch_worker_thread2 + 84
16 libsystem_c.dylib 0x3599fa10 _pthread_wqthread + 360
17 libsystem_c.dylib 0x3599f8a3 start_wqthread + 7
THREAD 7
0 CoreFoundation 0x33344da2 __CFRunLoopRun + 882
1 CoreFoundation 0x332b7ebc CFRunLoopRunSpecific + 356
2 CoreFoundation 0x332b7d48 CFRunLoopRunInMode + 104
3 Foundation 0x34eae78e -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 254
4 Foundation 0x34f5205c -[NSRunLoop(NSRunLoop) run] + 80
5 GPIreland 0x0012999c -[TFNetworkManager networkRunLoopThreadEntry] + 124
6 Foundation 0x34f5b67c __NSThread__main__ + 972
7 libsystem_c.dylib 0x359aa310 _pthread_start + 308
8 libsystem_c.dylib 0x359aa1d7 thread_start + 7
LOAD ADDRESS
0x0000b000
REGISTER VALUES
cpsr: 536870960
exception: 0
far: 2180846006
fsr: 7
lr: 855668917
pc: 874685872
r0: 534160688
r1: 855823900
r10: 999295808
r11: 534104888
r12: 998755496
r2: 0
r3: 534160688
r4: 2180845998
r5: 534381712
r6: 534465568
r7: 803163884
r8: 854411733
r9: 213955975
sp: 803163868

EDIT: There is a fix for this bug in sdk 1.3.0-beta.2 available here: https://testflightapp.com/sdk/download/
I work at TestFlight. We have just recently discovered this bug. It is an iOS bug with CoreTelephony. The TestFlight SDK uses CoreTelephony. So this will sometimes cause crashes. We have a fix that is going to be ready very soon. It will be included in the next beta (probably 1.3.0-beta.2). I'm very sorry for the trouble!
Jason
More information on the crash for those interested:
There is an iOS bug that causes instances of the CTTelephonyNetworkInfo class to sometimes get notifications after they have been deallocated. Instead of instantiating, using, and releasing instances you must instead retain and never release them to work around the bug.

Related

Unable to understand Apple Crash Log with -[UIApplication _cachedSystemAnimationFenceCreatingIfNecessary:]

I'm unable to understand this crash log from Apple. I have been a few times rejected because of this. They are complaining it's occurred on ipad running latest software 10.3.1. When we double check with on ipad simulator, it's running without crashes.
Last Exception Backtrace:
0 CoreFoundation 0x1848b2fd8 __exceptionPreprocess + 124
1 libobjc.A.dylib 0x183314538 objc_exception_throw + 56
2 CoreFoundation 0x1848b2eac +[NSException raise:format:arguments:] + 104
3 Foundation 0x18534a710 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 112
4 UIKit 0x18ac57454 -[UIApplication _cachedSystemAnimationFenceCreatingIfNecessary:] + 196
5 UIKit 0x18ac57514 -[UIApplication _systemAnimationFenceCreatingIfNecessary:] + 24
6 UIKit 0x18acb07a0 +[UIWindow _synchronizedDrawingFence] + 116
7 UIKit 0x18ae6e150 +[_UIKeyboardChangedInformation informationForKeyboardUp:withIAV:] + 104
8 UIKit 0x18b1678d4 -[_UIRemoteKeyboards prepareToMoveKeyboard:withIAV:showing:forScreen:] + 464
9 UIKit 0x18aa9fc04 -[UIPeripheralHost(UIKitInternal) setInputViews:animationStyle:] + 820
10 UIKit 0x18aabccf4 -[UIPeripheralHost(UIKitInternal) _restoreInputViewsWithId:animated:] + 584
11 UIKit 0x18ad4fd64 -[UIViewController _restoreInputViewsForPresentation] + 280
12 UIKit 0x18ad2ae3c -[UIPresentationController runTransitionForCurrentState] + 1560
13 UIKit 0x18ad290f8 -[UIPresentationController _dismissWithAnimationController:interactionController:target:didEndSelector:] + 764
14 UIKit 0x18ad4f8c0 -[UIViewController _dismissViewControllerWithAnimationController:interactionController:completion:] + 464
15 UIKit 0x18ab04cd4 -[UIViewController _dismissViewControllerWithTransition:from:completion:] + 600
16 UIKit 0x18aaacb6c -[UIViewController dismissViewControllerWithTransition:completion:] + 1144
17 UIKit 0x18aaac94c -[UIViewController dismissViewControllerWithTransition:completion:] + 600
18 UIKit 0x18ad4eb68 -[UIViewController _performCoordinatedPresentOrDismiss:animated:] + 524
19 UIKit 0x18aaac6c0 -[UIViewController dismissViewControllerAnimated:completion:] + 152
20 newapp 0x100115628 0x1000b0000 + 415272
21 newapp 0x1001159e8 0x1000b0000 + 416232
22 CFNetwork 0x184ebc1fc __75-[__NSURLSessionLocal taskForClass:request:uploadFile:bodyData:completion:]_block_invoke + 32
23 CFNetwork 0x184ed3ef8 __49-[__NSCFLocalSessionTask _task_onqueue_didFinish]_block_invoke + 148
24 Foundation 0x185381804 __NSBLOCKOPERATION_IS_CALLING_OUT_TO_A_BLOCK__ + 16
25 Foundation 0x1852c6760 -[NSBlockOperation main] + 96
26 Foundation 0x1852b6b18 -[__NSOperationInternal _start:] + 612
27 Foundation 0x185383ba0 __NSOQSchedule_f + 228
28 libdispatch.dylib 0x18376a9a0 _dispatch_client_callout + 16
29 libdispatch.dylib 0x183778ad4 _dispatch_queue_serial_drain + 928
30 libdispatch.dylib 0x18376e2cc _dispatch_queue_invoke + 884
31 libdispatch.dylib 0x18377aa50 _dispatch_root_queue_drain + 540
32 libdispatch.dylib 0x18377a7d0 _dispatch_worker_thread3 + 124
33 libsystem_pthread.dylib 0x1839731d0 _pthread_wqthread + 1096
34 libsystem_pthread.dylib 0x183972d7c start_wqthread + 4
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 libsystem_kernel.dylib 0x000000018388f224 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x000000018388f09c mach_msg + 72
2 CoreFoundation 0x0000000184860e88 __CFRunLoopServiceMachPort + 192
3 CoreFoundation 0x000000018485eadc __CFRunLoopRun + 1060
4 CoreFoundation 0x000000018478ed94 CFRunLoopRunSpecific + 424
5 GraphicsServices 0x00000001861f8074 GSEventRunModal + 100
6 UIKit 0x000000018aa40130 UIApplicationMain + 208
7 newapp 0x000000010022f390 0x1000b0000 + 1569680
8 libdyld.dylib 0x000000018379d59c start + 4
Thread 1 name: com.apple.uikit.eventfetch-thread
Thread 1:
0 libsystem_kernel.dylib 0x000000018388f224 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x000000018388f09c mach_msg + 72
2 CoreFoundation 0x0000000184860e88 __CFRunLoopServiceMachPort + 192
3 CoreFoundation 0x000000018485eadc __CFRunLoopRun + 1060
4 CoreFoundation 0x000000018478ed94 CFRunLoopRunSpecific + 424
5 Foundation 0x00000001852a8d64 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 304
6 Foundation 0x00000001852c9b34 -[NSRunLoop(NSRunLoop) runUntilDate:] + 96
7 UIKit 0x000000018b3ca5f8 -[UIEventFetcher threadMain] + 136
8 Foundation 0x00000001853a62c8 __NSThread__start__ + 996
9 libsystem_pthread.dylib 0x000000018397575c _pthread_body + 240
10 libsystem_pthread.dylib 0x000000018397566c _pthread_body + 0
11 libsystem_pthread.dylib 0x0000000183972d84 thread_start + 4
Thread 2:
0 libsystem_kernel.dylib 0x00000001838ada88 __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x0000000183973274 _pthread_wqthread + 1260
2 libsystem_pthread.dylib 0x0000000183972d7c start_wqthread + 4
Thread 3 name: com.apple.CFStream.LegacyThread
Thread 3:
0 libsystem_kernel.dylib 0x000000018388f224 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x000000018388f09c mach_msg + 72
2 CoreFoundation 0x0000000184860e88 __CFRunLoopServiceMachPort + 192
3 CoreFoundation 0x000000018485eadc __CFRunLoopRun + 1060
4 CoreFoundation 0x000000018478ed94 CFRunLoopRunSpecific + 424
5 CoreFoundation 0x000000018486e78c _legacyStreamRunLoop_workThread + 268
6 libsystem_pthread.dylib 0x000000018397575c _pthread_body + 240
7 libsystem_pthread.dylib 0x000000018397566c _pthread_body + 0
8 libsystem_pthread.dylib 0x0000000183972d84 thread_start + 4
Thread 4 name: com.apple.NSURLConnectionLoader
Thread 4:
0 libsystem_kernel.dylib 0x000000018388f224 mach_msg_trap + 8
1 libsystem_kernel.dylib 0x000000018388f09c mach_msg + 72
2 CoreFoundation 0x0000000184860e88 __CFRunLoopServiceMachPort + 192
3 CoreFoundation 0x000000018485eadc __CFRunLoopRun + 1060
4 CoreFoundation 0x000000018478ed94 CFRunLoopRunSpecific + 424
5 CFNetwork 0x0000000184f9aca4 +[NSURLConnection(Loader) _resourceLoadLoop:] + 404
6 Foundation 0x00000001853a62c8 __NSThread__start__ + 996
7 libsystem_pthread.dylib 0x000000018397575c _pthread_body + 240
8 libsystem_pthread.dylib 0x000000018397566c _pthread_body + 0
9 libsystem_pthread.dylib 0x0000000183972d84 thread_start + 4
Thread 5 name: Dispatch queue: NSOperationQueue 0x170031360 :: NSOperation 0x17024ab30 (QOS: DEFAULT)
Thread 5 Crashed:
0 libsystem_kernel.dylib 0x00000001838ad014 __pthread_kill + 8
1 libsystem_pthread.dylib 0x0000000183977334 pthread_kill + 112
2 libsystem_c.dylib 0x00000001838219c4 abort + 140
3 libc++abi.dylib 0x00000001832ed1b0 __cxa_bad_cast + 0
4 libc++abi.dylib 0x0000000183306c04 default_unexpected_handler() + 0
5 libobjc.A.dylib 0x0000000183314820 _objc_terminate() + 124
6 libc++abi.dylib 0x00000001833035d4 std::__terminate(void (*)()) + 16
7 libc++abi.dylib 0x0000000183303640 std::terminate() + 60
8 libdispatch.dylib 0x000000018376a9b4 _dispatch_client_callout + 36
9 libdispatch.dylib 0x0000000183778ad4 _dispatch_queue_serial_drain + 928
10 libdispatch.dylib 0x000000018376e2cc _dispatch_queue_invoke + 884
11 libdispatch.dylib 0x000000018377aa50 _dispatch_root_queue_drain + 540
12 libdispatch.dylib 0x000000018377a7d0 _dispatch_worker_thread3 + 124
13 libsystem_pthread.dylib 0x00000001839731d0 _pthread_wqthread + 1096
14 libsystem_pthread.dylib 0x0000000183972d7c start_wqthread + 4
The log clearly shows the problem happens on a background thread. You need to perform UI actions on the main queue. Use DispatchQueue.main.async to dismiss the view controller.

weird iPhone 0x8badf00d crash report

I got a iPhone crash report when my app is brought to foreground, before that, the app is deleting some files, and i press HOME button to bring it background.
the weird thing is in the crash report, the Highlighted Thread is not 0, in my memory, the code 0x8badf00d exception's highlighted thread is always 0.
the thread 5 is doing some database operation, i used FMDB's queue mechanism to avoid multi-threads competition.
i wander know why the highlighted thread is 5 ? is the thread 5 block the main thread ?
Thanks for any help you can offer.
here is the crash report:
Date/Time: 2013-10-30 15:37:24.620 +0800
OS Version: iOS 6.1.3 (10B329)
Report Version: 104
Exception Type: 00000020
Exception Codes: 0x000000008badf00d
Highlighted Thread: 5
Application Specific Information:
com.xxxx.xxxx failed to resume in time
Elapsed total CPU time (seconds): 10.010 (user 10.010, system 0.000), 100% CPU
Elapsed application CPU time (seconds): 7.631, 76% CPU
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 libsystem_kernel.dylib 0x3b9bcc80 __unlink + 8
1 libsystem_kernel.dylib 0x3b9ae8bc unlink + 4
2 libremovefile.dylib 0x3b9027f8 __removefile_process_file + 236
3 libremovefile.dylib 0x3b90288a __removefile_tree_walker + 114
4 libremovefile.dylib 0x3b902a72 removefile + 118
5 Foundation 0x340cec4e -[NSFilesystemItemRemoveOperation main] + 170
6 Foundation 0x340cd5bc -[__NSOperationInternal start] + 836
7 Foundation 0x340cc4fc -[NSFileManager removeItemAtPath:error:] + 80
8 mCloud_iPhone 0x003037ae -[SDImageCache clearDisk] (SDImageCache.m:413)
9 mCloud_iPhone 0x0032a1d2 -[AppSettingViewController clearCachesEvent:] (AppSettingViewController.m:365)
10 UIKit 0x357330c0 -[UIApplication sendAction:to:from:forEvent:] + 68
11 UIKit 0x35733072 -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 26
12 UIKit 0x35733050 -[UIControl sendAction:to:forEvent:] + 40
13 UIKit 0x35732906 -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 498
14 UIKit 0x35732dfc -[UIControl touchesEnded:withEvent:] + 484
15 UIKit 0x3565141c _UIGestureRecognizerUpdate + 5764
16 CoreFoundation 0x338156ca __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 18
17 CoreFoundation 0x338139bc __CFRunLoopDoObservers + 272
18 CoreFoundation 0x33813d12 __CFRunLoopRun + 738
19 CoreFoundation 0x33786eb8 CFRunLoopRunSpecific + 352
20 CoreFoundation 0x33786d44 CFRunLoopRunInMode + 100
21 GraphicsServices 0x373392e6 GSEventRunModal + 70
22 UIKit 0x3569c2fc UIApplicationMain + 1116
23 mCloud_iPhone 0x002d7c06 main (main.m:16)
24 mCloud_iPhone 0x002d7bc8 ___lldb_unnamed_function8568$$mCloud_iPhone + 36
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x3b9ac648 kevent64 + 24
1 libdispatch.dylib 0x3b8e54ec _dispatch_mgr_invoke + 792
2 libdispatch.dylib 0x3b8d7df4 _dispatch_mgr_thread$VARIANT$up + 32
Thread 2 name: WebThread
Thread 2:
0 libsystem_kernel.dylib 0x3b9abeb4 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3b9ac048 mach_msg + 36
2 CoreFoundation 0x33815040 __CFRunLoopServiceMachPort + 124
3 CoreFoundation 0x33813d9e __CFRunLoopRun + 878
4 CoreFoundation 0x33786eb8 CFRunLoopRunSpecific + 352
5 CoreFoundation 0x33786d44 CFRunLoopRunInMode + 100
6 WebCore 0x39774500 RunWebThread(void*) + 440
7 libsystem_c.dylib 0x3b91530e _pthread_start + 306
8 libsystem_c.dylib 0x3b9151d4 thread_start + 4
Thread 3 name: com.crashlytics.MachExceptionServer
Thread 3:
0 libsystem_kernel.dylib 0x3b9abeb4 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3b9ac048 mach_msg + 36
2 mCloud_iPhone 0x00488940 ___lldb_unnamed_function16966$$mCloud_iPhone + 116
3 libsystem_c.dylib 0x3b91530e _pthread_start + 306
4 libsystem_c.dylib 0x3b9151d4 thread_start + 4
Thread 4:
0 libsystem_kernel.dylib 0x3b9abeb4 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3b9ac048 mach_msg + 36
2 CoreFoundation 0x33815040 __CFRunLoopServiceMachPort + 124
3 CoreFoundation 0x33813d9e __CFRunLoopRun + 878
4 CoreFoundation 0x33786eb8 CFRunLoopRunSpecific + 352
5 CoreFoundation 0x33786d44 CFRunLoopRunInMode + 100
6 mCloud_iPhone 0x003ec330 -[FXThreadManager threadFunc:] (FXThreadManager.m:263)
7 Foundation 0x34156e80 __NSThread__main__ + 968
8 libsystem_c.dylib 0x3b91530e _pthread_start + 306
9 libsystem_c.dylib 0x3b9151d4 thread_start + 4
Thread 5 name: Dispatch queue: fmdb.<FMDatabaseQueue: 0x1ede9bc0>
Thread 5:
0 libsqlite3.dylib 0x3b6e127c ___lldb_unnamed_function124$$libsqlite3.dylib + 35596
1 libsqlite3.dylib 0x3b6d8482 sqlite3_step + 2138
2 mCloud_iPhone 0x00429fca -[FMResultSet next] (FMResultSet.m:155)
3 mCloud_iPhone 0x00454930 +[FXDatabaseOperator query:withVAList:withDatabase:resultType:] (FXDatabaseOperator.m:182)
4 mCloud_iPhone 0x00454f54 __44+[FXDatabaseOperator queryWithDBFileID:sql:]_block_invoke (FXDatabaseOperator.m:236)
5 mCloud_iPhone 0x00453124 __30-[FMDatabaseQueue inDatabase:]_block_invoke (FMDatabaseQueue.m:101)
6 libdispatch.dylib 0x3b8d54b4 _dispatch_client_callout + 20
7 libdispatch.dylib 0x3b8e390a _dispatch_barrier_sync_f_invoke + 22
8 mCloud_iPhone 0x00453098 -[FMDatabaseQueue inDatabase:] (FMDatabaseQueue.m:98)
9 mCloud_iPhone 0x00454e16 +[FXDatabaseOperator queryWithDBFileID:sql:] (FXDatabaseOperator.m:235)
10 mCloud_iPhone 0x000c5804 -[DatabaseManager queryPhotoBackupByFileName:] (DatabaseManager.m:1233)
11 mCloud_iPhone 0x000dda50 -[CameraBackupManager queryBackUpDb:] (CameraBackupManager.m:2867)
12 mCloud_iPhone 0x000d3bc4 __43-[CameraBackupManager synSystemlibraryToDb]_block_invoke_2 (CameraBackupManager.m:514)
13 AssetsLibrary 0x330c7c5e __62-[ALAssetsGroup _enumerateAssetsAtIndexes:options:usingBlock:]_block_invoke_0125 + 102
14 CoreFoundation 0x3383499e __NSArrayEnumerate + 394
15 CoreFoundation 0x33796b66 -[NSArray enumerateObjectsWithOptions:usingBlock:] + 58
16 AssetsLibrary 0x330c78be -[ALAssetsGroup _enumerateAssetsAtIndexes:options:usingBlock:] + 718
17 AssetsLibrary 0x330c7cd4 -[ALAssetsGroup enumerateAssetsUsingBlock:] + 24
18 AssetsLibrary 0x330c9a0a __block_global_1 + 26
19 CoreFoundation 0x3383499e __NSArrayEnumerate + 394
20 CoreFoundation 0x33796b66 -[NSArray enumerateObjectsWithOptions:usingBlock:] + 58
21 AssetsLibrary 0x330c9866 __block_global_0 + 1014
22 libdispatch.dylib 0x3b8d611c _dispatch_call_block_and_release + 8
23 libdispatch.dylib 0x3b8e4254 _dispatch_root_queue_drain + 256
24 libdispatch.dylib 0x3b8e43b4 _dispatch_worker_thread2 + 80
25 libsystem_c.dylib 0x3b90aa0e _pthread_wqthread + 358
26 libsystem_c.dylib 0x3b90a8a0 start_wqthread + 4
Thread 6:
0 libsystem_kernel.dylib 0x3b9abeb4 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3b9ac048 mach_msg + 36
2 CoreFoundation 0x33815040 __CFRunLoopServiceMachPort + 124
3 CoreFoundation 0x33813d9e __CFRunLoopRun + 878
4 CoreFoundation 0x33786eb8 CFRunLoopRunSpecific + 352
5 CoreFoundation 0x33786d44 CFRunLoopRunInMode + 100
6 mCloud_iPhone 0x003ec330 -[FXThreadManager threadFunc:] (FXThreadManager.m:263)
7 Foundation 0x34156e80 __NSThread__main__ + 968
8 libsystem_c.dylib 0x3b91530e _pthread_start + 306
9 libsystem_c.dylib 0x3b9151d4 thread_start + 4
Thread 7:
0 libsystem_kernel.dylib 0x3b9abeb4 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3b9ac048 mach_msg + 36
2 CoreFoundation 0x33815040 __CFRunLoopServiceMachPort + 124
3 CoreFoundation 0x33813d9e __CFRunLoopRun + 878
4 CoreFoundation 0x33786eb8 CFRunLoopRunSpecific + 352
5 CoreFoundation 0x33786d44 CFRunLoopRunInMode + 100
6 mCloud_iPhone 0x00415acc +[ASIHTTPRequest runRequests] (ASIHTTPRequest.m:4966)
7 Foundation 0x34156e80 __NSThread__main__ + 968
8 libsystem_c.dylib 0x3b91530e _pthread_start + 306
9 libsystem_c.dylib 0x3b9151d4 thread_start + 4
Thread 8 name: com.apple.NSURLConnectionLoader
Thread 8:
0 libsystem_kernel.dylib 0x3b9abeb4 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3b9ac048 mach_msg + 36
2 CoreFoundation 0x33815040 __CFRunLoopServiceMachPort + 124
3 CoreFoundation 0x33813d9e __CFRunLoopRun + 878
4 CoreFoundation 0x33786eb8 CFRunLoopRunSpecific + 352
5 CoreFoundation 0x33786d44 CFRunLoopRunInMode + 100
6 Foundation 0x340d33d0 +[NSURLConnection(Loader) _resourceLoadLoop:] + 304
7 Foundation 0x34156e80 __NSThread__main__ + 968
8 libsystem_c.dylib 0x3b91530e _pthread_start + 306
9 libsystem_c.dylib 0x3b9151d4 thread_start + 4
Thread 9 name: com.apple.CFSocket.private
Thread 9:
0 libsystem_kernel.dylib 0x3b9bc594 select$DARWIN_EXTSN + 20
1 CoreFoundation 0x338191f2 __CFSocketManager + 674
2 libsystem_c.dylib 0x3b91530e _pthread_start + 306
3 libsystem_c.dylib 0x3b9151d4 thread_start + 4
Thread 10:
0 libsystem_kernel.dylib 0x3b9abeb4 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3b9ac048 mach_msg + 36
2 CoreFoundation 0x33815040 __CFRunLoopServiceMachPort + 124
3 CoreFoundation 0x33813d9e __CFRunLoopRun + 878
4 CoreFoundation 0x33786eb8 CFRunLoopRunSpecific + 352
5 CoreFoundation 0x33786d44 CFRunLoopRunInMode + 100
6 Foundation 0x340a9f92 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 250
7 Foundation 0x3414d860 -[NSRunLoop(NSRunLoop) run] + 76
8 Foundation 0x34156e80 __NSThread__main__ + 968
9 libsystem_c.dylib 0x3b91530e _pthread_start + 306
10 libsystem_c.dylib 0x3b9151d4 thread_start + 4
Thread 11:
0 libsystem_kernel.dylib 0x3b9abeb4 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3b9ac048 mach_msg + 36
2 CoreFoundation 0x33815040 __CFRunLoopServiceMachPort + 124
3 CoreFoundation 0x33813d9e __CFRunLoopRun + 878
4 CoreFoundation 0x33786eb8 CFRunLoopRunSpecific + 352
5 CoreFoundation 0x33786d44 CFRunLoopRunInMode + 100
6 mCloud_iPhone 0x003ec330 -[FXThreadManager threadFunc:] (FXThreadManager.m:263)
7 Foundation 0x34156e80 __NSThread__main__ + 968
8 libsystem_c.dylib 0x3b91530e _pthread_start + 306
9 libsystem_c.dylib 0x3b9151d4 thread_start + 4
Thread 12:
0 libsystem_kernel.dylib 0x3b9abf04 semaphore_wait_trap + 8
1 libdispatch.dylib 0x3b8e482a _dispatch_semaphore_wait_slow + 178
2 TCC 0x38ef6682 TCCAccessPreflight + 218
3 AddressBook 0x32fbc048 ABAddressBookGetAuthorizationStatus + 4
4 mCloud_iPhone 0x00132116 -[AddrBookObject accessToContacts] (AddrBookObject.m:141)
5 mCloud_iPhone 0x00143fb8 -[ApnsManager isNotificationEnabled] (ApnsManager.m:96)
6 mCloud_iPhone 0x0010798a -[AddressBookManager queryAutoSynSwitchStateForServer] (AddressBookManager.m:1046)
7 mCloud_iPhone 0x00107876 __50-[AddressBookManager accessToTheServerSwitchState]_block_invoke (AddressBookManager.m:1008)
8 libdispatch.dylib 0x3b8d611c _dispatch_call_block_and_release + 8
9 libdispatch.dylib 0x3b8d5996 _dispatch_queue_drain$VARIANT$up + 142
10 libdispatch.dylib 0x3b8d5890 _dispatch_queue_invoke$VARIANT$up + 32
11 libdispatch.dylib 0x3b8e4212 _dispatch_root_queue_drain + 190
12 libdispatch.dylib 0x3b8e43b4 _dispatch_worker_thread2 + 80
13 libsystem_c.dylib 0x3b90aa0e _pthread_wqthread + 358
14 libsystem_c.dylib 0x3b90a8a0 start_wqthread + 4
Thread 13:
0 libsystem_kernel.dylib 0x3b9abeb4 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3b9ac048 mach_msg + 36
2 CoreFoundation 0x33815040 __CFRunLoopServiceMachPort + 124
3 CoreFoundation 0x33813d9e __CFRunLoopRun + 878
4 CoreFoundation 0x33786eb8 CFRunLoopRunSpecific + 352
5 CoreFoundation 0x33786d44 CFRunLoopRunInMode + 100
6 mCloud_iPhone 0x003ec330 -[FXThreadManager threadFunc:] (FXThreadManager.m:263)
7 Foundation 0x34156e80 __NSThread__main__ + 968
8 libsystem_c.dylib 0x3b91530e _pthread_start + 306
9 libsystem_c.dylib 0x3b9151d4 thread_start + 4
Thread 14 name: Dispatch queue: fmdb.<FMDatabaseQueue: 0x1fbdf850>
Thread 14:
0 libsystem_kernel.dylib 0x3b9ae898 pwrite + 20
1 libsqlite3.dylib 0x3b72e5c0 ___lldb_unnamed_function725$$libsqlite3.dylib + 44
2 libsqlite3.dylib 0x3b6eedc8 ___lldb_unnamed_function200$$libsqlite3.dylib + 52
3 libsqlite3.dylib 0x3b6ec332 ___lldb_unnamed_function190$$libsqlite3.dylib + 1106
4 libsqlite3.dylib 0x3b6ebed2 ___lldb_unnamed_function189$$libsqlite3.dylib + 574
5 libsqlite3.dylib 0x3b6ee126 ___lldb_unnamed_function195$$libsqlite3.dylib + 1150
6 libsqlite3.dylib 0x3b6da2ba ___lldb_unnamed_function124$$libsqlite3.dylib + 6986
7 libsqlite3.dylib 0x3b6d8482 sqlite3_step + 2138
8 mCloud_iPhone 0x00426fee -[FMDatabase executeUpdate:error:withArgumentsInArray:orDictionary:orVAList:] (FMDatabase.m:902)
9 mCloud_iPhone 0x00455e20 +[FXDatabaseOperator updateInTransaction:sql:] (FXDatabaseOperator.m:345)
10 mCloud_iPhone 0x00250d44 __41-[NDDatabaseManager updateTransferTasks:]_block_invoke_0 (NDDatabaseManager.m:2353)
11 mCloud_iPhone 0x00455bb8 __55+[FXDatabaseOperator doTransactionWithDBFileID:action:]_block_invoke (FXDatabaseOperator.m:307)
12 mCloud_iPhone 0x004533b4 __46-[FMDatabaseQueue beginTransaction:withBlock:]_block_invoke (FMDatabaseQueue.m:125)
13 libdispatch.dylib 0x3b8d54b4 _dispatch_client_callout + 20
14 libdispatch.dylib 0x3b8e390a _dispatch_barrier_sync_f_invoke + 22
15 mCloud_iPhone 0x00453286 -[FMDatabaseQueue beginTransaction:withBlock:] (FMDatabaseQueue.m:114)
16 mCloud_iPhone 0x0045353e -[FMDatabaseQueue inTransaction:] (FMDatabaseQueue.m:143)
17 mCloud_iPhone 0x00455a6e +[FXDatabaseOperator doTransactionWithDBFileID:action:] (FXDatabaseOperator.m:303)
18 mCloud_iPhone 0x0025071c -[NDDatabaseManager updateTransferTasks:] (NDDatabaseManager.m:2386)
19 mCloud_iPhone 0x002b14ae __50-[NDTransTaskDataManager startAllAutoPausedTasks:]_block_invoke_0 (NDTransTaskDataManager.m:1212)
20 libdispatch.dylib 0x3b8d611c _dispatch_call_block_and_release + 8
21 libdispatch.dylib 0x3b8e4254 _dispatch_root_queue_drain + 256
22 libdispatch.dylib 0x3b8e43b4 _dispatch_worker_thread2 + 80
23 libsystem_c.dylib 0x3b90aa0e _pthread_wqthread + 358
24 libsystem_c.dylib 0x3b90a8a0 start_wqthread + 4
Unknown thread crashed with unknown flavor: 5, state_count: 1
0x8badf00d: Reads as “ate bad food”! (If you squint your eyes and replace the digits with alphabetic characters. :p) This code indicates that an application was terminated by iOS because a watchdog timeout occurred. Basically, the application took too long to launch, terminate, or respond to system events.
http://www.raywenderlich.com/19788

UIWebview crashing on IOS 7 but not on IOS 6

I'm using Xcode 5 to make my app. When I run it on the simulator using IOS 6.1 everything works perfectly, but when I run the app on IOS 7 it crashes! Here is the crash log I'm getting from the webview:
`Incident Identifier: 01BCFB4C-E85B-488D-9855-4188D27566B1
CrashReporter Key: cc047dce10a1cd20b4718dbf73ddc413162841fe
Hardware Model: iPhone5,1
Process: Widgets iphone [420]
Path: /var/mobile/Applications/0D552E90-FF2C-4561-B012-0901359ED7A0/Widgets iphone.app/Widgets iphone
Identifier: jeardev.Widgets-iphone
Version: 1.1 (1.1)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2013-08-27 20:49:46.578 -0500
OS Version: iOS 7.0 (11A4449d)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x000000f0
Triggered by Thread: 7
Thread 0:
0 libsystem_kernel.dylib 0x382e3a84 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x382e387c mach_msg + 36
2 CoreFoundation 0x2dccc55c __CFRunLoopServiceMachPort + 152
3 CoreFoundation 0x2dccacc2 __CFRunLoopRun + 858
4 CoreFoundation 0x2dc3553c CFRunLoopRunSpecific + 520
5 CoreFoundation 0x2dc3531e CFRunLoopRunInMode + 102
6 GraphicsServices 0x326c933e GSEventRunModal + 134
7 UIKit 0x3024e7b0 UIApplicationMain + 1132
8 Widgets iphone 0x00071fa2 main (main.m:16)
9 libdyld.dylib 0x3823fab4 start + 0
Thread 1:
0 libsystem_kernel.dylib 0x382f6c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x3835ae06 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x3835acc0 start_wqthread + 4
Thread 2:
0 libsystem_kernel.dylib 0x382f6c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x3835ae06 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x3835acc0 start_wqthread + 4
Thread 3 name: gputools.smt_poll.0x16580fd0
Thread 3:
0 libsystem_kernel.dylib 0x382f6550 __semwait_signal + 24
1 libsystem_c.dylib 0x382674e8 nanosleep + 168
2 libsystem_c.dylib 0x38267438 usleep + 48
3 GPUToolsCore 0x0062b0bc smt_poll_thread_entry(void*) + 120
4 libsystem_pthread.dylib 0x3835cc5a _pthread_body + 138
5 libsystem_pthread.dylib 0x3835cbca _pthread_start + 98
6 libsystem_pthread.dylib 0x3835accc thread_start + 4
Thread 4:
0 libsystem_kernel.dylib 0x382e3838 kevent64 + 24
1 libdispatch.dylib 0x382320d0 _dispatch_mgr_invoke + 228
2 libdispatch.dylib 0x3822c63e _dispatch_mgr_thread + 34
Thread 5:
0 libsystem_kernel.dylib 0x382f6c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x3835ae06 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x3835acc0 start_wqthread + 4
Thread 6:
0 libsystem_kernel.dylib 0x382f6c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x3835ae06 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x3835acc0 start_wqthread + 4
Thread 7 name: WebThread
Thread 7 Crashed:
0 WebCore 0x35ac9de8 WebCore::ApplicationCacheGroup::selectCache(WebCore::Frame*, WebCore::KURL const&) + 544
1 WebCore 0x358d12b6 WebCore::HTMLHtmlElement::insertedByParser() + 90
2 WebCore 0x358c9936 WebCore::HTMLConstructionSite::insertHTMLHtmlStartTagBeforeHTML(WebCore::AtomicHTMLToken*) + 318
3 WebCore 0x3589f1b4 WebCore::HTMLTreeBuilder::processStartTag(WebCore::AtomicHTMLToken*) + 2472
4 WebCore 0x3589e76e WebCore::HTMLTreeBuilder::processToken(WebCore::AtomicHTMLToken*) + 86
5 WebCore 0x3589e552 WebCore::HTMLTreeBuilder::constructTree(WebCore::AtomicHTMLToken*) + 30
6 WebCore 0x3589e038 WebCore::HTMLDocumentParser::constructTreeFromHTMLToken(WebCore::HTMLToken&) + 96
7 WebCore 0x358910f0 WebCore::HTMLDocumentParser::pumpTokenizer(WebCore::HTMLDocumentParser::SynchronousMode) + 248
8 WebCore 0x3590234e WebCore::HTMLDocumentParser::append(WTF::PassRefPtr<WTF::StringImpl>) + 290
9 WebCore 0x35901872 WebCore::DecodedDataDocumentParser::appendBytes(WebCore::DocumentWriter*, char const*, unsigned long) + 70
10 WebCore 0x358bdae4 WebCore::DocumentLoader::commitData(char const*, unsigned long) + 32
11 WebKit 0x362c366e -[WebHTMLRepresentation receivedData:withDataSource:] + 178
12 WebKit 0x362c3508 -[WebDataSource(WebInternal) _receivedData:] + 132
13 WebKit 0x362c3464 WebFrameLoaderClient::committedLoad(WebCore::DocumentLoader*, char const*, int) + 96
14 WebCore 0x358f9240 WebCore::DocumentLoader::commitLoad(char const*, int) + 96
15 WebCore 0x358f9198 WebCore::DocumentLoader::dataReceived(WebCore::CachedResource*, char const*, int) + 492
16 WebCore 0x358f79b0 WebCore::DocumentLoader::continueAfterContentPolicy(WebCore::PolicyAction) + 760
17 WebCore 0x358f6fde WebCore::DocumentLoader::responseReceived(WebCore::CachedResource*, WebCore::ResourceResponse const&) + 650
18 WebCore 0x35b73a1a WebCore::DocumentLoader::handleSubstituteDataLoadNow(WebCore::Timer<WebCore::DocumentLoader>*) + 322
19 WebCore 0x3581d2d4 WebCore::ThreadTimers::sharedTimerFiredInternal() + 132
20 WebCore 0x3581d226 WebCore::timerFired(__CFRunLoopTimer*, void*) + 22
21 CoreFoundation 0x2dccce84 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 12
22 CoreFoundation 0x2dccca9e __CFRunLoopDoTimer + 790
23 CoreFoundation 0x2dccae26 __CFRunLoopRun + 1214
24 CoreFoundation 0x2dc3553c CFRunLoopRunSpecific + 520
25 CoreFoundation 0x2dc3531e CFRunLoopRunInMode + 102
26 WebCore 0x358abf68 RunWebThread(void*) + 416
27 libsystem_pthread.dylib 0x3835cc5a _pthread_body + 138
28 libsystem_pthread.dylib 0x3835cbca _pthread_start + 98
29 libsystem_pthread.dylib 0x3835accc thread_start + 4
Thread 8 name: com.apple.NSURLConnectionLoader
Thread 8:
0 libsystem_kernel.dylib 0x382e3a84 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x382e387c mach_msg + 36
2 CoreFoundation 0x2dccc55c __CFRunLoopServiceMachPort + 152
3 CoreFoundation 0x2dccac7c __CFRunLoopRun + 788
4 CoreFoundation 0x2dc3553c CFRunLoopRunSpecific + 520
5 CoreFoundation 0x2dc3531e CFRunLoopRunInMode + 102
6 Foundation 0x2e6519bc +[NSURLConnection(Loader) _resourceLoadLoop:] + 316
7 Foundation 0x2e6c72b2 __NSThread__main__ + 1058
8 libsystem_pthread.dylib 0x3835cc5a _pthread_body + 138
9 libsystem_pthread.dylib 0x3835cbca _pthread_start + 98
10 libsystem_pthread.dylib 0x3835accc thread_start + 4
Thread 9:
0 libsystem_kernel.dylib 0x382e3a84 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x382e387c mach_msg + 36
2 CoreFoundation 0x2dccc55c __CFRunLoopServiceMachPort + 152
3 CoreFoundation 0x2dccac7c __CFRunLoopRun + 788
4 CoreFoundation 0x2dc3553c CFRunLoopRunSpecific + 520
5 CoreFoundation 0x2dc3531e CFRunLoopRunInMode + 102
6 libAVFAudio.dylib 0x2cc125ae GenericRunLoopThread::Entry(void*) + 126
7 libAVFAudio.dylib 0x2cc05f44 CAPThread::Entry(CAPThread*) + 176
8 libsystem_pthread.dylib 0x3835cc5a _pthread_body + 138
9 libsystem_pthread.dylib 0x3835cbca _pthread_start + 98
10 libsystem_pthread.dylib 0x3835accc thread_start + 4
Thread 10 name: com.apple.CFSocket.private
Thread 10:
0 libsystem_kernel.dylib 0x382f6440 select$DARWIN_EXTSN + 20
1 CoreFoundation 0x2dcd045a __CFSocketManager + 478
2 libsystem_pthread.dylib 0x3835cc5a _pthread_body + 138
3 libsystem_pthread.dylib 0x3835cbca _pthread_start + 98
4 libsystem_pthread.dylib 0x3835accc thread_start + 4
Thread 11 name: JavaScriptCore::BlockFree
Thread 11:
0 libsystem_kernel.dylib 0x382f5f38 __psynch_cvwait + 24
1 libsystem_pthread.dylib 0x3835c262 _pthread_cond_wait + 538
2 libsystem_pthread.dylib 0x3835d03c pthread_cond_wait + 36
3 JavaScriptCore 0x2ec3a408 JSC::BlockAllocator::blockFreeingThreadMain() + 204
4 JavaScriptCore 0x2ec37a70 WTF::wtfThreadEntryPoint(void*) + 12
5 libsystem_pthread.dylib 0x3835cc5a _pthread_body + 138
6 libsystem_pthread.dylib 0x3835cbca _pthread_start + 98
7 libsystem_pthread.dylib 0x3835accc thread_start + 4
Thread 12 name: JavaScriptCore::Marking
Thread 12:
0 libsystem_kernel.dylib 0x382f5f38 __psynch_cvwait + 24
1 libsystem_pthread.dylib 0x3835c262 _pthread_cond_wait + 538
2 libsystem_pthread.dylib 0x3835d03c pthread_cond_wait + 36
3 JavaScriptCore 0x2edd8af2 JSC::GCThread::waitForNextPhase() + 74
4 JavaScriptCore 0x2edd8b4c JSC::GCThread::gcThreadMain() + 48
5 JavaScriptCore 0x2ec37a70 WTF::wtfThreadEntryPoint(void*) + 12
6 libsystem_pthread.dylib 0x3835cc5a _pthread_body + 138
7 libsystem_pthread.dylib 0x3835cbca _pthread_start + 98
8 libsystem_pthread.dylib 0x3835accc thread_start + 4
Thread 13 name: WebCore: CFNetwork Loader
Thread 13:
0 libsystem_kernel.dylib 0x382e3a84 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x382e387c mach_msg + 36
2 CoreFoundation 0x2dccc55c __CFRunLoopServiceMachPort + 152
3 CoreFoundation 0x2dccac7c __CFRunLoopRun + 788
4 CoreFoundation 0x2dc3553c CFRunLoopRunSpecific + 520
5 CoreFoundation 0x2dc3531e CFRunLoopRunInMode + 102
6 WebCore 0x358f512a WebCore::runLoaderThread(void*) + 250
7 JavaScriptCore 0x2ec37a70 WTF::wtfThreadEntryPoint(void*) + 12
8 libsystem_pthread.dylib 0x3835cc5a _pthread_body + 138
9 libsystem_pthread.dylib 0x3835cbca _pthread_start + 98
10 libsystem_pthread.dylib 0x3835accc thread_start + 4
Thread 14:
0 libsystem_kernel.dylib 0x382f6c7c __workq_kernreturn + 8
1 libsystem_pthread.dylib 0x3835ae06 _pthread_wqthread + 306
2 libsystem_pthread.dylib 0x3835acc0 start_wqthread + 4
Thread 7 crashed with ARM Thread State (32-bit):
r0: 0x00000000 r1: 0x00000008 r2: 0x9b81ac40 r3: 0x00000021
r4: 0x00000000 r5: 0x0367daf0 r6: 0x04cf6750 r7: 0x031b4818
r8: 0x0309f040 r9: 0x00000035 r10: 0x0309f000 r11: 0x04b2d000
ip: 0x39d5d5cc sp: 0x031b477c lr: 0x35ac9de5 pc: 0x35ac9de8
cpsr: 0x00000030
`
It is particularly crashing "Thread 5 Webthread" Sometimes Thread 8
Any feedback is appreciated :)
I figured out the problem, #Jake Lin's suggestion was right it was the link. I was trying to connect to twitter and I was using the URL: http://mobile.twitter.com/account and I tried changing it to: https://mobile.twitter.com/account where I added the "s" in the http. Very strange problem but that seemed to fix it.

Stucking on crashs on device?

I've a question within my App and I don't know how to fix this, because it's the first time of developing IOS Apps for me. The App works fine on Simulator and my Iphone 3gs. But on my Ipod touch it won't work.
So my crash log shows me something like this:
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x00000000, 0x00000000
Crashed Thread: 0
Last Exception Backtrace:
0 CoreFoundation 0x312f488f __exceptionPreprocess + 163
1 libobjc.A.dylib 0x37632259 objc_exception_throw + 33
2 CoreFoundation 0x312f7a9b -[NSObject doesNotRecognizeSelector:] + 175
3 CoreFoundation 0x312f6915 ___forwarding___ + 301
4 CoreFoundation 0x31251650 _CF_forwarding_prep_0 + 48
5 CoreFoundation 0x3124e3fd -[NSObject performSelector:withObject:withObject:] + 53
6 UIKit 0x3099ae07 -[UIApplication sendAction:to:from:forEvent:] + 63
7 UIKit 0x3099adc3 -[UIApplication sendAction:toTarget:fromSender:forEvent:] + 31
8 UIKit 0x3099ada1 -[UIControl sendAction:to:forEvent:] + 45
9 UIKit 0x3099ab11 -[UIControl(Internal) _sendActionsForEvents:withEvent:] + 493
10 UIKit 0x3099b449 -[UIControl touchesEnded:withEvent:] + 477
11 UIKit 0x3099992b -[UIWindow _sendTouchesForEvent:] + 319
12 UIKit 0x30999319 -[UIWindow sendEvent:] + 381
13 UIKit 0x3097f695 -[UIApplication sendEvent:] + 357
14 UIKit 0x3097ef3b _UIApplicationHandleEvent + 5827
15 GraphicsServices 0x332c522b PurpleEventCallback + 883
16 CoreFoundation 0x312c8523 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 39
17 CoreFoundation 0x312c84c5 __CFRunLoopDoSource1 + 141
18 CoreFoundation 0x312c7313 __CFRunLoopRun + 1371
19 CoreFoundation 0x3124a4a5 CFRunLoopRunSpecific + 301
20 CoreFoundation 0x3124a36d CFRunLoopRunInMode + 105
21 GraphicsServices 0x332c4439 GSEventRunModal + 137
22 UIKit 0x309adcd5 UIApplicationMain + 1081
23 My App 0x00097045 0x95000 + 8261
24 My App 0x00096078 0x95000 + 4216
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x37f0e32c __pthread_kill + 8
1 libsystem_c.dylib 0x353d9208 pthread_kill + 48
2 libsystem_c.dylib 0x353d2298 abort + 88
3 libc++abi.dylib 0x373a1f64 abort_message + 40
4 libc++abi.dylib 0x3739f346 default_terminate() + 18
5 libobjc.A.dylib 0x37632350 _objc_terminate + 140
6 libc++abi.dylib 0x3739f3be safe_handler_caller(void (*)()) + 70
7 libc++abi.dylib 0x3739f44a std::terminate() + 14
8 libc++abi.dylib 0x373a081e __cxa_rethrow + 82
9 libobjc.A.dylib 0x376322a2 objc_exception_rethrow + 6
10 CoreFoundation 0x3124a506 CFRunLoopRunSpecific + 398
11 CoreFoundation 0x3124a366 CFRunLoopRunInMode + 98
12 GraphicsServices 0x332c4432 GSEventRunModal + 130
13 UIKit 0x309adcce UIApplicationMain + 1074
14 My App 0x0009703e 0x95000 + 8254
15 My App 0x00096070 0x95000 + 4208
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x37efe3a8 kevent + 24
1 libdispatch.dylib 0x35b18ea4 _dispatch_mgr_invoke + 708
2 libdispatch.dylib 0x35b18bc2 _dispatch_mgr_thread + 30
Thread 2 name: WebThread
Thread 2:
0 libsystem_kernel.dylib 0x37efe004 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x37efe1fa mach_msg + 50
2 CoreFoundation 0x312c83ec __CFRunLoopServiceMachPort + 120
3 CoreFoundation 0x312c7124 __CFRunLoopRun + 876
4 CoreFoundation 0x3124a49e CFRunLoopRunSpecific + 294
5 CoreFoundation 0x3124a366 CFRunLoopRunInMode + 98
6 WebCore 0x363eec9c RunWebThread(void*) + 396
7 libsystem_c.dylib 0x3539a72e _pthread_start + 314
8 libsystem_c.dylib 0x3539a5e8 thread_start + 0
Thread 3:
0 libsystem_kernel.dylib 0x37f0ecd4 __workq_kernreturn + 8
1 libsystem_c.dylib 0x35394f36 _pthread_wqthread + 610
2 libsystem_c.dylib 0x35394cc8 start_wqthread + 0
Thread 4:
0 libsystem_kernel.dylib 0x37f0ecd4 __workq_kernreturn + 8
1 libsystem_c.dylib 0x35394f36 _pthread_wqthread + 610
2 libsystem_c.dylib 0x35394cc8 start_wqthread + 0
Thread 5:
0 libsystem_kernel.dylib 0x37f0ecd4 __workq_kernreturn + 8
1 libsystem_c.dylib 0x35394f36 _pthread_wqthread + 610
2 libsystem_c.dylib 0x35394cc8 start_wqthread + 0
Thread 0 crashed with ARM Thread State:
r0: 0x00000000 r1: 0x00000000 r2: 0x00000001 r3: 0x00000000
r4: 0x00000006 r5: 0x3f22bd98 r6: 0x00000002 r7: 0x2fe93a08
r8: 0x0012eac0 r9: 0x373a2a4a r10: 0x00000000 r11: 0x0e031d60
ip: 0x00000148 sp: 0x2fe939fc lr: 0x353d920f pc: 0x37f0e32c
cpsr: 0x000f0010
And another thing is that some views are loading slowly and it mostly crashes on my Ipod touch 4g (on 3gs it works fine, 4 I don't know, 4s I don't know, 5 I don't know).
Sometimes it shows me on my crash logs the name of my app like this ^, and sometimes it shows me Process:Unknown Type:Unknown. Any suggestions what to do?
And in the Unknown one there's not a crash log it doesnt look like.
Your errors seems to have to deal with device compatibility and some people are facing the same errors like you. Take a look at this https://discussions.apple.com/thread/4317775?start=0&tstart=0

EXC_BAD_ACCESS Crash when displaying AdWhirl ad on iPhone

I am using AdWhirl in my app and got a suspicious crash mid-game.
It appears to crash in the animationDidStop:finished: function which I didn't create.
Could this be a bug in AdWhirl?
I can't find this file referenced in the log:
(MMHTMLAdView.m:123)
This is the log:
Date/Time: 2010-10-21 09:54:14.861 +0200
OS Version: iPhone OS 4.1 (8B117)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x00000015
Crashed Thread: 0
Thread 0 Crashed:
0 libobjc.A.dylib 0x000027d8 objc_msgSend + 16
1 LoopMaster Lite 0x000b7e38 -[MMHTMLAdView animationDidStop:finished:] (MMHTMLAdView.m:123)
2 QuartzCore 0x0002d8c2 run_animation_callbacks(double, void*) + 286
3 QuartzCore 0x0002d764 CA::timer_callback(__CFRunLoopTimer*, void*) + 116
4 CoreFoundation 0x000567f4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 8
5 CoreFoundation 0x000562a6 __CFRunLoopDoTimer + 854
6 CoreFoundation 0x0002779e __CFRunLoopRun + 1082
7 CoreFoundation 0x00027270 CFRunLoopRunSpecific + 224
8 CoreFoundation 0x00027178 CFRunLoopRunInMode + 52
9 GraphicsServices 0x000045ec GSEventRunModal + 108
10 GraphicsServices 0x00004698 GSEventRun + 56
11 UIKit 0x0000411c -[UIApplication _run] + 396
12 UIKit 0x00002128 UIApplicationMain + 664
13 LoopMaster Lite 0x000022b0 main (main.m:14)
14 LoopMaster Lite 0x00002280 start + 32
Thread 1:
0 libSystem.B.dylib 0x0002d330 kevent + 24
1 libSystem.B.dylib 0x000d6b6c _dispatch_mgr_invoke + 88
2 libSystem.B.dylib 0x000d65bc _dispatch_queue_invoke + 96
3 libSystem.B.dylib 0x000d675c _dispatch_worker_thread2 + 120
4 libSystem.B.dylib 0x0007a67a _pthread_wqthread + 258
5 libSystem.B.dylib 0x00073190 start_wqthread + 0
Thread 2:
0 libSystem.B.dylib 0x000791d4 __semwait_signal + 24
1 libSystem.B.dylib 0x0002e1a2 _pthread_cond_wait + 742
2 libSystem.B.dylib 0x000346c2 pthread_cond_timedwait + 30
3 WebCore 0x00057ca0 SendDelegateMessage(NSInvocation*) + 412
4 WebCore 0x00057af8 WebThreadCallDelegate + 12
5 WebKit 0x00024c54 CallFrameLoadDelegate(objc_object* (*)(objc_object*, objc_selector*, ...), WebView*, objc_selector*, objc_object*) + 292
6 WebKit 0x0000bff0 WebFrameLoaderClient::dispatchDidFinishLoad() + 108
7 WebCore 0x00080aa4 WebCore::FrameLoader::checkLoadCompleteForThisFrame() + 684
8 WebCore 0x0008078e WebCore::FrameLoader::recursiveCheckLoadComplete() + 238
9 WebCore 0x000b1632 WebCore::FrameLoader::checkLoadComplete() + 26
10 WebCore 0x000b12d0 WebCore::DocumentLoader::removeSubresourceLoader(WebCore::ResourceLoader*) + 184
11 WebCore 0x00494838 WebCore::SubresourceLoader::didFail(WebCore::ResourceError const&) + 84
12 WebCore 0x001a6106 WebCore::ResourceLoader::didFail(WebCore::ResourceHandle*, WebCore::ResourceError const&) + 30
13 WebCore 0x001a5f6c -[WebCoreResourceHandleAsDelegate connection:didFailWithError:] + 476
14 Foundation 0x0003855e -[NSURLConnectionDelegateProxy connection:didFailWithError:] + 34
15 Foundation 0x000381fe -[NSURLConnection(NSURLConnectionReallyInternal) sendDidFail:] + 130
16 Foundation 0x00038138 _NSURLConnectionDidFail + 80
17 CFNetwork 0x000999bc URLConnectionClient::_clientDidFailWithError(__CFError*, URLConnectionClient::ClientConnectionEventQueue*) + 416
18 CFNetwork 0x00004b44 URLConnectionClient::ClientConnectionEventQueue::processAllEventsAndConsumePayload(XConnectionEventInfo<XClientEvent, XClientEventParams>*, long) + 208
19 CFNetwork 0x00004dc6 URLConnectionClient::ClientConnectionEventQueue::processAllEventsAndConsumePayload(XConnectionEventInfo<XClientEvent, XClientEventParams>*, long) + 850
20 CFNetwork 0x000049c4 URLConnectionClient::processEvents() + 64
21 CFNetwork 0x00004976 URLConnection::multiplexerClientPerform(RunLoopMultiplexer*) + 30
22 CFNetwork 0x000048f4 MultiplexerSource::perform() + 120
23 CFNetwork 0x00004872 MultiplexerSource::_perform(void*) + 2
24 CoreFoundation 0x00055f1e __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 6
25 CoreFoundation 0x00027ba0 __CFRunLoopDoSources0 + 376
26 CoreFoundation 0x00027444 __CFRunLoopRun + 224
27 CoreFoundation 0x00027270 CFRunLoopRunSpecific + 224
28 CoreFoundation 0x00027178 CFRunLoopRunInMode + 52
29 WebCore 0x000024e2 RunWebThread(void*) + 362
30 libSystem.B.dylib 0x0007a27e _pthread_start + 242
31 libSystem.B.dylib 0x0006f2a8 thread_start + 0
Thread 3:
0 libSystem.B.dylib 0x00000c98 mach_msg_trap + 20
1 libSystem.B.dylib 0x00002d64 mach_msg + 44
2 CoreFoundation 0x00027c38 __CFRunLoopServiceMachPort + 88
3 CoreFoundation 0x000274c2 __CFRunLoopRun + 350
4 CoreFoundation 0x00027270 CFRunLoopRunSpecific + 224
5 CoreFoundation 0x00027178 CFRunLoopRunInMode + 52
6 Foundation 0x0002d686 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 206
7 Foundation 0x0000b222 -[NSThread main] + 38
8 Foundation 0x000042d6 __NSThread__main__ + 966
9 libSystem.B.dylib 0x0007a27e _pthread_start + 242
10 libSystem.B.dylib 0x0006f2a8 thread_start + 0
Thread 4:
0 libSystem.B.dylib 0x00025060 select$DARWIN_EXTSN + 20
1 CoreFoundation 0x0005edfc __CFSocketManager + 540
2 libSystem.B.dylib 0x0007a27e _pthread_start + 242
3 libSystem.B.dylib 0x0006f2a8 thread_start + 0
Thread 5:
0 libSystem.B.dylib 0x00000c98 mach_msg_trap + 20
1 libSystem.B.dylib 0x00002d64 mach_msg + 44
2 CoreFoundation 0x00027c38 __CFRunLoopServiceMachPort + 88
3 CoreFoundation 0x000274c2 __CFRunLoopRun + 350
4 CoreFoundation 0x00027270 CFRunLoopRunSpecific + 224
5 CoreFoundation 0x00027178 CFRunLoopRunInMode + 52
6 LoopMaster Lite 0x00048592 -[GSAsyncCommandManager gsCommandExecThreadMain:] (GSAsyncCommandManager.m:106)
7 Foundation 0x0000b222 -[NSThread main] + 38
8 Foundation 0x000042d6 __NSThread__main__ + 966
9 libSystem.B.dylib 0x0007a27e _pthread_start + 242
10 libSystem.B.dylib 0x0006f2a8 thread_start + 0
Thread 6:
0 libSystem.B.dylib 0x00000c98 mach_msg_trap + 20
1 libSystem.B.dylib 0x00002d64 mach_msg + 44
2 CoreFoundation 0x00027c38 __CFRunLoopServiceMachPort + 88
3 CoreFoundation 0x000274c2 __CFRunLoopRun + 350
4 CoreFoundation 0x00027270 CFRunLoopRunSpecific + 224
5 CoreFoundation 0x00027178 CFRunLoopRunInMode + 52
6 LoopMaster Lite 0x00048592 -[GSAsyncCommandManager gsCommandExecThreadMain:] (GSAsyncCommandManager.m:106)
7 Foundation 0x0000b222 -[NSThread main] + 38
8 Foundation 0x000042d6 __NSThread__main__ + 966
9 libSystem.B.dylib 0x0007a27e _pthread_start + 242
10 libSystem.B.dylib 0x0006f2a8 thread_start + 0
Thread 7:
0 libSystem.B.dylib 0x0002d330 kevent + 24
1 libSystem.B.dylib 0x000b551e _mdns_query_mDNSResponder + 526
2 libSystem.B.dylib 0x000b5be8 _mdns_search + 996
3 libSystem.B.dylib 0x000b68bc _mdns_addrinfo + 344
4 libSystem.B.dylib 0x000b69d6 search_addrinfo + 74
5 libSystem.B.dylib 0x0002bdc8 si_addrinfo + 928
6 libSystem.B.dylib 0x0002ba16 si_list_call + 138
7 libSystem.B.dylib 0x0002b90e si_async_launchpad + 70
8 libSystem.B.dylib 0x0007a27e _pthread_start + 242
9 libSystem.B.dylib 0x0006f2a8 thread_start + 0
Thread 8:
0 libSystem.B.dylib 0x0002d330 kevent + 24
1 libSystem.B.dylib 0x000b551e _mdns_query_mDNSResponder + 526
2 libSystem.B.dylib 0x000b5be8 _mdns_search + 996
3 libSystem.B.dylib 0x000b68bc _mdns_addrinfo + 344
4 libSystem.B.dylib 0x000b69d6 search_addrinfo + 74
5 libSystem.B.dylib 0x0002bdc8 si_addrinfo + 928
6 libSystem.B.dylib 0x0002ba16 si_list_call + 138
7 libSystem.B.dylib 0x0002b90e si_async_launchpad + 70
8 libSystem.B.dylib 0x0007a27e _pthread_start + 242
9 libSystem.B.dylib 0x0006f2a8 thread_start + 0
Thread 9:
0 libSystem.B.dylib 0x0002d330 kevent + 24
1 libSystem.B.dylib 0x000b551e _mdns_query_mDNSResponder + 526
2 libSystem.B.dylib 0x000b5be8 _mdns_search + 996
3 libSystem.B.dylib 0x000b68bc _mdns_addrinfo + 344
4 libSystem.B.dylib 0x000b69d6 search_addrinfo + 74
5 libSystem.B.dylib 0x0002bdc8 si_addrinfo + 928
6 libSystem.B.dylib 0x0002ba16 si_list_call + 138
7 libSystem.B.dylib 0x0002b90e si_async_launchpad + 70
8 libSystem.B.dylib 0x0007a27e _pthread_start + 242
9 libSystem.B.dylib 0x0006f2a8 thread_start + 0
Thread 10:
0 libSystem.B.dylib 0x0002d330 kevent + 24
1 libSystem.B.dylib 0x000b551e _mdns_query_mDNSResponder + 526
2 libSystem.B.dylib 0x000b5b24 _mdns_search + 800
3 libSystem.B.dylib 0x000b68bc _mdns_addrinfo + 344
4 libSystem.B.dylib 0x000b69d6 search_addrinfo + 74
5 libSystem.B.dylib 0x0002bdc8 si_addrinfo + 928
6 libSystem.B.dylib 0x0002ba16 si_list_call + 138
7 libSystem.B.dylib 0x0002b90e si_async_launchpad + 70
8 libSystem.B.dylib 0x0007a27e _pthread_start + 242
9 libSystem.B.dylib 0x0006f2a8 thread_start + 0
Thread 11:
0 libSystem.B.dylib 0x0007b19c __workq_kernreturn + 8
1 libSystem.B.dylib 0x0007a790 _pthread_wqthread + 536
2 libSystem.B.dylib 0x00073190 start_wqthread + 0
Thread 0 crashed with ARM Thread State:
r0: 0x0987c1a0 r1: 0x000ce940 r2: 0x09897d10 r3: 0x0000002c
r4: 0x0000000d r5: 0x00000001 r6: 0x0030a490 r7: 0x2fffeac8
r8: 0x0030a550 r9: 0x00000000 r10: 0x098891a0 r11: 0x00000000
ip: 0x000b9f21 sp: 0x2fffeab4 lr: 0x000b7e3f pc: 0x3002d7d8
cpsr: 0x200f0030
I also had many problems with AdWhirl. My last version was ok, the Millennial ad was displayed fine but did not work well when transitioning to iAd. When I tried to make a new version then whenever a new Millennial ad is received the app crashes. After struggling for a while I dumped AdWhirl and wrote my own interface to put a couple of ad networks together and it works without a hitch. So the problem is in the Adwhirl api, not the ad network API.
Not the answer I was looking for, but decided to dump AdWhirl in favor of AdMob.
All the roads to errors were going through uncharted AdWhirl territory so decided to let them figure it out...