aimardcr / AndroidNativeGuard

All-in-one android application protection
164 stars 37 forks source link

lock held #6

Closed df13954 closed 2 months ago

df13954 commented 7 months ago
2024-03-25 15:59:41.421 23652-23652/? I/roidnativeguar: Late-enabling -Xcheck:jni
2024-03-25 15:59:41.445 23652-23652/? D/ProcessState: Binder ioctl to enable oneway spam detection failed: Invalid argument
2024-03-25 15:59:41.519 23652-23652/id.kuro.androidnativeguard D/CompatibilityChangeReporter: Compat change id reported: 171979766; UID 10271; state: ENABLED
2024-03-25 15:59:41.691 23652-23652/id.kuro.androidnativeguard V/GraphicsEnvironment: ANGLE Developer option for 'id.kuro.androidnativeguard' set to: 'default'
2024-03-25 15:59:41.692 23652-23652/id.kuro.androidnativeguard V/GraphicsEnvironment: App is not on the allowlist for updatable production driver.
2024-03-25 15:59:41.693 23652-23652/id.kuro.androidnativeguard D/NetworkSecurityConfig: No Network Security Config specified, using platform default
2024-03-25 15:59:41.694 23652-23652/id.kuro.androidnativeguard D/NetworkSecurityConfig: No Network Security Config specified, using platform default
2024-03-25 15:59:41.759 23652-23652/id.kuro.androidnativeguard D/AppCompatDelegate: Checking for metadata for AppLocalesMetadataHolderService : Service not found
2024-03-25 15:59:41.833 23652-23652/id.kuro.androidnativeguard W/roidnativeguar: Accessing hidden method Landroid/view/View;->computeFitSystemWindows(Landroid/graphics/Rect;Landroid/graphics/Rect;)Z (unsupported, reflection, allowed)
2024-03-25 15:59:41.834 23652-23652/id.kuro.androidnativeguard W/roidnativeguar: Accessing hidden method Landroid/view/ViewGroup;->makeOptionalFitsSystemWindows()V (unsupported, reflection, allowed)
2024-03-25 15:59:41.877 23652-23652/id.kuro.androidnativeguard A/roidnativeguar: runtime.cc:2346] Thread[1,tid=23652,Native,Thread*=0x765f054be0,peer=0x72c040e0,"main"] attempting to detach while still running code
2024-03-25 15:59:41.976 23652-23652/id.kuro.androidnativeguard A/roidnativeguar: runtime.cc:669] Runtime aborting...
    runtime.cc:669] Dumping all threads without mutator lock held
    runtime.cc:669] All threads:
    runtime.cc:669] DALVIK THREADS (18):
    runtime.cc:669] "main" prio=10 tid=1 Runnable
    runtime.cc:669]   | group="" sCount=0 ucsCount=0 flags=0 obj=0x72c040e0 self=0x765f054be0
    runtime.cc:669]   | sysTid=23652 nice=-10 cgrp=default sched=0/0 handle=0x779e70e4f8
    runtime.cc:669]   | state=R schedstat=( 425753914 5826454 140 ) utm=36 stm=5 core=5 HZ=100
    runtime.cc:669]   | stack=0x7fe8b38000-0x7fe8b3a000 stackSize=8188KB
    runtime.cc:669]   | held mutexes= "abort lock" "mutator lock"(shared held)
    runtime.cc:669]   native: #00 pc 0000000000461ec0  /apex/com.android.art/lib64/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, int, BacktraceMap*, char const*, art::ArtMethod*, void*, bool)+120)
    runtime.cc:669]   native: #01 pc 0000000000702060  /apex/com.android.art/lib64/libart.so (art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, bool, BacktraceMap*, bool) const+240)
    runtime.cc:669]   native: #02 pc 0000000000709a6c  /apex/com.android.art/lib64/libart.so (art::DumpCheckpoint::Run(art::Thread*)+304)
    runtime.cc:669]   native: #03 pc 000000000027a568  /apex/com.android.art/lib64/libart.so (art::ThreadList::RunCheckpoint(art::Closure*, art::Closure*)+628)
    runtime.cc:669]   native: #04 pc 00000000006e9050  /apex/com.android.art/lib64/libart.so (art::ThreadList::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, bool)+476)
    runtime.cc:669]   native: #05 pc 00000000006da39c  /apex/com.android.art/lib64/libart.so (art::AbortState::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) const+204)
    runtime.cc:669]   native: #06 pc 00000000006da144  /apex/com.android.art/lib64/libart.so (art::Runtime::Abort(char const*)+1684)
    runtime.cc:669]   native: #07 pc 000000000001595c  /apex/com.android.art/lib64/libbase.so (android::base::SetAborter(std::__1::function<void (char const*)>&&)::$_3::__invoke(char const*)+76)
    runtime.cc:669]   native: #08 pc 0000000000014f8c  /apex/com.android.art/lib64/libbase.so (android::base::LogMessage::~LogMessage()+364)
    runtime.cc:669]   native: #09 pc 00000000003e806c  /apex/com.android.art/lib64/libart.so (art::Runtime::DetachCurrentThread()+292)
    runtime.cc:669]   native: #10 pc 000000000059889c  /apex/com.android.art/lib64/libart.so (art::JII::DetachCurrentThread(_JavaVM*)+48)
    runtime.cc:669]   native: #11 pc 0000000000592254  /apex/com.android.art/lib64/libart.so (art::(anonymous namespace)::CheckJII::DetachCurrentThread(_JavaVM*) (.llvm.9316216051580410035)+116)
    runtime.cc:669]   native: #12 pc 000000000003b378  /data/app/~~DOZDw3Tl3f7okAu3RMbkAA==/id.kuro.androidnativeguard-hgJBRyhDp7t1HYUvY4I7Zw==/lib/arm64/libNativeGuard.so (_JavaVM::DetachCurrentThread()+28)
    runtime.cc:669]   native: #13 pc 000000000003af30  /data/app/~~DOZDw3Tl3f7okAu3RMbkAA==/id.kuro.androidnativeguard-hgJBRyhDp7t1HYUvY4I7Zw==/lib/arm64/libNativeGuard.so (addLog(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >)+352)
    runtime.cc:669]   native: #14 pc 000000000003b6dc  /data/app/~~DOZDw3Tl3f7okAu3RMbkAA==/id.kuro.androidnativeguard-hgJBRyhDp7t1HYUvY4I7Zw==/lib/arm64/libNativeGuard.so (AndroidNativeGuard()+52)
    runtime.cc:669]   native: #15 pc 000000000003bce4  /data/app/~~DOZDw3Tl3f7okAu3RMbkAA==/id.kuro.androidnativeguard-hgJBRyhDp7t1HYUvY4I7Zw==/lib/arm64/libNativeGuard.so (JNI_OnLoad+156)
    runtime.cc:669]   native: #16 pc 0000000000476c88  /apex/com.android.art/lib64/libart.so (art::JavaVMExt::LoadNativeLibrary(_JNIEnv*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, _jobject*, _jclass*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*)+1836)
    runtime.cc:669]   native: #17 pc 00000000000050dc  /apex/com.android.art/lib64/libopenjdkjvm.so (JVM_NativeLoad+416)
2024-03-25 15:59:41.976 23652-23652/id.kuro.androidnativeguard A/roidnativeguar: runtime.cc:669]   at java.lang.Runtime.nativeLoad(Native method)
    runtime.cc:669]   at java.lang.Runtime.nativeLoad(Runtime.java:1121)
    runtime.cc:669]   at java.lang.Runtime.loadLibrary0(Runtime.java:1075)
    runtime.cc:669]   - locked <0x0d874ba5> (a java.lang.Runtime)
    runtime.cc:669]   at java.lang.Runtime.loadLibrary0(Runtime.java:998)
    runtime.cc:669]   at java.lang.System.loadLibrary(System.java:1656)
    runtime.cc:669]   at id.kuro.androidnativeguard.MainActivity.onCreate(MainActivity.java:20)
    runtime.cc:669]   at android.app.Activity.performCreate(Activity.java:8051)
    runtime.cc:669]   at android.app.Activity.performCreate(Activity.java:8031)
    runtime.cc:669]   at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1329)
    runtime.cc:669]   at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3612)
    runtime.cc:669]   at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3796)
    runtime.cc:669]   at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)
    runtime.cc:669]   at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
    runtime.cc:669]   at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
    runtime.cc:669]   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2214)
    runtime.cc:669]   at android.os.Handler.dispatchMessage(Handler.java:106)
    runtime.cc:669]   at android.os.Looper.loopOnce(Looper.java:201)
    runtime.cc:669]   at android.os.Looper.loop(Looper.java:288)
    runtime.cc:669]   at android.app.ActivityThread.main(ActivityThread.java:7842)
    runtime.cc:669]   at java.lang.reflect.Method.invoke(Native method)
    runtime.cc:669]   at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
    runtime.cc:669]   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
    runtime.cc:669] 
    runtime.cc:669] "Runtime worker thread 3" prio=10 tid=2 Native (still starting up)
    runtime.cc:669]   | group="" sCount=1 ucsCount=0 flags=1 obj=0x0 self=0x765f077820
    runtime.cc:669]   | sysTid=23657 nice=-20 cgrp=default sched=0/0 handle=0x77971ddcb0
    runtime.cc:669]   | state=S schedstat=( 203698 52293 7 ) utm=0 stm=0 core=7 HZ=100
    runtime.cc:669]   | stack=0x77971ce000-0x77971d0000 stackSize=63KB
    runtime.cc:669]   | held mutexes=
    runtime.cc:669]   native: #00 pc 000000000004c35c  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28)
    runtime.cc:669]   native: #01 pc 000000000038a4ec  /apex/com.android.art/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+148)
    runtime.cc:669]   native: #02 pc 000000000070a570  /apex/com.android.art/lib64/libart.so (art::ThreadPool::GetTask(art::Thread*)+128)
    runtime.cc:669]   native: #03 pc 000000000070a33c  /apex/com.android.art/lib64/libart.so (art::ThreadPoolWorker::Run()+72)
    runtime.cc:669]   native: #04 pc 000000000070a24c  /apex/com.android.art/lib64/libart.so (art::ThreadPoolWorker::Callback(void*)+164)
    runtime.cc:669]   native: #05 pc 00000000000b1910  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+264)
    runtime.cc:669]   native: #06 pc 00000000000513f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
    runtime.cc:669]   (no managed stack frames)
    runtime.cc:669] 
    runtime.cc:669] "Runtime worker thread 0" prio=10 tid=3 Native (still starting up)
    runtime.cc:669]   | group="" sCount=1 ucsCount=0 flags=1 obj=0x0 self=0x765f064630
    runtime.cc:669]   | sysTid=23654 nice=-20 cgrp=default sched=0/0 handle=0x779bd09cb0
    runtime.cc:669]   | state=S schedstat=( 201513 505052 11 ) utm=0 stm=0 core=4 HZ=100
    runtime.cc:669]   | stack=0x779bcfa000-0x779bcfc000 stackSize=63KB
    runtime.cc:669]   | held mutexes=
    runtime.cc:669]   native: #00 pc 000000000004c35c  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28)
    runtime.cc:669]   native: #01 pc 000000000038a4ec  /apex/com.android.art/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+148)
2024-03-25 15:59:41.976 23652-23652/id.kuro.androidnativeguard A/roidnativeguar: runtime.cc:669]   native: #02 pc 000000000070a570  /apex/com.android.art/lib64/libart.so (art::ThreadPool::GetTask(art::Thread*)+128)
    runtime.cc:669]   native: #03 pc 000000000070a33c  /apex/com.android.art/lib64/libart.so (art::ThreadPoolWorker::Run()+72)
    runtime.cc:669]   native: #04 pc 000000000070a24c  /apex/com.android.art/lib64/libart.so (art::ThreadPoolWorker::Callback(void*)+164)
    runtime.cc:669]   native: #05 pc 00000000000b1910  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+264)
    runtime.cc:669]   native: #06 pc 00000000000513f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
    runtime.cc:669]   (no managed stack frames)
    runtime.cc:669] 
    runtime.cc:669] "Runtime worker thread 2" prio=10 tid=4 Native (still starting up)
    runtime.cc:669]   | group="" sCount=1 ucsCount=0 flags=1 obj=0x0 self=0x765f05bb20
    runtime.cc:669]   | sysTid=23656 nice=-20 cgrp=default sched=0/0 handle=0x779722acb0
    runtime.cc:669]   | state=S schedstat=( 215467 118177 7 ) utm=0 stm=0 core=5 HZ=100
    runtime.cc:669]   | stack=0x779721b000-0x779721d000 stackSize=63KB
    runtime.cc:669]   | held mutexes=
    runtime.cc:669]   native: #00 pc 000000000004c35c  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28)
    runtime.cc:669]   native: #01 pc 000000000038a4ec  /apex/com.android.art/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+148)
    runtime.cc:669]   native: #02 pc 000000000070a570  /apex/com.android.art/lib64/libart.so (art::ThreadPool::GetTask(art::Thread*)+128)
    runtime.cc:669]   native: #03 pc 000000000070a33c  /apex/com.android.art/lib64/libart.so (art::ThreadPoolWorker::Run()+72)
    runtime.cc:669]   native: #04 pc 000000000070a24c  /apex/com.android.art/lib64/libart.so (art::ThreadPoolWorker::Callback(void*)+164)
    runtime.cc:669]   native: #05 pc 00000000000b1910  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+264)
    runtime.cc:669]   native: #06 pc 00000000000513f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
    runtime.cc:669]   (no managed stack frames)
    runtime.cc:669] 
    runtime.cc:669] "Runtime worker thread 1" prio=10 tid=5 Native (still starting up)
    runtime.cc:669]   | group="" sCount=1 ucsCount=0 flags=1 obj=0x0 self=0x765f05f2c0
    runtime.cc:669]   | sysTid=23655 nice=-20 cgrp=default sched=0/0 handle=0x779928acb0
    runtime.cc:669]   | state=S schedstat=( 275990 90364 9 ) utm=0 stm=0 core=4 HZ=100
    runtime.cc:669]   | stack=0x779927b000-0x779927d000 stackSize=63KB
    runtime.cc:669]   | held mutexes=
    runtime.cc:669]   native: #00 pc 000000000004c35c  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28)
    runtime.cc:669]   native: #01 pc 000000000038a4ec  /apex/com.android.art/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+148)
    runtime.cc:669]   native: #02 pc 000000000070a570  /apex/com.android.art/lib64/libart.so (art::ThreadPool::GetTask(art::Thread*)+128)
    runtime.cc:669]   native: #03 pc 000000000070a33c  /apex/com.android.art/lib64/libart.so (art::ThreadPoolWorker::Run()+72)
    runtime.cc:669]   native: #04 pc 000000000070a24c  /apex/com.android.art/lib64/libart.so (art::ThreadPoolWorker::Callback(void*)+164)
    runtime.cc:669]   native: #05 pc 00000000000b1910  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+264)
    runtime.cc:669]   native: #06 pc 00000000000513f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
    runtime.cc:669]   (no managed stack frames)
    runtime.cc:669] 
    runtime.cc:669] "Signal Catcher" prio=10 tid=6 WaitingInMainSignalCatcherLoop
    runtime.cc:669]   | group="" sCount=1 ucsCount=0 flags=1 obj=0x12c805d8 self=0x765f05d6f0
    runtime.cc:669]   | sysTid=23658 nice=-20 cgrp=default sched=0/0 handle=0x74d953fcb0
    runtime.cc:669]   | state=S schedstat=( 436876 126824 9 ) utm=0 stm=0 core=7 HZ=100
    runtime.cc:669]   | stack=0x74d9448000-0x74d944a000 stackSize=991KB
    runtime.cc:669]   | held mutexes=
2024-03-25 15:59:41.976 23652-23652/id.kuro.androidnativeguard A/roidnativeguar: runtime.cc:669]   native: #00 pc 000000000009dfd8  /apex/com.android.runtime/lib64/bionic/libc.so (__rt_sigtimedwait+8)
    runtime.cc:669]   native: #01 pc 000000000005e6b8  /apex/com.android.runtime/lib64/bionic/libc.so (sigwait64+88)
    runtime.cc:669]   native: #02 pc 0000000000423290  /apex/com.android.art/lib64/libart.so (art::SignalCatcher::WaitForSignal(art::Thread*, art::SignalSet&)+124)
    runtime.cc:669]   native: #03 pc 0000000000422f44  /apex/com.android.art/lib64/libart.so (art::SignalCatcher::Run(void*)+220)
    runtime.cc:669]   native: #04 pc 00000000000b1910  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+264)
    runtime.cc:669]   native: #05 pc 00000000000513f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
    runtime.cc:669]   (no managed stack frames)
    runtime.cc:669] 
    runtime.cc:669] "ADB-JDWP Connection Control Thread" prio=10 tid=7 WaitingInMainDebuggerLoop
    runtime.cc:669]   | group="" sCount=1 ucsCount=0 flags=1 obj=0x12c35a40 self=0x765f06d140
    runtime.cc:669]   | sysTid=23660 nice=-20 cgrp=default sched=0/0 handle=0x74d9343cb0
    runtime.cc:669]   | state=S schedstat=( 2111197 509219 21 ) utm=0 stm=0 core=4 HZ=100
    runtime.cc:669]   | stack=0x74d924c000-0x74d924e000 stackSize=991KB
    runtime.cc:669]   | held mutexes=
    runtime.cc:669]   native: #00 pc 000000000009e698  /apex/com.android.runtime/lib64/bionic/libc.so (__ppoll+8)
    runtime.cc:669]   native: #01 pc 000000000005bb10  /apex/com.android.runtime/lib64/bionic/libc.so (poll+92)
    runtime.cc:669]   native: #02 pc 0000000000009dac  /apex/com.android.art/lib64/libadbconnection.so (adbconnection::AdbConnectionState::RunPollLoop(art::Thread*)+752)
    runtime.cc:669]   native: #03 pc 000000000000840c  /apex/com.android.art/lib64/libadbconnection.so (adbconnection::CallbackFunction(void*)+1484)
    runtime.cc:669]   native: #04 pc 00000000000b1910  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+264)
    runtime.cc:669]   native: #05 pc 00000000000513f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
    runtime.cc:669]   (no managed stack frames)
    runtime.cc:669] 
    runtime.cc:669] "perfetto_hprof_listener" prio=10 tid=8 Native (still starting up)
    runtime.cc:669]   | group="" sCount=1 ucsCount=0 flags=1 obj=0x0 self=0x765f059f50
    runtime.cc:669]   | sysTid=23659 nice=-20 cgrp=default sched=0/0 handle=0x74d9441cb0
    runtime.cc:669]   | state=S schedstat=( 289166 1988125 6 ) utm=0 stm=0 core=4 HZ=100
    runtime.cc:669]   | stack=0x74d934a000-0x74d934c000 stackSize=991KB
    runtime.cc:669]   | held mutexes=
    runtime.cc:669]   native: #00 pc 000000000009d334  /apex/com.android.runtime/lib64/bionic/libc.so (read+4)
    runtime.cc:669]   native: #01 pc 0000000000021110  /apex/com.android.art/lib64/libperfetto_hprof.so (void* std::__1::__thread_proxy<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct> >, ArtPlugin_Initialize::$_33> >(void*)+280)
    runtime.cc:669]   native: #02 pc 00000000000b1910  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+264)
    runtime.cc:669]   native: #03 pc 00000000000513f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
    runtime.cc:669]   (no managed stack frames)
    runtime.cc:669] 
    runtime.cc:669] "Jit thread pool worker thread 0" prio=5 tid=9 Native
    runtime.cc:669]   | group="" sCount=1 ucsCount=0 flags=1 obj=0x12c40710 self=0x765f07cb90
    runtime.cc:669]   | sysTid=23661 nice=9 cgrp=default sched=0/0 handle=0x74d90f2cb0
    runtime.cc:669]   | state=S schedstat=( 15210938 2231407 51 ) utm=1 stm=0 core=5 HZ=100
    runtime.cc:669]   | stack=0x74d8ff3000-0x74d8ff5000 stackSize=1023KB
    runtime.cc:669]   | held mutexes=
    runtime.cc:669]   native: #00 pc 000000000004c35c  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28)
    runtime.cc:669]   native: #01 pc 000000000038a4ec  /apex/com.android.art/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+148)
2024-03-25 15:59:41.976 23652-23652/id.kuro.androidnativeguard A/roidnativeguar: runtime.cc:669]   native: #02 pc 000000000070a570  /apex/com.android.art/lib64/libart.so (art::ThreadPool::GetTask(art::Thread*)+128)
    runtime.cc:669]   native: #03 pc 000000000070a37c  /apex/com.android.art/lib64/libart.so (art::ThreadPoolWorker::Run()+136)
    runtime.cc:669]   native: #04 pc 000000000070a24c  /apex/com.android.art/lib64/libart.so (art::ThreadPoolWorker::Callback(void*)+164)
    runtime.cc:669]   native: #05 pc 00000000000b1910  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+264)
    runtime.cc:669]   native: #06 pc 00000000000513f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
    runtime.cc:669]   (no managed stack frames)
    runtime.cc:669] 
    runtime.cc:669] "HeapTaskDaemon" prio=5 tid=10 WaitingForTaskProcessor
    runtime.cc:669]   | group="" sCount=1 ucsCount=0 flags=1 obj=0x12c35e60 self=0x765f080330
    runtime.cc:669]   | sysTid=23665 nice=4 cgrp=default sched=0/0 handle=0x74d8feccb0
    runtime.cc:669]   | state=S schedstat=( 359166 139167 12 ) utm=0 stm=0 core=4 HZ=100
    runtime.cc:669]   | stack=0x74d8ee9000-0x74d8eeb000 stackSize=1039KB
    runtime.cc:669]   | held mutexes=
    runtime.cc:669]   native: #00 pc 000000000004c360  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+32)
    runtime.cc:669]   native: #01 pc 0000000000398430  /apex/com.android.art/lib64/libart.so (art::ConditionVariable::TimedWait(art::Thread*, long, int)+172)
    runtime.cc:669]   native: #02 pc 00000000003db4dc  /apex/com.android.art/lib64/libart.so (art::gc::TaskProcessor::GetTask(art::Thread*)+352)
    runtime.cc:669]   native: #03 pc 00000000003db330  /apex/com.android.art/lib64/libart.so (art::gc::TaskProcessor::RunAllTasks(art::Thread*)+32)
    runtime.cc:669]   at dalvik.system.VMRuntime.runHeapTasks(Native method)
    runtime.cc:669]   at java.lang.Daemons$HeapTaskDaemon.runInternal(Daemons.java:531)
    runtime.cc:669]   at java.lang.Daemons$Daemon.run(Daemons.java:139)
    runtime.cc:669]   at java.lang.Thread.run(Thread.java:920)
    runtime.cc:669] 
    runtime.cc:669] "ReferenceQueueDaemon" prio=5 tid=11 Waiting
    runtime.cc:669]   | group="" sCount=1 ucsCount=0 flags=1 obj=0x12c35ef0 self=0x765f07e760
    runtime.cc:669]   | sysTid=23666 nice=4 cgrp=default sched=0/0 handle=0x74d8ee2cb0
    runtime.cc:669]   | state=S schedstat=( 297657 170936 10 ) utm=0 stm=0 core=3 HZ=100
    runtime.cc:669]   | stack=0x74d8ddf000-0x74d8de1000 stackSize=1039KB
    runtime.cc:669]   | held mutexes=
    runtime.cc:669]   native: #00 pc 000000000004c35c  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28)
    runtime.cc:669]   native: #01 pc 000000000038a4ec  /apex/com.android.art/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+148)
    runtime.cc:669]   native: #02 pc 0000000000397c7c  /apex/com.android.art/lib64/libart.so (art::Monitor::Wait(art::Thread*, long, int, bool, art::ThreadState)+1476)
    runtime.cc:669]   native: #03 pc 00000000003972ac  /apex/com.android.art/lib64/libart.so (art::Monitor::Wait(art::Thread*, art::ObjPtr<art::mirror::Object>, long, int, bool, art::ThreadState)+520)
    runtime.cc:669]   at java.lang.Object.wait(Native method)
    runtime.cc:669]   - waiting on <0x0245ab7a> (a java.lang.Class<java.lang.ref.ReferenceQueue>)
    runtime.cc:669]   at java.lang.Object.wait(Object.java:442)
    runtime.cc:669]   at java.lang.Object.wait(Object.java:568)
    runtime.cc:669]   at java.lang.Daemons$ReferenceQueueDaemon.runInternal(Daemons.java:217)
    runtime.cc:669]   - locked <0x0245ab7a> (a java.lang.Class<java.lang.ref.ReferenceQueue>)
    runtime.cc:669]   at java.lang.Daemons$Daemon.run(Daemons.java:139)
    runtime.cc:669]   at java.lang.Thread.run(Thread.java:920)
    runtime.cc:669] 
    runtime.cc:669] "FinalizerDaemon" prio=5 tid=12 Waiting
    runtime.cc:669]   | group="" sCount=1 ucsCount=0 flags=1 obj=0x12c35f80 self=0x765f081f00
    runtime.cc:669]   | sysTid=23667 nice=4 cgrp=default sched=0/0 handle=0x74d8dd8cb0
    runtime.cc:669]   | state=S schedstat=( 336300 380157 10 ) utm=0 stm=0 core=7 HZ=100
    runtime.cc:669]   | stack=0x74d8cd5000-0x74d8cd7000 stackSize=1039KB
2024-03-25 15:59:41.976 23652-23652/id.kuro.androidnativeguard A/roidnativeguar: runtime.cc:669]   | held mutexes=
    runtime.cc:669]   native: #00 pc 000000000004c35c  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28)
    runtime.cc:669]   native: #01 pc 000000000038a4ec  /apex/com.android.art/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+148)
    runtime.cc:669]   native: #02 pc 0000000000397c7c  /apex/com.android.art/lib64/libart.so (art::Monitor::Wait(art::Thread*, long, int, bool, art::ThreadState)+1476)
    runtime.cc:669]   native: #03 pc 00000000003972ac  /apex/com.android.art/lib64/libart.so (art::Monitor::Wait(art::Thread*, art::ObjPtr<art::mirror::Object>, long, int, bool, art::ThreadState)+520)
    runtime.cc:669]   at java.lang.Object.wait(Native method)
    runtime.cc:669]   - waiting on <0x0c455f2b> (a java.lang.Object)
    runtime.cc:669]   at java.lang.Object.wait(Object.java:442)
    runtime.cc:669]   at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:190)
    runtime.cc:669]   - locked <0x0c455f2b> (a java.lang.Object)
    runtime.cc:669]   at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:211)
    runtime.cc:669]   at java.lang.Daemons$FinalizerDaemon.runInternal(Daemons.java:273)
    runtime.cc:669]   at java.lang.Daemons$Daemon.run(Daemons.java:139)
    runtime.cc:669]   at java.lang.Thread.run(Thread.java:920)
    runtime.cc:669] 
    runtime.cc:669] "FinalizerWatchdogDaemon" prio=5 tid=13 Waiting
    runtime.cc:669]   | group="" sCount=1 ucsCount=0 flags=1 obj=0x12c36010 self=0x765f088e40
    runtime.cc:669]   | sysTid=23668 nice=4 cgrp=default sched=0/0 handle=0x74d8ccecb0
    runtime.cc:669]   | state=S schedstat=( 90885 40000 3 ) utm=0 stm=0 core=5 HZ=100
    runtime.cc:669]   | stack=0x74d8bcb000-0x74d8bcd000 stackSize=1039KB
    runtime.cc:669]   | held mutexes=
    runtime.cc:669]   native: #00 pc 000000000004c35c  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+28)
    runtime.cc:669]   native: #01 pc 000000000038a4ec  /apex/com.android.art/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+148)
    runtime.cc:669]   native: #02 pc 0000000000397c7c  /apex/com.android.art/lib64/libart.so (art::Monitor::Wait(art::Thread*, long, int, bool, art::ThreadState)+1476)
    runtime.cc:669]   native: #03 pc 00000000003972ac  /apex/com.android.art/lib64/libart.so (art::Monitor::Wait(art::Thread*, art::ObjPtr<art::mirror::Object>, long, int, bool, art::ThreadState)+520)
    runtime.cc:669]   at java.lang.Object.wait(Native method)
    runtime.cc:669]   - waiting on <0x02cacf88> (a java.lang.Daemons$FinalizerWatchdogDaemon)
    runtime.cc:669]   at java.lang.Object.wait(Object.java:442)
    runtime.cc:669]   at java.lang.Object.wait(Object.java:568)
    runtime.cc:669]   at java.lang.Daemons$FinalizerWatchdogDaemon.sleepUntilNeeded(Daemons.java:341)
    runtime.cc:669]   - locked <0x02cacf88> (a java.lang.Daemons$FinalizerWatchdogDaemon)
    runtime.cc:669]   at java.lang.Daemons$FinalizerWatchdogDaemon.runInternal(Daemons.java:321)
    runtime.cc:669]   at java.lang.Daemons$Daemon.run(Daemons.java:139)
    runtime.cc:669]   at java.lang.Thread.run(Thread.java:920)
    runtime.cc:669] 
    runtime.cc:669] "Binder:23652_1" prio=5 tid=14 Native
    runtime.cc:669]   | group="" sCount=1 ucsCount=0 flags=1 obj=0x12d00020 self=0x765f087270
    runtime.cc:669]   | sysTid=23669 nice=0 cgrp=default sched=0/0 handle=0x74d8bc4cb0
    runtime.cc:669]   | state=S schedstat=( 525730 1546354 12 ) utm=0 stm=0 core=1 HZ=100
    runtime.cc:669]   | stack=0x74d8acd000-0x74d8acf000 stackSize=991KB
    runtime.cc:669]   | held mutexes=
    runtime.cc:669]   native: #00 pc 000000000009d5d4  /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl+4)
    runtime.cc:669]   native: #01 pc 00000000000593f4  /apex/com.android.runtime/lib64/bionic/libc.so (ioctl+152)
    runtime.cc:669]   native: #02 pc 0000000000041e90  /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+260)
    runtime.cc:669]   native: #03 pc 0000000000041d78  /system/lib64/libbinder.so (android::PoolThread::threadLoop()+24)
2024-03-25 15:59:41.976 23652-23652/id.kuro.androidnativeguard A/roidnativeguar: runtime.cc:669]   native: #04 pc 00000000000120ac  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+260)
    runtime.cc:669]   native: #05 pc 00000000000ba3c0  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+144)
    runtime.cc:669]   native: #06 pc 0000000000011964  /system/lib64/libutils.so (thread_data_t::trampoline(thread_data_t const*)+404)
    runtime.cc:669]   native: #07 pc 00000000000b1910  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+264)
    runtime.cc:669]   native: #08 pc 00000000000513f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
    runtime.cc:669]   (no managed stack frames)
    runtime.cc:669] 
    runtime.cc:669] "Binder:23652_2" prio=5 tid=15 Native
    runtime.cc:669]   | group="" sCount=1 ucsCount=0 flags=1 obj=0x12d40020 self=0x765f0856a0
    runtime.cc:669]   | sysTid=23670 nice=0 cgrp=default sched=0/0 handle=0x74d8ac6cb0
    runtime.cc:669]   | state=S schedstat=( 10257761 5945104 23 ) utm=0 stm=0 core=4 HZ=100
    runtime.cc:669]   | stack=0x74d89cf000-0x74d89d1000 stackSize=991KB
    runtime.cc:669]   | held mutexes=
    runtime.cc:669]   native: #00 pc 000000000009d5d4  /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl+4)
    runtime.cc:669]   native: #01 pc 00000000000593f4  /apex/com.android.runtime/lib64/bionic/libc.so (ioctl+152)
    runtime.cc:669]   native: #02 pc 0000000000041e90  /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+260)
    runtime.cc:669]   native: #03 pc 0000000000041d78  /system/lib64/libbinder.so (android::PoolThread::threadLoop()+24)
    runtime.cc:669]   native: #04 pc 00000000000120ac  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+260)
    runtime.cc:669]   native: #05 pc 00000000000ba3c0  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+144)
    runtime.cc:669]   native: #06 pc 0000000000011964  /system/lib64/libutils.so (thread_data_t::trampoline(thread_data_t const*)+404)
    runtime.cc:669]   native: #07 pc 00000000000b1910  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+264)
    runtime.cc:669]   native: #08 pc 00000000000513f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
    runtime.cc:669]   (no managed stack frames)
    runtime.cc:669] 
    runtime.cc:669] "Binder:23652_3" prio=5 tid=16 Native
    runtime.cc:669]   | group="" sCount=1 ucsCount=0 flags=1 obj=0x12dc0020 self=0x765f083ad0
    runtime.cc:669]   | sysTid=23675 nice=0 cgrp=default sched=0/0 handle=0x74d88e4cb0
    runtime.cc:669]   | state=S schedstat=( 298124 5568490 4 ) utm=0 stm=0 core=5 HZ=100
    runtime.cc:669]   | stack=0x74d87ed000-0x74d87ef000 stackSize=991KB
    runtime.cc:669]   | held mutexes=
    runtime.cc:669]   native: #00 pc 000000000009d5d4  /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl+4)
    runtime.cc:669]   native: #01 pc 00000000000593f4  /apex/com.android.runtime/lib64/bionic/libc.so (ioctl+152)
    runtime.cc:669]   native: #02 pc 0000000000041e90  /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+260)
    runtime.cc:669]   native: #03 pc 0000000000041d78  /system/lib64/libbinder.so (android::PoolThread::threadLoop()+24)
    runtime.cc:669]   native: #04 pc 00000000000120ac  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+260)
    runtime.cc:669]   native: #05 pc 00000000000ba3c0  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::javaThreadShell(void*)+144)
    runtime.cc:669]   native: #06 pc 0000000000011964  /system/lib64/libutils.so (thread_data_t::trampoline(thread_data_t const*)+404)
    runtime.cc:669]   native: #07 pc 00000000000b1910  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+264)
    runtime.cc:669]   native: #08 pc 00000000000513f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
    runtime.cc:669]   (no managed stack frames)
    runtime.cc:669] 
    runtime.cc:669] "Profile Saver" prio=5 tid=17 Native
    runtime.cc:669]   | group="" sCount=1 ucsCount=0 flags=1 obj=0x12e00020 self=0x765f08fd80
2024-03-25 15:59:41.976 23652-23652/id.kuro.androidnativeguard A/roidnativeguar: runtime.cc:669]   | sysTid=23676 nice=9 cgrp=default sched=0/0 handle=0x74d7517cb0
    runtime.cc:669]   | state=S schedstat=( 309010 24063 2 ) utm=0 stm=0 core=2 HZ=100
    runtime.cc:669]   | stack=0x74d7420000-0x74d7422000 stackSize=991KB
    runtime.cc:669]   | held mutexes=
    runtime.cc:669]   native: #00 pc 000000000004c360  /apex/com.android.runtime/lib64/bionic/libc.so (syscall+32)
    runtime.cc:669]   native: #01 pc 0000000000398430  /apex/com.android.art/lib64/libart.so (art::ConditionVariable::TimedWait(art::Thread*, long, int)+172)
    runtime.cc:669]   native: #02 pc 00000000003eeb64  /apex/com.android.art/lib64/libart.so (art::ProfileSaver::Run()+204)
    runtime.cc:669]   native: #03 pc 00000000003e7c54  /apex/com.android.art/lib64/libart.so (art::ProfileSaver::RunProfileSaverThread(void*)+148)
    runtime.cc:669]   native: #04 pc 00000000000b1910  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+264)
    runtime.cc:669]   native: #05 pc 00000000000513f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
    runtime.cc:669]   (no managed stack frames)
    runtime.cc:669] 
    runtime.cc:669] "RenderThread" prio=7 tid=18 Native
    runtime.cc:669]   | group="" sCount=1 ucsCount=0 flags=1 obj=0x12e80020 self=0x765f08e1b0
    runtime.cc:669]   | sysTid=23677 nice=-4 cgrp=default sched=0/0 handle=0x74d731ccb0
    runtime.cc:669]   | state=S schedstat=( 814271 83177 9 ) utm=0 stm=0 core=7 HZ=100
    runtime.cc:669]   | stack=0x74d7225000-0x74d7227000 stackSize=991KB
    runtime.cc:669]   | held mutexes=
    runtime.cc:669]   native: #00 pc 000000000009e598  /apex/com.android.runtime/lib64/bionic/libc.so (__epoll_pwait+8)
    runtime.cc:669]   native: #01 pc 0000000000016640  /system/lib64/libutils.so (android::Looper::pollInner(int)+180)
    runtime.cc:669]   native: #02 pc 0000000000016524  /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+112)
    runtime.cc:669]   native: #03 pc 00000000003c5e10  /system/lib64/libhwui.so (android::uirenderer::ThreadBase::waitForWork()+132)
    runtime.cc:669]   native: #04 pc 00000000003c5c60  /system/lib64/libhwui.so (android::uirenderer::renderthread::RenderThread::threadLoop()+76)
    runtime.cc:669]   native: #05 pc 00000000000120ac  /system/lib64/libutils.so (android::Thread::_threadLoop(void*)+260)
    runtime.cc:669]   native: #06 pc 0000000000011964  /system/lib64/libutils.so (thread_data_t::trampoline(thread_data_t const*)+404)
    runtime.cc:669]   native: #07 pc 00000000000b1910  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+264)
    runtime.cc:669]   native: #08 pc 00000000000513f0  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
    runtime.cc:669]   (no managed stack frames)
    runtime.cc:669] 
    runtime.cc:669] Aborting thread:
    runtime.cc:669] "main" prio=10 tid=1 Native
    runtime.cc:669]   | group="" sCount=0 ucsCount=0 flags=0 obj=0x72c040e0 self=0x765f054be0
    runtime.cc:669]   | sysTid=23652 nice=-10 cgrp=default sched=0/0 handle=0x779e70e4f8
    runtime.cc:669]   | state=R schedstat=( 444928704 5883746 175 ) utm=38 stm=5 core=6 HZ=100
    runtime.cc:669]   | stack=0x7fe8b38000-0x7fe8b3a000 stackSize=8188KB
    runtime.cc:669]   | held mutexes= "abort lock"
    runtime.cc:669]   native: #00 pc 0000000000461ec0  /apex/com.android.art/lib64/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, int, BacktraceMap*, char const*, art::ArtMethod*, void*, bool)+120)
    runtime.cc:669]   native: #01 pc 0000000000702060  /apex/com.android.art/lib64/libart.so (art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, bool, BacktraceMap*, bool) const+240)
    runtime.cc:669]   native: #02 pc 00000000006e8d80  /apex/com.android.art/lib64/libart.so (art::AbortState::DumpThread(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, art::Thread*) const+60)
    runtime.cc:669]   native: #03 pc 00000000006da458  /apex/com.android.art/lib64/libart.so (art::AbortState::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) const+392)
2024-03-25 15:59:41.976 23652-23652/id.kuro.androidnativeguard A/roidnativeguar: runtime.cc:669]   native: #04 pc 00000000006da144  /apex/com.android.art/lib64/libart.so (art::Runtime::Abort(char const*)+1684)
    runtime.cc:669]   native: #05 pc 000000000001595c  /apex/com.android.art/lib64/libbase.so (android::base::SetAborter(std::__1::function<void (char const*)>&&)::$_3::__invoke(char const*)+76)
    runtime.cc:669]   native: #06 pc 0000000000014f8c  /apex/com.android.art/lib64/libbase.so (android::base::LogMessage::~LogMessage()+364)
    runtime.cc:669]   native: #07 pc 00000000003e806c  /apex/com.android.art/lib64/libart.so (art::Runtime::DetachCurrentThread()+292)
    runtime.cc:669]   native: #08 pc 000000000059889c  /apex/com.android.art/lib64/libart.so (art::JII::DetachCurrentThread(_JavaVM*)+48)
    runtime.cc:669]   native: #09 pc 0000000000592254  /apex/com.android.art/lib64/libart.so (art::(anonymous namespace)::CheckJII::DetachCurrentThread(_JavaVM*) (.llvm.9316216051580410035)+116)
    runtime.cc:669]   native: #10 pc 000000000003b378  /data/app/~~DOZDw3Tl3f7okAu3RMbkAA==/id.kuro.androidnativeguard-hgJBRyhDp7t1HYUvY4I7Zw==/lib/arm64/libNativeGuard.so (_JavaVM::DetachCurrentThread()+28)
    runtime.cc:669]   native: #11 pc 000000000003af30  /data/app/~~DOZDw3Tl3f7okAu3RMbkAA==/id.kuro.androidnativeguard-hgJBRyhDp7t1HYUvY4I7Zw==/lib/arm64/libNativeGuard.so (addLog(std::__ndk1::basic_string<char, std::__ndk1::char_traits<char>, std::__ndk1::allocator<char> >)+352)
    runtime.cc:669]   native: #12 pc 000000000003b6dc  /data/app/~~DOZDw3Tl3f7okAu3RMbkAA==/id.kuro.androidnativeguard-hgJBRyhDp7t1HYUvY4I7Zw==/lib/arm64/libNativeGuard.so (AndroidNativeGuard()+52)
    runtime.cc:669]   native: #13 pc 000000000003bce4  /data/app/~~DOZDw3Tl3f7okAu3RMbkAA==/id.kuro.androidnativeguard-hgJBRyhDp7t1HYUvY4I7Zw==/lib/arm64/libNativeGuard.so (JNI_OnLoad+156)
    runtime.cc:669]   native: #14 pc 0000000000476c88  /apex/com.android.art/lib64/libart.so (art::JavaVMExt::LoadNativeLibrary(_JNIEnv*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, _jobject*, _jclass*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*)+1836)
    runtime.cc:669]   native: #15 pc 00000000000050dc  /apex/com.android.art/lib64/libopenjdkjvm.so (JVM_NativeLoad+416)
    runtime.cc:669]   native: #16 pc 00000000000ab834  /apex/com.android.art/javalib/arm64/boot.oat (art_jni_trampoline+148)
    runtime.cc:669]   native: #17 pc 00000000002d03e8  /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+568)
    runtime.cc:669]   native: #18 pc 00000000002f47cc  /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+320)
    runtime.cc:669]   native: #19 pc 0000000000417a1c  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+820)
    runtime.cc:669]   native: #20 pc 000000000077699c  /apex/com.android.art/lib64/libart.so (MterpInvokeStatic+3812)
    runtime.cc:669]   native: #21 pc 00000000002caa14  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_static+20)
    runtime.cc:669]   native: #22 pc 00000000000e574a  /apex/com.android.art/javalib/core-oj.jar (java.lang.Runtime.nativeLoad+2)
    runtime.cc:669]   native: #23 pc 0000000000776300  /apex/com.android.art/lib64/libart.so (MterpInvokeStatic+2120)
    runtime.cc:669]   native: #24 pc 00000000002caa14  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_static+20)
    runtime.cc:669]   native: #25 pc 00000000000e5c7c  /apex/com.android.art/javalib/core-oj.jar (java.lang.Runtime.loadLibrary0+92)
    runtime.cc:669]   native: #26 pc 0000000000416f0c  /apex/com.android.art/lib64/libart.so (MterpInvokeDirect+3104)
    runtime.cc:669]   native: #27 pc 00000000002ca994  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_direct+20)
2024-03-25 15:59:41.976 23652-23652/id.kuro.androidnativeguard A/roidnativeguar: runtime.cc:669]   native: #28 pc 00000000000e5c08  /apex/com.android.art/javalib/core-oj.jar (java.lang.Runtime.loadLibrary0+8)
    runtime.cc:669]   native: #29 pc 00000000002c5c48  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+2292)
    runtime.cc:669]   native: #30 pc 00000000002ca894  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20)
    runtime.cc:669]   native: #31 pc 00000000000eb248  /apex/com.android.art/javalib/core-oj.jar (java.lang.System.loadLibrary+16)
    runtime.cc:669]   native: #32 pc 0000000000776300  /apex/com.android.art/lib64/libart.so (MterpInvokeStatic+2120)
    runtime.cc:669]   native: #33 pc 00000000002caa14  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_static+20)
    runtime.cc:669]   native: #34 pc 00000000000003cc  [anon:dalvik-classes3.dex extracted in memory from /data/app/~~DOZDw3Tl3f7okAu3RMbkAA==/id.kuro.androidnativeguard-hgJBRyhDp7t1HYUvY4I7Zw==/base.apk!classes3.dex] (id.kuro.androidnativeguard.MainActivity.onCreate+44)
    runtime.cc:669]   native: #35 pc 000000000027dd74  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.6649268296134209133)+644)
    runtime.cc:669]   native: #36 pc 00000000003851d0  /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+148)
    runtime.cc:669]   native: #37 pc 0000000000417c94  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1452)
    runtime.cc:669]   native: #38 pc 00000000002c6858  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+5380)
    runtime.cc:669]   native: #39 pc 00000000002ca894  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20)
    runtime.cc:669]   native: #40 pc 00000000001d0002  /system/framework/framework.jar (offset 4000) (android.app.Activity.performCreate+158)
    runtime.cc:669]   native: #41 pc 00000000002c5c48  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+2292)
    runtime.cc:669]   native: #42 pc 00000000002ca894  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20)
    runtime.cc:669]   native: #43 pc 00000000001cff4a  /system/framework/framework.jar (offset 4000) (android.app.Activity.performCreate+2)
    runtime.cc:669]   native: #44 pc 00000000002c5c48  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+2292)
    runtime.cc:669]   native: #45 pc 00000000002ca894  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20)
    runtime.cc:669]   native: #46 pc 000000000023e64a  /system/framework/framework.jar (offset 4000) (android.app.Instrumentation.callActivityOnCreate+6)
    runtime.cc:669]   native: #47 pc 00000000002c56a8  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+852)
    runtime.cc:669]   native: #48 pc 00000000002ca894  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20)
    runtime.cc:669]   native: #49 pc 00000000001bf0f2  /system/framework/framework.jar (offset 4000) (android.app.ActivityThread.performLaunchActivity+866)
    runtime.cc:669]   native: #50 pc 000000000027dd74  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.6649268296134209133)+644)
    runtime.cc:669]   native: #51 pc 00000000002f3f8c  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, true>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+3908)
    runtime.cc:669]   native: #52 pc 0000000000416ca4  /apex/com.android.art/lib64/libart.so (MterpInvokeDirect+2488)
    runtime.cc:669]   native: #53 pc 00000000002ca994  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_direct+20)
2024-03-25 15:59:41.976 23652-23652/id.kuro.androidnativeguard A/roidnativeguar: runtime.cc:669]   native: #54 pc 00000000001bed16  /system/framework/framework.jar (offset 4000) (android.app.ActivityThread.handleLaunchActivity+126)
    runtime.cc:669]   native: #55 pc 000000000027dd74  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.6649268296134209133)+644)
    runtime.cc:669]   native: #56 pc 00000000003851d0  /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+148)
    runtime.cc:669]   native: #57 pc 0000000000417c94  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1452)
    runtime.cc:669]   native: #58 pc 00000000002c6858  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+5380)
    runtime.cc:669]   native: #59 pc 00000000002ca894  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20)
    runtime.cc:669]   native: #60 pc 00000000002c74d4  /system/framework/framework.jar (offset 4000) (android.app.servertransaction.LaunchActivityItem.execute+24)
    runtime.cc:669]   native: #61 pc 00000000002c5c48  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+2292)
    runtime.cc:669]   native: #62 pc 00000000002ca894  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20)
    runtime.cc:669]   native: #63 pc 00000000002c9a2a  /system/framework/framework.jar (offset 4000) (android.app.servertransaction.TransactionExecutor.executeCallbacks+154)
    runtime.cc:669]   native: #64 pc 00000000002c5c48  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+2292)
    runtime.cc:669]   native: #65 pc 00000000002ca894  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20)
    runtime.cc:669]   native: #66 pc 00000000002c9966  /system/framework/framework.jar (offset 4000) (android.app.servertransaction.TransactionExecutor.execute+146)
    runtime.cc:669]   native: #67 pc 00000000002c5c48  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+2292)
    runtime.cc:669]   native: #68 pc 00000000002ca894  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20)
    runtime.cc:669]   native: #69 pc 00000000001be022  /system/framework/framework.jar (offset 4000) (android.app.ActivityThread$H.handleMessage+254)
    runtime.cc:669]   native: #70 pc 00000000002c5c48  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+2292)
    runtime.cc:669]   native: #71 pc 00000000002ca894  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20)
    runtime.cc:669]   native: #72 pc 000000000042335a  /system/framework/framework.jar (offset 98b000) (android.os.Handler.dispatchMessage+38)
    runtime.cc:669]   native: #73 pc 00000000002c5c48  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+2292)
    runtime.cc:669]   native: #74 pc 00000000002ca894  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20)
    runtime.cc:669]   native: #75 pc 000000000044cd52  /system/framework/framework.jar (offset 98b000) (android.os.Looper.loopOnce+334)
    runtime.cc:669]   native: #76 pc 0000000000776300  /apex/com.android.art/lib64/libart.so (MterpInvokeStatic+2120)
    runtime.cc:669]   native: #77 pc 00000000002caa14  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_static+20)
    runtime.cc:669]   native: #78 pc 000000000044d394  /system/framework/framework.jar (offset 98b000) (android.os.Looper.loop+152)
    runtime.cc:669]   native: #79 pc 0000000000775d24  /apex/com.android.art/lib64/libart.so (MterpInvokeStatic+620)
    runtime.cc:669]   native: #80 pc 00000000002caa14  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_static+20)
    runtime.cc:669]   native: #81 pc 00000000001c8542  /system/framework/framework.jar (offset 4000) (android.app.ActivityThread.main+202)
2024-03-25 15:59:41.976 23652-23652/id.kuro.androidnativeguard A/roidnativeguar: runtime.cc:669]   native: #82 pc 000000000027dd74  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.6649268296134209133)+644)
    runtime.cc:669]   native: #83 pc 000000000027cf1c  /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+1176)
    runtime.cc:669]   native: #84 pc 00000000002d9b78  /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88)
    runtime.cc:669]   native: #85 pc 00000000002d03e8  /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+568)
    runtime.cc:669]   native: #86 pc 0000000000364c64  /apex/com.android.art/lib64/libart.so (_jobject* art::InvokeMethod<(art::PointerSize)8>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jobject*, _jobject*, unsigned long)+608)
    runtime.cc:669]   native: #87 pc 00000000003649dc  /apex/com.android.art/lib64/libart.so (art::Method_invoke(_JNIEnv*, _jobject*, _jobject*, _jobjectArray*)+52)
    runtime.cc:669]   native: #88 pc 00000000000b2f74  /apex/com.android.art/javalib/arm64/boot.oat (art_jni_trampoline+132)
    runtime.cc:669]   native: #89 pc 00000000002d0164  /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548)
    runtime.cc:669]   native: #90 pc 00000000002f47c4  /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+312)
    runtime.cc:669]   native: #91 pc 0000000000417a1c  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+820)
    runtime.cc:669]   native: #92 pc 00000000002c6858  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+5380)
    runtime.cc:669]   native: #93 pc 00000000002ca894  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20)
    runtime.cc:669]   native: #94 pc 0000000000247596  /system/framework/framework.jar (offset 1b2f000) (com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run+22)
    runtime.cc:669]   native: #95 pc 000000000027dd74  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.6649268296134209133)+644)
    runtime.cc:669]   native: #96 pc 000000000027cf1c  /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+1176)
    runtime.cc:669]   native: #97 pc 00000000002d9b78  /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88)
    runtime.cc:669]   native: #98 pc 00000000008234c8  /system/framework/arm64/boot-framework.oat (com.android.internal.os.ZygoteInit.main+2232)
    runtime.cc:669]   native: #99 pc 00000000002d03e8  /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+568)
    runtime.cc:669]   native: #100 pc 0000000000456c68  /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeWithVarArgs<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+464)
    runtime.cc:669]   native: #101 pc 0000000000635b00  /apex/com.android.art/lib64/libart.so (art::JNI<true>::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list)+268)
    runtime.cc:669]   native: #102 pc 00000000000aeac4  /system/lib64/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+120)
    runtime.cc:669]   native: #103 pc 00000000000ba05c  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vector<android::String8> const&, bool)+836)
    runtime.cc:669]   native: #104 pc 000000000000258c  /system/bin/app_process64 (main+1336)
    runtime.cc:669]   native: #105 pc 00000000000488c8  /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+96)
    runtime.cc:669]   at java.lang.Runtime.nativeLoad(Native method)
    runtime.cc:669]   at java.lang.Runtime.nativeLoad(Runtime.java:1121)
2024-03-25 15:59:41.976 23652-23652/id.kuro.androidnativeguard A/roidnativeguar: runtime.cc:669]   at java.lang.Runtime.loadLibrary0(Runtime.java:1075)
    runtime.cc:669]   - locked <0x0d874ba5> (a java.lang.Runtime)
    runtime.cc:669]   at java.lang.Runtime.loadLibrary0(Runtime.java:998)
    runtime.cc:669]   at java.lang.System.loadLibrary(System.java:1656)
    runtime.cc:669]   at id.kuro.androidnativeguard.MainActivity.onCreate(MainActivity.java:20)
    runtime.cc:669]   at android.app.Activity.performCreate(Activity.java:8051)
    runtime.cc:669]   at android.app.Activity.performCreate(Activity.java:8031)
    runtime.cc:669]   at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1329)
    runtime.cc:669]   at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3612)
    runtime.cc:669]   at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3796)
    runtime.cc:669]   at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)
    runtime.cc:669]   at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
    runtime.cc:669]   at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
    runtime.cc:669]   at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2214)
    runtime.cc:669]   at android.os.Handler.dispatchMessage(Handler.java:106)
    runtime.cc:669]   at android.os.Looper.loopOnce(Looper.java:201)
    runtime.cc:669]   at android.os.Looper.loop(Looper.java:288)
    runtime.cc:669]   at android.app.ActivityThread.main(ActivityThread.java:7842)
    runtime.cc:669]   at java.lang.reflect.Method.invoke(Native method)
    runtime.cc:669]   at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
    runtime.cc:669]   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
    runtime.cc:669] 

    --------- beginning of crash
2024-03-25 15:59:41.976 23652-23652/id.kuro.androidnativeguard A/libc: Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 23652 (roidnativeguard), pid 23652 (roidnativeguard)

macOS,ndk-25.2.9519653 pixel3-Android12.

aimardcr commented 6 months ago

Can you provide more log?