You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Calling init() and immediately after deinit() causes a random crash on some Android versions.
Steps To Reproduce
Run something similar to this:
for (var i =0; i <100; i++) {
awaitSoLoud.instance.init();
SoLoud.instance.deinit();
}
expect a crash
Additional Context
Test passed on:
emulator - Android 14 API 34
emulator - Android 13 API 33
emulator - Android 12L API 32
emulator - Android 12 API 31
emulator - Android 11 API 30
Samsung Galaxy Note20 Ultra - Android 13 API 33
Samsung Galaxy Note10+ - Android 12 API 31,32
Samsung Galaxy S9+ - Android 10 API 29
Test NOT passed on:
emulator - Android 10 API 29
Xiaomi Mi Max 3 - Android 10 API 29
Huawei P smart Z - Android 10 API 29
Xiaomi Mi 6 - Android 9 SDK 28
Description
Calling
init()
and immediately afterdeinit()
causes a random crash on some Android versions.Steps To Reproduce
Additional Context
Test passed on:
emulator - Android 14 API 34
emulator - Android 13 API 33
emulator - Android 12L API 32
emulator - Android 12 API 31
emulator - Android 11 API 30
Samsung Galaxy Note20 Ultra - Android 13 API 33
Samsung Galaxy Note10+ - Android 12 API 31,32
Samsung Galaxy S9+ - Android 10 API 29
Test NOT passed on:
emulator - Android 10 API 29
Xiaomi Mi Max 3 - Android 10 API 29
Huawei P smart Z - Android 10 API 29
Xiaomi Mi 6 - Android 9 SDK 28
Here the error log
It seems that miniaudio doesn't wait for a buffer to be freed and AAudio gets closed before that.
The text was updated successfully, but these errors were encountered: