Skip to content

Instantly share code, notes, and snippets.

@rpattabi
Created September 15, 2020 05:03
Show Gist options
  • Save rpattabi/7bd4e814b9af7d3aff09298621f17f59 to your computer and use it in GitHub Desktop.
Save rpattabi/7bd4e814b9af7d3aff09298621f17f59 to your computer and use it in GitHub Desktop.
Oboe crashes when we callback on input stream with AAudio
09-15 10:21:54.270 9498 9546 F AudioStreamRecord: maybeConvertDeviceData() conversion size 1024 too large for buffer 512
09-15 10:21:54.270 9498 9546 F libc : Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 9546 (AudioRecord), pid 9498 (oboe.manualtest)
09-15 10:21:54.350 9554 9554 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
09-15 10:21:54.350 9554 9554 F DEBUG : Build fingerprint: 'Nokia/Panda_00WW/PDA_sprout:10/QP1A.190711.020/00WW_3_11E:user/release-keys'
09-15 10:21:54.350 9554 9554 F DEBUG : Revision: '0'
09-15 10:21:54.350 9554 9554 F DEBUG : ABI: 'arm64'
09-15 10:21:54.351 9554 9554 F DEBUG : Timestamp: 2020-09-15 10:21:54+0530
09-15 10:21:54.351 9554 9554 F DEBUG : pid: 9498, tid: 9546, name: AudioRecord >>> com.google.sample.oboe.manualtest <<<
09-15 10:21:54.351 9554 9554 F DEBUG : uid: 10541
09-15 10:21:54.351 9554 9554 F DEBUG : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
09-15 10:21:54.351 9554 9554 F DEBUG : Abort message: 'maybeConvertDeviceData() conversion size 1024 too large for buffer 512'
09-15 10:21:54.351 9554 9554 F DEBUG : x0 0000000000000000 x1 000000000000254a x2 0000000000000006 x3 0000007209cc93d0
09-15 10:21:54.351 9554 9554 F DEBUG : x4 fefeff71715f8eff x5 fefeff71715f8eff x6 fefeff71715f8eff x7 7f7f7f7f7f7fff7f
09-15 10:21:54.351 9554 9554 F DEBUG : x8 00000000000000f0 x9 00000073041b84e0 x10 0000000000000000 x11 0000000000000001
09-15 10:21:54.351 9554 9554 F DEBUG : x12 0000007209cc9560 x13 ffffffffffffffff x14 0000000000000004 x15 ffffffffffffffff
09-15 10:21:54.351 9554 9554 F DEBUG : x16 00000073042848c0 x17 0000007304262060 x18 00000071f7120000 x19 00000000000000ac
09-15 10:21:54.351 9554 9554 F DEBUG : x20 000000000000251a x21 00000000000000b2 x22 000000000000254a x23 00000000ffffffff
09-15 10:21:54.351 9554 9554 F DEBUG : x24 0000000000000100 x25 0000000000000002 x26 000000727b1ef3b8 x27 0000007307f2b1c0
09-15 10:21:54.351 9554 9554 F DEBUG : x28 0000007209cca020 x29 0000007209cc9480
09-15 10:21:54.351 9554 9554 F DEBUG : sp 0000007209cc93b0 lr 0000007304216170 pc 00000073042161a0
09-15 10:21:54.363 9554 9554 F DEBUG :
09-15 10:21:54.363 9554 9554 F DEBUG : backtrace:
09-15 10:21:54.363 9554 9554 F DEBUG : #00 pc 00000000000821a0 /apex/com.android.runtime/lib64/bionic/libc.so (abort+176) (BuildId: 2a5abdc9c768b33656f7aa8d9ce5cf54)
09-15 10:21:54.363 9554 9554 F DEBUG : #01 pc 0000000000008a74 /system/lib64/liblog.so (__android_log_assert+324) (BuildId: c8f713bd0d87c2d5abf06f44c0d0a1a3)
09-15 10:21:54.363 9554 9554 F DEBUG : #02 pc 0000000000028900 /system/lib64/libaaudio.so (aaudio::AudioStreamRecord::maybeConvertDeviceData(void const*, int)+224) (BuildId: 03364a9469632607aeb13abcbecf3ae4)
09-15 10:21:54.363 9554 9554 F DEBUG : #03 pc 0000000000025234 /system/lib64/libaaudio.so (aaudio::AudioStreamLegacy::callDataCallbackFrames(unsigned char*, int)+252) (BuildId: 03364a9469632607aeb13abcbecf3ae4)
09-15 10:21:54.363 9554 9554 F DEBUG : #04 pc 000000000002bcac /system/lib64/libaaudio.so (FixedBlockWriter::processVariableBlock(unsigned char*, int)+204) (BuildId: 03364a9469632607aeb13abcbecf3ae4)
09-15 10:21:54.363 9554 9554 F DEBUG : #05 pc 0000000000025968 /system/lib64/libaaudio.so (aaudio::AudioStreamLegacy::processCallbackCommon(int, void*)+1120) (BuildId: 03364a9469632607aeb13abcbecf3ae4)
09-15 10:21:54.363 9554 9554 F DEBUG : #06 pc 0000000000051f00 /system/lib64/libaudioclient.so (android::AudioRecord::processAudioBuffer()+1536) (BuildId: baa2cdcb5a43598a2892bfe65f6d621b)
09-15 10:21:54.363 9554 9554 F DEBUG : #07 pc 0000000000051608 /system/lib64/libaudioclient.so (android::AudioRecord::AudioRecordThread::threadLoop()+264) (BuildId: baa2cdcb5a43598a2892bfe65f6d621b)
09-15 10:21:54.363 9554 9554 F DEBUG : #08 pc 00000000000137c0 /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+312) (BuildId: f013cbada038685234657c61db8227dc)
09-15 10:21:54.363 9554 9554 F DEBUG : #09 pc 00000000000c4814 /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+140) (BuildId: 3b2b4b481471aebefcae9468e75c9793)
09-15 10:21:54.363 9554 9554 F DEBUG : #10 pc 00000000000e2364 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+36) (BuildId: 2a5abdc9c768b33656f7aa8d9ce5cf54)
09-15 10:21:54.364 9554 9554 F DEBUG : #11 pc 0000000000083d98 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 2a5abdc9c768b33656f7aa8d9ce5cf54)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment