Skip to content
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

app link with tsan launches failed on android #1197

Open
64Teenage opened this issue Feb 27, 2020 · 1 comment
Open

app link with tsan launches failed on android #1197

64Teenage opened this issue Feb 27, 2020 · 1 comment

Comments

@64Teenage
Copy link

  1. following the wiki, get libtsan_shared.so successfully
  2. link app(test.so) with libtsan_shared.so
  3. push test.so to and libtsan_shared.so to android phone

then error occurs :
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x202a7
x0 0000000000000001 x1 0000007feb800ba8 x2 0000007feb800bb8 x3 0000007d1da33b00
x4 0000007d1db36400 x5 0000000000000000 x6 2f726f646e65762f x7 65762f343662696c
x8 00000000000202a6 x9 ff547e67c3976ff6 x10 000000000000001f x11 0000000000000028
x12 7865746e6f632e64 x13 6f732e302e314074 x14 0000000000000020 x15 aaaaaaaaaaaaaaab
x16 0000007d1c534bb8 x17 0000007d1c5167c0 x18 0000007d1de74000 x19 0000007d1d52123c
x20 0000007d1d52123c x21 0000007d1d527060 x22 0000000000000000 x23 0000007d1daa8020
x24 0000007d1daa8020 x25 0000007d1d550008 x26 0000007d1ed1e5a8 x27 0000000000000002
x28 0000007d1d527014 x29 0000007feb7ff470
sp 0000007feb7ff420 lr 0000007d1c4d69e8 pc 0000007d1c4d69f0
backtrace:
#00 pc 000000000004c9f0 /vendor/lib64/libtsan_shared.so (__interceptor_strlen+56) (BuildId: 5aef78e4b924b42d0cd0edbb064463a1)
#1 pc 000000000001805c context@1.0.so (context::V1_0::static_constructor()+72) (BuildId: b155d89052eff07a871fa8c980cb5158)
#2 pc 0000000000052358 /apex/com.android.runtime/bin/linker64 (_dl__ZL10call_arrayIPFviPPcS1_EEvPKcPT_mbS5+276) (BuildId: d3c0f70a3721d9cebf68800499a55425)
#3 pc 0000000000052574 /apex/com.android.runtime/bin/linker64 (__dl__ZN6soinfo17call_constructorsEv+376) (BuildId: d3c0f70a3721d9cebf68800499a55425)
#4 pc 0000000000052480 /apex/com.android.runtime/bin/linker64 (__dl__ZN6soinfo17call_constructorsEv+132) (BuildId: d3c0f70a3721d9cebf68800499a55425)
#5 pc 0000000000052480 /apex/com.android.runtime/bin/linker64 (__dl__ZN6soinfo17call_constructorsEv+132) (BuildId: d3c0f70a3721d9cebf68800499a55425)
#6 pc 000000000004e5d4 /apex/com.android.runtime/bin/linker64 (__dl__ZL29__linker_init_post_relocationR19KernelArgumentBlockR6soinfo+3624) (BuildId: d3c0f70a3721d9cebf68800499a55425)
#7 pc 000000000004d750 /apex/com.android.runtime/bin/linker64 (__dl___linker_init+396) (BuildId: d3c0f70a3721d9cebf68800499a55425)
#8 pc 0000000000054a54 /apex/com.android.runtime/bin/linker64 (__dl__start+4) (BuildId: d3c0f70a3721d9cebf68800499a55425)

@kcc
Copy link
Contributor

kcc commented Mar 3, 2020

Errr.... I don't think we support tsan on android, do we?

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

No branches or pull requests

2 participants