AndroidStudio Profiler闪退
背景
开发Android的任务完成之后进行Profiler之后几秒钟就会crash。日志如下。
2021-09-24 08:37:23.797 11395-11480/com.xxx A/libc: Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x8 in tid 11480 (LeakCanary-Heap), pid 11395 (com.xxx.demo2)
2021-09-24 08:37:23.879 12039-12039/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2021-09-24 08:37:23.880 12039-12039/? A/DEBUG: Build fingerprint: 'HONOR/MXW-AN00/HWMXW-M:10/HONORMXW-AN00/3.1.1.211C00:user/release-keys'
2021-09-24 08:37:23.880 12039-12039/? A/DEBUG: Revision: '0'
2021-09-24 08:37:23.880 12039-12039/? A/DEBUG: ABI: 'arm'
2021-09-24 08:37:23.880 12039-12039/? A/DEBUG: Timestamp: 2021-09-24 08:37:23+0800
2021-09-24 08:37:23.880 12039-12039/? A/DEBUG: pid: 11395, tid: 11480, name: LeakCanary-Heap >>> com.xxx.demo2 <<<
2021-09-24 08:37:23.881 12039-12039/? A/DEBUG: uid: 10416
2021-09-24 08:37:23.881 12039-12039/? A/DEBUG: signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x8
2021-09-24 08:37:23.881 12039-12039/? A/DEBUG: Cause: null pointer dereference
2021-09-24 08:37:23.881 12039-12039/? A/DEBUG: r0 00000000 r1 b90e65b8 r2 00000004 r3 32c00000
2021-09-24 08:37:23.881 12039-12039/? A/DEBUG: r4 00001d18 r5 6ff42d98 r6 70517b00 r7 70518bfc
2021-09-24 08:37:23.881 12039-12039/? A/DEBUG: r8 70517aec r9 00001110 r10 b90e65b8 r11 e7bea17c
2021-09-24 08:37:23.881 12039-12039/? A/DEBUG: ip 00000000 sp b90e6558 lr e67501d1 pc e67501ac