Search Unity

Unity - Unexplained play console (android) crash reports

Discussion in 'Android' started by Toastbyte, Jan 13, 2020.

  1. Toastbyte

    Toastbyte

    Joined:
    Sep 1, 2016
    Posts:
    54
    Hello,

    We recently launched our game after a lot of work and dedication put into it and it was received pretty well.

    I have been noticing, however, that there have been crashes reported on my play console which I cant wrap my head around.

    • I tried recreating the crashes by testing out the game for a long time, but it never crashed for me or showed any type of error in the Unity editor.

    • I also tried using the addr2line tool to transform the addresses into lines of code, but the only thing I got out of it is the following by putting in the first 9 addresses:

    The command put into the addr2line tool looks something like this
    (for the first 9 addresses):

    arm-linux-androideabi-addr2line.exe -f -C -e C:\Users\John\Desktop\AndroidDebug\libunity.sym.so 00000000000bfa35 00000000000bfd65 0000000000348935 0000000000346b61 000000000034857d 0000000000348129 0000000000346b49 00000000003457a7 000000000020018b


    Output of command:

    void AnimationEvent::Transfer<GenerateTypeTreeTransfer>(GenerateTypeTreeTransfer&)
    ??:?
    void AnimationEvent::Transfer<StreamedBinaryRead>(StreamedBinaryRead&)
    ??:?
    void SpriteAtlas::Transfer<StreamedBinaryWrite>(StreamedBinaryWrite&)
    ??:?
    void SortingGroup::Transfer<StreamedBinaryWrite>(StreamedBinaryWrite&)
    ??:?
    void SpriteAtlas::Transfer<SafeBinaryRead>(SafeBinaryRead&)
    ??:?
    core::hash_map<core::basic_string<char, core::StringStorageDefault<char> >, dynamic_array<PPtr<Sprite>, 0u>, core::hash<core::basic_string<char, core::StringStorageDefault<char> > >, std::equal_to<core::basic_string<char, core::StringStorageDefault<char> > > >::eek:perator[](core::basic_string<char, core::StringStorageDefault<char> > const&)
    ??:?
    void SortingGroup::Transfer<StreamedBinaryWrite>(StreamedBinaryWrite&)
    ??:?
    void PrepareSpriteRenderNodes<true>(RenderNodeQueuePrepareThreadContext&)
    ??:?
    AssetBundleManager::GetAssetBundleScenePaths(core::basic_string<char, core::StringStorageDefault<char> > const&, core::basic_string<char, core::StringStorageDefault<char> >&, core::basic_string<char, core::StringStorageDefault<char> >&, core::basic_string<char, core::StringStorageDefault<char> >&) const
    ??:?​


    I don't understand what I am supposed to do with this information, as they are not the functions I created on my own.

    (Im using Unity 2019.2.17f1, android ndk r16b, built with il2cpp and android bundle)

    Did I do something wrong when using the addr2line tool?
    How am I supposed to read the information provided in the crash report?


    The crash reports look like this:

    *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** pid: 0, tid: 0 >>> com.TB.DigMine <<< backtrace:

    #00 pc 0000000000056e78 /system/lib/libc.so (tgkill+12)

    #01 pc 00000000000bfa35 /data/app/com.TB.DigMine-6efZDWl692TUcPR0WTrKDA==/lib/arm/libunity.so

    #02 pc 00000000000bfd65 /data/app/com.TB.DigMine-6efZDWl692TUcPR0WTrKDA==/lib/arm/libunity.so

    #03 pc 0000000000348935 /data/app/com.TB.DigMine-6efZDWl692TUcPR0WTrKDA==/lib/arm/libunity.so

    #04 pc 0000000000346b61 /data/app/com.TB.DigMine-6efZDWl692TUcPR0WTrKDA==/lib/arm/libunity.so

    #05 pc 000000000034857d /data/app/com.TB.DigMine-6efZDWl692TUcPR0WTrKDA==/lib/arm/libunity.so

    #06 pc 0000000000348129 /data/app/com.TB.DigMine-6efZDWl692TUcPR0WTrKDA==/lib/arm/libunity.so

    #07 pc 0000000000346b49 /data/app/com.TB.DigMine-6efZDWl692TUcPR0WTrKDA==/lib/arm/libunity.so

    #08 pc 00000000003457a7 /data/app/com.TB.DigMine-6efZDWl692TUcPR0WTrKDA==/lib/arm/libunity.so

    #09 pc 000000000020018b /data/app/com.TB.DigMine-6efZDWl692TUcPR0WTrKDA==/lib/arm/libunity.so

    #10 pc 000000000074a8c4 /data/app/com.TB.DigMine-6efZDWl692TUcPR0WTrKDA==/lib/arm/libil2cpp.so

    #11 pc 000000000074a768 /data/app/com.TB.DigMine-6efZDWl692TUcPR0WTrKDA==/lib/arm/libil2cpp.so

    #12 pc 0000000000359168 /data/app/com.TB.DigMine-6efZDWl692TUcPR0WTrKDA==/lib/arm/libil2cpp.so

    #13 pc 00000000003578b8 /data/app/com.TB.DigMine-6efZDWl692TUcPR0WTrKDA==/lib/arm/libil2cpp.so

    #14 pc 0000000000356764 /data/app/com.TB.DigMine-6efZDWl692TUcPR0WTrKDA==/lib/arm/libil2cpp.so

    #15 pc 00000000003555f4 /data/app/com.TB.DigMine-6efZDWl692TUcPR0WTrKDA==/lib/arm/libil2cpp.so

    #16 pc 00000000001dda04 /data/app/com.TB.DigMine-6efZDWl692TUcPR0WTrKDA==/lib/arm/libil2cpp.so

    #17 pc 000000000014d5e4 /data/app/com.TB.DigMine-6efZDWl692TUcPR0WTrKDA==/lib/arm/libil2cpp.so

    #18 pc 0000000000264795 /data/app/com.TB.DigMine-6efZDWl692TUcPR0WTrKDA==/lib/arm/libunity.so

    #19 pc 00000000002585f9 /data/app/com.TB.DigMine-6efZDWl692TUcPR0WTrKDA==/lib/arm/libunity.so

    #20 pc 0000000000255419 /data/app/com.TB.DigMine-6efZDWl692TUcPR0WTrKDA==/lib/arm/libunity.so

    #21 pc 000000000033c079 /data/app/com.TB.DigMine-6efZDWl692TUcPR0WTrKDA==/lib/arm/libunity.so

    #22 pc 00000000001c177d /data/app/com.TB.DigMine-6efZDWl692TUcPR0WTrKDA==/lib/arm/libunity.so

    #23 pc 00000000002d6907 /data/app/com.TB.DigMine-6efZDWl692TUcPR0WTrKDA==/lib/arm/libunity.so

    #24 pc 000000000020514b /data/app/com.TB.DigMine-6efZDWl692TUcPR0WTrKDA==/lib/arm/libunity.so

    #25 pc 00000000003b02e0 /data/app/com.TB.DigMine-6efZDWl692TUcPR0WTrKDA==/lib/arm/libil2cpp.so

    #26 pc 00000000003e8964 /data/app/com.TB.DigMine-6efZDWl692TUcPR0WTrKDA==/lib/arm/libil2cpp.so

    #27 pc 00000000003e8270 /data/app/com.TB.DigMine-6efZDWl692TUcPR0WTrKDA==/lib/arm/libil2cpp.so

    #28 pc 00000000001fa5c8 /data/app/com.TB.DigMine-6efZDWl692TUcPR0WTrKDA==/lib/arm/libil2cpp.so

    #29 pc 000000000014d5e4 /data/app/com.TB.DigMine-6efZDWl692TUcPR0WTrKDA==/lib/arm/libil2cpp.so

    #30 pc 0000000000264795 /data/app/com.TB.DigMine-6efZDWl692TUcPR0WTrKDA==/lib/arm/libunity.so

    #31 pc 00000000002585f9 /data/app/com.TB.DigMine-6efZDWl692TUcPR0WTrKDA==/lib/arm/libunity.so

    #32 pc 00000000002dff7d /data/app/com.TB.DigMine-6efZDWl692TUcPR0WTrKDA==/lib/arm/libunity.so

    #33 pc 00000000002dfe59 /data/app/com.TB.DigMine-6efZDWl692TUcPR0WTrKDA==/lib/arm/libunity.so

    #34 pc 00000000001e1e4d /data/app/com.TB.DigMine-6efZDWl692TUcPR0WTrKDA==/lib/arm/libunity.so

    #35 pc 00000000001e1e87 /data/app/com.TB.DigMine-6efZDWl692TUcPR0WTrKDA==/lib/arm/libunity.so

    #36 pc 00000000002b30b3 /data/app/com.TB.DigMine-6efZDWl692TUcPR0WTrKDA==/lib/arm/libunity.so

    #37 pc 00000000002b88dd /data/app/com.TB.DigMine-6efZDWl692TUcPR0WTrKDA==/lib/arm/libunity.so

    #38 pc 00000000002b88f9 /data/app/com.TB.DigMine-6efZDWl692TUcPR0WTrKDA==/lib/arm/libunity.so

    #39 pc 00000000002b8a3f /data/app/com.TB.DigMine-6efZDWl692TUcPR0WTrKDA==/lib/arm/libunity.so

    #40 pc 0000000000216c35 /data/app/com.TB.DigMine-6efZDWl692TUcPR0WTrKDA==/lib/arm/libunity.so

    #41 pc 0000000000211cd3 /data/app/com.TB.DigMine-6efZDWl692TUcPR0WTrKDA==/lib/arm/libunity.so

    #42 pc 000000000000487b /data/app/com.TB.DigMine-6efZDWl692TUcPR0WTrKDA==/oat/arm/base.odex (offset 0x4000) (com.unity3d.player.GoogleVrProxy.isQuiting [DEDUPED]+74)

    #43 pc 000000000000dd37 /dev/ashmem/dalvik-jit-code-cache_12598_12598 (deleted)

    -------------------------------

    Thanks for the help in advance.
     
  2. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,902
    When resolving the stacktrace - are you sure you picked libunity.sym.so from il2cpp directory instead of mono. You mentioned your build is il2cpp.

    The stacktrace belongs to Unity's native part, you would need to submit a bug report with repro project attached. But if it's not reproducible for you, it may be hard to fix
     
  3. Toastbyte

    Toastbyte

    Joined:
    Sep 1, 2016
    Posts:
    54
    Could you please provide me with the path of the correct .sym.so file?
    There are numerous different libunity.sym.so files in my unity editor folder.

    upload_2020-1-13_12-3-18.png
     
  4. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,902
    That depends on your app.

    Is scripting backend il2cpp or mono? - pick appropriate folder
    Is your app running with CPU architecture ARMv7 or ARM64 - pick appropriate folder
    Is you app devlopment or non development - for non development the folder will be Release