2
최근에 MonoTouch 응용 프로그램을 iOS6 용으로 컴파일하려고 시도했으며 주 메뉴에서 재생을 누르면 약 5 초 후에 충돌합니다.SIGSEGV iOS6에서 모노 터치 실행
Stacktrace:
at MonoTouch.ObjCRuntime.Runtime.ConstructNSObject (intptr,intptr) [0x00007] in /Developer/MonoTouch/Source/monotouch/src/ObjCRuntime/Runtime.cs:208
at MonoTouch.ObjCRuntime.Runtime.GetNSObject (intptr) [0x0001f] in /Developer/MonoTouch/Source/monotouch/src/ObjCRuntime/Runtime.cs:259
at MonoTouch.ObjCRuntime.Runtime.GetNSObjectWrapped (intptr) [0x00000] in /Developer/MonoTouch/Source/monotouch/src/ObjCRuntime/Runtime.cs:276
at (wrapper native-to-managed) MonoTouch.ObjCRuntime.Runtime.GetNSObjectWrapped (intptr) <0xffffffff>
at MonoTouch.UIKit.UIApplication.Main (string[],string,string) [0x0004c] in /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:38
at Resistor5.Program.Main (string[]) [0x00000] in /Users/nullcandy/Projects/Resistor5/Resistor5_iOS/AppDelegate.cs:22
at (wrapper runtime-invoke) object.runtime_invoke_dynamic (intptr,intptr,intptr,intptr) <0xffffffff>
Native stacktrace:
0 Resistor5_iOS 0x011bf7b4 mono_handle_native_sigsegv + 280
1 Resistor5_iOS 0x011a9380 mono_sigsegv_signal_handler + 268
2 libsystem_c.dylib 0x31e17e93 _sigtramp + 42
3 ??? 0x00000000 0x0 + 0
4 Resistor5_iOS 0x0126191c single_arg_user_copy_or_mark + 28
5 Resistor5_iOS 0x0128e4cc mark_tls_slots + 160
6 Resistor5_iOS 0x012650f4 scan_from_registered_roots + 412
7 Resistor5_iOS 0x01271c34 major_collection + 3040
8 Resistor5_iOS 0x01272c98 minor_collect_or_expand_inner + 88
9 Resistor5_iOS 0x012733a0 mono_gc_alloc_obj_nolock + 1336
10 Resistor5_iOS 0x01262db0 mono_gc_alloc_vector + 136
11 Resistor5_iOS 0x01249cf4 mono_array_new_specific + 132
12 Resistor5_iOS 0x0108abb4 wrapper_managed_to_native_object___icall_wrapper_mono_array_new_specific_intptr_int + 68
13 Resistor5_iOS 0x00088090 MonoTouch_ObjCRuntime_Runtime_GetNSObject_intptr + 144
14 Resistor5_iOS 0x00088110 MonoTouch_ObjCRuntime_Runtime_GetNSObjectWrapped_intptr + 28
15 Resistor5_iOS 0x000b8620 wrapper_native_to_managed_MonoTouch_ObjCRuntime_Runtime_GetNSObjectWrapped_intptr + 64
16 Resistor5_iOS 0x012bd634 get_managed_object_for_ptr_fast + 108
17 Resistor5_iOS 0x011a19f4 native_to_managed_trampoline_MonoTouch_UIKit_UIAccelerometer__UIAccelerometerDelegate_DidAccelerate + 324
18 UIKit 0x35f16717 <redacted> + 222
19 UIKit 0x35ca7359 <redacted> + 2820
20 UIKit 0x35ca66d5 <redacted> + 72
21 UIKit 0x35ca6123 <redacted> + 6154
22 GraphicsServices 0x33f395a3 <redacted> + 590
23 GraphicsServices 0x33f391d3 <redacted> + 34
24 CoreFoundation 0x36311173 <redacted> + 34
25 CoreFoundation 0x36311117 <redacted> + 138
26 CoreFoundation 0x3630ff99 <redacted> + 1384
27 CoreFoundation 0x36282ebd CFRunLoopRunSpecific + 356
28 CoreFoundation 0x36282d49 CFRunLoopRunInMode + 104
29 GraphicsServices 0x33f382eb GSEventRunModal + 74
30 UIKit 0x35cfa301 UIApplicationMain + 1120
31 Resistor5_iOS 0x000b769c wrapper_managed_to_native_MonoTouch_UIKit_UIApplication_UIApplicationMain_int_string___intptr_intptr + 240
32 Resistor5_iOS 0x0094d158 Resistor5_Program_Main_string__ + 152
33 Resistor5_iOS 0x01085ce0 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 200
34 Resistor5_iOS 0x011ab3dc mono_jit_runtime_invoke + 1644
35 Resistor5_iOS 0x0124aa8c mono_runtime_invoke + 128
36 Resistor5_iOS 0x0124ec84 mono_runtime_exec_main + 436
37 Resistor5_iOS 0x0124f044 mono_runtime_run_main + 756
38 Resistor5_iOS 0x011aff14 mono_jit_exec + 140
39 Resistor5_iOS 0x012b7f88 main + 2028
40 Resistor5_iOS 0x000020c4 start + 52
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
그것은 iOS5를 함께 잘 작동 :
여기 스택 추적입니다. 어떤 아이디어?
P. 가속도계가 스택 트레이스에 언급되어 있지만 코드의 어느 시점에서든 가속도계는 사용하지 않습니다.
버그 리포트에서'sgen' 또는 (기본)'bohem' 가비지 컬렉터를 사용하고 있다고 말하십시오. – poupou
조금 전에 조금 전 sgen으로 바뀌 었습니다. 기본값으로 다시 변경하면 충돌이 해결되었습니다. – mdarwi
테스트 케이스로 버그 리포트를 작성할 수 있습니까? (개인으로 표시 될 수있는 경우) 유사한 문제를 이미 조사하고 있으므로 추가 세부 정보가 매우 유용 할 수 있습니다. 감사! – poupou