Stacktrace for "base.0x1945e14 (Native Method)"

I have an app that makes use of AR Core which randomly crashes on Android 11 (Pixel 3). Below is the crash report with and I’ve built the app with the following settings enabled:

  • Development Build
  • Script Debugging
  • Strip Engine Code
  • Create symbols.zip
  • il2cpp backend

I unpacked the zip file and tried pointing both the ndk-stack and Android Logcat utility to the correct folder within (arm64-v8a). Neither of them can do anything with the following crash report.

Also, I don’t understand what base.apk refers to here either (something with the native AR Core library?).
Any ideas how to debug this?

backtrace:
05-11 08:06:58.751  5917  5940 E AndroidRuntime:       #00 pc 0000000001945e14  /data/app/~~DbqIh2rTCwk9UvmfOjy86w==/com.google.ar.core-MQKp7KAH_lN7ohO0yk6c6A==/base.apk (BuildId: fc6e2bd90e8118ec0268d946f5992fcc)
05-11 08:06:58.751  5917  5940 E AndroidRuntime:       #01 pc 0000000001946134  /data/app/~~DbqIh2rTCwk9UvmfOjy86w==/com.google.ar.core-MQKp7KAH_lN7ohO0yk6c6A==/base.apk (BuildId: fc6e2bd90e8118ec0268d946f5992fcc)
05-11 08:06:58.751  5917  5940 E AndroidRuntime:       #02 pc 0000000001945a60  /data/app/~~DbqIh2rTCwk9UvmfOjy86w==/com.google.ar.core-MQKp7KAH_lN7ohO0yk6c6A==/base.apk (BuildId: fc6e2bd90e8118ec0268d946f5992fcc)
05-11 08:06:58.751  5917  5940 E AndroidRuntime:       #03 pc 0000000001943b30  /data/app/~~DbqIh2rTCwk9UvmfOjy86w==/com.google.ar.core-MQKp7KAH_lN7ohO0yk6c6A==/base.apk (BuildId: fc6e2bd90e8118ec0268d946f5992fcc)
05-11 08:06:58.751  5917  5940 E AndroidRuntime:       #04 pc 000000000193ec74  /data/app/~~DbqIh2rTCwk9UvmfOjy86w==/com.google.ar.core-MQKp7KAH_lN7ohO0yk6c6A==/base.apk (BuildId: fc6e2bd90e8118ec0268d946f5992fcc)
05-11 08:06:58.751  5917  5940 E AndroidRuntime:       #05 pc 0000000001940f2c  /data/app/~~DbqIh2rTCwk9UvmfOjy86w==/com.google.ar.core-MQKp7KAH_lN7ohO0yk6c6A==/base.apk (BuildId: fc6e2bd90e8118ec0268d946f5992fcc)
05-11 08:06:58.751  5917  5940 E AndroidRuntime:       #06 pc 00000000014e2518  /data/app/~~DbqIh2rTCwk9UvmfOjy86w==/com.google.ar.core-MQKp7KAH_lN7ohO0yk6c6A==/base.apk (BuildId: fc6e2bd90e8118ec0268d946f5992fcc)
05-11 08:06:58.751  5917  5940 E AndroidRuntime:       #07 pc 00000000014b933c  /data/app/~~DbqIh2rTCwk9UvmfOjy86w==/com.google.ar.core-MQKp7KAH_lN7ohO0yk6c6A==/base.apk (BuildId: fc6e2bd90e8118ec0268d946f5992fcc)
05-11 08:06:58.751  5917  5940 E AndroidRuntime:       #08 pc 0000000000cfba14  /data/app/~~DbqIh2rTCwk9UvmfOjy86w==/com.google.ar.core-MQKp7KAH_lN7ohO0yk6c6A==/base.apk (BuildId: fc6e2bd90e8118ec0268d946f5992fcc)
05-11 08:06:58.751  5917  5940 E AndroidRuntime:       #09 pc 0000000000cfa8a4  /data/app/~~DbqIh2rTCwk9UvmfOjy86w==/com.google.ar.core-MQKp7KAH_lN7ohO0yk6c6A==/base.apk (BuildId: fc6e2bd90e8118ec0268d946f5992fcc)
05-11 08:06:58.751  5917  5940 E AndroidRuntime:       #10 pc 0000000000cf9a74  /data/app/~~DbqIh2rTCwk9UvmfOjy86w==/com.google.ar.core-MQKp7KAH_lN7ohO0yk6c6A==/base.apk (BuildId: fc6e2bd90e8118ec0268d946f5992fcc)
05-11 08:06:58.751  5917  5940 E AndroidRuntime:       #11 pc 0000000000cf4864  /data/app/~~DbqIh2rTCwk9UvmfOjy86w==/com.google.ar.core-MQKp7KAH_lN7ohO0yk6c6A==/base.apk (BuildId: fc6e2bd90e8118ec0268d946f5992fcc)
05-11 08:06:58.751  5917  5940 E AndroidRuntime:       #12 pc 00000000014e6a1c  /data/app/~~DbqIh2rTCwk9UvmfOjy86w==/com.google.ar.core-MQKp7KAH_lN7ohO0yk6c6A==/base.apk (BuildId: fc6e2bd90e8118ec0268d946f5992fcc)
05-11 08:06:58.751  5917  5940 E AndroidRuntime:       #13 pc 00000000014e66d4  /data/app/~~DbqIh2rTCwk9UvmfOjy86w==/com.google.ar.core-MQKp7KAH_lN7ohO0yk6c6A==/base.apk (BuildId: fc6e2bd90e8118ec0268d946f5992fcc)
05-11 08:06:58.751  5917  5940 E AndroidRuntime:       #14 pc 0000000000d08a98  /data/app/~~DbqIh2rTCwk9UvmfOjy86w==/com.google.ar.core-MQKp7KAH_lN7ohO0yk6c6A==/base.apk (BuildId: fc6e2bd90e8118ec0268d946f5992fcc)
05-11 08:06:58.751  5917  5940 E AndroidRuntime:       #15 pc 0000000000d084c0  /data/app/~~DbqIh2rTCwk9UvmfOjy86w==/com.google.ar.core-MQKp7KAH_lN7ohO0yk6c6A==/base.apk (BuildId: fc6e2bd90e8118ec0268d946f5992fcc)
05-11 08:06:58.753  5917  5940 E AndroidRuntime:       #16 pc 00000000000b1910  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+264) (BuildId: ba489d4985c0cf173209da67405662f9)
05-11 08:06:58.753  5917  5940 E AndroidRuntime:       #17 pc 00000000000513f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: ba489d4985c0cf173209da67405662f9)
05-11 08:06:58.753  5917  5940 E AndroidRuntime:
05-11 08:06:58.753  5917  5940 E AndroidRuntime:     at base.0x1945e14(Native Method)
05-11 08:06:58.753  5917  5940 E AndroidRuntime:     at base.0x1946134(Native Method)
05-11 08:06:58.753  5917  5940 E AndroidRuntime:     at base.0x1945a60(Native Method)
05-11 08:06:58.753  5917  5940 E AndroidRuntime:     at base.0x1943b30(Native Method)
05-11 08:06:58.753  5917  5940 E AndroidRuntime:     at base.0x193ec74(Native Method)
05-11 08:06:58.753  5917  5940 E AndroidRuntime:     at base.0x1940f2c(Native Method)
05-11 08:06:58.753  5917  5940 E AndroidRuntime:     at base.0x14e2518(Native Method)
05-11 08:06:58.753  5917  5940 E AndroidRuntime:     at base.0x14b933c(Native Method)
05-11 08:06:58.753  5917  5940 E AndroidRuntime:     at base.0xcfba14(Native Method)
05-11 08:06:58.753  5917  5940 E AndroidRuntime:     at base.0xcfa8a4(Native Method)
05-11 08:06:58.753  5917  5940 E AndroidRuntime:     at base.0xcf9a74(Native Method)
05-11 08:06:58.753  5917  5940 E AndroidRuntime:     at base.0xcf4864(Native Method)
05-11 08:06:58.753  5917  5940 E AndroidRuntime:     at base.0x14e6a1c(Native Method)
05-11 08:06:58.753  5917  5940 E AndroidRuntime:     at base.0x14e66d4(Native Method)
05-11 08:06:58.753  5917  5940 E AndroidRuntime:     at base.0xd08a98(Native Method)
05-11 08:06:58.753  5917  5940 E AndroidRuntime:     at base.0xd084c0(Native Method)
05-11 08:06:58.753  5917  5940 E AndroidRuntime:     at libc.__pthread_start(void*)(__pthread_start:264)
05-11 08:06:58.753  5917  5940 E AndroidRuntime:     at libc.__start_thread(__start_thread:64)

You’re right, there should be a shared library name like libunity.so or libil2cpp.so, yet there’s none. Not sure why…

In Player Settings try setting C++ Compiler Configuration to debug and see if it make a different.

Alternatively try exporting gradle project, opening it in Android Studio and setting Debugger Type to native, and see if Android Studio can help you catch the failure