Search Unity

Unity iOS crash in il2cpp-object-internals.h line 563

Discussion in 'iOS and tvOS' started by ysshetty96, May 6, 2021.

  1. ysshetty96

    ysshetty96

    Joined:
    Feb 27, 2019
    Posts:
    101
    Hello,
    Code (CSharp):
    1. Crashed: Thread
    2. 0  OurGame                            0x104181610 il2cpp::icalls::mscorlib::System::Threading::Thread::SetState(Il2CppThread*, unsigned int) + 563 (il2cpp-object-internals.h:563)
    3. 1  OurGame                            0x104181680 il2cpp::icalls::mscorlib::System::Threading::Thread::Sleep_internal(int) + 119 (Thread.cpp:119)
    4. 2  OurGame                            0x10744a75c GMSx_absl::base_internal::MallocHook::InvokePreSbrkHookSlow(long) + 4447577948
    5. 3  OurGame                            0x107430ad8 GMSx_absl::base_internal::MallocHook::InvokePreSbrkHookSlow(long) + 4447472344
    6. 4  OurGame                            0x107686250 GMSx_absl::base_internal::MallocHook::InvokePreSbrkHookSlow(long) + 4449919568
    7. 5  OurGame                            0x107686304 GMSx_absl::base_internal::MallocHook::InvokePreSbrkHookSlow(long) + 4449919748
    8. 6  OurGame                            0x10744bf84 GMSx_absl::base_internal::MallocHook::InvokePreSbrkHookSlow(long) + 4447584132
    9. 7  OurGame                            0x10744bcfc GMSx_absl::base_internal::MallocHook::InvokePreSbrkHookSlow(long) + 4447583484
    10. 8  OurGame                            0x109019944 GMSx_absl::base_internal::MallocHook::InvokePreSbrkHookSlow(long) + 4476737860
    11. 9  OurGame                            0x10901c340 GMSx_absl::base_internal::MallocHook::InvokePreSbrkHookSlow(long) + 4476748608
    12. 10 OurGame                            0x10901be94 GMSx_absl::base_internal::MallocHook::InvokePreSbrkHookSlow(long) + 4476747412
    13. 11 OurGame                            0x109014df8 GMSx_absl::base_internal::MallocHook::InvokePreSbrkHookSlow(long) + 4476718584
    14. 12 OurGame                            0x10744c26c GMSx_absl::base_internal::MallocHook::InvokePreSbrkHookSlow(long) + 4447584876
    15. 13 OurGame                            0x10744bf84 GMSx_absl::base_internal::MallocHook::InvokePreSbrkHookSlow(long) + 4447584132
    16. 14 OurGame                            0x1028635ac RuntimeInvoker_TrueVoid_t22962CB4C05B1D89B55A6E1139F0E87A90987017(void (*)(), MethodInfo const*, void*, void**) + 74265 (Il2CppInvokerTable.cpp:74265)
    17. 15 OurGame                            0x1041b4ae0 il2cpp::vm::Runtime::Invoke(MethodInfo const*, void*, void**, Il2CppException**) + 550 (Runtime.cpp:550)
    18. 16 OurGame                            0x1041818b8 il2cpp::icalls::mscorlib::System::Threading::ThreadStart(void*) + 159 (Thread.cpp:159)
    19. 17 OurGame                            0x10418aa9c il2cpp::os::Thread::RunWrapper(void*) + 176 (Thread.cpp:176)
    20. 18 OurGame                            0x10418ce28 il2cpp::os::ThreadImpl::ThreadStartWrapper(void*) + 107 (ThreadImpl.cpp:107)
    21. 19 libsystem_pthread.dylib        0x1e68eab70 _pthread_start + 288
    22. 20 libsystem_pthread.dylib        0x1e68ef880 thread_start + 8
    This crash is affecting a lot of users, 89% of this crash is happening when the app is in the background, and also from firebase crashlytics data, I can see that 90% of the time devices had very little free RAM. but how can I make use of this stack trace to point out that it is causing because of memory overflow or os killed the application for memory resource? can someone find out anything here in this stack trace?
     
    Last edited: May 6, 2021
  2. str3lok

    str3lok

    Joined:
    May 27, 2012
    Posts:
    24
    What's the Unity version?
     
  3. ysshetty96

    ysshetty96

    Joined:
    Feb 27, 2019
    Posts:
    101
    2019.2.14f1