- Home /
iOS crash in generic-sharing.c:715, condition `oti' not met
I'm working on an iOS game and I'm getting a repeatable crash in generic-sharing.c with the error 'condition `oti' not met'.
The crash occurs in one of two places in the code.
0x022cccec in g_logv ()
0x022ccd10 in g_log ()
0x022263e4 in class_get_rgctx_template_oti ()
0x02226c9c in fill_runtime_generic_context ()
0x02227280 in mono_class_fill_runtime_generic_context ()
0x021e11ac in mono_rgctx_lazy_fetch_trampoline ()
**0x01b191bc in generic_trampoline_4 ()**
0x002eaaec in Battle.TargetingSystem:ScoreTarget ()
0x002be8b4 in BattleManager:FindTarget ()
0x0030c3b4 in Battle.Warband:SearchForTarget ()
0x005b8938 in UnitAISystem/<SearchForTargetCoroutine>c__IteratorA:MoveNext ()
0x01d24950 in scripting_method_invoke(ScriptingMethod*, MonoObject*, ScriptingArguments&, MonoException**)
0x01db7180 in ScriptingInvocation::Invoke(MonoException**, bool)
0x01db7130 in ScriptingInvocation::Invoke(MonoException**)
0x01db70dc in bool ScriptingInvocation::Invoke<bool>(MonoException**)
0x01d9ba84 in Coroutine::InvokeMoveNext(MonoException**)
0x01d9b7d8 in Coroutine::Run()
0x01dacb48 in MonoBehaviour::CreateCoroutine(MonoObject*, ScriptingMethod*)
or
0x02298cec in g_logv ()
0x02298d10 in g_log ()
0x021f23e4 in class_get_rgctx_template_oti ()
0x021f2c9c in fill_runtime_generic_context ()
0x021f3280 in mono_class_fill_runtime_generic_context ()
0x021ad1ac in mono_rgctx_lazy_fetch_trampoline ()
**0x01ae51bc in generic_trampoline_4 ()**
0x00291a80 in BattleManager:RegisterEntity ()
0x00300378 in LevelDataLoader:CreateBuildingsForRealm ()
0x0033d8c4 in GameManager:LoadTileMapData ()
0x005957c4 in GameManager/<changegamestate>c__Iterator11:MoveNext ()
0x01cf0950 in scripting_method_invoke(ScriptingMethod*, MonoObject*, ScriptingArguments&, MonoException**)
0x01d83180 in ScriptingInvocation::Invoke(MonoException**, bool)
0x01d83130 in ScriptingInvocation::Invoke(MonoException**)
0x01d830dc in bool ScriptingInvocation::Invoke<bool>(MonoException**)
0x01d67a84 in Coroutine::InvokeMoveNext(MonoException**)
0x01d677d8 in Coroutine::Run()
0x01d677a0 in Coroutine::ContinueCoroutine(Object*, void*)
In both cases at #7 in the assembler there is call to plt_System_Collections_Generic_List_1_string_Contains_string
ie
0x291a74 bleq 0x291b70 ; BattleManager:RegisterEntity + 1572
0x291a78 ldr lr, [r2]
0x291a7c bl 0xdcbb20 ; plt_System_Collections_Generic_List_1_string_Contains_string
0x291a80 cmp r0, #0
I've searched online and found this (http://docs.xamarin.com/guides/ios/troubleshooting/) which mentions that the code should be built without thumbs. I've looked in the generated project and it is being built with -mno-thumbs and GCC_THUMB_SUPPORT = NO
The only external DLL we are using us GoKit and it's been working fine until now.
Has anybody seen this before and do they know what is going on?
Your answer

Follow this Question
Related Questions
Raycast Hit App Crashes on touch 0 Answers
Unity 4.2 IOS Exception Handling 0 Answers
Unity 3d Network dies on Android 0 Answers
Unity crashes after I open it 0 Answers
Fbx import from 3ds max causes crash 1 Answer