Skip to content

Instantly share code, notes, and snippets.

@gavv
Last active August 1, 2020 18:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gavv/5eda6ae760c2eb979c34efb0e64eb272 to your computer and use it in GitHub Desktop.
Save gavv/5eda6ae760c2eb979c34efb0e64eb272 to your computer and use it in GitHub Desktop.
oboe-example-crashes
08-01 21:32:24.758 16319 16379 I AudioManager: In isSpeakerphoneOn(), calling application: com.android.bluetooth
08-01 21:32:24.765 2302 3560 I AudioService: In isSpeakerphoneOn(), mForcedUseForCommExt: 3
08-01 21:32:24.780 2302 2302 I AudioService: device:BC:B8:63:46:6E:85
08-01 21:32:24.783 2302 2302 I AudioService: checkAndUpdatTwsPlusScoState returns true
08-01 21:32:24.783 2302 2302 I AudioService: In setBluetoothScoOn(), eventSource: setBluetoothScoOn(false) from u/pid:1000/2302
08-01 21:32:24.783 2302 2302 I AudioService: setBluetoothScoOnInt: false setBluetoothScoOn(false) from u/pid:1000/2302
08-01 21:32:24.783 2302 2302 I AudioService: In setbluetoothScoOnInt(), mForcedUseForCommExt: 0
08-01 21:32:24.786 2302 2302 I AudioService: In clearCount(), stopSco: true, mStartcount: 1
08-01 21:32:24.786 2302 2302 I AudioService: In requestScoState(), state: 10, scoAudioMode: 0
08-01 21:32:24.787 2302 2302 I AudioService: In checkScoAudioState(), mScoAudioState: 3
08-01 21:32:24.787 2302 2302 I AudioService: In totalCount(), count: 0
08-01 21:32:24.787 2302 2302 I AudioService: In disconnectBluetoothScoAudioHelper(), scoAudioMode: 0, bluetoothHeadset: android.bluetooth.BluetoothHeadset@e56199e, BluetoothDevice: BC:B8:63:46:6E:85
08-01 21:32:24.787 2302 2302 I AudioService: In disconnectBluetoothScoAudioHelper(), calling stopScoUsingVirtualVoiceCall()
08-01 21:32:24.791 2302 2302 I AudioService: Audio-path brought-down
08-01 21:32:24.791 2302 2302 I AudioService: In onReceive(), mScoAudioState: 0, broadcast: true
08-01 21:32:24.814 2302 2302 I AudioService: In onReceive(), calling setBtScoActiveDevice() with btDevice: null
08-01 21:32:24.814 2302 2302 I AudioService: setBtScoActiveDevice: BC:B8:63:46:6E:85 -> null
08-01 21:32:24.955 21896 21896 D ExampleApp: received onIntentResult callback
08-01 21:32:24.964 2302 2302 W AudioService: handleDeviceConnection() failed, deviceKey=0x20:BC:B8:63:46:6E:85, deviceSpec=null, connect=false
08-01 21:32:24.965 2302 2302 E AudioService: handleDeviceConnection: returning false
08-01 21:32:24.965 2302 2302 W AudioService: handleDeviceConnection() failed, deviceKey=0x40:BC:B8:63:46:6E:85, deviceSpec=null, connect=false
08-01 21:32:24.965 2302 2302 E AudioService: handleDeviceConnection: returning false
08-01 21:32:25.010 2302 2302 I AudioService: for inDevice-2147483640 result is true
08-01 21:32:25.010 2302 2302 I AudioService: In setBtScoActiveDevice(), calling resetBluetoothSco()
08-01 21:32:25.010 2302 2302 I AudioService: In resetBluetoothSco(), calling clearAllScoClients()
08-01 21:32:25.019 2302 2302 I AudioService: setBluetoothScoOnInt: false resetBluetoothSco
08-01 21:32:25.019 2302 2302 I AudioService: In setbluetoothScoOnInt(), mForcedUseForCommExt: 0
08-01 21:32:25.019 16319 16349 E AudioManager: updatePortConfig port not found for handle: 1272
08-01 21:32:25.020 2302 2958 E AudioManager: updatePortConfig port not found for handle: 1272
08-01 21:32:25.020 21896 22021 E AudioManager: updatePortConfig port not found for handle: 1272
08-01 21:32:25.022 16319 16349 E AudioManager: updatePortConfig port not found for handle: 1272
08-01 21:32:25.022 21896 22021 E AudioManager: updatePortConfig port not found for handle: 1272
08-01 21:32:25.023 2302 2958 E AudioManager: updatePortConfig port not found for handle: 1272
08-01 21:32:25.027 16319 16349 E AudioManager: updatePortConfig port not found for handle: 1272
08-01 21:32:25.027 21896 22294 I AudioRecord: AUDIO_INPUT_FLAG_FAST successful; frameCount 4096 -> 4096
08-01 21:32:25.038 2302 2958 E AudioManager: updatePortConfig port not found for handle: 1272
08-01 21:32:25.039 21896 22021 E AudioManager: updatePortConfig port not found for handle: 1272
08-01 21:32:25.039 21896 21896 D ExampleApp: onAudioDevicesRemoved
08-01 21:32:25.039 21896 21896 D ExampleApp: stopping pipeline
08-01 21:32:25.039 21896 21896 D ExampleApp: stopping streams
08-01 21:32:25.039 21896 21896 D ExampleApp: stopping stream for device 1276
08-01 21:32:25.039 21896 21896 D AAudio : AAudioStream_requestStop(0x6c6df4c660)
08-01 21:32:25.054 21896 22021 E AudioManager: updatePortConfig port not found for handle: 1272
08-01 21:32:25.055 16319 16349 E AudioManager: updatePortConfig port not found for handle: 1272
08-01 21:32:25.055 2302 2958 E AudioManager: updatePortConfig port not found for handle: 1272
08-01 21:32:25.255 2302 2958 E AudioManager: updatePortConfig port not found for handle: 1272
08-01 21:32:25.257 21896 22021 E AudioManager: updatePortConfig port not found for handle: 1272
08-01 21:32:25.258 21896 22070 D AudioStreamLegacy: onAudioDeviceUpdate() deviceId 14
08-01 21:32:25.258 21896 22070 D AudioStreamLegacy: onAudioDeviceUpdate() DISCONNECT the stream now
08-01 21:32:25.258 21896 21896 D ExampleApp: no need to stop stream: ErrorDisconnected
08-01 21:32:25.258 21896 21896 D ExampleApp: closing stream for device 1276
08-01 21:32:25.258 21896 21896 D AAudio : AAudioStream_close(0x6c6df4c660) called ---------------
08-01 21:32:25.258 21896 21896 D AAudioStream: destroying 0x6c6df4c660, state = AAUDIO_STREAM_STATE_CLOSED
08-01 21:32:25.258 21896 21896 D AAudio : AAudioStream_close(0x6c6df4c660) returned 0 ---------
08-01 21:32:25.258 21896 21896 D ExampleApp: stopping stream for device 1272
08-01 21:32:25.259 21896 21896 D AAudio : AAudioStream_requestStop(0x6b6df39680)
08-01 21:32:25.259 21896 21896 D AudioTrack: stop() called with 524352 frames delivered
08-01 21:32:25.259 21896 22315 D OboeAudio: oboe_aaudio_error_thread_proc() - entering >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
08-01 21:32:25.259 21896 22315 D ExampleApp: got onErrorBeforeClose() on input stream for device 1276 with error ErrorDisconnected
08-01 21:32:25.259 21896 22315 D ExampleApp: !!!!!!!! got error callback on closed stream !!!!!!!!
08-01 21:32:25.259 21896 22315 D OboeAudio: oboe_aaudio_error_thread_proc() - exiting <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
08-01 21:32:25.259 16319 16349 E AudioManager: updatePortConfig port not found for handle: 1272
08-01 21:32:25.259 21896 21896 D ExampleApp: closing stream for device 1272
08-01 21:32:25.259 21896 21896 D AAudio : AAudioStream_close(0x6b6df39680) called ---------------
08-01 21:32:25.260 21896 21896 V AudioTrack: ~AudioTrack, releasing session id 3737 from 21896 on behalf of 21896
08-01 21:32:25.262 21890 21890 I wrap.sh : frameworks/av/media/libaaudio/src/legacy/AudioStreamLegacy.cpp:219:5: runtime error: control flow integrity check for type 'aaudio::AudioStream' failed during non-virtual call (vtable address 0x005d1200004c)
08-01 21:32:25.263 21890 21890 I wrap.sh : 0x005d1200004c: note: invalid vtable
08-01 21:32:25.263 21890 21890 I wrap.sh : <memory cannot be printed>
08-01 21:32:25.266 21896 21896 D AAudioStream: destroying 0x6b6df39680, state = AAUDIO_STREAM_STATE_CLOSED
08-01 21:32:25.266 21896 21896 D AAudio : AAudioStream_close(0x6b6df39680) returned 0 ---------
08-01 21:32:25.266 21896 21896 D ExampleApp: sleeping for 437 ms
08-01 21:32:25.297 26429 26429 W AudioOut_D: type=1400 audit(0.0:222289): avc: denied { write } for name="logd" dev="tmpfs" ino=2167 scontext=u:r:audioserver:s0 tcontext=u:object_r:logd_socket:s0 tclass=sock_file permissive=0
08-01 21:32:25.336 21890 21890 I wrap.sh : frameworks/av/media/libaaudio/src/legacy/AudioStreamLegacy.cpp:219:5: note: check failed in /system/lib64/libaaudio.so, vtable located in (unknown)
08-01 21:32:25.336 21890 21890 I wrap.sh : SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior frameworks/av/media/libaaudio/src/legacy/AudioStreamLegacy.cpp:219:5 in
08-01 21:32:25.668 26430 26475 E audio_route: id=0: ctl=PRI_MI2S_RX Audio Mixer MultiMedia5
08-01 21:32:25.672 22318 22318 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
08-01 21:32:25.672 22318 22318 F DEBUG : Build fingerprint: 'xiaomi/lavender/lavender:9/PKQ1.180904.001/V11.0.6.0.PFGMIXM:user/release-keys'
08-01 21:32:25.672 22318 22318 F DEBUG : Revision: '0'
08-01 21:32:25.672 22318 22318 F DEBUG : ABI: 'arm64'
08-01 21:32:25.672 22318 22318 F DEBUG : pid: 21896, tid: 22070, name: Binder:21896_4 >>> com.example <<<
08-01 21:32:25.672 22318 22318 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
08-01 21:32:25.672 22318 22318 F DEBUG : x0 0000000000000000 x1 0000000000005636 x2 0000000000000006 x3 0000000000000008
08-01 21:32:25.673 22318 22318 F DEBUG : x4 0000000000000000 x5 0000000000000000 x6 0000000000000000 x7 0000000000000000
08-01 21:32:25.673 22318 22318 F DEBUG : x8 0000000000000083 x9 3f2e74fc7cc7c73b x10 0000000000000000 x11 fffffffc7ffffbdf
08-01 21:32:25.673 22318 22318 F DEBUG : x12 0000000000000001 x13 0000005d50ae3210 x14 0000000000000000 x15 0000007df345bb5c
08-01 21:32:25.673 22318 22318 F DEBUG : x16 0000007df14962b0 x17 0000007df13b5cd0 x18 0000005d6726a2f0 x19 0000000000005588
08-01 21:32:25.673 22318 22318 F DEBUG : x20 0000000000005636 x21 130a9d3e1cf29e69 x22 0000007df3c7b010 x23 0000005d50ae4588
08-01 21:32:25.673 22318 22318 F DEBUG : x24 0000006f6dfa7480 x25 0000007df26262c0 x26 0000007df26ab680 x27 0000007df269d930
08-01 21:32:25.673 22318 22318 F DEBUG : x28 000000000000dd50 x29 0000005d50ae3e70
08-01 21:32:25.673 22318 22318 F DEBUG : sp 0000005d50ae3e30 lr 0000007df13a9144 pc 0000007df13a916c
08-01 21:32:25.703 22318 22318 F DEBUG :
08-01 21:32:25.703 22318 22318 F DEBUG : backtrace:
08-01 21:32:25.703 22318 22318 F DEBUG : #00 pc 000000000002216c /system/lib64/libc.so (abort+116)
08-01 21:32:25.703 22318 22318 F DEBUG : #01 pc 000000000005a6d8 /data/app/com.example-zCKu4MDx9gfTxFXKgeSkbw==/lib/arm64/libclang_rt.asan-aarch64-android.so (offset 0x50000)
08-01 21:32:25.703 22318 22318 F DEBUG : #02 pc 0000000000059670 /data/app/com.example-zCKu4MDx9gfTxFXKgeSkbw==/lib/arm64/libclang_rt.asan-aarch64-android.so (offset 0x50000)
08-01 21:32:25.703 22318 22318 F DEBUG : #03 pc 00000000000640c4 /data/app/com.example-zCKu4MDx9gfTxFXKgeSkbw==/lib/arm64/libclang_rt.asan-aarch64-android.so (offset 0x50000) (__ubsan_handle_cfi_check_fail_abort+128)
08-01 21:32:25.703 22318 22318 F DEBUG : #04 pc 000000000002606c /system/lib64/libaaudio.so
08-01 21:32:25.703 22318 22318 F DEBUG : #05 pc 000000000002a574 /system/lib64/libaaudio.so (__cfi_check+5492)
08-01 21:32:25.703 22318 22318 F DEBUG : #06 pc 0000000000024584 /system/bin/linker64 (__dl__ZN15CFIShadowWriter7CfiFailEmPvS0_S0_+128)
08-01 21:32:25.703 22318 22318 F DEBUG : #07 pc 0000000000001140 /system/lib64/libdl.so (__cfi_slowpath_diag+64)
08-01 21:32:25.703 22318 22318 F DEBUG : #08 pc 000000000002ee18 /system/lib64/libaaudio.so (aaudio::AudioStreamLegacy::onAudioDeviceUpdate(int)+792)
08-01 21:32:25.703 22318 22318 F DEBUG : #09 pc 000000000005d3e8 /system/lib64/libaudioclient.so (android::AudioRecord::onAudioDeviceUpdate(int, int)+296)
08-01 21:32:25.703 22318 22318 F DEBUG : #12 pc 000000000004fbf4 /system/lib64/libbinder.so (android::BBinder::transact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+136)
08-01 21:32:25.704 22318 22318 F DEBUG : #13 pc 000000000005d2a4 /system/lib64/libbinder.so (android::IPCThreadState::executeCommand(int)+520)
08-01 21:32:25.704 22318 22318 F DEBUG : #14 pc 000000000005cfe8 /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+156)
08-01 21:32:25.704 22318 22318 F DEBUG : #15 pc 000000000005d6d8 /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+108)
08-01 21:32:25.704 22318 22318 F DEBUG : #16 pc 000000000007fc5c /system/lib64/libbinder.so (android::PoolThread::threadLoop()+24)
08-01 21:32:25.704 22318 22318 F DEBUG : #17 pc 00000000000100dc /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+284)
08-01 21:32:25.704 21896 21896 D ExampleApp: stopping sco
08-01 21:32:25.704 22318 22318 F DEBUG : #18 pc 00000000000b5a10 /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+140)
08-01 21:32:25.704 22318 22318 F DEBUG : #19 pc 0000000000090328 /system/lib64/libc.so (__pthread_start(void*)+36)
08-01 21:32:25.704 22318 22318 F DEBUG : #20 pc 0000000000023a28 /system/lib64/libc.so (__start_thread+68)
08-01 21:32:25.704 21896 21896 I AudioManager: In stopBluetoothSco(), calling application: com.example
08-01 21:32:25.705 2302 2851 I AudioService: In stopBluetoothSco()
08-01 21:32:25.705 21896 21896 D ExampleApp: unregistering receiver
08-01 21:32:25.715 21896 21896 D ExampleApp: onAudioDevicesRemoved
08-01 21:32:26.721 21890 21890 I wrap.sh : Aborted
08-01 21:32:26.723 21890 21890 I wrap.sh : wrap.sh terminated by exit(134)
08-01 21:08:45.841 2302 2302 I AudioService: setBtScoActiveDevice: BC:B8:63:46:6E:85 -> null
08-01 21:08:45.867 2302 2302 W AudioService: handleDeviceConnection() failed, deviceKey=0x20:BC:B8:63:46:6E:85, deviceSpec=null, connect=false
08-01 21:08:45.867 2302 2302 E AudioService: handleDeviceConnection: returning false
08-01 21:08:45.867 2302 2302 W AudioService: handleDeviceConnection() failed, deviceKey=0x40:BC:B8:63:46:6E:85, deviceSpec=null, connect=false
08-01 21:08:45.867 2302 2302 E AudioService: handleDeviceConnection: returning false
08-01 21:08:45.918 2302 2302 I AudioService: for inDevice-2147483640 result is true
08-01 21:08:45.918 2302 2302 I AudioService: In setBtScoActiveDevice(), calling resetBluetoothSco()
08-01 21:08:45.918 2302 2302 I AudioService: In resetBluetoothSco(), calling clearAllScoClients()
08-01 21:08:45.918 2302 2302 I AudioService: In clearCount(), stopSco: false, mStartcount: 0
08-01 21:08:45.918 2302 2302 I AudioService: In clearCount(), stopSco: false, mStartcount: 1
08-01 21:08:45.920 14064 14064 I AudioManager: In setBluetoothScoOn(), on: false, calling application: com.android.bluetooth
08-01 21:08:45.920 2302 2837 I AudioService: In setBluetoothScoOn(), eventSource: setBluetoothScoOn(false) from u/pid:1002/14064
08-01 21:08:45.920 2302 2837 I AudioService: setBluetoothScoOnInt: false setBluetoothScoOn(false) from u/pid:1002/14064
08-01 21:08:45.920 2302 2837 I AudioService: In setbluetoothScoOnInt(), mForcedUseForCommExt: 0
08-01 21:08:45.926 14381 14381 D ExampleApp: received onIntentResult callback
08-01 21:08:45.931 2302 2302 I AudioService: setBluetoothScoOnInt: false resetBluetoothSco
08-01 21:08:45.931 2302 2302 I AudioService: In setbluetoothScoOnInt(), mForcedUseForCommExt: 0
08-01 21:08:45.947 14381 14584 I AudioRecord: AUDIO_INPUT_FLAG_FAST successful; frameCount 4096 -> 4096
08-01 21:08:45.952 2302 2958 E AudioManager: updatePortConfig port not found for handle: 733
08-01 21:08:45.953 14381 14553 E AudioManager: updatePortConfig port not found for handle: 733
08-01 21:08:45.953 14381 14381 D ExampleApp: onAudioDevicesRemoved
08-01 21:08:45.953 14381 14381 D ExampleApp: stopping pipeline
08-01 21:08:45.953 14381 14381 D ExampleApp: stopping streams
08-01 21:08:45.953 14381 14381 D ExampleApp: stopping stream for device 737
08-01 21:08:45.953 14381 14381 D AAudio : AAudioStream_requestStop(0x66bd77e120)
08-01 21:08:45.962 14064 14094 E AudioManager: updatePortConfig port not found for handle: 733
08-01 21:08:45.965 14381 14553 E AudioManager: updatePortConfig port not found for handle: 733
08-01 21:08:45.965 2302 2958 E AudioManager: updatePortConfig port not found for handle: 733
08-01 21:08:45.965 14064 14094 E AudioManager: updatePortConfig port not found for handle: 733
08-01 21:08:45.966 2302 2302 I AudioService: device:BC:B8:63:46:6E:85
08-01 21:08:45.967 2302 2302 I AudioService: checkAndUpdatTwsPlusScoState returns true
08-01 21:08:45.967 2302 2302 I AudioService: In setBluetoothScoOn(), eventSource: setBluetoothScoOn(false) from u/pid:1000/2302
08-01 21:08:45.967 2302 2302 I AudioService: setBluetoothScoOnInt: false setBluetoothScoOn(false) from u/pid:1000/2302
08-01 21:08:45.967 2302 2302 I AudioService: In setbluetoothScoOnInt(), mForcedUseForCommExt: 0
08-01 21:08:45.977 2302 2302 I AudioService: Audio-path brought-down
08-01 21:08:45.977 2302 2302 I AudioService: In onReceive(), mScoAudioState: 0, broadcast: false
08-01 21:08:45.978 14381 14553 E AudioManager: updatePortConfig port not found for handle: 733
08-01 21:08:45.979 2302 2958 E AudioManager: updatePortConfig port not found for handle: 733
08-01 21:08:45.985 14381 14553 E AudioManager: updatePortConfig port not found for handle: 733
08-01 21:08:45.986 14064 14094 E AudioManager: updatePortConfig port not found for handle: 733
08-01 21:08:45.986 2302 2958 E AudioManager: updatePortConfig port not found for handle: 733
08-01 21:08:45.987 14064 14094 E AudioManager: updatePortConfig port not found for handle: 733
08-01 21:08:45.988 2302 2302 I AudioService: In onServiceDisconnected(), calling disconnectHeadset()
08-01 21:08:45.988 2302 2302 I AudioService: setBtScoActiveDevice: null -> null
08-01 21:08:45.988 2302 2302 I AudioService: In onServiceDisconnected(), calling disconnectHeadset()
08-01 21:08:45.988 2302 2302 I AudioService: setBtScoActiveDevice: null -> null
08-01 21:08:45.998 14381 14381 D ExampleApp: closing stream for device 737
08-01 21:08:45.998 14381 14381 D AAudio : AAudioStream_close(0x66bd77e120) called ---------------
08-01 21:08:45.998 14381 14590 D AudioStreamLegacy: onAudioDeviceUpdate() deviceId 14
08-01 21:08:45.998 14381 14590 D AudioStreamLegacy: onAudioDeviceUpdate() DISCONNECT the stream now
08-01 21:08:45.998 14381 14381 D AAudioStream: destroying 0x66bd77e120, state = AAUDIO_STREAM_STATE_CLOSED
08-01 21:08:45.998 14381 14381 D AAudio : AAudioStream_close(0x66bd77e120) returned 0 ---------
08-01 21:08:45.998 14381 14381 D ExampleApp: stopping stream for device 733
08-01 21:08:45.998 14381 14381 D AAudio : AAudioStream_requestStop(0x65bd786140)
08-01 21:08:45.998 14381 14381 D AudioTrack: stop() called with 388224 frames delivered
08-01 21:08:45.999 14381 14381 D ExampleApp: closing stream for device 733
08-01 21:08:45.999 14381 14381 D AAudio : AAudioStream_close(0x65bd786140) called ---------------
08-01 21:08:45.999 14372 14372 I wrap.sh : frameworks/av/media/libaaudio/src/legacy/AudioStreamLegacy.cpp:216:13: runtime error: control flow integrity check for type 'aaudio::AudioStreamLegacy' failed during non-virtual call (vtable address 0x0057b6a142f0)
08-01 21:08:45.999 14372 14372 I wrap.sh : 0x0057b6a142f0: note: invalid vtable
08-01 21:08:45.999 14372 14372 I wrap.sh : 00 00 00 00 58 ce 9d b6 57 00 00 00 40 bf 9d b6 57 00 00 00 fc 3d 54 3e 78 00 00 00 34 3c a0 b6
08-01 21:08:45.999 14372 14372 I wrap.sh : ^
08-01 21:08:46.000 14381 14553 E AudioManager: updatePortConfig port not found for handle: 733
08-01 21:08:46.002 2302 2958 E AudioManager: updatePortConfig port not found for handle: 733
08-01 21:08:46.006 14381 14381 V AudioTrack: ~AudioTrack, releasing session id 3209 from 14381 on behalf of 14381
08-01 21:08:46.010 14064 14094 E AudioManager: updatePortConfig port not found for handle: 733
08-01 21:08:46.013 14381 14381 D AAudioStream: destroying 0x65bd786140, state = AAUDIO_STREAM_STATE_CLOSED
08-01 21:08:46.013 14381 14381 D AAudio : AAudioStream_close(0x65bd786140) returned 0 ---------
08-01 21:08:46.013 14381 14381 D ExampleApp: stopping sco
08-01 21:08:46.013 14381 14381 I AudioManager: In stopBluetoothSco(), calling application: com.example
08-01 21:08:46.013 2302 8735 I AudioService: In stopBluetoothSco()
08-01 21:08:46.014 14381 14381 D ExampleApp: unregistering receiver
08-01 21:08:46.041 14372 14372 I wrap.sh : SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior frameworks/av/media/libaaudio/src/legacy/AudioStreamLegacy.cpp:216:13 in
08-01 21:08:46.109 2302 2302 I AudioService: In onServiceDisconnected(), calling disconnectHeadset()
08-01 21:08:46.109 2302 2302 I AudioService: setBtScoActiveDevice: null -> null
08-01 21:08:46.114 2302 2302 I AudioService: In onServiceDisconnected(), calling disconnectHeadset()
08-01 21:08:46.114 2302 2302 I AudioService: setBtScoActiveDevice: null -> null
08-01 21:08:46.057 26429 26429 W AudioOut_D: type=1400 audit(0.0:222067): avc: denied { write } for name="logd" dev="tmpfs" ino=2167 scontext=u:r:audioserver:s0 tcontext=u:object_r:logd_socket:s0 tclass=sock_file permissive=0
08-01 21:08:46.133 2302 2302 I AudioService: setBtScoActiveDevice: null -> null
08-01 21:08:46.377 14610 14610 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
08-01 21:08:46.377 14610 14610 F DEBUG : Build fingerprint: 'xiaomi/lavender/lavender:9/PKQ1.180904.001/V11.0.6.0.PFGMIXM:user/release-keys'
08-01 21:08:46.377 14610 14610 F DEBUG : Revision: '0'
08-01 21:08:46.377 14610 14610 F DEBUG : ABI: 'arm64'
08-01 21:08:46.377 14610 14610 F DEBUG : pid: 14381, tid: 14590, name: Binder:14381_5 >>> com.example <<<
08-01 21:08:46.377 14610 14610 F DEBUG : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
08-01 21:08:46.377 14610 14610 F DEBUG : x0 0000000000000000 x1 00000000000038fe x2 0000000000000006 x3 0000000000000008
08-01 21:08:46.377 14610 14610 F DEBUG : x4 0000000000000000 x5 0000000000000000 x6 0000000000000000 x7 0000000000000000
08-01 21:08:46.377 14610 14610 F DEBUG : x8 0000000000000083 x9 38685047f377e4ab x10 0000000000000000 x11 fffffffc7ffffbdf
08-01 21:08:46.377 14610 14610 F DEBUG : x12 0000000000000001 x13 000000579f25b270 x14 0000000000000000 x15 0000007841324b5c
08-01 21:08:46.377 14610 14610 F DEBUG : x16 00000078427712b0 x17 0000007842690cd0 x18 0000000000000001 x19 000000000000382d
08-01 21:08:46.378 14610 14610 F DEBUG : x20 00000000000038fe x21 0000000820810411 x22 00000057b6a142e0 x23 000000579f25c588
08-01 21:08:46.378 14610 14610 F DEBUG : x24 00000069bd8a1080 x25 00000078416382c0 x26 00000078416bd680 x27 00000078416af930
08-01 21:08:46.378 14610 14610 F DEBUG : x28 000000000000dd50 x29 000000579f25bed0
08-01 21:08:46.378 14610 14610 F DEBUG : sp 000000579f25be90 lr 0000007842684144 pc 000000784268416c
08-01 21:08:46.406 14610 14610 F DEBUG :
08-01 21:08:46.406 14610 14610 F DEBUG : backtrace:
08-01 21:08:46.406 14610 14610 F DEBUG : #00 pc 000000000002216c /system/lib64/libc.so (abort+116)
08-01 21:08:46.406 14610 14610 F DEBUG : #01 pc 000000000005a6d8 /data/app/com.example-D_YK8cCncqWgN2jBoQzywg==/lib/arm64/libclang_rt.asan-aarch64-android.so (offset 0x50000)
08-01 21:08:46.406 14610 14610 F DEBUG : #02 pc 0000000000059670 /data/app/com.example-D_YK8cCncqWgN2jBoQzywg==/lib/arm64/libclang_rt.asan-aarch64-android.so (offset 0x50000)
08-01 21:08:46.406 14610 14610 F DEBUG : #03 pc 00000000000640c4 /data/app/com.example-D_YK8cCncqWgN2jBoQzywg==/lib/arm64/libclang_rt.asan-aarch64-android.so (offset 0x50000) (__ubsan_handle_cfi_check_fail_abort+128)
08-01 21:08:46.406 14610 14610 F DEBUG : #04 pc 000000000002606c /system/lib64/libaaudio.so
08-01 21:08:46.406 14610 14610 F DEBUG : #05 pc 000000000002a574 /system/lib64/libaaudio.so (__cfi_check+5492)
08-01 21:08:46.406 14610 14610 F DEBUG : #06 pc 000000000002ee58 /system/lib64/libaaudio.so (aaudio::AudioStreamLegacy::onAudioDeviceUpdate(int)+856)
08-01 21:08:46.406 14610 14610 F DEBUG : #07 pc 000000000005d3e8 /system/lib64/libaudioclient.so (android::AudioRecord::onAudioDeviceUpdate(int, int)+296)
08-01 21:08:46.407 14610 14610 F DEBUG : #10 pc 000000000004fbf4 /system/lib64/libbinder.so (android::BBinder::transact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+136)
08-01 21:08:46.407 14610 14610 F DEBUG : #11 pc 000000000005d2a4 /system/lib64/libbinder.so (android::IPCThreadState::executeCommand(int)+520)
08-01 21:08:46.407 14610 14610 F DEBUG : #12 pc 000000000005cfe8 /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+156)
08-01 21:08:46.407 14610 14610 F DEBUG : #13 pc 000000000005d6d8 /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+108)
08-01 21:08:46.407 14610 14610 F DEBUG : #14 pc 000000000007fc5c /system/lib64/libbinder.so (android::PoolThread::threadLoop()+24)
08-01 21:08:46.407 14610 14610 F DEBUG : #15 pc 00000000000100dc /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+284)
08-01 21:08:46.407 14610 14610 F DEBUG : #16 pc 00000000000b5a10 /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+140)
08-01 21:08:46.407 14610 14610 F DEBUG : #17 pc 0000000000090328 /system/lib64/libc.so (__pthread_start(void*)+36)
08-01 21:08:46.407 14610 14610 F DEBUG : #18 pc 0000000000023a28 /system/lib64/libc.so (__start_thread+68)
08-01 21:08:46.520 26430 9064 E audio_route: id=0: ctl=PRI_MI2S_RX Audio Mixer MultiMedia5
08-01 21:08:46.550 14381 14381 D ExampleApp: onAudioDevicesRemoved
08-01 21:08:46.607 14064 14064 I AndroidRuntime: VM exiting with result code 0, cleanup skipped.
08-01 21:08:46.630 2302 3561 W AudioService.PlaybackActivityMonitor: client died
08-01 21:08:47.327 14372 14372 I wrap.sh : Aborted
08-01 21:08:47.328 14372 14372 I wrap.sh : wrap.sh terminated by exit(134)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment