Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on Samsung Devices Running Android 14 Using Oboe 1.8.1 Library #2119

Open
roshni-warrantylife opened this issue Nov 21, 2024 · 0 comments
Labels

Comments

@roshni-warrantylife
Copy link

roshni-warrantylife commented Nov 21, 2024

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)
#1 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_deletestd::__ndk1::__thread_struct>, void ()(oboe::AudioStreamAAudio, oboe::Result), oboe::AudioStreamAAudio*, oboe::Result>>(void*)+4706304)
#2 pc 0x00000000000c3914 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+208)
#3 pc 0x000000000005d084 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+68)

Steps to reproduce

  • Use Oboe 1.8.1 library.
  • Implement the exact code from the minimaloboe example.
  • 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant