Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by ben-tmg · Feb 25, 2014 at 09:45 PM · ioscrash

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.

  1.  0x022cccec in g_logv ()
    
  2.  0x022ccd10 in g_log ()
    
  3.  0x022263e4 in class_get_rgctx_template_oti ()
    
  4.  0x02226c9c in fill_runtime_generic_context ()
    
  5.  0x02227280 in mono_class_fill_runtime_generic_context ()
    
  6.  0x021e11ac in mono_rgctx_lazy_fetch_trampoline ()
    
  7.  **0x01b191bc in generic_trampoline_4 ()**
    
  8.  0x002eaaec in Battle.TargetingSystem:ScoreTarget ()
    
  9.  0x002be8b4 in BattleManager:FindTarget ()
    
  10.  0x0030c3b4 in Battle.Warband:SearchForTarget ()
    
  11.  0x005b8938 in UnitAISystem/<SearchForTargetCoroutine>c__IteratorA:MoveNext ()
    
  12.  0x01d24950 in scripting_method_invoke(ScriptingMethod*, MonoObject*, ScriptingArguments&, MonoException**) 
    
  13.  0x01db7180 in ScriptingInvocation::Invoke(MonoException**, bool) 
    
  14.  0x01db7130 in ScriptingInvocation::Invoke(MonoException**)
    
  15.  0x01db70dc in bool ScriptingInvocation::Invoke<bool>(MonoException**) 
    
  16.  0x01d9ba84 in Coroutine::InvokeMoveNext(MonoException**) 
    
  17.  0x01d9b7d8 in Coroutine::Run() 
    
  18.  0x01dacb48 in MonoBehaviour::CreateCoroutine(MonoObject*, ScriptingMethod*) 
    
    

or

  1.  0x02298cec in g_logv ()
    
  2.  0x02298d10 in g_log ()
    
  3.  0x021f23e4 in class_get_rgctx_template_oti ()
    
  4.  0x021f2c9c in fill_runtime_generic_context ()
    
  5.  0x021f3280 in mono_class_fill_runtime_generic_context ()
    
  6.  0x021ad1ac in mono_rgctx_lazy_fetch_trampoline ()
    
  7.  **0x01ae51bc in generic_trampoline_4 ()**
    
  8.  0x00291a80 in BattleManager:RegisterEntity ()
    
  9.  0x00300378 in LevelDataLoader:CreateBuildingsForRealm ()
    
  10.  0x0033d8c4 in GameManager:LoadTileMapData ()
    
  11.  0x005957c4 in GameManager/<changegamestate>c__Iterator11:MoveNext ()
    
  12.  0x01cf0950 in scripting_method_invoke(ScriptingMethod*, MonoObject*, ScriptingArguments&, MonoException**) 
    
  13.  0x01d83180 in ScriptingInvocation::Invoke(MonoException**, bool) 
    
  14.  0x01d83130 in ScriptingInvocation::Invoke(MonoException**) 
    
  15.  0x01d830dc in bool ScriptingInvocation::Invoke<bool>(MonoException**) 
    
  16.  0x01d67a84 in Coroutine::InvokeMoveNext(MonoException**) 
    
  17.  0x01d677d8 in Coroutine::Run() 
    
  18.  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

  1. 0x291a74 bleq 0x291b70 ; BattleManager:RegisterEntity + 1572

  2. 0x291a78 ldr lr, [r2]

  3. 0x291a7c bl 0xdcbb20 ; plt_System_Collections_Generic_List_1_string_Contains_string

  4. 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?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by ben-tmg · Feb 27, 2014 at 05:22 PM

Turns out this was a version of this bug.

It was fixed by creating a special List implementation that controlled which Enumerator was returned.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

20 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

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


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges