You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is from internal report by Xiaotong at b/330947899. From the log, I believed it was caused by the error callback arrived after the stream was closed. When the stream was opened with the shared pointer, the shared pointer of the oboe stream was released when the stream was closed. However, when the error callback arrived, oboe would find the shared pointer was null and then call the error callback via the raw pointer. That finally resulted in a crash.
03-22 19:50:23.052 D AAudio : AAudioStream_close(s#114) returned 0 ---------
03-22 19:50:23.052 D OboeAudio: ActivityContext::close() delete stream 39
03-22 19:50:23.052 D OboeTester: LOG - Result:
03-22 19:50:23.052 D OboeAudio: oboe_aaudio_error_thread_proc(,-899) - entering >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
03-22 19:50:23.601 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
03-22 19:50:23.601 F DEBUG : Build fingerprint: 'google/tokay/tokay:VanillaIceCream/MAIN/11602307:userdebug/dev-keys'
03-22 19:50:23.601 F DEBUG : Revision: 'EVT1.1'
03-22 19:50:23.601 F DEBUG : ABI: 'arm64'
03-22 19:50:23.601 F DEBUG : Timestamp: 2024-03-22 19:50:23.147546161-0400
03-22 19:50:23.601 F DEBUG : Process uptime: 2421s
03-22 19:50:23.601 F DEBUG : Cmdline: com.mobileer.oboetester
03-22 19:50:23.601 F DEBUG : pid: 13008, tid: 21150, name: AAudio_48 >>> com.mobileer.oboetester <<<
03-22 19:50:23.601 F DEBUG : uid: 10301
03-22 19:50:23.601 F DEBUG : tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
03-22 19:50:23.601 F DEBUG : pac_enabled_keys: 000000000000000f (PR_PAC_APIAKEY, PR_PAC_APIBKEY, PR_PAC_APDAKEY, PR_PAC_APDBKEY)
03-22 19:50:23.601 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x00000000000000b0
03-22 19:50:23.601 F DEBUG : Cause: null pointer dereference
03-22 19:50:23.601 F DEBUG : x0 b400007641888e50 x1 b400007641888e50 x2 00000000fffffc7d x3 0000000000000003
03-22 19:50:23.601 F DEBUG : x4 000000755ec97e40 x5 00000000002cbc18 x6 2c2b27626e716f5e x7 7f7f7f7f7f7f7f7f
03-22 19:50:23.601 F DEBUG : x8 00000000000000b0 x9 011f32591321d658 x10 0000000000000002 x11 fffffffffffffffd
03-22 19:50:23.601 F DEBUG : x12 000000755ec97f60 x13 0000000000000053 x14 000000755ec99258 x15 000003d57d36990b
03-22 19:50:23.601 F DEBUG : x16 0000007812f2c350 x17 00000078250de7e0 x18 0000007530610000 x19 00000000fffffc7d
03-22 19:50:23.601 F DEBUG : x20 b400007641888e50 x21 b400007641889058 x22 0000000000005294 x23 00000000000032d0
03-22 19:50:23.601 F DEBUG : x24 000000755ec99770 x25 000000755ec99770 x26 000000755ec99ab0 x27 00000000000fc000
03-22 19:50:23.601 F DEBUG : x28 00000000000fe000 x29 000000755ec996d0
03-22 19:50:23.601 F DEBUG : lr 00000074d0a8641c sp 000000755ec996b0 pc 00000000000000b0 pst 0000000060001800
03-22 19:50:23.601 F DEBUG : 5 total frames
03-22 19:50:23.601 F DEBUG : backtrace:
03-22 19:50:23.601 F DEBUG : #00 pc 00000000000000b0 <unknown>
03-22 19:50:23.601 F DEBUG : #01 pc 000000000006f418 /data/app/~~G96IqD_FQIgtQ6pso2e_mw==/com.mobileer.oboetester-cnTVHbIO4rrjX_LDefw73w==/base.apk!liboboetester.so (offset 0x40a000) (BuildId: 0a21aea27e17f5e88c192c78a4ed4d8815e58cb9)
03-22 19:50:23.601 F DEBUG : #02 pc 0000000000071580 /data/app/~~G96IqD_FQIgtQ6pso2e_mw==/com.mobileer.oboetester-cnTVHbIO4rrjX_LDefw73w==/base.apk!liboboetester.so (offset 0x40a000) (BuildId: 0a21aea27e17f5e88c192c78a4ed4d8815e58cb9)
03-22 19:50:23.601 F DEBUG : #03 pc 000000000007afbc /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204) (BuildId: 5eb4e377848710b07cdddcfe265014c9)
03-22 19:50:23.601 F DEBUG : #04 pc 000000000006cd60 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: 5eb4e377848710b07cdddcfe265014c9)
The text was updated successfully, but these errors were encountered:
This is from internal report by Xiaotong at b/330947899. From the log, I believed it was caused by the error callback arrived after the stream was closed. When the stream was opened with the shared pointer, the shared pointer of the oboe stream was released when the stream was closed. However, when the error callback arrived, oboe would find the shared pointer was null and then call the error callback via the raw pointer. That finally resulted in a crash.
The text was updated successfully, but these errors were encountered: