Android version(s): 14
Android device(s): Samsung
Oboe version: 1.8.1
App name used for testing: Warranty Life Smartphone Test
I received 12 crash reports from the Google Play Console related to a crash occurring on select Samsung devices running Android 14. The issue arises while using the Oboe 1.8.1 library with the sample code from the minimaloboe example.
This code is used to generate high-frequency audio. The crashes are not widespread and are limited to a few Samsung devices, as indicated by the crash reports.
Crash details:
Error: SimpleNoiseMaker::MyErrorCallback::onErrorAfterClose
Level: Fatal
Segfault
Other devices running Android 14 do not appear to experience this issue.
Run the app on affected Samsung devices running Android 14.
Observe the crash during high-frequency audio generation.
Expected behavior
The app should generate high-frequency audio without crashing on any device.
Actual behavior
The app crashes on select Samsung devices with the following fatal error:
SimpleNoiseMaker::MyErrorCallback::onErrorAfterClose.
Device
Samsung e3q (Galaxy S24 Ultra)
Samsung Galaxy S21+ (Unlocked US Version)
Samsung Galaxy S21+
Samsung Galaxy S23 FE
Additional Notes:
This issue is isolated to certain Samsung devices running Android 14, as seen in the crash reports from the Google Play Console.
Any guidance on resolving or debugging this issue, or a workaround for Samsung-specific behavior, would be highly appreciated.
Android version(s): 14 Android device(s): Samsung Oboe version: 1.8.1 App name used for testing: Warranty Life Smartphone Test
I received 12 crash reports from the Google Play Console related to a crash occurring on select Samsung devices running Android 14. The issue arises while using the Oboe 1.8.1 library with the sample code from the minimaloboe example.
This code is used to generate high-frequency audio. The crashes are not widespread and are limited to a few Samsung devices, as indicated by the crash reports.
Crash details:
Error: SimpleNoiseMaker::MyErrorCallback::onErrorAfterClose Level: Fatal Segfault Other devices running Android 14 do not appear to experience this issue.
Stack trace:
pid: 0, tid: 12191 >>> com.warrantylife.diagnostic <<<
backtrace:
00 pc 0x0000000000005320 /data/app/~~5DKZpKEh5FxpemhEj_aTTg==/packagename-6kU7fbbxsZQHpK4AmG5m5w==/split_config.arm64_v8a.apk!libnoise-maker.so (SimpleNoiseMaker::MyErrorCallback::onErrorAfterClose(oboe::AudioStream*, oboe::Result)+92)
01 pc 0x000000000002bdc8 /data/app/~~5DKZpKEh5FxpemhEj_aTTg==/packagename-6kU7fbbxsZQHpK4AmG5m5w==/split_config.arm64_v8a.apk!liboboe.so (void std::ndk1::thread_proxy<std::ndk1::tuple<std::ndk1::unique_ptr<std::ndk1::thread_struct, std::__ndk1::default_delete>, void ( )(oboe::AudioStreamAAudio, oboe::Result), oboe::AudioStreamAAudio, oboe::Result>>(void*)+4706304)
02 pc 0x00000000000c3914 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+208)
03 pc 0x000000000005d084 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68)
Steps to reproduce
Expected behavior The app should generate high-frequency audio without crashing on any device.
Actual behavior The app crashes on select Samsung devices with the following fatal error: SimpleNoiseMaker::MyErrorCallback::onErrorAfterClose.
Device Samsung e3q (Galaxy S24 Ultra) Samsung Galaxy S21+ (Unlocked US Version) Samsung Galaxy S21+ Samsung Galaxy S23 FE
Additional Notes: This issue is isolated to certain Samsung devices running Android 14, as seen in the crash reports from the Google Play Console. Any guidance on resolving or debugging this issue, or a workaround for Samsung-specific behavior, would be highly appreciated.