Operating system: Mac OS X
13.2.1 22D68
CPU: arm64
12 CPUs
GPU: UNKNOWN
Crash reason: EXC_BAD_ACCESS / KERN_INVALID_ADDRESS
Crash address: 0x202922776f646e51
Process uptime: 6125 seconds
Thread 0 (crashed)
0 libc++.1.dylib + 0x1f40c
Android emulator (not my app) is randomly crashing on M2 chip with the error above, both for flutter apps and native apps.
I tried
- Reinstall android studio and emulators.
- Give android studio more heap size.
- Give emulator more heap size. (It took longer to crash)
- Create new emulator.
- Cold start emulator.
- Use different Android version
- Use different config (Ram screen size)
- Use different image.
This also has not helped OSX: Android Emulator Crashes
Issue is not happening on other developers using M1 chips, but I am unsure if it is related or not.
Full crash log: https://mclo.gs/7Dx06Ym (It is very long)
I'm using
macOS Ventura 13.2.1 (22D68)
Android Studio Flamingo | 2022.2.1
Build #AI-222.4459.24.2221.9862592, built on March 31, 2023
Runtime version: 17.0.6+0-17.0.6b802.4-9586694 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.