Update: I just upgraded to mtouch 5.0.2.1320356251. Instead of a
NullReferenceException the App now crashes at the same point in my code
with:

Stacktrace:

  at MonoTouch.UIKit.UIApplication.Main (string[],string,string) <0x0010f>
  at Moby.Application.Main (string[]) [0x00000] in
/Users/robertsweitzer/Projects/Webforce/CommunicationServices/Synchronization/MobileSynchronizer_Monotouch/Moby/Main.cs:17
  at (wrapper runtime-invoke) object.runtime_invoke_dynamic
(intptr,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

        0   Moby                                0x00583834
mono_handle_native_sigsegv + 456
        1   Moby                                0x0055c480
mono_sigsegv_signal_handler + 428
        2   libsystem_c.dylib                   0x310f8539 _sigtramp + 48
        3   ???                                 0x000000b0 0x0 + 176
        4   Moby                                0x001b207c
Moby_AppDelegate_FinishedLaunching_MonoTouch_UIKit_UIApplication_MonoTouch_Foundation_NSDictionary
+ 2032
        5   Moby                                0x004b490c
wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr
+ 200
        6   Moby                                0x0055c0a4 
mono_jit_runtime_invoke
+ 2892
        7   Moby                                0x0066f618 mono_runtime_invoke +
200
        8   Moby                                0x0072af98 monotouch_trampoline 
+
3140
        9   UIKit                               0x3080e7eb -[UIApplication
_callInitializationDelegatesForURL:payload:suspended:] + 1186
        10  UIKit                               0x308083bd -[UIApplication
_runWithURL:payload:launchOrientation:statusBarStyle:statusBarHidden:] + 396
        11  UIKit                               0x307d6921 -[UIApplication
handleEvent:withNewEvent:] + 1016
        12  UIKit                               0x307d63bf -[UIApplication
sendEvent:] + 54
        13  UIKit                               0x307d5d2d
_UIApplicationHandleEvent + 5808
        14  GraphicsServices                    0x36087e13 PurpleEventCallback +
882
        15  CoreFoundation                      0x37547553
__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 38
        16  CoreFoundation                      0x375474f5 __CFRunLoopDoSource1 
+
140
        17  CoreFoundation                      0x37546343 __CFRunLoopRun + 1370
        18  CoreFoundation                      0x374c94dd CFRunLoopRunSpecific 
+
300
        19  CoreFoundation                      0x374c93a5 CFRunLoopRunInMode + 
104
        20  UIKit                               0x30807457 -[UIApplication 
_run] +
550
        21  UIKit                               0x30804743 UIApplicationMain + 
1090
        22  Moby                                0x00247cbc
wrapper_managed_to_native_MonoTouch_UIKit_UIApplication_UIApplicationMain_int_string___intptr_intptr
+ 240
        23  Moby                                0x001b1220
Moby_Application_Main_string__ + 152
        24  Moby                                0x004b490c
wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr
+ 200
        25  Moby                                0x0055c0a4 
mono_jit_runtime_invoke
+ 2892
        26  Moby                                0x0066f618 mono_runtime_invoke +
200
        27  Moby                                0x00672838 
mono_runtime_exec_main +
836
        28  Moby                                0x00671804 
mono_runtime_run_main +
968
        29  Moby                                0x00567010 mono_jit_exec + 244
        30  Moby                                0x00551ff8 main + 3952
        31  Moby                                0x001ada44 start + 40

=================================================================
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.
=================================================================


--
View this message in context: 
http://monotouch.2284126.n4.nabble.com/Native-library-with-Monotouch-5-0-part-2-tp3992408p3992452.html
Sent from the MonoTouch mailing list archive at Nabble.com.
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to