如何调试EXC_BAD_ACCESS(SIGABRT)崩溃

时间:2015-10-13 09:50:45

标签: ios xamarin xamarin.ios crash-reports

我的应用程序一直在设备上随机崩溃,我迷失在单声道的深处试图找到原因。我从设备上获得了一个崩溃日志,并对崩溃日志进行了象征,但对于发生的事情我并不是更明智。

Incident Identifier: C08DE68B-8F34-4890-B98F-82E419AE22B8
CrashReporter Key:   4366a5c0e38fe77ba2472a4965721c1dcf116cbd
Hardware Model:      iPad2,1
Process:             TestingApp [802]
Path:                /private/var/mobile/Containers/Bundle/Application/7CBC009C-4304-4F45-9244-AA668F346513/TestingApp.app/TestingApp
Identifier:          com.testing.TestingApp
Version:             50021 (0.4.3)
Code Type:           ARM (Native)
Parent Process:      launchd [1]

Date/Time:           2015-10-12 18:45:06.06 +0100
Launch Time:         2015-10-12 18:41:31.31 +0100
OS Version:          iOS 9.0 (13A344)
Report Version:      104

Exception Type:  EXC_BAD_ACCESS (SIGABRT)
Exception Subtype: KERN_PROTECTION_FAILURE at 0x0163bdf9
Triggered by Thread:  15

Filtered syslog:
None found

线程15是:

Thread 15 Crashed:
0   libsystem_kernel.dylib          0x34709d24 __pthread_kill + 8
1   libsystem_pthread.dylib         0x347ad74a pthread_kill + 62
2   libsystem_c.dylib               0x346a1f40 abort + 108
3   TestingApp                      0x00fd2398 mono_handle_native_sigsegv (mini-exceptions.c:2386)
4   TestingApp                      0x00fdbfe4 mono_sigsegv_signal_handler (mini.c:6820)
5   libsystem_platform.dylib        0x347a7076 _sigtramp + 42
6   libsystem_malloc.dylib          0x34731dee szone_malloc_should_clear + 1198
7   libobjc.A.dylib                 0x33ef5982 lookUpImpOrForward + 158
8   libobjc.A.dylib                 0x33ef58da _class_lookupMethodAndLoadCache3 + 34
9   libobjc.A.dylib                 0x33efbd5a _objc_msgSend_uncached + 26
10  libobjc.A.dylib                 0x33f093a8 (anonymous namespace)::AutoreleasePoolPage::pop(void*) + 388
11  CoreFoundation                  0x22619fa8 _CFAutoreleasePoolPop + 16
12  Foundation                      0x233fe9f8 -[NSAutoreleasePool release] + 120
13  TestingApp                      0x0108efb4 xamarin_thread_finish(void*) (shared.m:199)
14  TestingApp                      0x0108ecd0 thread_end(_MonoProfiler*, unsigned long) (shared.m:211)
15  TestingApp                      0x01031faa mono_profiler_thread_end (profiler.c:586)
16  TestingApp                      0x010614b2 async_invoke_thread (threadpool.c:1716)
17  TestingApp                      0x01068224 start_wrapper (threads.c:593)
18  TestingApp                      0x01080cfa inner_start_thread (mono-threads-posix.c:92)
19  libsystem_pthread.dylib         0x347ac872 _pthread_body + 138
20  libsystem_pthread.dylib         0x347ac7e6 _pthread_start + 110
21  libsystem_pthread.dylib         0x347aa740 thread_start + 8

当通过Xamarin studio调试器连接时,应用程序仍会随机崩溃,但调试器不会报告任何内容。我还在所有System.Exception上设置了它的中断但是再次没有命中任何东西。我如何试图找到我的问题?

0 个答案:

没有答案