c# - Xamarin iOS iPad App is crashing, unexplained -


we creating large ios app xamarin. since few days, have problem app crashing in absolutely unexpected ways. don't log xamarin debugger, completly empty. stop button switches play ;) thing have attached xcode console log. me not possible find out has happened.

the problem not reproduceable , happens in different places of app. did saw similiar problem , found out solution this?

mar 21 15:01:15  ios[312] <error>: stacktrace: mar 21 15:01:15  ios[312] <error>:   @ <unknown> <0xffffffff> mar 21 15:01:15  ios[312] <error>:   @ (wrapper managed-to-native) monotouch.uikit.uiapplication.uiapplicationmain (int,string[],intptr,intptr) <0xffffffff> mar 21 15:01:15  ios[312] <error>:   @ monotouch.uikit.uiapplication.main (string[],string,string) [0x0004c] in /developer/monotouch/source/monotouch/src/uikit/.pmcs-compat.uiapplication.cs:38 mar 21 15:01:15  ios[312] <error>:   @ ios.application.main (string[]) [0x00008] in /users/admin/projects/xxx/source/ios/main.cs:15 mar 21 15:01:15  ios[312] <error>:   @ (wrapper runtime-invoke) object.runtime_invoke_dynamic (intptr,intptr,intptr,intptr) <0xffffffff> mar 21 15:01:15  ios[312] <error>:      native stacktrace: mar 21 15:01:15  ios[312] <error>:  0   ios                                 0x00cfdb69 mono_handle_native_sigsegv + 260 mar 21 15:01:15  ios[312] <error>:  1   ios                                 0x00d06d09 mono_sigsegv_signal_handler + 176 mar 21 15:01:15  ios[312] <error>:  2   libsystem_platform.dylib            0x38b18063 _sigtramp + 42 mar 21 15:01:15  ios[312] <error>:  3   uikit                               0x307b8cf5 <redacted> + 76 mar 21 15:01:15  ios[312] <error>:  4   corefoundation                      0x2de27504 <redacted> + 68 mar 21 15:01:15  ios[312] <error>:  5   corefoundation                      0x2dd71dfb <redacted> + 282 mar 21 15:01:15  ios[312] <error>:  6   corefoundation                      0x2dd75593 <redacted> + 50 mar 21 15:01:15  ios[312] <error>:  7   webkit                              0x368b2ee7 <redacted> + 222 mar 21 15:01:15  ios[312] <error>:  8   corefoundation                      0x2de26069 <redacted> + 352 mar 21 15:01:15  ios[312] <error>:  9   corefoundation                      0x2dd754d8 _cf_forwarding_prep_0 + 24 mar 21 15:01:15  ios[312] <error>:  10  corefoundation                      0x2de27504 <redacted> + 68 mar 21 15:01:15  ios[312] <error>:  11  corefoundation                      0x2dd71dfb <redacted> + 282 mar 21 15:01:15  ios[312] <error>:  12  webcore                             0x35f101bd <redacted> + 100 mar 21 15:01:15  ios[312] <error>:  13  corefoundation                      0x2ddef183 <redacted> + 14 mar 21 15:01:15  ios[312] <error>:  14  corefoundation                      0x2ddee653 <redacted> + 206 mar 21 15:01:15  ios[312] <error>:  15  corefoundation                      0x2ddece47 <redacted> + 622 mar 21 15:01:15  ios[312] <error>:  16  corefoundation                      0x2dd57c27 cfrunlooprunspecific + 522 mar 21 15:01:15  ios[312] <error>:  17  corefoundation                      0x2dd57a0b cfrunloopruninmode + 106 mar 21 15:01:15  ios[312] <error>:  18  graphicsservices                    0x32a2b283 gseventrunmodal + 138 mar 21 15:01:15  ios[312] <error>:  19  uikit                               0x305fb049 uiapplicationmain + 1136 mar 21 15:01:15  ios[312] <error>:  20  ios                                 0x004ac450 wrapper_managed_to_native_monotouch_uikit_uiapplication_uiapplicationmain_int_string___intptr_intptr + 272 mar 21 15:01:15  ios[312] <error>:  21  ios                                 0x0046335c monotouch_uikit_uiapplication_main_string___string_string + 300 mar 21 15:01:15  ios[312] <error>:  22  ios                                 0x0000bcc8 ios_application_main_string__ + 172 mar 21 15:01:15  ios[312] <error>:  23  ios                                 0x0064c558 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 200 mar 21 15:01:15  ios[312] <error>:  24  ios                                 0x00d08e25 mono_jit_runtime_invoke + 1196 mar 21 15:01:15  ios[312] <error>:  25  ios                                 0x00d46e8d mono_runtime_invoke + 88 mar 21 15:01:15  ios[312] <error>:  26  ios                                 0x00d4aa67 mono_runtime_exec_main + 282 mar 21 15:01:15  ios[312] <error>:  27  ios                                 0x00d4a8a7 mono_runtime_run_main + 474 mar 21 15:01:15  ios[312] <error>:  28  ios                                 0x00cf710d mono_jit_exec + 48 mar 21 15:01:15  ios[312] <error>:  29  ios                                 0x00d97fe8 main + 2464 mar 21 15:01:15  ios[312] <error>:  30  ios                                 0x0000b028 start + 40 mar 21 15:01:15  ios[312] <error>:      =================================================================     got sigsegv while executing native code. indicates     fatal error in mono runtime or 1 of native libraries      used application.     ================================================================= 

it seems introduce code parse before compiler time. it's possible in android (jit just-in compiler time) not ios (aot ahead of time). read xamarin wrote in page http://docs.xamarin.com/guides/ios/advanced_topics/limitations/

since iphone's kernel prevents application generating code dynamically mono on iphone not support form of dynamic code generation.

hope help!


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -