Crashes Android crashes on 2022.2.10

After updating Unity to 2022.2.10 from 2021.3.10, I’ve been having much more frequent crashes on my Samsung a52.

I think that I got some insight that might help you guys debug.

While running the logcat and getting the logs unfiltered I found out that there was this 2 errors from chrome that happened right before the App crash. I do believe its related since I got the same errors twice now, right before the crash.

2023-03-23 18:46:09.986 17496-17496/? E/chromium: [17496:17496:20230323,184609.983743:ERROR elf_dynamic_array_reader.h:64] tag not found
2023-03-23 18:46:10.014 17496-17496/? W/chromium: [17496:17496:20230323,184610.014532:WARNING thread_snapshot_linux.cc:112] Unknown scheduling policy 1073741825
2023-03-23 18:46:10.027 17496-17496/? E/chromium: [17496:17496:20230323,184610.027247:ERROR file_io_posix.cc:144] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: Permission denied (13)
2023-03-23 18:46:10.039 839-839/? E/audit: type=1400 audit(1679607970.033:77801): avc:  denied  { search } for  pid=17496 comm="linker64" name="power_supply" dev="sysfs" ino=82741 scontext=u:r:untrusted_app:s0:c108,c258,c512,c768 tcontext=u:object_r:sysfs_battery:s0 tclass=dir permissive=0 SEPF_SM-A528B_12_0001 audit_filtered
2023-03-23 18:46:10.070 14995-15943/? E/CRASH: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2023-03-23 18:46:10.070 14995-15943/? E/CRASH: Version '2022.2.10f1 (bcebec703747)', Build type 'Release', Scripting Backend 'il2cpp', CPU 'arm64-v8a'
2023-03-23 18:46:10.070 14995-15943/? E/CRASH: Build fingerprint: 'samsung/a52sxqxx/a52s/{{idk if the rest is relevant}}'
2023-03-23 18:46:10.070 14995-15943/? E/CRASH: Revision: '4'
2023-03-23 18:46:10.070 14995-15943/? E/CRASH: ABI: 'arm64'
2023-03-23 18:46:10.070 14995-15943/? E/CRASH: Timestamp: 2023-03-23 18:46:10.070558449-0300
2023-03-23 18:46:10.070 14995-15943/? E/CRASH: pid: 14995, tid: 15943, name: UnityMain  >>> com.Boardible.Boardible <<<
2023-03-23 18:46:10.070 14995-15943/? E/CRASH: uid: 10620
2023-03-23 18:46:10.070 14995-15943/? E/CRASH: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr --------
2023-03-23 18:46:10.070 14995-15943/? E/CRASH: Cause: null pointer dereference
2023-03-23 18:46:10.070 14995-15943/? E/CRASH:     x0  0000007940199220  x1  0000007940111830  x2  0000000000000001  x3  0000000000000000
2023-03-23 18:46:10.070 14995-15943/? E/CRASH:     x4  0000007940111830  x5  0000007940111850  x6  0000003900000038  x7  000003c20000003a
2023-03-23 18:46:10.070 14995-15943/? E/CRASH:     x8  0000000000000000  x9  0000000000000000  x10 0000000000000018  x11 0000000000000000
2023-03-23 18:46:10.070 14995-15943/? E/CRASH:     x12 000003c200000037  x13 0000000100000002  x14 00000000ff8af0f3  x15 0000000034155555
2023-03-23 18:46:10.070 14995-15943/? E/CRASH:     x16 0000007a454a66b8  x17 0000007d82af33d0  x18 00000079f2284958  x19 0000007940111830
2023-03-23 18:46:10.070 14995-15943/? E/CRASH:     x20 00000079f0600040  x21 0000007a44732260  x22 00000079f0600040  x23 0000007940199220
2023-03-23 18:46:10.070 14995-15943/? E/CRASH:     x24 0000000000000001  x25 00000079f0600040  x26 00000079f0ffeb30  x27 0000007aba5c8070
2023-03-23 18:46:10.070 14995-15943/? E/CRASH:     x28 0000007a442ef25a  x29 0000007aba5c8100
2023-03-23 18:46:10.070 14995-15943/? E/CRASH:     lr  0000007a44d02cec  sp  0000007aba5c7fd0  pc  0000007a4473229c  pst 0000000080001000
2023-03-23 18:46:10.070 14995-15943/? E/CRASH: backtrace:
2023-03-23 18:46:10.070 14995-15943/? E/CRASH:       #00 pc 000000000059329c  /{{somepath}}/lib/arm64/libunity.so (BuildId: a6a5844ebf8e3220)
2023-03-23 18:46:10.070 14995-15943/? E/CRASH:       #01 pc 0000000000b63ce8  /{{somepath}}/lib/arm64/libunity.so (BuildId: a6a5844ebf8e3220)
2023-03-23 18:46:10.070 14995-15943/? E/CRASH:       #02 pc 0000000000588438  /{{somepath}}/lib/arm64/libunity.so (BuildId: a6a5844ebf8e3220)
2023-03-23 18:46:10.070 14995-15943/? E/CRASH:       #03 pc 0000000000588144  /{{somepath}}/lib/arm64/libunity.so (BuildId: a6a5844ebf8e3220)
2023-03-23 18:46:10.070 14995-15943/? E/CRASH:       #04 pc 000000000058e184  /{{somepath}}/lib/arm64/libunity.so (BuildId: a6a5844ebf8e3220)
2023-03-23 18:46:10.070 14995-15943/? E/CRASH:       #05 pc 000000000438b860  /{{somepath}}/lib/arm64/libil2cpp.so (BuildId: cd3c68ab98edcf20)
2023-03-23 18:46:10.070 14995-15943/? E/CRASH:       #06 pc 000000000438981c  /{{somepath}}/lib/arm64/libil2cpp.so (BuildId: cd3c68ab98edcf20)
2023-03-23 18:46:10.070 14995-15943/? E/CRASH:       #07 pc 00000000043880d8  /{{somepath}}/lib/arm64/libil2cpp.so (BuildId: cd3c68ab98edcf20)
2023-03-23 18:46:10.071 14995-15943/? E/CRASH:       #08 pc 00000000044db4dc  /{{somepath}}/lib/arm64/libil2cpp.so (BuildId: cd3c68ab98edcf20)
2023-03-23 18:46:10.071 14995-15943/? E/CRASH:       #09 pc 0000000002029c28  /{{somepath}}/lib/arm64/libil2cpp.so (BuildId: cd3c68ab98edcf20)
2023-03-23 18:46:10.071 14995-15943/? E/CRASH:       #10 pc 0000000002029b74  /{{somepath}}/lib/arm64/libil2cpp.so (BuildId: cd3c68ab98edcf20)
2023-03-23 18:46:10.071 14995-15943/? E/CRASH:       #11 pc 00000000006963c8  /{{somepath}}/lib/arm64/libunity.so (BuildId: a6a5844ebf8e3220)
2023-03-23 18:46:10.071 14995-15943/? E/CRASH:       #12 pc 00000000006a5784  /{{somepath}}/lib/arm64/libunity.so (BuildId: a6a5844ebf8e3220)
2023-03-23 18:46:10.071 14995-15943/? E/CRASH:       #13 pc 000000000058f050  /{{somepath}}/lib/arm64/libunity.so (BuildId: a6a5844ebf8e3220)
2023-03-23 18:46:10.071 14995-15943/? E/CRASH:       #14 pc 0000000000adec4c  /{{somepath}}/lib/arm64/libunity.so (BuildId: a6a5844ebf8e3220)
2023-03-23 18:46:10.071 14995-15943/? E/CRASH:       #15 pc 0000000000adf1a4  /{{somepath}}/lib/arm64/libunity.so (BuildId: a6a5844ebf8e3220)
2023-03-23 18:46:10.071 14995-15943/? E/CRASH:       #16 pc 00000000005bc708  /{{somepath}}/lib/arm64/libunity.so (BuildId: a6a5844ebf8e3220)
2023-03-23 18:46:10.071 14995-15943/? E/CRASH:       #17 pc 00000000005b35a4  /{{somepath}}/lib/arm64/libunity.so (BuildId: a6a5844ebf8e3220)
2023-03-23 18:46:10.071 14995-15943/? E/CRASH:       #18 pc 00000000005b35e4  /{{somepath}}/lib/arm64/libunity.so (BuildId: a6a5844ebf8e3220)
2023-03-23 18:46:10.071 14995-15943/? E/CRASH:       #19 pc 00000000005b3870  /{{somepath}}/lib/arm64/libunity.so (BuildId: a6a5844ebf8e3220)
2023-03-23 18:46:10.071 14995-15943/? E/CRASH:       #20 pc 0000000000726640  /{{somepath}}/lib/arm64/libunity.so (BuildId: a6a5844ebf8e3220)
2023-03-23 18:46:10.071 14995-15943/? E/CRASH:       #21 pc 000000000073e7b0  /{{somepath}}/lib/arm64/libunity.so (BuildId: a6a5844ebf8e3220)
2023-03-23 18:46:10.071 14995-15943/? E/CRASH:       #22 pc 0000000000461554  /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+148) (BuildId: 289d75599f6112d5757113220599e90b)
2023-03-23 18:46:10.071 14995-15943/? E/CRASH:       #23 pc 000000000020a2b0  /apex/com.android.art/lib64/libart.so (nterp_helper+4016) (BuildId: 289d75599f6112d5757113220599e90b)
2023-03-23 18:46:10.071 14995-15943/? E/CRASH:       #24 pc 0000000002004b8c  /memfd:jit-cache (deleted)
1 Like

Use development build for better stack traces.

Did you solve this issue? I am suffering from a similar issue.

1 Like

suffering too

Have this issue too. This issue seems to be limited to samsung A51/A52 devices, the root of the issue seems to be in chromium.
It seems that chromium is trying to do something that is not allowed specifically on this device