Search Unity

Bug Unity update 2018 to 2021.3.14f1 lead to crashes SIGSEGV, SIGBUS and SIGTRAP

Discussion in 'Scripting' started by mgrigorov_bg, Nov 30, 2022.

  1. mgrigorov_bg

    mgrigorov_bg

    Joined:
    May 14, 2016
    Posts:
    23
    After we've updated our Unity from 2018 to 2019 we've noticed a lot of crashes with SIGXXX logs.
    We then updated from 2019 to 2021.3.14f1 with the hope this to be fixed.

    Those crashes did not happen in 2018!

    However the problem still exist. Any idea why this is happening and a fix for it?
    Any help will be appreciated!




    Here is the stack trace for each of the crashes.


    [libunity.so]
    • SIGSEGV

      *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
      pid: 0, tid: 0 >>> com.SevenBulls.CounterAttackShooter <<<

      backtrace:
      #00 pc 0x00000000003674b8 /data/app/com.SevenBulls.CounterAttackShooter-TSdRI3lsrsuXiFnTJjjS6g==/lib/arm64/libunity.so
      #01 pc 0x0000000000360fd4 /data/app/com.SevenBulls.CounterAttackShooter-TSdRI3lsrsuXiFnTJjjS6g==/lib/arm64/libunity.so
      #02 pc 0x0000000000360994 /data/app/com.SevenBulls.CounterAttackShooter-TSdRI3lsrsuXiFnTJjjS6g==/lib/arm64/libunity.so
      #03 pc 0x000000000043b2f4 /data/app/com.SevenBulls.CounterAttackShooter-TSdRI3lsrsuXiFnTJjjS6g==/lib/arm64/libunity.so
      #04 pc 0x000000000045c8c8 /data/app/com.SevenBulls.CounterAttackShooter-TSdRI3lsrsuXiFnTJjjS6g==/lib/arm64/libunity.so
      #05 pc 0x000000000045c908 /data/app/com.SevenBulls.CounterAttackShooter-TSdRI3lsrsuXiFnTJjjS6g==/lib/arm64/libunity.so
      #06 pc 0x000000000045cb40 /data/app/com.SevenBulls.CounterAttackShooter-TSdRI3lsrsuXiFnTJjjS6g==/lib/arm64/libunity.so
      #07 pc 0x00000000005f49cc /data/app/com.SevenBulls.CounterAttackShooter-TSdRI3lsrsuXiFnTJjjS6g==/lib/arm64/libunity.so
      #08 pc 0x000000000060cc50 /data/app/com.SevenBulls.CounterAttackShooter-TSdRI3lsrsuXiFnTJjjS6g==/lib/arm64/libunity.so
      #09 pc 0x000000000005391c /data/app/com.SevenBulls.CounterAttackShooter-TSdRI3lsrsuXiFnTJjjS6g==/oat/arm64/base.odex

    [libunity.so]
    • SIGBUS
      *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
      pid: 0, tid: 0 >>> com.SevenBulls.CounterAttackShooter <<<

      backtrace:
      #00 pc 0x00000000003674b8 /data/app/~~YrsKiJsiY65QjJLbbNdB7Q==/com.SevenBulls.CounterAttackShooter-R8X3ikyeTSuPW3CLBdtuJg==/lib/arm64/libunity.so
      #01 pc 0x0000000000360fd4 /data/app/~~YrsKiJsiY65QjJLbbNdB7Q==/com.SevenBulls.CounterAttackShooter-R8X3ikyeTSuPW3CLBdtuJg==/lib/arm64/libunity.so
      #02 pc 0x0000000000360994 /data/app/~~YrsKiJsiY65QjJLbbNdB7Q==/com.SevenBulls.CounterAttackShooter-R8X3ikyeTSuPW3CLBdtuJg==/lib/arm64/libunity.so
      #03 pc 0x000000000043b2f4 /data/app/~~YrsKiJsiY65QjJLbbNdB7Q==/com.SevenBulls.CounterAttackShooter-R8X3ikyeTSuPW3CLBdtuJg==/lib/arm64/libunity.so
      #04 pc 0x000000000045c8c8 /data/app/~~YrsKiJsiY65QjJLbbNdB7Q==/com.SevenBulls.CounterAttackShooter-R8X3ikyeTSuPW3CLBdtuJg==/lib/arm64/libunity.so
      #05 pc 0x000000000045c908 /data/app/~~YrsKiJsiY65QjJLbbNdB7Q==/com.SevenBulls.CounterAttackShooter-R8X3ikyeTSuPW3CLBdtuJg==/lib/arm64/libunity.so
      #06 pc 0x000000000045cb40 /data/app/~~YrsKiJsiY65QjJLbbNdB7Q==/com.SevenBulls.CounterAttackShooter-R8X3ikyeTSuPW3CLBdtuJg==/lib/arm64/libunity.so
      #07 pc 0x00000000005f49cc /data/app/~~YrsKiJsiY65QjJLbbNdB7Q==/com.SevenBulls.CounterAttackShooter-R8X3ikyeTSuPW3CLBdtuJg==/lib/arm64/libunity.so
      #08 pc 0x000000000060cc50 /data/app/~~YrsKiJsiY65QjJLbbNdB7Q==/com.SevenBulls.CounterAttackShooter-R8X3ikyeTSuPW3CLBdtuJg==/lib/arm64/libunity.so
      #09 pc 0x00000000000537bc /data/app/~~YrsKiJsiY65QjJLbbNdB7Q==/com.SevenBulls.CounterAttackShooter-R8X3ikyeTSuPW3CLBdtuJg==/oat/arm64/base.odex



      [libunity.so]
      • SIGTRAP
      *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
      pid: 0, tid: 0 >>> com.SevenBulls.CounterAttackShooter <<<

      backtrace:
      #00 pc 0x00000000000bc2c8 /apex/com.android.runtime/lib64/bionic/libc.so (tgkill+8)
      #01 pc 0x0000000000cd8418 /data/app/com.SevenBulls.CounterAttackShooter-2FmEYREhKMA0qkmk8oKcmQ==/lib/arm64/libunity.so
      #02 pc 0x0000000000cd8994 /data/app/com.SevenBulls.CounterAttackShooter-2FmEYREhKMA0qkmk8oKcmQ==/lib/arm64/libunity.so
      #03 pc 0x0000000000b4fea4 /data/app/com.SevenBulls.CounterAttackShooter-2FmEYREhKMA0qkmk8oKcmQ==/lib/arm64/libunity.so
      #04 pc 0x00000000003b3388 /data/app/com.SevenBulls.CounterAttackShooter-2FmEYREhKMA0qkmk8oKcmQ==/lib/arm64/libunity.so
      #05 pc 0x00000000005bcfe8 /data/app/com.SevenBulls.CounterAttackShooter-2FmEYREhKMA0qkmk8oKcmQ==/lib/arm64/libunity.so
      #06 pc 0x00000000005bce14 /data/app/com.SevenBulls.CounterAttackShooter-2FmEYREhKMA0qkmk8oKcmQ==/lib/arm64/libunity.so
      #07 pc 0x00000000005bf41c /data/app/com.SevenBulls.CounterAttackShooter-2FmEYREhKMA0qkmk8oKcmQ==/lib/arm64/libunity.so
      #08 pc 0x00000000005bfdd0 /data/app/com.SevenBulls.CounterAttackShooter-2FmEYREhKMA0qkmk8oKcmQ==/lib/arm64/libunity.so
      #09 pc 0x00000000005c0258 /data/app/com.SevenBulls.CounterAttackShooter-2FmEYREhKMA0qkmk8oKcmQ==/lib/arm64/libunity.so
      #10 pc 0x000000000045df40 /data/app/com.SevenBulls.CounterAttackShooter-2FmEYREhKMA0qkmk8oKcmQ==/lib/arm64/libunity.so
      #11 pc 0x000000000045df54 /data/app/com.SevenBulls.CounterAttackShooter-2FmEYREhKMA0qkmk8oKcmQ==/lib/arm64/libunity.so
      #12 pc 0x000000000045df54 /data/app/com.SevenBulls.CounterAttackShooter-2FmEYREhKMA0qkmk8oKcmQ==/lib/arm64/libunity.so
      #13 pc 0x000000000045df54 /data/app/com.SevenBulls.CounterAttackShooter-2FmEYREhKMA0qkmk8oKcmQ==/lib/arm64/libunity.so
      #14 pc 0x000000000045df54 /data/app/com.SevenBulls.CounterAttackShooter-2FmEYREhKMA0qkmk8oKcmQ==/lib/arm64/libunity.so
      #15 pc 0x000000000045df54 /data/app/com.SevenBulls.CounterAttackShooter-2FmEYREhKMA0qkmk8oKcmQ==/lib/arm64/libunity.so
      #16 pc 0x000000000045df54 /data/app/com.SevenBulls.CounterAttackShooter-2FmEYREhKMA0qkmk8oKcmQ==/lib/arm64/libunity.so
      #17 pc 0x000000000045df54 /data/app/com.SevenBulls.CounterAttackShooter-2FmEYREhKMA0qkmk8oKcmQ==/lib/arm64/libunity.so
      #18 pc 0x000000000045df54 /data/app/com.SevenBulls.CounterAttackShooter-2FmEYREhKMA0qkmk8oKcmQ==/lib/arm64/libunity.so
      #19 pc 0x000000000045dd6c /data/app/com.SevenBulls.CounterAttackShooter-2FmEYREhKMA0qkmk8oKcmQ==/lib/arm64/libunity.so
      #20 pc 0x00000000005407cc /data/app/com.SevenBulls.CounterAttackShooter-2FmEYREhKMA0qkmk8oKcmQ==/lib/arm64/libunity.so
      #21 pc 0x00000000001dd8c8 /data/app/com.SevenBulls.CounterAttackShooter-2FmEYREhKMA0qkmk8oKcmQ==/lib/arm64/libunity.so
      #22 pc 0x0000000000e83588 /data/app/com.SevenBulls.CounterAttackShooter-2FmEYREhKMA0qkmk8oKcmQ==/lib/arm64/libil2cpp.so
      #23 pc 0x0000000000bf1cbc /data/app/com.SevenBulls.CounterAttackShooter-2FmEYREhKMA0qkmk8oKcmQ==/lib/arm64/libil2cpp.so
      #24 pc 0x0000000001d4bf88 /data/app/com.SevenBulls.CounterAttackShooter-2FmEYREhKMA0qkmk8oKcmQ==/lib/arm64/libil2cpp.so
      #25 pc 0x0000000001d4b310 /data/app/com.SevenBulls.CounterAttackShooter-2FmEYREhKMA0qkmk8oKcmQ==/lib/arm64/libil2cpp.so
      #26 pc 0x0000000001d4c084 /data/app/com.SevenBulls.CounterAttackShooter-2FmEYREhKMA0qkmk8oKcmQ==/lib/arm64/libil2cpp.so
      #27 pc 0x0000000001d3a2c4 /data/app/com.SevenBulls.CounterAttackShooter-2FmEYREhKMA0qkmk8oKcmQ==/lib/arm64/libil2cpp.so
      #28 pc 0x0000000000cff49c /data/app/com.SevenBulls.CounterAttackShooter-2FmEYREhKMA0qkmk8oKcmQ==/lib/arm64/libil2cpp.so
      #29 pc 0x0000000001d36030 /data/app/com.SevenBulls.CounterAttackShooter-2FmEYREhKMA0qkmk8oKcmQ==/lib/arm64/libil2cpp.so
      #30 pc 0x0000000001bd2dd0 /data/app/com.SevenBulls.CounterAttackShooter-2FmEYREhKMA0qkmk8oKcmQ==/lib/arm64/libil2cpp.so
      #31 pc 0x00000000009d3204 /data/app/com.SevenBulls.CounterAttackShooter-2FmEYREhKMA0qkmk8oKcmQ==/lib/arm64/libil2cpp.so
      #32 pc 0x00000000009d3078 /data/app/com.SevenBulls.CounterAttackShooter-2FmEYREhKMA0qkmk8oKcmQ==/lib/arm64/libil2cpp.so
      #33 pc 0x00000000009753b8 /data/app/com.SevenBulls.CounterAttackShooter-2FmEYREhKMA0qkmk8oKcmQ==/lib/arm64/libil2cpp.so
      #34 pc 0x000000000098c668 /data/app/com.SevenBulls.CounterAttackShooter-2FmEYREhKMA0qkmk8oKcmQ==/lib/arm64/libil2cpp.so
      #35 pc 0x0000000000984de4 /data/app/com.SevenBulls.CounterAttackShooter-2FmEYREhKMA0qkmk8oKcmQ==/lib/arm64/libil2cpp.so
      #36 pc 0x00000000000cf700 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36)
      #37 pc 0x00000000000720e8 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
     
    EthanFischer likes this.
  2. wojaswojaswojaswojas

    wojaswojaswojaswojas

    Joined:
    May 1, 2022
    Posts:
    1
    i have that same error. Somebody fixed that?
     
  3. dariofdz3

    dariofdz3

    Joined:
    Jun 20, 2021
    Posts:
    1
    Same there :(
     
  4. MaskedMouse

    MaskedMouse

    Joined:
    Jul 8, 2014
    Posts:
    1,092
    Those aren't really helpful comments at all.
    It may not even be the same problem that is causing the crash.
    Have you tried the latest LTS?
    What else can you extract from the crash reports?
    What device, what OS, can you reproduce it on your own device?
    When does it happen?
    Is it a permission problem?
    Is it a screen rotation problem?
    Are you using native plugins?
    Are those native plugins up to date?
    Have you updated all packages?
    Are you doing any unsafe operations?

    A lot has changed since 2018.
    Try a clean library and a clean build.

    So many things yet so little information is given.
    They're likely separate problems.

    Also this is the scripting section and this seems to be an Android issue.
    https://forum.unity.com/forums/android.30/

    If you want to make any sensible crash stack trace you're probably going to need the symbols which only you have access to.
    https://docs.unity3d.com/Manual/android-symbols.html
     
  5. theodhoribeka

    theodhoribeka

    Joined:
    Aug 9, 2018
    Posts:
    4
    Same issue on unity 2019.4.12f1