I am trying to identify the cause of a crash (iOS app), but the symbolicated crash report only points to my main method.
8 WxT 0x00002730 main (main.m:14)
9 WxT 0x000026e8 start + 32
Is there anything here that could help me track down the issue, or is this as useless as it appears to me? What does the "start + 32" tell me?
N.B. my app is WxT, and it only referenced a few times in the report. I've highlighted each occurence with a double asterisk (**).
Incident Identifier: 3A6D2AD3-0E9C-41B6-9EA6-4F05EF72B4E0
CrashReporter Key: 2b1b03e6298d7d5bebcb681de363022e7b319df1
Hardware Model: iPad3,2
**Process: WxT [3214]**
**Path: /var/mobile/Applications/613A46E1-5CDC-4A1F-85C5-8D29ACDA289C/WxT.app/WxT**
**Identifier: WxT**
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2012-05-23 15:21:02.300 -0500
OS Version: iPhone OS 5.1.1 (9B206)
Report Version: 104
Exception Type: 00000020
Exception Codes: 0x8badf00d
Highlighted Thread: 3
Application Specific Information:
**WxT[3214] has active assertions beyond permitted time:**
{(
**<SBProcessAssertion: 0x14005c20> identifier: Suspending process: WxT[3214] permittedBackgroundDuration: 10.000000 reason: suspend owner pid:23 preventSuspend preventThrottleDownCPU preventThrottleDownUI**
)}
Elapsed total CPU time (seconds): -4288.787 (user -4288.787, system 0.000), 100% CPU
Elapsed application CPU time (seconds): 0.061, 0% CPU
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 libsystem_kernel.dylib 0x35f83004 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x35f831fa mach_msg + 50
2 CoreFoundation 0x30b843ec __CFRunLoopServiceMachPort + 120
3 CoreFoundation 0x30b830ea __CFRunLoopRun + 818
4 CoreFoundation 0x30b0649e CFRunLoopRunSpecific + 294
5 CoreFoundation 0x30b06366 CFRunLoopRunInMode + 98
6 GraphicsServices 0x36eca432 GSEventRunModal + 130
7 UIKit 0x327e6cce UIApplicationMain + 1074
**8 WxT 0x00002730 main (main.m:14)**
**9 WxT 0x000026e8 start + 32**
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x35f833a8 kevent + 24
1 libdispatch.dylib 0x355f5f04 _dispatch_mgr_invoke + 708
2 libdispatch.dylib 0x355f5c22 _dispatch_mgr_thread + 30
Thread 2 name: WebThread
Thread 2:
0 libsystem_kernel.dylib 0x35f83004 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x35f831fa mach_msg + 50
2 CoreFoundation 0x30b843ec __CFRunLoopServiceMachPort + 120
3 CoreFoundation 0x30b83124 __CFRunLoopRun + 876
4 CoreFoundation 0x30b0649e CFRunLoopRunSpecific + 294
5 CoreFoundation 0x30b06366 CFRunLoopRunInMode + 98
6 WebCore 0x36523c9c _ZL12RunWebThreadPv + 396
7 libsystem_c.dylib 0x33bf472e _pthread_start + 314
8 libsystem_c.dylib 0x33bf45e8 thread_start + 0
Thread 3 name: com.apple.NSURLConnectionLoader
Thread 3:
0 libsystem_kernel.dylib 0x35f83004 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x35f831fa mach_msg + 50
2 CoreFoundation 0x30b843ec __CFRunLoopServiceMachPort + 120
3 CoreFoundation 0x30b83124 __CFRunLoopRun + 876
4 CoreFoundation 0x30b0649e CFRunLoopRunSpecific + 294
5 CoreFoundation 0x30b06366 CFRunLoopRunInMode + 98
6 Foundation 0x35a3dbb2 +[NSURLConnection(Loader) _resourceLoadLoop:] + 302
7 Foundation 0x35a3da7a -[NSThread main] + 66
8 Foundation 0x35ad158a __NSThread__main__ + 1042
9 libsystem_c.dylib 0x33bf472e _pthread_start + 314
10 libsystem_c.dylib 0x33bf45e8 thread_start + 0
Thread 4 name: com.apple.CFSocket.private
Thread 4:
0 libsystem_kernel.dylib 0x35f93570 __select + 20
1 CoreFoundation 0x30b8863a __CFSocketManager + 726
2 libsystem_c.dylib 0x33bf472e _pthread_start + 314
3 libsystem_c.dylib 0x33bf45e8 thread_start + 0
Thread 5 name: WebCore: CFNetwork Loader
Thread 5:
0 libsystem_kernel.dylib 0x35f83004 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x35f831fa mach_msg + 50
2 CoreFoundation 0x30b843ec __CFRunLoopServiceMachPort + 120
3 CoreFoundation 0x30b83124 __CFRunLoopRun + 876
4 CoreFoundation 0x30b0649e CFRunLoopRunSpecific + 294
5 CoreFoundation 0x30b06366 CFRunLoopRunInMode + 98
6 WebCore 0x3654d0d2 _ZN7WebCoreL15runLoaderThreadEPv + 122
7 libsystem_c.dylib 0x33bf472e _pthread_start + 314
8 libsystem_c.dylib 0x33bf45e8 thread_start + 0
Unknown thread crashed with unknown flavor: 5, state_count: 1
Binary Images:
**0x1000 - 0x2afff +WxT armv7 <d34067e47ac73d7390a27c79ab5582b3> /var/mobile/Applications/613A46E1-5CDC-4A1F-85C5-8D29ACDA289C/WxT.app/WxT**
0x2fee1000 - 0x2ff02fff dyld armv7 <77eddfd654df393ba9c95ff01715fd08> /usr/lib/dyld
It looks like:
Application Specific Information:
**WxT[3214] has active assertions beyond permitted time:**
{(
**<SBProcessAssertion: 0x14005c20> identifier: Suspending process: WxT[3214] permittedBackgroundDuration: 10.000000 reason: suspend owner pid:23 preventSuspend preventThrottleDownCPU preventThrottleDownUI**
)}
the system is trying to move your app to background, and your URL connection (thread.3) is preventing that from happening.
The error message states you tried to run for more than 10 minutes while in the background. By default, iOS apps must stop all processing within 10 minutes upon being put in the background.
Related
Incident Identifier: 64E7437E-C37F-425C-8582-18A14C43F95A
CrashReporter Key: b90a1226375d6bce87d7c4fc6288d7951058aec4
Hardware Model: iPad2,1
Process: LolMess [428]
Path: /private/var/mobile/Containers/Bundle/Application/B1A322EE-F140-49CB-B1D2-84601F0BE962/LolMess.app/LolMess
Identifier: com.mobulous.LolMess
Version: 1 (1.0)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2016-03-14 17:55:49.49 +0530
Launch Time: 2016-03-14 17:42:36.36 +0530
OS Version: iOS 9.2.1 (13D15)
Report Version: 104
**Exception Type: EXC_BAD_ACCESS (SIGSEGV)**
Exception Subtype: KERN_INVALID_ADDRESS at 0x0002c9f0
Triggered by Thread: 24
Filtered syslog:
None found
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 libsystem_kernel.dylib 0x245c0c24 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x245c0a28 mach_msg + 40
2 CoreFoundation 0x24903354 __CFRunLoopServiceMachPort + 136
3 CoreFoundation 0x249016dc __CFRunLoopRun + 1036
4 CoreFoundation 0x24854bf8 CFRunLoopRunSpecific + 520
5 CoreFoundation 0x248549e4 CFRunLoopRunInMode + 108
6 GraphicsServices 0x25aa0ac8 GSEventRunModal + 160
7 UIKit 0x28ae4ba0 UIApplicationMain + 144
8 LolMess 0x002171d0 main (main.m:15)
9 libdyld.dylib 0x24503872 start + 2
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x245d6320 kevent_qos + 24
1 libdispatch.dylib 0x244ce098 _dispatch_mgr_invoke + 256
2 libdispatch.dylib 0x244cddf6 _dispatch_mgr_thread$VARIANT$mp + 38
Thread 22:
0 libsystem_kernel.dylib 0x245c0c74 semaphore_wait_trap + 8
1 LolMess 0x0078ea9e thread_encoding_proc + 510
2 libsystem_pthread.dylib 0x2467985a _pthread_body + 138
3 libsystem_pthread.dylib 0x246797ce _pthread_start + 110
4 libsystem_pthread.dylib 0x24677724 thread_start + 8
Thread 23:
0 libsystem_kernel.dylib 0x245c0c74 semaphore_wait_trap + 8
1 LolMess 0x0078efda thread_loopfilter + 54
2 libsystem_pthread.dylib 0x2467985a _pthread_body + 138
3 libsystem_pthread.dylib 0x246797ce _pthread_start + 110
4 libsystem_pthread.dylib 0x24677724 thread_start + 8
Thread 24 Crashed:
0 LolMess 0x00781380 vp8_copy_mem16x16_neon + 16
1 LolMess 0x0077f828 vp8_build_inter16x16_predictors_mb + 188
2 LolMess 0x0077fa76 vp8_build_inter_predictors_mb + 414
3 LolMess 0x007a9f00 vp8_decode_frame + 11088
4 LolMess 0x007ab088 vp8dx_receive_compressed_data + 276
5 LolMess 0x007a537e vp8_decode + 1114
6 LolMess 0x007776ae vpx_codec_decode + 62
7 LolMess 0x007363ca -[VPXDecoder decode:rawOutFrame:inFrameSize:frameInfo:] (VPXDecoder.m:105)
8 LolMess 0x006f93ea -[RTPVideoHandler getDecodedVideoFrame:frameInfo:forStream:withOptions:] (RTPVideoHandler.m:1145)
9 LolMess 0x006f95ba -[RTPVideoHandler getDecodedVideoFrame:] (RTPVideoHandler.m:1184)
10 LolMess 0x00603b20 -[SCVideoCallController run:] (SCVideoCallController.m:896)
11 Foundation 0x25159164 __NSThread__start__ + 1148
12 libsystem_pthread.dylib 0x2467985a _pthread_body + 138
13 libsystem_pthread.dylib 0x246797ce _pthread_start + 110
14 libsystem_pthread.dylib 0x24677724 thread_start + 8
Error Formulating Crash Report:
Failed while requesting activity/breadcrumb diagnostics
Using C2callSdk in app
Looks like you are trying to access a object already released from memory.
Check it by Enabling NSZombie objects, that will make compiler to stop at the line which causing crash.
Firstly, the desymbolicated crash log is at the bottom. I cannot post all the content out of privacy reason. However the first 3 threads log is enough I thought, if you really want that please leave a message.
And here is the thing, depending on this article Understanding iOS Exception Types | 5Neo.Be5Neo.Be, the mach exception type -- EXC_CRASH -- is not usual following with the C signal SIGSEGV (which means access an address you don't own).
So I want to know what reason or when will EXC_CRASH (SIGSEGV) appear?
Second question is if this crash is actually trigger by Thread 0 as the log said. And if it's ture, then what does
"__NSThreadPerformPerform"
and
"__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__"
means?
What action is system doing? By the way, __NSThreadPerformPerform will appear when App call "performSelector:" method according to this answer -- iphone - SIGABRT crash on CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION - Stack Overflow.
Thanks.
-- Crash log is here: --
{"name":"XXXApp","bug_type":"109","os_version":"iPhone OS 7.1.1 (11D201)","bundleID":"com.xxx","version":"6.7.1.0 (6.7.1)","app_name":"XXXApp"}
Incident Identifier: EC2DC883-C0DB-4FD6-81FB-237626598366
CrashReporter Key: d5c091bc35732df06fcaf41e5786833159b04ea5
Hardware Model: iPhone5,2
Process: XXXApp [1912]
Path: /var/mobile/Applications/4E3E131C-5847-4B61-A0E0-D350830C1693/BaiduBoxApp.app/XXXApp
Identifier: com.xxx
Version: 6.7.1.0 (6.7.1)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2015-08-28 00:37:32.658 +0800
OS Version: iOS 7.1.1 (11D201)
Report Version: 104
Exception Type: EXC_CRASH (SIGSEGV)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Triggered by Thread: 0
Thread 0 Crashed:
0 libsystem_kernel.dylib 0x39c636d8 __kill + 8
1 Foundation 0x2f901c1e __NSThreadPerformPerform + 382
2 CoreFoundation 0x2eee3fec __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 12
3 CoreFoundation 0x2eee34b2 __CFRunLoopDoSources0 + 202
4 CoreFoundation 0x2eee1ca2 __CFRunLoopRun + 626
5 CoreFoundation 0x2ee4c764 CFRunLoopRunSpecific + 520
6 CoreFoundation 0x2ee4c546 CFRunLoopRunInMode + 102
7 GraphicsServices 0x33db96ce GSEventRunModal + 134
8 UIKit 0x317ab88c UIApplicationMain + 1132
9 BaiduBoxApp 0x0006d13e main (main.m:17)
10 libdyld.dylib 0x39badab4 start + 0
Thread 1:
0 libsystem_kernel.dylib 0x39c51804 kevent64 + 24
1 libdispatch.dylib 0x39ba0050 _dispatch_mgr_invoke + 228
2 libdispatch.dylib 0x39b9a2de _dispatch_mgr_thread + 34
Thread 2 name: com.apple.NSURLConnectionLoader
Thread 2:
0 libsystem_kernel.dylib 0x39c51a50 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x39c51848 mach_msg + 36
2 CoreFoundation 0x2eee3624 __CFRunLoopServiceMachPort + 152
3 CoreFoundation 0x2eee1d44 __CFRunLoopRun + 788
4 CoreFoundation 0x2ee4c764 CFRunLoopRunSpecific + 520
5 CoreFoundation 0x2ee4c546 CFRunLoopRunInMode + 102
6 Foundation 0x2f88c23c +[NSURLConnection(Loader) _resourceLoadLoop:] + 316
7 Foundation 0x2f901a0a __NSThread__main__ + 1058
8 libsystem_pthread.dylib 0x39ccb956 _pthread_body + 138
9 libsystem_pthread.dylib 0x39ccb8c6 _pthread_start + 98
10 libsystem_pthread.dylib 0x39cc9ae4 thread_start + 4
Thread 3 name: com.apple.CFSocket.private
Thread 3:
0 libsystem_kernel.dylib 0x39c64434 __select + 20
1 CoreFoundation 0x2eee751e __CFSocketManager + 482
2 libsystem_pthread.dylib 0x39ccb956 _pthread_body + 138
3 libsystem_pthread.dylib 0x39ccb8c6 _pthread_start + 98
4 libsystem_pthread.dylib 0x39cc9ae4 thread_start + 4
...
My APP is working good in (ipad 6.1 Simulator,ipad 6.0 Simulator and ipad 5.1 Simulator).
But after installed in my ipad, it's not work any more.
I use the Organizer-Dervices to debug the error, and get the error messages:
Console:
Jul 31 21:55:27 Sandy ReportCrash[937] : Formulating crash report for process BenefitPad[781]
Jul 31 21:55:27 Sandy ReportCrash[937] : libMobileGestalt copySystemVersionDictionaryValue: Could not lookup ReleaseType from system version dictionary
Dervice Logs:
Incident Identifier: F6306353-BEF8-4626-8FA1-17F8C829AEE4
CrashReporter Key: 1a786173c1c72ae5d44172b3d641feee8e91a4af
Hardware Model: iPad3,3
Process: BenefitPad [778]
Path: /var/mobile/Applications/D733430C-510D-4D2A-9D88-6361A6074485/BenefitPad.app/BenefitPad
Identifier: BenefitPad
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2013-07-31 19:46:51.989 +0800
OS Version: iOS 6.1.3 (10B329)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x75417466
Crashed Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libobjc.A.dylib 0x3935c52c objc_retain + 12
1 BenefitPad 0x001571fe 0xe8000 + 455166
2 CoreFoundation 0x3140c034 _CFXNotificationPost + 1424
3 Foundation 0x31d22594 -[NSNotificationCenter postNotificationName:object:userInfo:] + 68
4 Foundation 0x31d26056 -[NSNotificationCenter postNotificationName:object:] + 26
5 BenefitPad 0x0010cc12 0xe8000 + 150546
6 BenefitPad 0x000fe2da 0xe8000 + 90842
7 BenefitPad 0x00134cd8 0xe8000 + 314584
8 BenefitPad 0x00135d02 0xe8000 + 318722
9 libdispatch.dylib 0x3977711c _dispatch_call_block_and_release + 8
10 libdispatch.dylib 0x397764b4 _dispatch_client_callout + 20
11 libdispatch.dylib 0x3977b1b8 _dispatch_main_queue_callback_4CF$VARIANT$mp + 220
12 CoreFoundation 0x3148ef36 __CFRunLoopRun + 1286
13 CoreFoundation 0x31401eb8 CFRunLoopRunSpecific + 352
14 CoreFoundation 0x31401d44 CFRunLoopRunInMode + 100
15 GraphicsServices 0x34fb62e6 GSEventRunModal + 70
16 UIKit 0x333172fc UIApplicationMain + 1116
17 BenefitPad 0x000fd92c 0xe8000 + 88364
18 BenefitPad 0x000e9aec 0xe8000 + 6892
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x3984d648 kevent64 + 24
1 libdispatch.dylib 0x3977d974 _dispatch_mgr_invoke + 792
2 libdispatch.dylib 0x3977d654 _dispatch_mgr_thread$VARIANT$mp + 32
Thread 2 name: WebThread
Thread 2:
0 libsystem_kernel.dylib 0x3984ceb4 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3984d048 mach_msg + 36
2 CoreFoundation 0x31490040 __CFRunLoopServiceMachPort + 124
3 CoreFoundation 0x3148ed9e __CFRunLoopRun + 878
4 CoreFoundation 0x31401eb8 CFRunLoopRunSpecific + 352
5 CoreFoundation 0x31401d44 CFRunLoopRunInMode + 100
6 WebCore 0x373f1500 _ZL12RunWebThreadPv + 440
7 libsystem_c.dylib 0x397b630e _pthread_start + 306
8 libsystem_c.dylib 0x397b61d4 thread_start + 4
Thread 3:
0 libsystem_kernel.dylib 0x3985dd98 __workq_kernreturn + 8
1 libsystem_c.dylib 0x397abcf6 _pthread_workq_return + 14
2 libsystem_c.dylib 0x397aba12 _pthread_wqthread + 362
3 libsystem_c.dylib 0x397ab8a0 start_wqthread + 4
Thread 4:
0 libsystem_kernel.dylib 0x3985dd98 __workq_kernreturn + 8
1 libsystem_c.dylib 0x397abcf6 _pthread_workq_return + 14
2 libsystem_c.dylib 0x397aba12 _pthread_wqthread + 362
3 libsystem_c.dylib 0x397ab8a0 start_wqthread + 4
And the error is likely occurred in the method(File: AFHTTPClient.m Line:309):
static void AFNetworkReachabilityCallback(SCNetworkReachabilityRef __unused target, SCNetworkReachabilityFlags flags, void *info) {
AFNetworkReachabilityStatus status = AFNetworkReachabilityStatusForFlags(flags);
AFNetworkReachabilityStatusBlock block = (__bridge AFNetworkReachabilityStatusBlock)info;
if (block) {
block(status);
}
dispatch_async(dispatch_get_main_queue(), ^{
NSNotificationCenter *notificationCenter = [NSNotificationCenter defaultCenter];
[notificationCenter postNotificationName:AFNetworkingReachabilityDidChangeNotification object:nil userInfo:[NSDictionary dictionaryWithObject:[NSNumber numberWithInteger:status] forKey:AFNetworkingReachabilityNotificationStatusItem]];
});
}
Thanks for your help.
I have fixed this.
The reason is as a property of 'NSDecimalNumber', after I change the propery from 'NSDecimalNumber' to 'NSString', it's work well.
This issue is nothing about 'AFNetworking'.
I am facing issue with the private apis used in my application.So,I found that App Scanner application is a good tool for scanning those kind of issues.So i have installed it from here .When trying to test my application it crashes giving me following crash report.
Process: App Scanner [1951]
Path: /Users/USER/Downloads/*/App Scanner.app/Contents/MacOS/App Scanner
Identifier: com.chimpstudios.appscanner
Version: 1.4 (1.4.1)
Code Type: X86-64 (Native)
Parent Process: launchd [137]
Date/Time: 2013-06-18 12:28:57.620 +0530
OS Version: Mac OS X 10.7.5 (11G63)
Report Version: 9
Interval Since Last Report: 571103 sec
Crashes Since Last Report: 13
Per-App Interval Since Last Report: 938 sec
Per-App Crashes Since Last Report: 7
Anonymous UUID: EC833868-1E25-4F4F-BC83-52C9B937E8A7
Crashed Thread: 8
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
objc[1951]: garbage collection is OFF
*** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSConcreteData subdataWithRange:]: range {1651465984, 1633641322} exceeds data length 4295932'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff92809f56 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff96085d5e objc_exception_throw + 43
2 CoreFoundation 0x00007fff92809d8a +[NSException raise:format:arguments:] + 106
3 CoreFoundation 0x00007fff92809d14 +[NSException raise:format:] + 116
4 Foundation 0x00007fff946b9a4b -[NSData(NSData) subdataWithRange:] + 291
5 App Scanner 0x000000010000376c App Scanner + 14188
6 Foundation 0x00007fff9470a72a -[NSThread main] + 68
7 Foundation 0x00007fff9470a6a2 __NSThread__main__ + 1575
8 libsystem_c.dylib 0x00007fff984308bf _pthread_start + 335
9 libsystem_c.dylib 0x00007fff98433b75 thread_start + 13
)
terminate called throwing an exception
abort() called
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff9854667a mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff98545d71 mach_msg + 73
2 com.apple.CoreFoundation 0x00007fff9279650c __CFRunLoopServiceMachPort + 188
3 com.apple.CoreFoundation 0x00007fff9279ec74 __CFRunLoopRun + 1204
4 com.apple.CoreFoundation 0x00007fff9279e486 CFRunLoopRunSpecific + 230
5 com.apple.HIToolbox 0x00007fff965892bf RunCurrentEventLoopInMode + 277
6 com.apple.HIToolbox 0x00007fff9659056d ReceiveNextEventCommon + 355
7 com.apple.HIToolbox 0x00007fff965903fa BlockUntilNextEventMatchingListInMode + 62
8 com.apple.AppKit 0x00007fff992a1779 _DPSNextEvent + 659
9 com.apple.AppKit 0x00007fff992a107d -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
10 com.apple.AppKit 0x00007fff9929d9b9 -[NSApplication run] + 470
11 com.apple.AppKit 0x00007fff99519eac NSApplicationMain + 867
12 com.chimpstudios.appscanner 0x0000000100001074 0x100000000 + 4212
Thread 1:: Dispatch queue: com.apple.libdispatch-manager
0 libsystem_kernel.dylib 0x00007fff985487e6 kevent + 10
1 libdispatch.dylib 0x00007fff92724786 _dispatch_mgr_invoke + 923
2 libdispatch.dylib 0x00007fff92723316 _dispatch_mgr_thread + 54
Thread 2:: WebCore: LocalStorage
0 libsystem_kernel.dylib 0x00007fff98547bca __psynch_cvwait + 10
1 libsystem_c.dylib 0x00007fff98434274 _pthread_cond_wait + 840
2 com.apple.JavaScriptCore 0x00007fff93546a60 WTF::ThreadCondition::timedWait(WTF::Mutex&, double) + 64
3 com.apple.WebCore 0x00007fff8efcdf9a WTF::MessageQueue<WebCore::LocalStorageTask>::waitForMessage() + 132
4 com.apple.WebCore 0x00007fff8efcdef3 WebCore::LocalStorageThread::threadEntryPoint() + 99
5 com.apple.WebCore 0x00007fff8efcde3b WebCore::LocalStorageThread::threadEntryPointCallback(void*) + 9
6 libsystem_c.dylib 0x00007fff984308bf _pthread_start + 335
7 libsystem_c.dylib 0x00007fff98433b75 thread_start + 13
Can anybody let me know what's the issue as it is not crashing in any of the device nor in the simulator?
my app runs fine on development mode, but for some reason on ad hoc i get a crash right after loading screen.
I really can't understand what could be wrong, any tips on how to test it better?
Apple rejected it with this message:
We found that your app failed to launch on an iPhone 5 and iPad 3rd gen running iOS 6.1.3, on both Wi-Fi and cellular networks.
We encountered the issue when selecting the application on the Home screen - the app displayed a launch image then quit unexpectedly. This may be because iOS 6 uses a watchdog timer for applications; if an application takes too long to complete its initial startup, the operating system terminates the application.
For information about the watchdog timer, please see Technical Q&A: Application does not crash when launched from debugger but crashes when launched by user..
Another possibility could be a missing entitlement. For more information, please see the Technical Note: Resolving "0x800003A", applications not launching and "missing entitlement".For discrete code-level questions, you may wish to consult with Apple Developer Technical Support. Please be sure to:
include the complete details of your rejection issues
prepare any symbolicated crash logs, screenshots, and steps to reproduce the issues for when the DTS engineer follows up.
For information on how to symbolicate and read a crash log, please see Tech Note TN2151 Understanding and Analyzing iPhone OS Application Crash Reports.
If you have difficulty reproducing this issue, please try testing the workflow as described in https://developer.apple.com/library/ios/qa/qa1764/Testing Workflow with Xcode's Archive feature".
log:
Incident Identifier: 594EE41B-0B8D-419A-B9B8-84CB58D1C174
CrashReporter Key: bb741ef3c315eb6c114b0de36494c7de51511d89
Hardware Model: iPhone5,2
Process: tictactoe [85964]
Path: /var/mobile/Applications/F042F618-9077-4862-8938-ABADDC05E8B1/tictactoe.app/tictactoe
Identifier: tictactoe
Version: ??? (???)
Code Type: ARM (Native)
Parent Process: launchd [1]
Date/Time: 2013-04-17 11:11:02.661 +0100
OS Version: iOS 6.1.2 (10B146)
Report Version: 104
Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: EXC_ARM_DA_ALIGN at 0x20b8f671
Crashed Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 tictactoe 0x00073708 -[CCBReader readFloat] (CCBReader.m:201)
1 tictactoe 0x00075972 -[CCBReader readSequences] (CCBReader.m:959)
2 tictactoe 0x00075bf8 -[CCBReader readFileWithCleanUp:actionManagers:] (CCBReader.m:1020)
3 tictactoe 0x00075e9c +[CCBReader nodeGraphFromData:owner:parentSize:] (CCBReader.m:1061)
4 tictactoe 0x0007605e +[CCBReader nodeGraphFromFile:owner:parentSize:] (CCBReader.m:1090)
5 tictactoe 0x00076122 +[CCBReader sceneWithNodeGraphFromFile:owner:parentSize:] (CCBReader.m:1105)
6 tictactoe 0x000760f2 +[CCBReader sceneWithNodeGraphFromFile:owner:] (CCBReader.m:1100)
7 tictactoe 0x000711f8 -[AppController application:didFinishLaunchingWithOptions:] (AppDelegate.m:85)
8 UIKit 0x34957a9c -[UIApplication _handleDelegateCallbacksWithOptions:isSuspended:restoreState:] + 248
9 UIKit 0x34957620 -[UIApplication _callInitializationDelegatesForURL:payload:suspended:] + 1164
10 UIKit 0x3494f82e -[UIApplication _runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 694
11 UIKit 0x348f7d1a -[UIApplication handleEvent:withNewEvent:] + 1006
12 UIKit 0x348f77a8 -[UIApplication sendEvent:] + 68
13 UIKit 0x348f71ea _UIApplicationHandleEvent + 6194
14 GraphicsServices 0x3660e5f4 _PurpleEventCallback + 588
15 GraphicsServices 0x3660e222 PurpleEventCallback + 30
16 CoreFoundation 0x32abd3e4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 32
17 CoreFoundation 0x32abd386 __CFRunLoopDoSource1 + 134
18 CoreFoundation 0x32abc20a __CFRunLoopRun + 1378
19 CoreFoundation 0x32a2f238 CFRunLoopRunSpecific + 352
20 CoreFoundation 0x32a2f0c4 CFRunLoopRunInMode + 100
21 UIKit 0x3494e468 -[UIApplication _run] + 664
22 UIKit 0x3494b2b4 UIApplicationMain + 1116
23 tictactoe 0x00070e1a main (main.m:14)
24 libdyld.dylib 0x3ac06b1c start + 0
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1:
0 libsystem_kernel.dylib 0x3acbd5d0 kevent64 + 24
1 libdispatch.dylib 0x3abf8d22 _dispatch_mgr_invoke + 806
2 libdispatch.dylib 0x3abf4374 _dispatch_mgr_thread + 32
Thread 2:
0 libsystem_kernel.dylib 0x3accdd98 __workq_kernreturn + 8
1 libsystem_c.dylib 0x3ac1bad6 _pthread_workq_return + 14
2 libsystem_c.dylib 0x3ac1b7f2 _pthread_wqthread + 362
3 libsystem_c.dylib 0x3ac1b680 start_wqthread + 4
Thread 3:
0 libsystem_kernel.dylib 0x3accdd98 __workq_kernreturn + 8
1 libsystem_c.dylib 0x3ac1bad6 _pthread_workq_return + 14
2 libsystem_c.dylib 0x3ac1b7f2 _pthread_wqthread + 362
3 libsystem_c.dylib 0x3ac1b680 start_wqthread + 4
Thread 4 name: WebThread
Thread 4:
0 libsystem_kernel.dylib 0x3acbce30 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3acbcfd0 mach_msg + 48
2 CoreFoundation 0x32abd2b6 __CFRunLoopServiceMachPort + 126
3 CoreFoundation 0x32abc02c __CFRunLoopRun + 900
4 CoreFoundation 0x32a2f238 CFRunLoopRunSpecific + 352
5 CoreFoundation 0x32a2f0c4 CFRunLoopRunInMode + 100
6 WebCore 0x38a2e390 RunWebThread(void*) + 440
7 libsystem_c.dylib 0x3ac260de _pthread_start + 306
8 libsystem_c.dylib 0x3ac25fa4 thread_start + 4
Thread 5:
0 libsystem_kernel.dylib 0x3accdd98 __workq_kernreturn + 8
1 libsystem_c.dylib 0x3ac1bad6 _pthread_workq_return + 14
2 libsystem_c.dylib 0x3ac1b7f2 _pthread_wqthread + 362
3 libsystem_c.dylib 0x3ac1b680 start_wqthread + 4
Thread 6 name: com.apple.NSURLConnectionLoader
Thread 6:
0 libsystem_kernel.dylib 0x3acbce30 mach_msg_trap + 20
1 libsystem_kernel.dylib 0x3acbcfd0 mach_msg + 48
2 CoreFoundation 0x32abd2b6 __CFRunLoopServiceMachPort + 126
3 CoreFoundation 0x32abc02c __CFRunLoopRun + 900
4 CoreFoundation 0x32a2f238 CFRunLoopRunSpecific + 352
5 CoreFoundation 0x32a2f0c4 CFRunLoopRunInMode + 100
6 Foundation 0x3337c888 +[NSURLConnection(Loader) _resourceLoadLoop:] + 304
7 Foundation 0x3340022c __NSThread__main__ + 968
8 libsystem_c.dylib 0x3ac260de _pthread_start + 306
9 libsystem_c.dylib 0x3ac25fa4 thread_start + 4
Thread 7:
0 libsystem_kernel.dylib 0x3accdd98 __workq_kernreturn + 8
1 libsystem_c.dylib 0x3ac1bad6 _pthread_workq_return + 14
2 libsystem_c.dylib 0x3ac1b7f2 _pthread_wqthread + 362
3 libsystem_c.dylib 0x3ac1b680 start_wqthread + 4
Thread 0 crashed with ARM Thread State (32-bit):
r0: 0x0000000c r1: 0x00000275 r2: 0x20b8f671 r3: 0x00000271
r4: 0x1f570000 r5: 0x000eafc5 r6: 0x00000001 r7: 0x2fddd618
r8: 0x3859ca59 r9: 0x00000003 r10: 0x3859cbdc r11: 0x1f579bb0
ip: 0x00073495 sp: 0x2fddd614 lr: 0x000736e5 pc: 0x00073708
cpsr: 0x00000030
.......