Skip to content

Instantly share code, notes, and snippets.

@rpattabi
Last active September 29, 2020 06:35
Show Gist options
  • Save rpattabi/f54b2034a2dae84e252cbfbc98fa9e54 to your computer and use it in GitHub Desktop.
Save rpattabi/f54b2034a2dae84e252cbfbc98fa9e54 to your computer and use it in GitHub Desktop.
Oboe crash on Samsung Galaxy M30. Crash is at oboe::DataConversionFlowGraph::write().
********** Crash dump: **********
#00 0x00000000000769dc /data/app/org.kuyil.shruti-Xqlk8QdCEu44HN3T7wT2bg==/lib/arm64/libpdnativeoboe.so (oboe::DataConversionFlowGraph::write(void*, int)+20)
std::__ndk1::unique_ptr<oboe::flowgraph::FlowGraphSourceBuffered, std::__ndk1::default_delete<oboe::flowgraph::FlowGraphSourceBuffered> >::operator->() const
/opt/android/Sdk/ndk/21.3.6528147/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/include/c++/v1/memory:2562:19
oboe::DataConversionFlowGraph::write(void*, int)
../../../../src/main/cpp/oboe/src/common/DataConversionFlowGraph.cpp:224:0
#01 0x000000000006ee7c /data/app/org.kuyil.shruti-Xqlk8QdCEu44HN3T7wT2bg==/lib/arm64/libpdnativeoboe.so (non-virtual thunk to oboe::FilterAudioStream::onAudioReady(oboe::AudioStream*, void*, int)+40)
oboe::FilterAudioStream::onAudioReady(oboe::AudioStream*, void*, int)
../../../../src/main/cpp/oboe/src/common/FilterAudioStream.h:183:43
non-virtual thunk to oboe::FilterAudioStream::onAudioReady(oboe::AudioStream*, void*, int)
../../../../src/main/cpp/oboe/src/common/FilterAudioStream.h:0:0
#02 0x000000000006d2c0 /data/app/org.kuyil.shruti-Xqlk8QdCEu44HN3T7wT2bg==/lib/arm64/libpdnativeoboe.so (oboe::AudioStream::fireDataCallback(void*, int)+104)
oboe::AudioStream::fireDataCallback(void*, int)
../../../../src/main/cpp/oboe/src/common/AudioStream.cpp:65:35
#03 0x00000000000753cc /data/app/org.kuyil.shruti-Xqlk8QdCEu44HN3T7wT2bg==/lib/arm64/libpdnativeoboe.so
oboe::AudioStreamAAudio::callOnAudioReady(AAudioStreamStruct*, void*, int)
/home/ragu/code/kuyil/apps/audio/.cxx/cmake/release/arm64-v8a/../../../../src/main/cpp/oboe/src/aaudio/AudioStreamAAudio.cpp:319:33
oboe_aaudio_data_callback_proc(AAudioStreamStruct*, void*, void*, int)
/home/ragu/code/kuyil/apps/audio/.cxx/cmake/release/arm64-v8a/../../../../src/main/cpp/oboe/src/aaudio/AudioStreamAAudio.cpp:52:0
#04 0x000000000001e6b0 /system/lib64/libaaudio.so (aaudio::AudioStream::maybeCallDataCallback(void*, int)+200)
#05 0x0000000000025028 /system/lib64/libaaudio.so (aaudio::AudioStreamLegacy::callDataCallbackFrames(unsigned char*, int)+308)
#06 0x00000000000256b8 /system/lib64/libaaudio.so (aaudio::AudioStreamLegacy::processCallbackCommon(int, void*)+1016)
#07 0x0000000000055278 /system/lib64/libaudioclient.so (android::AudioRecord::processAudioBuffer()+1328)
#08 0x0000000000054a58 /system/lib64/libaudioclient.so (android::AudioRecord::AudioRecordThread::threadLoop()+264)
#09 0x0000000000013618 /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+316)
#10 0x00000000000ef900 /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+140)
#11 0x00000000000e2270 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36)
#12 0x0000000000084ba0 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment