I’ve got a project where I’ve got some “native” Obj-C functions called by c# scripts. Mostly Facebook Connect and some UIWebView stuff… This worked fine in 1.5 - now I get the errors below. This is after a clean build and a new XCode project. Using .NET 1.1, no stripping but I unchecked the networking support. Anyone else seeing this? I’ll condense it down into a bug report in the AM if needed.
(...)
Unity runtime class registered 5471888
Unity runtime class registered 5479092
2010-03-06 22:07:52.200 NativeGUI[1003:207] -> registered unity classes
2010-03-06 22:07:52.293 NativeGUI[1003:207] -> registered mono modules
Bad call to mono_mutex_lock result 22* Assertion at /Users/mantasp/work/unity/unity-mono/External/Mono/mono/mono/metadata/object.c:1719, condition `ret == 0' not met
Program received signal: “SIGABRT”.
mi_cmd_stack_list_frames: Not enough frames in stack.
mi_cmd_stack_list_frames: Not enough frames in stack.
(gdb) backtrace
#0 0x33994b2c in __kill ()
#1 0x33994b20 in kill ()
#2 0x33994b14 in raise ()
#3 0x339abe3a in abort ()
#4 0x0066a86c in g_logv () at iostream:76
#5 0x0066a8a4 in g_log () at iostream:76
#6 0x006f71c4 in mono_class_vtable () at iostream:76
#7 0x006f88a8 in mono_object_new () at iostream:76
#8 0x006fbb34 in mono_field_get_value_object () at iostream:76
#9 0x006b3f54 in ves_icall_System_ValueType_InternalGetHashCode () at iostream:76
#10 0x000c9328 in System_MonoCustomAttrs_GetCustomAttribute_System_Reflection_ICustomAttributeProvider_System_Type_bool () at iostream:76
#11 0x0003b90c in System_Type__cctor () at iostream:76
#12 0x2fffddf8 in ?? ()
#13 0x0027ed8c in wrapper_runtime_invoke_object_runtime_invoke_void_object_intptr_intptr_intptr () at iostream:76
#14 0x0072c98c in mono_jit_runtime_invoke () at iostream:76
#15 0x3390643e in malloc ()
#16 0x00000000 in ?? ()
(gdb)