Skip to content

Tombstone in during fastrpc_apps_user_deinit #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
quic-ekangupt opened this issue Jun 4, 2024 · 0 comments · Fixed by #8
Closed

Tombstone in during fastrpc_apps_user_deinit #7

quic-ekangupt opened this issue Jun 4, 2024 · 0 comments · Fixed by #8
Assignees

Comments

@quic-ekangupt
Copy link
Contributor

05-29 06:41:37.107 6258 6258 F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x7c8 in tid 6258 (cdsprpcd), pid 6258 (cdsprpcd)
05-29 06:41:37.109 6283 6283 I crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstoneProto
05-29 06:41:37.112 1072 1072 I tombstoned: received crash request for pid 6254
05-29 06:41:37.113 6283 6283 I crash_dump64: performing dump of process 6254 (target tid = 6254)
05-29 06:41:37.126 6288 6288 I crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstoneProto
05-29 06:41:37.127 1072 1072 I tombstoned: received crash request for pid 6257
05-29 06:41:37.127 1072 1072 I tombstoned: enqueueing crash request for pid 6257
05-29 06:41:37.147 6283 6283 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
05-29 06:41:37.147 6283 6283 F DEBUG : Build fingerprint: 'qti/pineapple/pineapple:VanillaIceCream/AQ3A.240515.002/eng.lnxbui.20240528.234048:userdebug/test-keys'
05-29 06:41:37.147 6283 6283 F DEBUG : Revision: '0'
05-29 06:41:37.147 6283 6283 F DEBUG : ABI: 'arm64'
05-29 06:41:37.147 6283 6283 F DEBUG : Timestamp: 2024-05-29 06:41:37.115302228+0000
05-29 06:41:37.231 474 474 I logd : logdr: UID=1000 GID=1013 PID=6283 n tail=500 logMask=8 pid=6254 start=0ns deadline=0ns
05-29 06:41:37.147 6283 6283 F DEBUG : Process uptime: 4s
05-29 06:41:37.147 6283 6283 F DEBUG : Cmdline: /vendor/bin/adsprpcd rootpd adsp
05-29 06:41:37.233 474 474 I logd : logdr: UID=1000 GID=1013 PID=6283 n tail=500 logMask=1 pid=6254 start=0ns deadline=0ns
05-29 06:41:37.147 6283 6283 F DEBUG : pid: 6254, tid: 6254, name: adsprpcd >>> /vendor/bin/adsprpcd <<<
05-29 06:41:37.147 6283 6283 F DEBUG : uid: 1000
05-29 06:41:37.147 6283 6283 F DEBUG : tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
05-29 06:41:37.147 6283 6283 F DEBUG : pac_enabled_keys: 000000000000000f (PR_PAC_APIAKEY, PR_PAC_APIBKEY, PR_PAC_APDAKEY, PR_PAC_APDBKEY)
05-29 06:41:37.147 6283 6283 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000000000000030
05-29 06:41:37.147 6283 6283 F DEBUG : Cause: null pointer dereference
05-29 06:41:37.147 6283 6283 F DEBUG : x0 0000000000000030 x1 000000717954e484 x2 000000717954e484 x3 0000007fc017d6e8
05-29 06:41:37.147 6283 6283 F DEBUG : x4 0000000000002880 x5 0000000000005610 x6 6d68606c6e631f39 x7 7f7f7f7f7f7f7f7f
05-29 06:41:37.147 6283 6283 F DEBUG : x8 000000000001ed40 x9 000000000001bfb0 x10 0000000000000001 x11 000000000000fc17
05-29 06:41:37.147 6283 6283 F DEBUG : x12 b400007147ea5b10 x13 0000000000000000 x14 0000000000000018 x15 0000000000000041
05-29 06:41:37.147 6283 6283 F DEBUG : x16 0000006ee7ab5040 x17 00000071794c1d3c x18 0000007179a44000 x19 00000000000025f8
05-29 06:41:37.147 6283 6283 F DEBUG : x20 0000006ee7a95920 x21 0000006ee7ab6ee0 x22 0000000000000010 x23 0000000000000288
05-29 06:41:37.147 6283 6283 F DEBUG : x24 000000717aa03000 x25 000000717a851a9e x26 000000717a85482d x27 0000000000000002
05-29 06:41:37.147 6283 6283 F DEBUG : x28 0000006ee7a8b9cc x29 0000007fc017d700
05-29 06:41:37.147 6283 6283 F DEBUG : lr 001d406ee7a8c258 sp 0000007fc017d700 pc 00000071794c1d4c pst 0000000080001000
05-29 06:41:37.147 6283 6283 F DEBUG : 9 total frames
05-29 06:41:37.147 6283 6283 F DEBUG : backtrace:
05-29 06:41:37.147 6283 6283 F DEBUG : #00 pc 000000000007ad4c /apex/com.android.runtime/lib64/bionic/libc.so (pthread_mutex_lock+16) (BuildId: dd6560442b7250fcf9c4588e0339c355)
05-29 06:41:37.147 6283 6283 F DEBUG : #1 pc 000000000002e254 /vendor/lib64/libadsprpc.so (fastrpc_apps_user_deinit+500)
05-29 06:41:37.147 6283 6283 F DEBUG : #2 pc 00000000000b45bc /apex/com.android.runtime/bin/linker64 (__dl__ZN6soinfo16call_destructorsEv+448) (BuildId: b56f112d7879bf5204cb6ba6bb757e6c)
05-29 06:41:37.147 6283 6283 F DEBUG : #3 pc 000000000009b4b8 /apex/com.android.runtime/bin/linker64 (__dl__ZL13soinfo_unloadP6soinfo.__uniq.250007671217850615957365636956552013758+1220) (BuildId: b56f112d7879bf5204cb6ba6bb757e6c)
05-29 06:41:37.147 6283 6283 F DEBUG : #4 pc 000000000009d1ac /apex/com.android.runtime/bin/linker64 (__dl__Z10do_dlclosePv+116) (BuildId: b56f112d7879bf5204cb6ba6bb757e6c)
05-29 06:41:37.147 6283 6283 F DEBUG : #5 pc 00000000000974a0 /apex/com.android.runtime/bin/linker64 (__loader_dlclose+40) (BuildId: b56f112d7879bf5204cb6ba6bb757e6c)
05-29 06:41:37.147 6283 6283 F DEBUG : #6 pc 00000000000100cc /apex/com.android.runtime/lib64/bionic/libdl.so (dlclose+12) (BuildId: e0f40a4b7cfb136b90e0352cced2caff)
05-29 06:41:37.147 6283 6283 F DEBUG : #7 pc 0000000000001b70 /vendor/bin/adsprpcd (main+224)
05-29 06:41:37.147 6283 6283 F DEBUG : #8 pc 0000000000061948 /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+120) (BuildId: dd6560442b7250fcf9c4588e0339c355)
--------- beginning of system

The issue seems to be coming because mutex is getting used after it's destroyed.

@quic-ekangupt quic-ekangupt self-assigned this Jun 4, 2024
@quic-ekangupt quic-ekangupt linked a pull request Jun 4, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant