2013-10-22 293 views
0

我有一個與HockeyApp集成的應用程序崩潰報告。 昨天我收到了下面的崩潰報告。HockeyApp崩潰報告

Incident Identifier: B797B4D3-EA8D-4226-8B0E-11149ADC20B7 

CrashReporter Key: 55E9EBD1-9990-44EF-98E8-C0A000955CED 

Hardware Model:  iPhone5,2 

Process:   AppName [1375] 

Path:   /Users/USER/AppName.app/AppName 

Identifier:  ---------------------------- 

Version:   1.0.0 
Code Type:  ARM 
Parent Process: launchd [1] 

Date/Time:  2013-10-21T18:04:47Z 
OS Version:  iPhone OS 7.0.2 (11A501) 
Report Version: 104 

Exception Type: SIGABRT 
Exception Codes: #0 at 0x38f341fc 
Crashed Thread: 0 

Application Specific Information: 
*** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[__NSArrayM objectAtIndex:]: index 0 beyond bounds for empty array' 

Last Exception Backtrace: 
0 CoreFoundation      0x2e689e8b <redacted> + 131 
1 libobjc.A.dylib      0x389846c7 _objc_exception_throw + 39 
2 CoreFoundation      0x2e5bfe65 <redacted> + 233 
3 AppName        0x000ac04d 0x66000 + 286797 
4 AppName        0x000abf17 0x66000 + 286487 
5 Foundation       0x2f06ee6d ___NSFireTimer + 65 
6 CoreFoundation      0x2e654e87 <redacted> + 15 
7 CoreFoundation      0x2e654aa3 <redacted> + 795 
8 CoreFoundation      0x2e652e2b <redacted> + 1219 
9 CoreFoundation      0x2e5bd541 _CFRunLoopRunSpecific + 525 
10 CoreFoundation      0x2e5bd323 _CFRunLoopRunInMode + 107 
11 GraphicsServices     0x332f42eb _GSEventRunModal + 139 
12 UIKit        0x30e741e5 _UIApplicationMain + 1137 
13 AppName        0x000b6cd7 0x66000 + 330967 
14 libdyld.dylib      0x38e7dab7 <redacted> + 3 


Thread 0 Crashed: 
0 libsystem_kernel.dylib    0x38f341fc ___pthread_kill + 8 
1 libsystem_c.dylib     0x38ee502d _abort + 77 
2 AppName        0x000e41ff 0x66000 + 516607 
3 CoreFoundation      0x2e68a18d <redacted> + 581 
4 libobjc.A.dylib      0x38984927 <redacted> + 175 
5 libc++abi.dylib      0x3834a1b3 <redacted> + 79 
6 libc++abi.dylib      0x38349d17 ___cxa_rethrow + 103 
7 libobjc.A.dylib      0x3898480f _objc_exception_rethrow + 43 
8 CoreFoundation      0x2e5bd5b7 _CFRunLoopRunSpecific + 643 
9 CoreFoundation      0x2e5bd323 _CFRunLoopRunInMode + 107 
10 GraphicsServices     0x332f42eb _GSEventRunModal + 139 
11 UIKit        0x30e741e5 _UIApplicationMain + 1137 
12 AppName        0x000b6cd7 0x66000 + 330967 

Thread 1: 
0 libsystem_kernel.dylib    0x38f21838 _kevent64 + 24 
1 libdispatch.dylib     0x38e6a643 <redacted> + 39 

Thread 2: 
0 libsystem_kernel.dylib    0x38f33f38 ___psynch_cvwait + 24 
1 libsystem_pthread.dylib    0x38f9b041 _pthread_cond_wait + 41 
2 Foundation       0x2eff874f <redacted> + 195 
3 AppName        0x0011a5a1 0x66000 + 738721 
4 Foundation       0x2f06ddc7 <redacted> + 1063 
5 libsystem_pthread.dylib    0x38f9ac5d <redacted> + 141 
6 libsystem_pthread.dylib    0x38f9abcf __pthread_start + 103 

Thread 3: 
0 libsystem_kernel.dylib    0x38f21a84 _mach_msg_trap + 20 
1 CoreFoundation      0x2e654561 <redacted> + 157 
2 CoreFoundation      0x2e652c81 <redacted> + 793 
3 CoreFoundation      0x2e5bd541 _CFRunLoopRunSpecific + 525 
4 CoreFoundation      0x2e5bd323 _CFRunLoopRunInMode + 107 
5 Foundation       0x2efab827 <redacted> + 255 
6 Foundation       0x2effc669 <redacted> + 81 
7 AppName        0x00138e95 0x66000 + 863893 
8 Foundation       0x2f06ddc7 <redacted> + 1063 
9 libsystem_pthread.dylib    0x38f9ac5d <redacted> + 141 
10 libsystem_pthread.dylib    0x38f9abcf __pthread_start + 103 

Thread 4: 
0 libsystem_kernel.dylib    0x38f21a84 _mach_msg_trap + 20 
1 CoreFoundation      0x2e654561 <redacted> + 157 
2 CoreFoundation      0x2e652c81 <redacted> + 793 
3 CoreFoundation      0x2e5bd541 _CFRunLoopRunSpecific + 525 
4 CoreFoundation      0x2e5bd323 _CFRunLoopRunInMode + 107 
5 Foundation       0x2eff8651 <redacted> + 321 
6 Foundation       0x2f06ddc7 <redacted> + 1063 
7 libsystem_pthread.dylib    0x38f9ac5d <redacted> + 141 
8 libsystem_pthread.dylib    0x38f9abcf __pthread_start + 103 

Thread 5: 
0 libsystem_kernel.dylib    0x38f34440 ___select + 20 
1 libsystem_pthread.dylib    0x38f9ac5d <redacted> + 141 
2 libsystem_pthread.dylib    0x38f9abcf __pthread_start + 103 

Thread 6: 
0 libsystem_kernel.dylib    0x38f34c7c ___workq_kernreturn + 8 

Thread 7: 
0 libsystem_kernel.dylib    0x38f34c7c ___workq_kernreturn + 8 

Thread 0 crashed with ARM Thread State: 
    r0: 0x00000000  r1: 0x00000000  r2: 0x00000000  r3: 0xffffffff 
    r4: 0x00000006  r5: 0x3ad6118c  r6: 0x17e19650  r7: 0x27d9d924 
    r8: 0x3140f0da  r9: 0x3ad61e30 r10: 0x313f4457 r11: 0x0000000f 
    ip: 0x00000148  sp: 0x27d9d918  lr: 0x38f9ba53  pc: 0x38f341fc 
    cpsr: 0x00000010 

它說,碰撞是在線程0發生,但是當我在Xcode中運行應用程序,調試器不會顯示任何線程0和1等開始threds。我無法產生這個崩潰。我怎樣才能揭開崩潰的神祕面紗,以及它在何處爆發。

回答

3

你有一個原因:

*終止應用程序由於未捕獲的異常 'NSRangeException',原因是: '* - [__ NSArrayM objectAtIndex:]:索引0超越界限的 空陣'

你在某處試圖訪問空數組的第一個元素。

哪個線程崩潰並不重要

+0

但是我怎樣才能找到它發生的地方。我在我的項目中使用了幾個陣列。 –

+0

是的,這是有趣的部分。但在嘗試訪問任何人之前,應始終檢查數組中是否有任何元素。 – peko

+0

您應該上傳該應用程序構建的dSYM,並且將對該崩潰報告進行符號化,並向您顯示應用程序中該問題的位置。 – Kerni