我最近經常碰到這個崩潰,設備iPhone 5s,SDk:9.1 我似乎無法重現此錯誤。日誌取自第三方墜毀記者(Testfairy)。如何理解這個崩潰報告? SIGSEGV
這很煩人,我想不出什麼原因引起的..
Crashed Thread: 14
0 libobjc.A.dylib 0x19a6f1bdc objc_msgSend (in libobjc.A.dylib) + 28
1 Foundation 0x186bd68d4 _writeJSONValue (in Foundation) + 96
2 Foundation 0x186bd8cc0 ___writeJSONObject_block_invoke (in Foundation) + 236
3 CoreFoundation 0x185b6e4f4 __65-[__NSDictionaryI enumerateKeysAndObjectsWithOptions:usingBlock:]_block_invoke (in CoreFoundation) + 88
4 CoreFoundation 0x185b5c198 -[__NSDictionaryI enumerateKeysAndObjectsWithOptions:usingBlock:] (in CoreFoundation) + 224
5 Foundation 0x186bd844c _writeJSONObject (in Foundation) + 360
6 Foundation 0x186bd69fc _writeJSONValue (in Foundation) + 392
7 Foundation 0x186bd8ea8 ___writeJSONArray_block_invoke (in Foundation) + 144
8 CoreFoundation 0x185b13990 __53-[__NSArrayM enumerateObjectsWithOptions:usingBlock:]_block_invoke (in CoreFoundation) + 132
9 CoreFoundation 0x185b13828 -[__NSArrayM enumerateObjectsWithOptions:usingBlock:] (in CoreFoundation) + 212
10 Foundation 0x186bd86a8 _writeJSONArray (in Foundation) + 300
11 Foundation 0x186bd6a9c _writeJSONValue (in Foundation) + 552
12 Foundation 0x186bd8cc0 ___writeJSONObject_block_invoke (in Foundation) + 236
13 CoreFoundation 0x185b6e4f4 __65-[__NSDictionaryI enumerateKeysAndObjectsWithOptions:usingBlock:]_block_invoke (in CoreFoundation) + 88
14 CoreFoundation 0x185b5c198 -[__NSDictionaryI enumerateKeysAndObjectsWithOptions:usingBlock:] (in CoreFoundation) + 224
15 Foundation 0x186bd844c _writeJSONObject (in Foundation) + 360
16 Foundation 0x186bd69fc _writeJSONValue (in Foundation) + 392
17 Foundation 0x186bd682c -[_NSJSONWriter dataWithRootObject:options:error:] (in Foundation) + 140
18 Foundation 0x186bd7888 +[NSJSONSerialization dataWithJSONObject:options:error:] (in Foundation) + 348
19 MyApp 0x1003721e8 -[TestFairyCommunicator sendEvents:toServer:withSession:] (in MyApp) (TestFairyCommunicator.m:219)
20 MyApp 0x10036fa70 -[TestFairy send:events:] (in MyApp) (TestFairy.m:1260)
21 MyApp 0x100369394 -[TFEventsTracker sendEvents] (in MyApp) (TFEventsTracker.m:66)
22 MyApp 0x10036e32c -[TestFairy checkForegroundViewController] (in MyApp) (TestFairy.m:924)
23 MyApp 0x10036df34 -[TestFairy collectMetrics] (in MyApp) (TestFairy.m:886)
24 Foundation 0x186b5fc80 __NSThread__start__ (in Foundation) + 1000
25 libsystem_pthread.dylib 0x19b113b28 _pthread_body (in libsystem_pthread.dylib) + 156
26 libsystem_pthread.dylib 0x19b113a8c _pthread_body (in libsystem_pthread.dylib) + 0
27 libsystem_pthread.dylib 0x19b111028 thread_start (in libsystem_pthread.dylib) + 4
你有什麼原因導致這個崩潰的任何想法?
正在做任何JSON序列化? –
@JacobKing是的。問題是,我無法找出究竟是哪裏崩潰。在應用程序中有很多JSON序列化。 – Zakaria
您是否嘗試過異常中斷點? – Himanth