oboe
oboe copied to clipboard
when call oboe::AudioStreamBuilder openStream function,the system will be stuck
Android version(s): android 11 Android device(s):Samsung galaxy s10+ SM-G9750 Oboe version:1.5 stable App name used for testing: (Please try to reproduce the issue using the OboeTester or an Oboe sample.)
Short description (Please only report one bug per Issue. Do not combine multiple bugs.) we are using the oboe 1.5-stable on the android 11, and when we open a stream with the API AAudio, the thread is stuck, but it not stuck when we use the API OpenSLES. We tried all samples of oboe, and they are in the same situation. After we reboot the device, it works correctly again. we print the stack information when stuck:
- thread #1, name = 'highras.rtc.sdk', stop reason = signal SIGSTOP
- frame #0: 0x000000734ccf4b84 libc.so
__ioctl + 4 frame #1: 0x000000734ccae14c libc.so
ioctl + 160 frame #2: 0x000000734c7d7424 libbinder.soandroid::IPCThreadState::talkWithDriver(bool) + 252 frame #3: 0x000000734c7d879c libbinder.so
android::IPCThreadState::waitForResponse(android::Parcel*, int*) + 64 frame #4: 0x000000734c7d8514 libbinder.soandroid::IPCThreadState::transact(int, unsigned int, android::Parcel const&, android::Parcel*, unsigned int) + 188 frame #5: 0x000000734c7d0048 libbinder.so
android::BpBinder::transact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int) + 156 frame #6: 0x00000070b1795c90 libaaudio_internal.so___lldb_unnamed_symbol140$$libaaudio_internal.so + 348 frame #7: 0x00000070b1791b38 libaaudio_internal.so
aaudio::AAudioBinderClient::openStream(aaudio::AAudioStreamRequest const&, aaudio::AAudioStreamConfiguration&) + 172 frame #8: 0x00000070b1786058 libaaudio_internal.soaaudio::AudioStreamInternal::open(aaudio::AudioStreamBuilder const&) + 1268 frame #9: 0x00000070b178b8e0 libaaudio_internal.so
aaudio::AudioStreamInternalPlay::open(aaudio::AudioStreamBuilder const&) + 92 frame #10: 0x00000070b1777f88 libaaudio_internal.soaaudio::AudioStreamBuilder::build(aaudio::AudioStream**) + 904 frame #11: 0x00000070b17f6754 libaaudio.so
___lldb_unnamed_symbol25$$libaaudio.so + 148 frame #12: 0x000000703b725ac0 librtcEngineNative.sooboe::AudioStreamAAudio::open(this=0xb40000715b09af30) at AudioStreamAAudio.cpp:262 frame #13: 0x000000703b71ced8 librtcEngineNative.so
oboe::AudioStreamBuilder::openStream(this=0x0000007fd4ff6538, streamPP=0x0000007fd4ff64d0) at AudioStreamBuilder.cpp:159 frame #14: 0x000000703b71cd94 librtcEngineNative.sooboe::AudioStreamBuilder::openStream(this=0x0000007fd4ff66d8, streamPP=0x0000007fd4ff65e0) at AudioStreamBuilder.cpp:113 frame #15: 0x000000703b71d3c4 librtcEngineNative.so
oboe::AudioStreamBuilder::openStream(this=0x0000007fd4ff66d8, sharedStream=nullptr) at AudioStreamBuilder.cpp:208 frame #16: 0x000000703b70cd68 librtcEngineNative.soRTCEngineNative::openStreams(this=0xb40000719b083530) at RTCEngineNative.cpp:120 frame #17: 0x000000703b70cb4c librtcEngineNative.so
RTCEngineNative::setEffectOn(this=0xb40000719b083530, isOn=true) at RTCEngineNative.cpp:87 frame #18: 0x000000703b71c124 librtcEngineNative.so`::Java_com_livedata_rtc_RTCEngine_setEffectOn(env=0xb40000717b055d90, (null)=0x0000007fd4ff68c4, isEffectOn=1 true) at jni_bridge.cpp:84
- frame #0: 0x000000734ccf4b84 libc.so