Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question High Crash rate with [libil2cpp.so] SIGABRT

Discussion in 'Android' started by helloroy, Jun 20, 2023.

  1. helloroy

    helloroy

    Joined:
    Jun 23, 2016
    Posts:
    42
    Hello,

    My game is built by 2022.3.0f1, below is my Crashes and ANRs report on Google Play Console:

    upload_2023-6-20_11-21-22.png

    As you can see >47% crash from [libil2cpp.so] SIGABRT, and when I check the details it shows below:

    How can I fix this? seems those so file is come from Unity framework or I can only report to Unity team?

    Thank you
     

    Attached Files:

    Last edited: Jun 20, 2023
  2. cdr9042

    cdr9042

    Joined:
    Apr 22, 2018
    Posts:
    163
    Can you add this to the filter to see if this is caused by the phone running outdated Vulkan? Vulkan version: Unreported Vulkan version
    upload_2023-6-20_13-44-10.png

    Also what devices do you have the most crashes on? I have crashes on these types of devices
    upload_2023-6-20_13-46-35.png
     
  3. helloroy

    helloroy

    Joined:
    Jun 23, 2016
    Posts:
    42
    Hi, the unreported Vulkan version crash just 99 times, just 1/7.

    and below is my top [libil2cpp.so] SIGABRT crash devices list:

    upload_2023-6-20_17-13-50.png
     
  4. cdr9042

    cdr9042

    Joined:
    Apr 22, 2018
    Posts:
    163
    it would be easier to debug if you can reproduce the crash on your device while attaching logcat to get the full crash log
     
  5. tmars

    tmars

    Joined:
    Jul 26, 2013
    Posts:
    42
    same here with 2022.3.2f, "JNI ERROR (app bug): global reference table overflow (max=51200)global reference table dump"
    had no issue of this kind with 2021.3.x, seems a new bug in the 2022.x branch.

    the crash log:

    Crashed: Thread: SIGABRT 0x0000000000000000
    #00 pc 0x8bc48 libc.so (BuildId: aec8135f170446601ecfbb3a8984afdb)
    #01 pc 0x8bc18 libc.so (BuildId: aec8135f170446601ecfbb3a8984afdb)
    #02 pc 0x6f365c libart.so (BuildId: 4c9b59b74ca9272f710a71137164c349)
    #03 pc 0x16ea8 libbase.so (BuildId: 420d56eac27a210c92900f3ddb760c86)
    #04 pc 0x16450 libbase.so (BuildId: 420d56eac27a210c92900f3ddb760c86)
    #05 pc 0x3a2ab8 libart.so (BuildId: 4c9b59b74ca9272f710a71137164c349)
    #06 pc 0x5e3598 libart.so (BuildId: 4c9b59b74ca9272f710a71137164c349)
    #07 pc 0x4ebc674 libil2cpp.so (GlobalJavaObjectRef._ctor [UnityEngine.AndroidJNIModule.cpp]) (BuildId: c9e4d9212f644a0b)
    #08 pc 0x66e6c8 libunity.so (GetTouchCount()) (BuildId: 3a2fa155c62d7950)
    #09 pc 0x5e5e28 libunity.so (scripting_method_invoke(ScriptingMethodPtr, ScriptingObjectPtr, ScriptingArguments&, ScriptingExceptionPtr*, bool)) (BuildId: 3a2fa155c62d7950)
    #10 pc 0x5f5328 libunity.so (ScriptingInvocation::Invoke(ScriptingExceptionPtr*, bool)) (BuildId: 3a2fa155c62d7950)
    #11 pc 0x1257854 libunity.so (__unw_getcontext) (BuildId: 3a2fa155c62d7950)
    #12 pc 0x6032d8 libunity.so (MonoBehaviour::CallUpdateMethod(int)) (BuildId: 3a2fa155c62d7950)
    #13 pc 0x44fe18 libunity.so (SetGlobalMatrixLossy(TransformAccess, float vector[3] const&, float vector[4] const&, math::float3x3 const&)) (BuildId: 3a2fa155c62d7950)
    #14 pc 0x5b84e4 libunity.so (PhysicsManager::GetPhysicsScene(int)) (BuildId: 3a2fa155c62d7950)
    #15 pc 0x1253ffc libunity.so (__unw_getcontext) (BuildId: 3a2fa155c62d7950)
    #16 pc 0x5b8a80 libunity.so (PhysicsManager::InterpolateBodies(int)) (BuildId: 3a2fa155c62d7950)
    #17 pc 0x451778 libunity.so (void BaseBehaviourManager::CommonUpdate<BehaviourManager>()) (BuildId: 3a2fa155c62d7950)
    #18 pc 0x506374 libunity.so (ExecutePlayerLoop(NativePlayerLoopSystem*)) (BuildId: 3a2fa155c62d7950)
    #19 pc 0x12c6ffd libmonochrome_64.so (BuildId: 8e49f2fe14f7f4de692cc41d68d4dbc140af1880)
    #20 pc 0x57c578 libart.so (BuildId: 4c9b59b74ca9272f710a71137164c349)
    #21 pc 0x5e2fb8 libart.so (BuildId: 4c9b59b74ca9272f710a71137164c349)
    #22 pc 0x5e5e28 libunity.so (scripting_method_invoke(ScriptingMethodPtr, ScriptingObjectPtr, ScriptingArguments&, ScriptingExceptionPtr*, bool)) (BuildId: 3a2fa155c62d7950)
    #23 pc 0xde2364 libunity.so (UnityClassic::Baselib_Timer_GetTimeSinceStartupInSeconds()) (BuildId: 3a2fa155c62d7950)
    #24 pc 0x5f5328 libunity.so (ScriptingInvocation::Invoke(ScriptingExceptionPtr*, bool)) (BuildId: 3a2fa155c62d7950)
    #25 pc 0x5063b4 libunity.so (ExecutePlayerLoop(NativePlayerLoopSystem*)) (BuildId: 3a2fa155c62d7950)
    #26 pc 0x6a1438 libunity.so (Scripting::UnityEngine::Rendering::OnDemandRenderingProxy::GetRenderFrameInterval(int*, ScriptingExceptionPtr*)) (BuildId: 3a2fa155c62d7950)
    #27 pc 0x125affc libunity.so (__unw_getcontext) (BuildId: 3a2fa155c62d7950)
    #28 pc 0x125affc libunity.so (__unw_getcontext) (BuildId: 3a2fa155c62d7950)
    #29 pc 0x5f5328 libunity.so (ScriptingInvocation::Invoke(ScriptingExceptionPtr*, bool)) (BuildId: 3a2fa155c62d7950)
    #30 pc 0x1257854 libunity.so (__unw_getcontext) (BuildId: 3a2fa155c62d7950)
    #31 pc 0xde2364 libunity.so (UnityClassic::Baselib_Timer_GetTimeSinceStartupInSeconds()) (BuildId: 3a2fa155c62d7950)
    #32 pc 0x12c7047 libmonochrome_64.so (BuildId: 8e49f2fe14f7f4de692cc41d68d4dbc140af1880)
    #33 pc 0x506640 libunity.so (PlayerLoop()) (BuildId: 3a2fa155c62d7950)
    #34 pc 0x125affc libunity.so (__unw_getcontext) (BuildId: 3a2fa155c62d7950)
    #35 pc 0x125affc libunity.so (__unw_getcontext) (BuildId: 3a2fa155c62d7950)
    #36 pc 0x124bffc libunity.so (__unw_getcontext) (BuildId: 3a2fa155c62d7950)
    #37 pc 0x668adc libunity.so (AndroidAssetPacks::AssetPackManager::UpdateCoreAssetPacksStatus()) (BuildId: 3a2fa155c62d7950)
    #38 pc 0x668bac libunity.so (AndroidAssetPacks::AssetPackManager::UpdateCoreAssetPacksStatus()) (BuildId: 3a2fa155c62d7950)
    #39 pc 0x125affc libunity.so (__unw_getcontext) (BuildId: 3a2fa155c62d7950)
    #40 pc 0x125affc libunity.so (__unw_getcontext) (BuildId: 3a2fa155c62d7950)
    #41 pc 0x125affc libunity.so (__unw_getcontext) (BuildId: 3a2fa155c62d7950)
    #42 pc 0x67646c libunity.so (UnityPlayerLoop()) (BuildId: 3a2fa155c62d7950)
    #43 pc 0x676444 libunity.so (UnityPlayerLoop()) (BuildId: 3a2fa155c62d7950)
    #44 pc 0x125affc libunity.so (__unw_getcontext) (BuildId: 3a2fa155c62d7950)
    #45 pc 0x11d6ffc libunity.so (__unw_getcontext) (BuildId: 3a2fa155c62d7950)
    #46 pc 0x68c9a8 libunity.so (nativeRender(_JNIEnv*, _jobject*)) (BuildId: 3a2fa155c62d7950)
    #47 pc 0x713135b4
    #48 pc 0x71b157a4
    #49 pc 0x71b199b8
    #50 pc 0x71b1944c
    #51 pc 0x71efcdaf6c
    #52 pc 0x20087c libart.so (BuildId: 4c9b59b74ca9272f710a71137164c349)
    #53 pc 0x209398 libart.so (BuildId: 4c9b59b74ca9272f710a71137164c349)
    #54 pc 0x71efcdaf6c
    #55 pc 0x45836c libart.so (BuildId: 4c9b59b74ca9272f710a71137164c349)
    #56 pc 0x71efe728ed
    #57 pc 0x4841e4 libart.so (BuildId: 4c9b59b74ca9272f710a71137164c349)
    #58 pc 0x7f6e0 libc.so (BuildId: aec8135f170446601ecfbb3a8984afdb)
    #59 pc 0x483eb0 libart.so (BuildId: 4c9b59b74ca9272f710a71137164c349)
    #60 pc 0x71efe728ed
    #61 pc 0x71efe728ed
    #62 pc 0x5cc668 libart.so (BuildId: 4c9b59b74ca9272f710a71137164c349)
    #63 pc 0xa15ffc libart.so (BuildId: 4c9b59b74ca9272f710a71137164c349)