I got a lot crash report of my game on Android. Most of them like this.
Unity version : 2020.3.33f1
Platform : Android
Graphic APIs : Vulkan
--------- beginning of crash
12:55:13.456 12407 12554 E CRASH : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
12:55:13.456 12407 12554 E CRASH : Version '2020.3.33f1 (915a7af8b0d5)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
12:55:13.456 12407 12554 E CRASH : Build fingerprint: 'vivo/PD2243/PD2243:13/TP1A.220624.014/compiler12081036:user/release-keys'
12:55:13.456 12407 12554 E CRASH : Revision: '0'
12:55:13.456 12407 12554 E CRASH : ABI: 'arm64'
12:55:13.456 12407 12554 E CRASH : Timestamp: 2024-02-06 12:55:13+0800
12:55:13.456 12407 12554 E CRASH : pid: 12407, tid: 12554, name: UnityGfxDeviceW >>> com.xx.xx <<<
12:55:13.456 12407 12554 E CRASH : uid: 10352
12:55:13.456 12407 12554 E CRASH : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
12:55:13.456 12407 12554 E CRASH : x0 0000000000000000 x1 000000000000310a x2 0000000000000006 x3 000000719ac08b20
12:55:13.456 12407 12554 E CRASH : x4 0000000000000080 x5 0000000000000080 x6 0000000000000080 x7 8080808080808080
12:55:13.456 12407 12554 E CRASH : x8 00000000000000f0 x9 0000007445907300 x10 0000000000000001 x11 0000007445986f20
12:55:13.456 12407 12554 E CRASH : x12 0**************1 x13 000000007fffffff x14 00000000004d5c46 x15 0000000000000040
12:55:13.456 12407 12554 E CRASH : x16 00000074459f2ad0 x17 00000074459cabb0 x18 00000000bb99db90 x19 0000000000003077
12:55:13.456 12407 12554 E CRASH : x20 000000000000310a x21 00000000ffffffff x22 0000000000000002 x23 000000000000000b
12:55:13.456 12407 12554 E CRASH : x24 00000072b55fbd58 x25 0000000000000000 x26 000000709eebe000 x27 000000719ac08e20
12:55:13.456 12407 12554 E CRASH : x28 000000709eea5570 x29 000000719ac08ba0
12:55:13.456 12407 12554 E CRASH : sp 000000719ac08b00 lr 0000007445977c1c pc 0000007445977c48
12:55:13.456 12407 12554 E CRASH : backtrace:
12:55:13.456 12407 12554 E CRASH : #00 pc 0000000000099c48 /apex/com.android.runtime/lib64/bionic/libc.so (abort+168) (BuildId: 0c3c31af2ba249095865fad34ee910af)
12:55:16.012 12407 12407 E xx-game : onPause:
12:55:16.016 12407 12407 E xx-game : onStop:
12:55:16.041 12407 12407 E xx-game : unsub onSuccess()
12:55:53.403 12407 12407 E xx-game : onRestart:
12:55:53.403 12407 12407 E xx-game : onStart:
12:55:53.405 12407 12407 E CRASH : other thread is trapped; signum = 6
12:55:53.406 12407 12407 E AndroidRuntime: FATAL EXCEPTION: main
12:55:53.406 12407 12407 E AndroidRuntime: Process: com.xx.xx, PID: 12407
12:55:53.406 12407 12407 E AndroidRuntime: java.lang.Error: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
12:55:53.406 12407 12407 E AndroidRuntime: Version '2020.3.33f1 (915a7af8b0d5)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
12:55:53.406 12407 12407 E AndroidRuntime: Build fingerprint: 'vivo/PD2243/PD2243:13/TP1A.220624.014/compiler12081036:user/release-keys'
12:55:53.406 12407 12407 E AndroidRuntime: Revision: '0'
12:55:53.406 12407 12407 E AndroidRuntime: ABI: 'arm64'
12:55:53.406 12407 12407 E AndroidRuntime: Timestamp: 2024-02-06 12:55:13+0800
12:55:53.406 12407 12407 E AndroidRuntime: pid: 12407, tid: 12554, name: UnityGfxDeviceW >>> com.xx.xx <<<
12:55:53.406 12407 12407 E AndroidRuntime: uid: 10352
12:55:53.406 12407 12407 E AndroidRuntime: signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
12:55:53.406 12407 12407 E AndroidRuntime: x0 0000000000000000 x1 000000000000310a x2 0000000000000006 x3 000000719ac08b20
12:55:53.406 12407 12407 E AndroidRuntime: x4 0000000000000080 x5 0000000000000080 x6 0000000000000080 x7 8080808080808080
12:55:53.406 12407 12407 E AndroidRuntime: x8 00000000000000f0 x9 0000007445907300 x10 0000000000000001 x11 0000007445986f20
12:55:53.406 12407 12407 E AndroidRuntime: x12 0**************1 x13 000000007fffffff x14 00000000004d5c46 x15 0000000000000040
12:55:53.406 12407 12407 E AndroidRuntime: x16 00000074459f2ad0 x17 00000074459cabb0 x18 00000000bb99db90 x19 0000000000003077
12:55:53.406 12407 12407 E AndroidRuntime: x20 000000000000310a x21 00000000ffffffff x22 0000000000000002 x23 000000000000000b
12:55:53.406 12407 12407 E AndroidRuntime: x24 00000072b55fbd58 x25 0000000000000000 x26 000000709eebe000 x27 000000719ac08e20
12:55:53.406 12407 12407 E AndroidRuntime: x28 000000709eea5570 x29 000000719ac08ba0
12:55:53.406 12407 12407 E AndroidRuntime: sp 000000719ac08b00 lr 0000007445977c1c pc 0000007445977c48
12:55:53.406 12407 12407 E AndroidRuntime:
12:55:53.406 12407 12407 E AndroidRuntime: backtrace:
12:55:53.406 12407 12407 E AndroidRuntime: #00 pc 0000000000099c48 /apex/com.android.runtime/lib64/bionic/libc.so (abort+168) (BuildId: 0c3c31af2ba249095865fad34ee910af)
12:55:53.406 12407 12407 E AndroidRuntime:
12:55:53.406 12407 12407 E AndroidRuntime: at libc.abort(abort:168)
I can’t reproduce this crash. According to some forums,UnityGfxDeviceW crash maybe cause by Multithreaded Rendering,and this bug was fixed in 2020.3.48。So I update to 2020.3.48, bug crash still exist, even if disable multithreaded Rendering.( Most of crash comes from Android Simulator)
I try to find out root of problem, but crash trackback just one line stop at libc.so.
So I hava some question:
- Is this crash report correct ? Why trackback just stop at libc.so. How can i get more information?
- Is UnityGfxDeviceW problem cause by Unity or my script ?