-
Notifications
You must be signed in to change notification settings - Fork 614
Closed
Description
Android version(s): Android 11, and 12
Android device(s): Pixel 6, Pixel 6 Pro, Redmi Note 10, and TECNO POVA 2
Oboe version: 1.6.1
App name used for testing:
(Please try to reproduce the issue using the OboeTester or an Oboe sample.)
Recently, we got a noticeable number of crashes in oboe::AudioStreamAAudio::read(void*, int, long) [AudioStreamAAudio.cpp:490]
The crashes have been rare before but remarkably increased recently in the latest phones and thus 99% in Android 11 and 12.
The firebase shows that
- about 50% of the crashes happened in Pixel6 and Pixel6Pro (Android 12)
- and 23% happened in Xiaomi Redmi Note 10 (Android 11)
- and 12% happened in TECNO POVA 2 (Android 11)
Another interesting pattern was that only TECNO POVA 2 crashed with SIGSEGV while all other phones crashed with SIGABRT as shown below:
Pixel6, Pixel6Pro, and Xiaomi Redmi Note 10
Crashed: Thread : SIGABRT 0x0000000000000000
#00 pc 0x89b0c libc.so
#01 pc 0x89adc libc.so
#02 pc 0x3774c libaaudio_internal.so
#03 pc 0x33438 libaaudio_internal.so
#04 pc 0x32788 libaaudio_internal.so
#05 pc 0x351490 libbandlab_audio_engine.so (oboe::AudioStreamAAudio::read(void*, int, long) [AudioStreamAAudio.cpp:490])
#06 pc 0x2b62cc libbandlab_audio_engine.so (AudioInputDevice_Oboe::process(int) [AudioDevice_Oboe.cpp:348])
TECNO POVA 2
Crashed: Thread : SIGSEGV 0x00000072f077c580
#00 pc 0x4a408 libc.so
#01 pc 0x8afc libsoundtouch.so
#02 pc 0xbe74 libsoundtouch.so
#03 pc 0x5aaf8 libaudioclient.so
#04 pc 0x280d8 libaaudio_internal.so
#05 pc 0x351490 libbandlab_audio_engine.so (oboe::AudioStreamAAudio::read(void*, int, long) [AudioStreamAAudio.cpp:490])
#06 pc 0x2b62cc libbandlab_audio_engine.so (AudioInputDevice_Oboe::process(int) [AudioDevice_Oboe.cpp:348])