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

ObjectAllocCallback在android12上,把时间采样去掉后有问题 , Cause: stack pointer is close to top of stack; likely stack overflow. #4

Open
TmacZhang opened this issue Jan 22, 2022 · 0 comments

Comments

@TmacZhang
Copy link

01-22 10:26:53.553 8110 8110 F DEBUG : #233 pc 0000000000008f14 /data/user/0/com.adi.demo/files/adi/agent.so
01-22 10:26:53.553 8110 8110 F DEBUG : #234 pc 0000000000008c4c /data/user/0/com.adi.demo/files/adi/agent.so
01-22 10:26:53.553 8110 8110 F DEBUG : #235 pc 0000000000008744 /data/user/0/com.adi.demo/files/adi/agent.so
01-22 10:26:53.553 8110 8110 F DEBUG : #236 pc 00000000000449b0 /apex/com.android.art/lib64/libopenjdkjvmti.so (openjdkjvmti::JvmtiEventAllocationListener::ObjectAllocated(art::Thread*, art::ObjPtrart::mirror::Object, unsigned long)+1912) (BuildId: 51217255994aa477d80c1efca2423525)
01-22 10:26:53.553 8110 8110 F DEBUG : #237 pc 00000000002aa970 /apex/com.android.art/lib64/libart.so (art::mirror::Class::AllocObject(art::Thread
)+776) (BuildId: 72af07d94f85cacca2a9143d42e26483)
01-22 10:26:53.553 8110 8110 F DEBUG : #238 pc 0000000000534cb0 /apex/com.android.art/lib64/libart.so (art::mirror::Class::EnsureExtDataPresent(art::Handleart::mirror::Class, art::Thread*)+156) (BuildId: 72af07d94f85cacca2a9143d42e26483)
01-22 10:26:53.553 8110 8110 F DEBUG : #239 pc 000000000053cd8c /apex/com.android.art/lib64/libart.so (art::mirror::Class::EnsureMethodIds(art::Handleart::mirror::Class)+52) (BuildId: 72af07d94f85cacca2a9143d42e26483)
01-22 10:26:53.553 8110 8110 F DEBUG : #240 pc 000000000045da98 /apex/com.android.art/lib64/libart.so (unsigned long art::jni::JniIdManager::EncodeGenericIdart::ArtMethod(art::ReflectiveHandleart::ArtMethod)+424) (BuildId: 72af07d94f85cacca2a9143d42e26483)
01-22 10:26:53.553 8110 8110 F DEBUG : #241 pc 000000000045d61c /apex/com.android.art/lib64/libart.so (art::jni::JniIdManager::EncodeMethodId(art::ArtMethod*)+128) (BuildId: 72af07d94f85cacca2a9143d42e26483)
01-22 10:26:53.553 8110 8110 F DEBUG : #242 pc 00000000000b42fc /apex/com.android.art/lib64/libopenjdkjvmti.so (openjdkjvmti::GetStackTraceVisitoropenjdkjvmti::GetStackTraceDirectClosure::Run(art::Thread*)::'lambda'(_jvmtiFrameInfo)::VisitFrame()+108) (BuildId: 51217255994aa477d80c1efca2423525)
01-22 10:26:53.553 8110 8110 F DEBUG : #243 pc 0000000000657634 /apex/com.android.art/lib64/libart.so (void art::StackVisitor::WalkStack<(art::StackVisitor::CountTransitions)0>(bool)+444) (BuildId: 72af07d94f85cacca2a9143d42e26483)
01-22 10:26:53.553 8110 8110 F DEBUG : #244 pc 00000000000b4260 /apex/com.android.art/lib64/libopenjdkjvmti.so (openjdkjvmti::GetStackTraceDirectClosure::Run(art::Thread*)+120) (BuildId: 51217255994aa477d80c1efca2423525)
01-22 10:26:53.553 8110 8110 F DEBUG : #245 pc 0000000000680928 /apex/com.android.art/lib64/libart.so (art::Thread::RequestSynchronousCheckpoint(art::Closure*, art::ThreadState)+116) (BuildId: 72af07d94f85cacca2a9143d42e26483)
01-22 10:26:53.553 8110 8110 F DEBUG : #246 pc 00000000000ae250 /apex/com.android.art/lib64/libopenjdkjvmti.so (openjdkjvmti::StackUtil::GetStackTrace(_jvmtiEnv*, _jobject*, int, int, _jvmtiFrameInfo*, int*)+1512) (BuildId: 51217255994aa477d80c1efca2423525)
01-22 10:26:53.553 8110 8110 F DEBUG : #247 pc 0000000000008f14 /data/user/0/com.adi.demo/files/adi/agent.so
01-22 10:26:53.553 8110 8110 F DEBUG : #248 pc 0000000000008c4c /data/user/0/com.adi.demo/files/adi/agent.so
01-22 10:26:53.553 8110 8110 F DEBUG : #249 pc 0000000000008744 /data/user/0/com.adi.demo/files/adi/agent.so
01-22 10:26:53.553 8110 8110 F DEBUG : #250 pc 00000000000449b0 /apex/com.android.art/lib64/libopenjdkjvmti.so (openjdkjvmti::JvmtiEventAllocationListener::ObjectAllocated(art::Thread*, art::ObjPtrart::mirror::Object, unsigned long)+1912) (BuildId: 51217255994aa477d80c1efca2423525)
01-22 10:26:53.554 8110 8110 F DEBUG : #251 pc 00000000002aa970 /apex/com.android.art/lib64/libart.so (art::mirror::Class::AllocObject(art::Thread
)+776) (BuildId: 72af07d94f85cacca2a9143d42e26483)
01-22 10:26:53.554 8110 8110 F DEBUG : #252 pc 0000000000534cb0 /apex/com.android.art/lib64/libart.so (art::mirror::Class::EnsureExtDataPresent(art::Handleart::mirror::Class, art::Thread*)+156) (BuildId: 72af07d94f85cacca2a9143d42e26483)
01-22 10:26:53.554 8110 8110 F DEBUG : #253 pc 000000000053cd8c /apex/com.android.art/lib64/libart.so (art::mirror::Class::EnsureMethodIds(art::Handleart::mirror::Class)+52) (BuildId: 72af07d94f85cacca2a9143d42e26483)
01-22 10:26:53.554 8110 8110 F DEBUG : #254 pc 000000000045da98 /apex/com.android.art/lib64/libart.so (unsigned long art::jni::JniIdManager::EncodeGenericIdart::ArtMethod(art::ReflectiveHandleart::ArtMethod)+424) (BuildId: 72af07d94f85cacca2a9143d42e26483)
01-22 10:26:53.554 8110 8110 F DEBUG : #255 pc 000000000045d61c /apex/com.android.art/lib64/libart.so (art::jni::JniIdManager::EncodeMethodId(art::ArtMethod*)+128) (BuildId: 72af07d94f85cacca2a9143d42e26483)

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