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

android 11 在hook_write的时候偶现crash #90

Closed
wanggaohui opened this issue Jun 29, 2021 · 0 comments
Closed

android 11 在hook_write的时候偶现crash #90

wanggaohui opened this issue Jun 29, 2021 · 0 comments

Comments

@wanggaohui
Copy link

#00 pc 0007668a /apex/com.android.runtime/lib/bionic/libc.so (__strchr_chk+6) (BuildId: b8f8db1bfeb45929e2f80e5c07a2b847)
#1 pc 0008ba05 /apex/com.android.runtime/lib/bionic/libc.so (strstr+8) (BuildId: b8f8db1bfeb45929e2f80e5c07a2b847)
#2 pc 0000e38c /data/app/~~Je6XVMB3L2FOHfre7jlGFQ==/com.oapm.sample-WzSmdG9orNm63HblGEKx9g==/lib/arm/liboapm-leak.so (hook_write(int, void const*, unsigned int)+172) (BuildId: 38f01ac208c510bfa37462c40b12c6db5f3708f9)
#3 pc 0002a2b9 /data/app/~~Je6XVMB3L2FOHfre7jlGFQ==/com.oapm.sample-WzSmdG9orNm63HblGEKx9g==/lib/arm/liboapm-io.so (ProxyWriteChk+48) (BuildId: b60162d0c60c8f6413460582498446d794d16260)
#4 pc 0001ef4f /apex/com.android.art/lib/libjavacore.so (Linux_writeBytes(_JNIEnv*, _jobject*, _jobject*, _jobject*, int, int)+86) (BuildId: 2bf85466fcd2d4f0427f96cfc9d140d3)
#5 pc 00015281 /apex/com.android.art/javalib/arm/boot-core-libart.oat (art_jni_trampoline+128) (BuildId: 02f23fd7c5c6a52bae98cc6b02e4d4832bb6288b)
#6 pc 0207f873 /memfd:jit-cache (deleted) (offset 0x2000000) (libcore.io.Linux.write+58)
#7 pc 0207fab9 /memfd:jit-cache (deleted) (offset 0x2000000) (libcore.io.ForwardingOs.write+80)
#8 pc 0207fc95 /memfd:jit-cache (deleted) (offset 0x2000000) (libcore.io.BlockGuardOs.write+100)
#9 pc 0207fab9 /memfd:jit-cache (deleted) (offset 0x2000000) (libcore.io.ForwardingOs.write+80)
#10 pc 0207fd37 /memfd:jit-cache (deleted) (offset 0x2000000) (libcore.io.IoBridge.write+134)
#11 pc 0207ff71 /memfd:jit-cache (deleted) (offset 0x2000000) (java.io.FileOutputStream.write+128)
#12 pc 020a764d /memfd:jit-cache (deleted) (offset 0x2000000) (java.io.FileOutputStream.write+44)
#13 pc 020a7719 /memfd:jit-cache (deleted) (offset 0x2000000) (com.oapm.sample.ui.block.TestBlockActivity.testMainThreadIo+176)
#14 pc 021b1b09 /memfd:jit-cache (deleted) (offset 0x2000000) (com.oapm.sample.ui.block.TestBlockActivity.onClick+192)
#15 pc 020c07e7 /memfd:jit-cache (deleted) (offset 0x2000000) (android.view.View.performClick+966)
#16 pc 02170ae1 /memfd:jit-cache (deleted) (offset 0x2000000) (android.view.View.performClickInternal+48)
#17 pc 02008bc7 /memfd:jit-cache (deleted) (offset 0x2000000) (android.view.View.access$3900+38)
#18 pc 02163b37 /memfd:jit-cache (deleted) (offset 0x2000000) (android.view.View$PerformClick.run+86)
#19 pc 0207da49 /memfd:jit-cache (deleted) (offset 0x2000000) (android.os.Handler.handleCallback+56)
#20 pc 02083c97 /memfd:jit-cache (deleted) (offset 0x2000000) (android.os.Handler.dispatchMessage+62)
#21 pc 0211f6ff /memfd:jit-cache (deleted) (offset 0x2000000) (android.os.Looper.loop+1414)
#22 pc 000d3a2f /apex/com.android.art/lib/libart.so (art_quick_osr_stub+46) (BuildId: 41dd04a824251f9bd476b90dfd627c3b)
#23 pc 0025d67f /apex/com.android.art/lib/libart.so (art::jit::Jit::MaybeDoOnStackReplacement(art::Thread*, art::ArtMethod*, unsigned int, int, art::JValue*)+290) (BuildId: 41dd04a824251f9bd476b90dfd627c3b)
#24 pc 004f50c3 /apex/com.android.art/lib/libart.so (MterpMaybeDoOnStackReplacement+130) (BuildId: 41dd04a824251f9bd476b90dfd627c3b)
#25 pc 000d2ff4 /apex/com.android.art/lib/libart.so (MterpHelpers+244) (BuildId: 41dd04a824251f9bd476b90dfd627c3b)
#26 pc 00403cb2 /system/framework/framework.jar (offset 0x97f000) (android.os.Looper.loop+1466)
#27 pc 002316ff /apex/com.android.art/lib/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.3191214804846097707)+250) (BuildId: 41dd04a824251f9bd476b90dfd627c3b)
#28 pc 00238177 /apex/com.android.art/lib/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+138) (BuildId: 41dd04a824251f9bd476b90dfd627c3b)
#29 pc 002390ab /apex/com.android.art/lib/libart.so (bool art::interpreter::DoCall(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1474) (BuildId: 41dd04a824251f9bd476b90dfd627c3b)
#30 pc 00106bb1 /apex/com.android.art/lib/libart.so (void art::interpreter::ExecuteSwitchImplCpp(art::interpreter::SwitchImplContext*)+49680) (BuildId: 41dd04a824251f9bd476b90dfd627c3b)
#31 pc 000d9075 /apex/com.android.art/lib/libart.so (ExecuteSwitchImplAsm+4) (BuildId: 41dd04a824251f9bd476b90dfd627c3b)
#32 pc 001c5c30 /system/framework/framework.jar (android.app.ActivityThread.main)
#33 pc 002316bd /apex/com.android.art/lib/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.3191214804846097707)+184) (BuildId: 41dd04a824251f9bd476b90dfd627c3b)
#34 pc 002380b3 /apex/com.android.art/lib/libart.so (art::interpreter::EnterInt

@wanggaohui wanggaohui changed the title android 11 在hook_write的时候出现crash android 11 在hook_write的时候偶现crash Jun 29, 2021
@wanggaohui wanggaohui reopened this Jun 30, 2021
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

1 participant