Skip to content

Help to resolve crash (iolib::SimpleMultiPlayer::onAudioReady(oboe::AudioStream*, void*, int)) #1663

Closed

Description

Hello guys. I have an app, Mega Drum, a drum simulator that uses the oboe.

To be more specific, I'm basically using the Drumthumper sample as a base to play the sounds.

So far I haven't made any modifications to Drumthumper's C++ code, as I don't have enough knowledge in C++/NDK. Also, the C++ implemented for Drumthumper is enough to make the sounds played in Mega Drum functional and allows me to focus on the rest of the App development.

The problem is that it's been a while since I've been suffering from a crash reported on Google Play, and due to lack of knowledge in C++ I can't find a solution.

Could you help me to resolve?

Crash details from Google Play Console:

iolib::SimpleMultiPlayer::onAudioReady(oboe::AudioStream*, void*, int)

*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 0 >>> com.oliveiralabs.megadrum <<<

backtrace:
  #00  pc 0x000000000006529e  /data/app/~~tzT0ITOnAw-4mQ6Mss5AQQ==/com.oliveiralabs.megadrum-r_a-sFzxpRTkQ3FFl4UpQQ==/split_config.arm64_v8a.apk!libinstrument.so
  #01  pc 0x000000000008269c  /data/app/~~tzT0ITOnAw-4mQ6Mss5AQQ==/com.oliveiralabs.megadrum-r_a-sFzxpRTkQ3FFl4UpQQ==/split_config.arm64_v8a.apk!libinstrument.so (iolib::SimpleMultiPlayer::onAudioReady(oboe::AudioStream*, void*, int)+40)
  #02  pc 0x0000000000085ad4  /data/app/~~tzT0ITOnAw-4mQ6Mss5AQQ==/com.oliveiralabs.megadrum-r_a-sFzxpRTkQ3FFl4UpQQ==/split_config.arm64_v8a.apk!libinstrument.so (oboe::AudioStream::fireDataCallback(void*, int)+104)
  #03  pc 0x00000000000886e0  /data/app/~~tzT0ITOnAw-4mQ6Mss5AQQ==/com.oliveiralabs.megadrum-r_a-sFzxpRTkQ3FFl4UpQQ==/split_config.arm64_v8a.apk!libinstrument.so (oboe::AudioStreamAAudio::callOnAudioReady(AAudioStreamStruct*, void*, int)+40)
  #04  pc 0x0000000000022364  /system/lib64/libaaudio_internal.so (aaudio::AudioStream::maybeCallDataCallback(void*, int)+192)
  #05  pc 0x000000000002432c  /system/lib64/libaaudio_internal.so (aaudio::AudioStreamLegacy::callDataCallbackFrames(unsigned char*, int)+300)
  #06  pc 0x0000000000024980  /system/lib64/libaaudio_internal.so (aaudio::AudioStreamLegacy::processCallbackCommon(int, void*)+952)
  #07  pc 0x0000000000086200  /system/lib64/libaudioclient.so (android::AudioTrack::processAudioBuffer()+2408)
  #08  pc 0x00000000000855a8  /system/lib64/libaudioclient.so (android::AudioTrack::AudioTrackThread::threadLoop()+272)
  #09  pc 0x0000000000015594  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+460)
  #10  pc 0x00000000000a4490  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+144)
  #11  pc 0x0000000000014d90  /system/lib64/libutils.so (thread_data_t::trampoline(thread_data_t const*)+412)
  #12  pc 0x00000000000da278  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64)
  #13  pc 0x000000000007a448  /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

Metadata

Labels

bug_1763possible dup of #1763

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions