JNI ERROR (app bug): accessed stale local reference 0x200019 (index 6 in a table of size 1)
| Required Info | |
|---|---|
| Camera Model | { D400 } |
| Firmware Version | (Open RealSense Viewer --> Click info) |
| Operating System & Version | {ubuntu 16.04} |
| Kernel Version (Linux Only) | |
| Platform | Rooted Tecno CamonCX |
| SDK Version | { legacy / 2.12.0} |
| NDK | {android-ndk-r16b } |
| compileSdkVersion | {28 } |
I just tried to build android Realsense_app following steps here but the final app crashes and displays JNI ERROR in the logcat consol. The infrared of my D400 is on
07-17 12:30:45.793 28664-28775/com.example.realsense_app I/OpenGLRenderer: Initialized EGL, version 1.4 07-17 12:30:46.965 28664-28664/com.example.realsense_app W/art: Before Android 4.1, method int android.support.v7.widget.DropDownListView.lookForSelectablePosition(int, boolean) would have incorrectly overridden the package-private method in android.widget.ListView 07-17 12:30:46.102 28664-28768/com.example.realsense_app E/art: JNI ERROR (app bug): accessed stale local reference 0x200019 (index 6 in a table of size 1) 07-17 12:30:47.132 28664-28768/com.example.realsense_app A/art: art/runtime/java_vm_ext.cc:410] JNI DETECTED ERROR IN APPLICATION: use of deleted local reference 0x200019
exact same issue here. logcat pulled through wifi/adb
07-20 00:08:54.258 23038-23038/? E/Zygote: v2 07-20 00:08:54.260 23038-23038/? E/Zygote: accessInfo : 0 07-20 00:08:54.902 23038-23059/com.example.realsense_app E/art: JNI ERROR (app bug): accessed stale local reference 0x20001d (index 7 in a table of size 1) 07-20 00:08:54.915 23038-23059/com.example.realsense_app A/art: art/runtime/java_vm_ext.cc:470] JNI DETECTED ERROR IN APPLICATION: use of deleted local reference 0x20001d 07-20 00:08:54.916 23038-23059/com.example.realsense_app A/art: art/runtime/java_vm_ext.cc:470] "Thread-8" prio=5 tid=13 Runnable art/runtime/java_vm_ext.cc:470] | group="main" sCount=0 dsCount=0 obj=0x12e6d8b0 self=0x7f7448a200 art/runtime/java_vm_ext.cc:470] | sysTid=23059 nice=0 cgrp=default sched=0/0 handle=0x7f743ff450 art/runtime/java_vm_ext.cc:470] | state=R schedstat=( 107534053 1239692 138 ) utm=9 stm=1 core=2 HZ=100 art/runtime/java_vm_ext.cc:470] | stack=0x7f74305000-0x7f74307000 stackSize=1005KB art/runtime/java_vm_ext.cc:470] | held mutexes= "mutator lock"(shared held) art/runtime/java_vm_ext.cc:470] native: #00 pc 0000000000478734 /system/lib64/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+220) art/runtime/java_vm_ext.cc:470] native: #01 pc 0000000000478730 /system/lib64/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+216) art/runtime/java_vm_ext.cc:470] native: #02 pc 000000000044cca4 /system/lib64/libart.so (_ZNK3art6Thread9DumpStackERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEbP12BacktraceMap+472) art/runtime/java_vm_ext.cc:470] native: #03 pc 00000000002edfd0 /system/lib64/libart.so (ZN3art9JavaVMExt8JniAbortEPKcS2+1128) art/runtime/java_vm_ext.cc:470] native: #04 pc 00000000002ee7a8 /system/lib64/libart.so (_ZN3art9JavaVMExt9JniAbortFEPKcS2_z+184) art/runtime/java_vm_ext.cc:470] native: #05 pc 0000000000451858 /system/lib64/libart.so (_ZNK3art6Thread13DecodeJObjectEP8_jobject+352) art/runtime/java_vm_ext.cc:470] native: #06 pc 0000000000100fb8 /system/lib64/libart.so (_ZN3art11ScopedCheck13CheckInstanceERNS_18ScopedObjectAccessENS0_12InstanceKindEP8_jobjectb+196) art/runtime/java_vm_ext.cc:470] native: #07 pc 00000000000ff1c8 /system/lib64/libart.so (_ZN3art11ScopedCheck5CheckERNS_18ScopedObjectAccessEbPKcPNS_12JniValueTypeE+1120) art/runtime/java_vm_ext.cc:470] native: #08 pc 0000000000104adc /system/lib64/libart.so (_ZN3art8CheckJNI13CheckCallArgsERNS_18ScopedObjectAccessERNS_11ScopedCheckEP7_JNIEnvP8_jobjectP7_jclassP10_jmethodIDNS_10InvokeTypeEPKNS_7VarArgsE+140) art/runtime/java_vm_ext.cc:470] native: #09 pc 0000000000103d9c /system/lib64/libart.so (_ZN3art8CheckJNI11CallMethodVEPKcP7_JNIEnvP8_jobjectP7_jclassP10_jmethodIDSt9__va_listNS_9Primitive4TypeENS_10InvokeTypeE+704) art/runtime/java_vm_ext.cc:470] native: #10 pc 00000000000f8e98 /system/lib64/libart.so (_ZN3art8CheckJNI21CallStaticVoidMethodVEP7_JNIEnvP7_jclassP10_jmethodIDSt9__va_list+96) art/runtime/java_vm_ext.cc:470] native: #11 pc 00000000000204f0 /data/app/com.example.realsense_app-2/lib/arm64/libnative-lib.so (_ZN7_JNIEnv20CallStaticVoidMethodEP7_jclassP10_jmethodIDz+216) art/runtime/java_vm_ext.cc:470] native: #12 pc 000000000001f7bc /data/app/com.example.realsense_app-2/lib/arm64/libnative-lib.so (???) art/runtime/java_vm_ext.cc:470] native: #13 pc 000000000001f5c0 /data/app/com.example.realsense_app-2/lib/arm64/libnative-lib.so (???) art/runtime/java_vm_ext.cc:470] native: #14 pc 000000000001f590 /data/app/com.example.realsense_app-2/lib/arm64/libnative-lib.so (???) art/runtime/java_vm_ext.cc:470] native: #15 pc 000000000001f37c /data/app/com.example.realsense_app-2/lib/arm64/libnative-lib.so (???) art/runtime/java_vm_ext.cc:470] native: #16 pc 000000000002da64 /data/app/com.example.realsense_app-2/lib/arm64/libnative-lib.so (???) art/runtime/java_vm_ext.cc:470] native: #17 pc 000000000006885c /system/lib64/libc.so (_ZL15__pthread_startPv+196) art/runtime/java_vm_ext.cc:470] native: #18 pc 000000000001e118 /system/lib64/libc.so (__start_thread+16) art/runtime/java_vm_ext.cc:470] (no managed stack frames) art/runtime/java_vm_ext.cc:470] 07-20 00:08:54.957 23038-23059/com.example.realsense_app A/art: art/runtime/runtime.cc:419] Runtime aborting... art/runtime/runtime.cc:419] Aborting thread: art/runtime/runtime.cc:419] "Thread-8" prio=5 tid=13 Native art/runtime/runtime.cc:419] | group="" sCount=0 dsCount=0 obj=0x12e6d8b0 self=0x7f7448a200 art/runtime/runtime.cc:419] | sysTid=23059 nice=0 cgrp=default sched=0/0 handle=0x7f743ff450 art/runtime/runtime.cc:419] | state=R schedstat=( 117342907 1379119 139 ) utm=9 stm=2 core=2 HZ=100 art/runtime/runtime.cc:419] | stack=0x7f74305000-0x7f74307000 stackSize=1005KB art/runtime/runtime.cc:419] | held mutexes= "abort lock" art/runtime/runtime.cc:419] native: #00 pc 0000000000478734 /system/lib64/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+220) art/runtime/runtime.cc:419] native: #01 pc 0000000000478730 /system/lib64/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+216) art/runtime/runtime.cc:419] native: #02 pc 000000000044cca4 /system/lib64/libart.so (_ZNK3art6Thread9DumpStackERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEbP12BacktraceMap+472) art/runtime/runtime.cc:419] native: #03 pc 000000000043acec /system/lib64/libart.so (_ZNK3art10AbortState10DumpThreadERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEPNS_6ThreadE+56) art/runtime/runtime.cc:419] native: #04 pc 000000000043ab68 /system/lib64/libart.so (_ZNK3art10AbortState4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+668) art/runtime/runtime.cc:419] native: #05 pc 000000000042e728 /system/lib64/libart.so (_ZN3art7Runtime5AbortEv+140) art/runtime/runtime.cc:419] native: #06 pc 00000000000e5024 /system/lib64/libart.so (_ZN3art10LogMessageD2Ev+1204) art/runtime/runtime.cc:419] native: #07 pc 00000000002ee3e4 /system/lib64/libart.so (ZN3art9JavaVMExt8JniAbortEPKcS2+2172) art/runtime/runtime.cc:419] native: #08 pc 00000000002ee7a8 /system/lib64/libart.so (_ZN3art9JavaVMExt9JniAbortFEPKcS2_z+184) art/runtime/runtime.cc:419] native: #09 pc 0000000000451858 /system/lib64/libart.so (_ZNK3art6Thread13DecodeJObjectEP8_jobject+352) art/runtime/runtime.cc:419] native: #10 pc 0000000000100fb8 /system/lib64/libart.so (_ZN3art11ScopedCheck13CheckInstanceERNS_18ScopedObjectAccessENS0_12InstanceKindEP8_jobjectb+196) art/runtime/runtime.cc:419] native: #11 pc 00000000000ff1c8 /system/lib64/libart.so (_ZN3art11ScopedCheck5CheckERNS_18ScopedObjectAccessEbPKcPNS_12JniValueTypeE+1120) art/runtime/runtime.cc:419] native: #12 pc 0000000000104adc /system/lib64/libart.so (_ZN3art8CheckJNI13CheckCallArgsERNS_18ScopedObjectAccessERNS_11ScopedCheckEP7_JNIEnvP8_jobjectP7_jclassP10_jmethodIDNS_10InvokeTypeEPKNS_7VarArgsE+140) art/runtime/runtime.cc:419] native: #13 pc 0000000000103d9c /system/lib64/libart.so (_ZN3art8CheckJNI11CallMethodVEPKcP7_JNIEnvP8_jobjectP7_jclassP10_jmethodIDSt9__va_listNS_9Primitive4TypeENS_10InvokeTypeE+704) art/runtime/runtime.cc:419] native: #14 pc 00000000000f8e98 /system/lib64/libart.so (_ZN3art8CheckJNI21CallStaticVoidMethodVEP7_JNIEnvP7_jclassP10_jmethodIDSt9__va_list+96) art/runtime/runtime.cc:419] native: #15 pc 00000000000204f0 /data/app/com.example.realsense_app-2/lib/arm64/libnative-lib.so (_ZN7_JNIEnv20CallStaticVoidMethodEP7_jclassP10_jmethodIDz+216) art/runtime/runtime.cc:419] native: #16 pc 000000000001f7bc /data/app/com.example.realsense_app-2/lib/arm64/libnative-lib.so (???) art/runtime/runtime.cc:419] native: #17 pc 000000000001f5c0 /data/app/com.example.realsense_app-2/lib/arm64/libnative-lib.so (???) art/runtime/runtime.cc:419] native: #18 pc 000000000001f590 /data/app/com.example.realsense_app-2/lib/arm64/libnative-lib.so (???) art/runtime/runtime.cc:419] native: #19 pc 000000000001f37c /data/app/com.example.realsense_app-2/lib/arm64/libnative-lib.so (???) art/runtime/runtime.cc:419] native: #20 pc 000000000002da64 /data/app/com.example.realsense_app-2/lib/arm64/libnative-lib.so (???) art/runtime/runtime.cc:419] native: #21 pc 000000000006885c /system/lib64/libc.so (_ZL15__pthread_startPv+196) art/runtime/runtime.cc:419] native: #22 pc 000000000001e118 /system/lib64/libc.so (__start_thread+16) art/runtime/runtime.cc:419] (no managed stack frames) art/runtime/runtime.cc:419] Dumping all threads without appropriate locks held: thread list lock mutator lock art/runtime/runtime.cc:419] All threads: art/runtime/runtime.cc:419] DALVIK THREADS (16): art/runtime/runtime.cc:419] "Thread-8" prio=5 tid=13 Runnable art/runtime/runtime.cc:419] | group="" sCount=0 dsCount=0 obj=0x12e6d8b0 self=0x7f7448a200 art/runtime/runtime.cc:419] | sysTid=23059 nice=0 cgrp=default sched=0/0 handle=0x7f743ff450 art/runtime/runtime.cc:419] | state=R schedstat=( 137263065 1379119 140 ) utm=9 stm=4 core=2 HZ=100 art/runtime/runtime.cc:419] | stack=0x7f74305000-0x7f74307000 stackSize=1005KB art/runtime/runtime.cc:419] | held mutexes= "abort lock" "mutator lock"(shared held) art/runtime/runtime.cc:419] native: #00 pc 0000000000478734 /system/lib64/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+220) art/runtime/runtime.cc:419] native: #01 pc 0000000000478730 /system/lib64/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+216) art/runtime/runtime.cc:419] native: #02 pc 000000000044cca4 /system/lib64/libart.so (_ZNK3art6Thread9DumpStackERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEbP12BacktraceMap+472) art/runtime/runtime.cc:419] native: #03 pc 000000000046469c /system/lib64/libart.so (_ZN3art14DumpCheckpoint3RunEPNS_6ThreadE+820) art/runtime/runtime.cc:419] native: #04 pc 000000000045c6a4 /system/lib64/libart.so (_ZN3art10ThreadList13RunCheckpointEPNS_7ClosureE+456) art/runtime/runtime.cc:419] native: #05 pc 000000000045c2b4 /system/lib64/libart.so (_ZN3art10ThreadList4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEb+288) art/runtime/runtime.cc:419] native: #06 pc 000000000043ab1c /system/lib64/libart.so (_ZNK3art10AbortState4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+592) art/runtime/runtime.cc:419] native: #07 pc 000000000042e728 /system/lib64/libart.so (_ZN3art7Runtime5AbortEv+140) art/runtime/runtime.cc:419] native: #08 pc 00000000000e5024 /system/lib64/libart.so (_ZN3art10LogMessageD2Ev+1204) art/runtime/runtime.cc:419] native: #09 pc 00000000002ee3e4 /system/lib64/libart.so (ZN3art9JavaVMExt8JniAbortEPKcS2+2172) art/runtime/runtime.cc:419] native: #10 pc 00000000002ee7a8 /system/lib64/libart.so (_ZN3art9JavaVMExt9JniAbortFEPKcS2_z+184) art/runtime/runtime.cc:419] native: #11 pc 0000000000451858 /system/lib64/libart.so (_ZNK3art6Thread13DecodeJObjectEP8_jobject+352) 07-20 00:08:54.958 23038-23059/com.example.realsense_app A/art: art/runtime/runtime.cc:419] native: #12 pc 0000000000100fb8 /system/lib64/libart.so (_ZN3art11ScopedCheck13CheckInstanceERNS_18ScopedObjectAccessENS0_12InstanceKindEP8_jobjectb+196) art/runtime/runtime.cc:419] native: #13 pc 00000000000ff1c8 /system/lib64/libart.so (_ZN3art11ScopedCheck5CheckERNS_18ScopedObjectAccessEbPKcPNS_12JniValueTypeE+1120) art/runtime/runtime.cc:419] native: #14 pc 0000000000104adc /system/lib64/libart.so (_ZN3art8CheckJNI13CheckCallArgsERNS_18ScopedObjectAccessERNS_11ScopedCheckEP7_JNIEnvP8_jobjectP7_jclassP10_jmethodIDNS_10InvokeTypeEPKNS_7VarArgsE+140) art/runtime/runtime.cc:419] native: #15 pc 0000000000103d9c /system/lib64/libart.so (_ZN3art8CheckJNI11CallMethodVEPKcP7_JNIEnvP8_jobjectP7_jclassP10_jmethodIDSt9__va_listNS_9Primitive4TypeENS_10InvokeTypeE+704) art/runtime/runtime.cc:419] native: #16 pc 00000000000f8e98 /system/lib64/libart.so (_ZN3art8CheckJNI21CallStaticVoidMethodVEP7_JNIEnvP7_jclassP10_jmethodIDSt9__va_list+96) art/runtime/runtime.cc:419] native: #17 pc 00000000000204f0 /data/app/com.example.realsense_app-2/lib/arm64/libnative-lib.so (_ZN7_JNIEnv20CallStaticVoidMethodEP7_jclassP10_jmethodIDz+216) art/runtime/runtime.cc:419] native: #18 pc 000000000001f7bc /data/app/com.example.realsense_app-2/lib/arm64/libnative-lib.so (???) art/runtime/runtime.cc:419] native: #19 pc 000000000001f5c0 /data/app/com.example.realsense_app-2/lib/arm64/libnative-lib.so (???) art/runtime/runtime.cc:419] native: #20 pc 000000000001f590 /data/app/com.example.realsense_app-2/lib/arm64/libnative-lib.so (???) art/runtime/runtime.cc:419] native: #21 pc 000000000001f37c /data/app/com.example.realsense_app-2/lib/arm64/libnative-lib.so (???) art/runtime/runtime.cc:419] native: #22 pc 000000000002da64 /data/app/com.example.realsense_app-2/lib/arm64/libnative-lib.so (???) art/runtime/runtime.cc:419] native: #23 pc 000000000006885c /system/lib64/libc.so (_ZL15__pthread_startPv+196) art/runtime/runtime.cc:419] native: #24 pc 000000000001e118 /system/lib64/libc.so (__start_thread+16) art/runtime/runtime.cc:419] (no managed stack frames) art/runtime/runtime.cc:419] art/runtime/runtime.cc:419] "main" prio=5 tid=1 Native art/runtime/runtime.cc:419] | group="" sCount=1 dsCount=0 obj=0x776da868 self=0x7f958c7a00 art/runtime/runtime.cc:419] | sysTid=23038 nice=0 cgrp=default sched=0/0 handle=0x7f99de3a98 art/runtime/runtime.cc:419] | state=S schedstat=( 521694233 30622081 232 ) utm=44 stm=8 core=3 HZ=100 art/runtime/runtime.cc:419] | stack=0x7fc87e6000-0x7fc87e8000 stackSize=8MB art/runtime/runtime.cc:419] | held mutexes= art/runtime/runtime.cc:419] kernel: __switch_to+0x7c/0x88 art/runtime/runtime.cc:419] kernel: SyS_epoll_wait+0x2ac/0x374 art/runtime/runtime.cc:419] kernel: SyS_epoll_pwait+0xa0/0x114 art/runtime/runtime.cc:419] kernel: __sys_trace_return+0x0/0x4 art/runtime/runtime.cc:419] native: #00 pc 000000000006abf8 /system/lib64/libc.so (__epoll_pwait+8) art/runtime/runtime.cc:419] native: #01 pc 000000000001e84c /system/lib64/libc.so (epoll_pwait+64) art/runtime/runtime.cc:419] native: #02 pc 0000000000017f9c /system/lib64/libutils.so (_ZN7android6Looper9pollInnerEi+156) art/runtime/runtime.cc:419] native: #03 pc 0000000000017e50 /system/lib64/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+60) art/runtime/runtime.cc:419] native: #04 pc 00000000000f71c0 /system/lib64/libandroid_runtime.so (_ZN7android18NativeMessageQueue8pollOnceEP7_JNIEnvP8_jobjecti+48) art/runtime/runtime.cc:419] native: #05 pc 00000000009eabc0 /system/framework/arm64/boot-framework.oat (Java_android_os_MessageQueue_nativePollOnce__JI+140) art/runtime/runtime.cc:419] at android.os.MessageQueue.nativePollOnce(Native method) art/runtime/runtime.cc:419] at android.os.MessageQueue.next(MessageQueue.java:323) art/runtime/runtime.cc:419] at android.os.Looper.loop(Looper.java:136) art/runtime/runtime.cc:419] at android.app.ActivityThread.main(ActivityThread.java:6780) art/runtime/runtime.cc:419] at java.lang.reflect.Method.invoke!(Native method) art/runtime/runtime.cc:419] at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1496) art/runtime/runtime.cc:419] at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1386) art/runtime/runtime.cc:419] art/runtime/runtime.cc:419] "Jit thread pool worker thread 0" prio=5 tid=2 Native (still starting up) art/runtime/runtime.cc:419] | group="" sCount=1 dsCount=0 obj=0x0 self=0x7f89493000 art/runtime/runtime.cc:419] | sysTid=23043 nice=9 cgrp=default sched=0/0 handle=0x7f94f10450 art/runtime/runtime.cc:419] | state=S schedstat=( 485937 0 2 ) utm=0 stm=0 core=3 HZ=100 art/runtime/runtime.cc:419] | stack=0x7f94e12000-0x7f94e14000 stackSize=1021KB art/runtime/runtime.cc:419] | held mutexes= art/runtime/runtime.cc:419] kernel: __switch_to+0x7c/0x88 art/runtime/runtime.cc:419] kernel: futex_wait_queue_me+0xe4/0x144 art/runtime/runtime.cc:419] kernel: futex_wait+0xf4/0x200 art/runtime/runtime.cc:419] kernel: do_futex+0xcc/0x8a0 art/runtime/runtime.cc:419] kernel: SyS_futex+0xfc/0x174 art/runtime/runtime.cc:419] kernel: __sys_trace_return+0x0/0x4 art/runtime/runtime.cc:419] native: #00 pc 000000000001b0a4 /system/lib64/libc.so (syscall+28) art/runtime/runtime.cc:419] native: #01 pc 00000000000e72d4 /system/lib64/libart.so (_ZN3art17ConditionVariable16WaitHoldingLocksEPNS_6ThreadE+160) art/runtime/runtime.cc:419] native: #02 pc 0000000000466410 /system/lib64/libart.so (_ZN3art10ThreadPool7GetTaskEPNS_6ThreadE+252) art/runtime/runtime.cc:419] native: #03 pc 00000000004658cc /system/lib64/libart.so (_ZN3art16ThreadPoolWorker3RunEv+124) art/runtime/runtime.cc:419] native: #04 pc 00000000004651fc /system/lib64/libart.so (_ZN3art16ThreadPoolWorker8CallbackEPv+116) art/runtime/runtime.cc:419] native: #05 pc 000000000006885c /system/lib64/libc.so (_ZL15__pthread_startPv+196) art/runtime/runtime.cc:419] native: #06 pc 000000000001e118 /system/lib64/libc.so (__start_thread+16) art/runtime/runtime.cc:419] (no managed stack frames) art/runtime/runtime.cc:419] art/runtime/runtime.cc:419] "Signal Catcher" prio=5 tid=3 WaitingInMainSignalCatcherLoop art/runtime/runtime.cc:419] | group="" sCount=1 dsCount=0 obj=0x12c32790 self=0x7f9593f200 art/runtime/runtime.cc:419] | sysTid=23044 nice=0 cgrp=default sched=0/0 handle=0x7f94e0f450 art/runtime/runtime.cc:419] | state=S schedstat=( 587135 0 1 ) utm=0 stm=0 core=3 HZ=100 art/runtime/runtime.cc:419] | stack=0x7f94d15000-0x7f94d17000 stackSize=1005KB art/runtime/runtime.cc:419] | held mutexes= art/runtime/runtime.cc:419] kernel: __switch_to+0x7c/0x88 art/runtime/runtime.cc:419] kernel: do_sigtimedwait+0xe4/0x1bc art/runtime/runtime.cc:419] kernel: SyS_rt_sigtimedwait+0xb4/0xec art/runtime/runtime.cc:419] kernel: __sys_trace_return+0x0/0x4 art/runtime/runtime.cc:419] native: #00 pc 000000000006add8 /system/lib64/libc.so (__rt_sigtimedwait+8) art/runtime/runtime.cc:419] native: #01 pc 0000000000025298 /system/lib64/libc.so (sigwait+64) art/runtime/runtime.cc:419] native: #02 pc 000000000043f3f0 /system/lib64/libart.so (_ZN3art9SignalSet4WaitEv+48) art/runtime/runtime.cc:419] native: #03 pc 000000000043eec0 /system/lib64/libart.so (_ZN3art13SignalCatcher13WaitForSignalEPNS_6ThreadERNS_9SignalSetE+240) art/runtime/runtime.cc:419] native: #04 pc 000000000043d364 /system/lib64/libart.so (_ZN3art13SignalCatcher3RunEPv+436) art/runtime/runtime.cc:419] native: #05 pc 000000000006885c /system/lib64/libc.so (_ZL15__pthread_startPv+196) art/runtime/runtime.cc:419] native: #06 pc 000000000001e118 /system/lib64/libc.so (__start_thread+16) art/runtime/runtime.cc:419] (no managed stack frames) art/runtime/runtime.cc:419] art/runtime/runtime.cc:419] "JDWP" prio=5 tid=4 WaitingInMainDebuggerLoop art/runtime/runtime.cc:419] | group="" sCount=1 dsCount=0 obj=0x12c32820 self=0x7f873c9e00 art/runtime/runtime.cc:419] | sysTid=23045 nice=0 cgrp=default sched=0/0 handle=0x7f94d12450 art/runtime/runtime.cc:419] | state=S schedstat=( 2084374 258385 10 ) utm=0 stm=0 core=1 HZ=100 art/runtime/runtime.cc:419] | stack=0x7f94c18000-0x7f94c1a000 stackSize=1005KB art/runtime/runtime.cc:419] | held mutexes= art/runtime/runtime.cc:419] kernel: __switch_to+0x7c/0x88 art/runtime/runtime.cc:419] kernel: poll_schedule_timeout+0x44/0x68 art/runtime/runtime.cc:419] kernel: do_select+0x4e4/0x524 art/runtime/runtime.cc:419] kernel: core_sys_select+0x1fc/0x300 art/runtime/runtime.cc:419] kernel: SyS_pselect6+0x170/0x204 art/runtime/runtime.cc:419] kernel: __sys_trace_return+0x0/0x4 art/runtime/runtime.cc:419] native: #00 pc 000000000006ad30 /system/lib64/libc.so (__pselect6+8) art/runtime/runtime.cc:419] native: #01 pc 00000000000237a8 /system/lib64/libc.so (select+156) art/runtime/runtime.cc:419] native: #02 pc 0000000000551280 /system/lib64/libart.so (_ZN3art4JDWP12JdwpAdbState15ProcessIncomingEv+340) art/runtime/runtime.cc:419] native: #03 pc 0000000000303284 /system/lib64/libart.so (_ZN3art4JDWP9JdwpState3RunEv+920) art/runtime/runtime.cc:419] native: #04 pc 0000000000302758 /system/lib64/libart.so (_ZN3art4JDWPL15StartJdwpThreadEPv+48) art/runtime/runtime.cc:419] native: #05 pc 000000000006885c /system/lib64/libc.so (_ZL15__pthread_startPv+196) art/runtime/runtime.cc:419] native: #06 pc 000000000001e118 /system/lib64/libc.so (__start_thread+16) art/runtime/runtime.cc:419] (no managed stack frames) art/runtime/runtime.cc:419] art/runtime/runtime.cc:419] "FinalizerDaemon" prio=5 tid=6 Waiting art/runtime/runtime.cc:419] | group="" sCount=1 dsCount=0 obj=0x12c329d0 self=0x7f877ddc00 art/runtime/runtime.cc:419] | sysTid=23048 nice=0 cgrp=default sched=0/0 handle=0x7f94a0b450 art/runtime/runtime.cc:419] | state=S schedstat=( 1006198 2793906 22 ) utm=0 stm=0 core=0 HZ=100 art/runtime/runtime.cc:419] | stack=0x7f94909000-0x7f9490b000 stackSize=1037KB art/runtime/runtime.cc:419] | held mutexes= art/runtime/runtime.cc:419] kernel: __switch_to+0x7c/0x88 art/runtime/runtime.cc:419] kernel: futex_wait_queue_me+0xe4/0x144 art/runtime/runtime.cc:419] kernel: futex_wait+0xf4/0x200 art/runtime/runtime.cc:419] kernel: do_futex+0xcc/0x8a0 art/runtime/runtime.cc:419] kernel: SyS_futex+0xfc/0x174 art/runtime/runtime.cc:419] kernel: __sys_trace_return+0x0/0x4 art/runtime/runtime.cc:419] native: #00 pc 000000000001b0a4 /system/lib64/libc.so (syscall+28) art/runtime/runtime.cc:419] native: #01 pc 00000000000e72d4 /system/lib64/libart.so (_ZN3art17ConditionVariable16WaitHoldingLocksEPNS_6ThreadE+160) art/runtime/runtime.cc:419] native: #02 pc 0000000000379b64 /system/lib64/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadElibNS_11ThreadStateE+660) art/runtime/runtime.cc:419] native: #03 pc 0000000000000980 /system/framework/arm64/boot-core-oj.oat (Java_java_lang_Object_wait__JI+140) art/runtime/runtime.cc:419] at java.lang.Object.wait!(Native method) art/runtime/runtime.cc:419] - waiting on <0x01139c5b> (a java.lang.Object) art/runtime/runtime.cc:419] at java.lang.Object.wait(Object.java:407) art/runtime/runtime.cc:419] at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:188) art/runtime/runtime.cc:419] - locked <0x01139c5b> (a java.lang.Object) art/runtime/runtime.cc:419] at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:209) art/runtime/runtime.cc:419] at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:204) art/runtime/runtime.cc:419] at java.lang.Thread.run(Thread.java:762) art/runtime/runtime.cc:419] art/runtime/runtime.cc:419] "FinalizerWatchdogDaemon" prio=5 tid=7 Sleeping art/runtime/runtime.cc:419] | group="" sCount=1 dsCount=0 obj=0x12c32a60 self=0x7f877de600 art/runtime/runtime.cc:419] | sysTid=23049 nice=0 cgrp=default sched=0/0 handle=0x7f94906450 art/runtime/runtime.cc:419] | state=S schedstat=( 423282 104634 11 ) utm=0 stm=0 core=3 HZ=100 art/runtime/runtime.cc:419] | stack=0x7f94804000-0x7f94806000 stackSize=1037KB art/runtime/runtime.cc:419] | held mutexes= art/runtime/runtime.cc:419] kernel: __switch_to+0x7c/0x88 art/runtime/runtime.cc:419] kernel: futex_wait_queue_me+0xe4/0x144 art/runtime/runtime.cc:419] kernel: futex_wait+0xf4/0x200 art/runtime/runtime.cc:419] kernel: do_futex+0xcc/0x8a0 art/runtime/runtime.cc:419] kernel: SyS_futex+0xfc/0x174 art/runtime/runtime.cc:419] kernel: __sys_trace_return+0x0/0x4 art/runtime/runtime.cc:419] native: #00 pc 000000000001b0a8 /system/lib64/libc.so (syscall+32) art/runtime/runtime.cc:419] native: #01 pc 00000000000e7874 /system/lib64/libart.so (_ZN3art17ConditionVariable9TimedWaitEPNS_6ThreadEli+176) 07-20 00:08:54.959 23038-23059/com.example.realsense_app A/art: art/runtime/runtime.cc:419] native: #02 pc 0000000000379b74 /system/lib64/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadElibNS_11ThreadStateE+676) art/runtime/runtime.cc:419] native: #03 pc 00000000000bcca8 /system/framework/arm64/boot-core-oj.oat (Java_java_lang_Thread_sleep__Ljava_lang_Object_2JI+164) art/runtime/runtime.cc:419] at java.lang.Thread.sleep!(Native method) art/runtime/runtime.cc:419] - sleeping on <0x085f7cf8> (a java.lang.Object) art/runtime/runtime.cc:419] at java.lang.Thread.sleep(Thread.java:371) art/runtime/runtime.cc:419] - locked <0x085f7cf8> (a java.lang.Object) art/runtime/runtime.cc:419] at java.lang.Thread.sleep(Thread.java:313) art/runtime/runtime.cc:419] at java.lang.Daemons$FinalizerWatchdogDaemon.sleepFor(Daemons.java:314) art/runtime/runtime.cc:419] at java.lang.Daemons$FinalizerWatchdogDaemon.waitForFinalization(Daemons.java:336) art/runtime/runtime.cc:419] at java.lang.Daemons$FinalizerWatchdogDaemon.run(Daemons.java:253) art/runtime/runtime.cc:419] at java.lang.Thread.run(Thread.java:762) art/runtime/runtime.cc:419] art/runtime/runtime.cc:419] "HeapTaskDaemon" prio=5 tid=5 Blocked art/runtime/runtime.cc:419] | group="" sCount=1 dsCount=0 obj=0x12c32af0 self=0x7f877af000 art/runtime/runtime.cc:419] | sysTid=23050 nice=0 cgrp=default sched=0/0 handle=0x7f94801450 art/runtime/runtime.cc:419] | state=S schedstat=( 10273071 518594 9 ) utm=1 stm=0 core=0 HZ=100 art/runtime/runtime.cc:419] | stack=0x7f946ff000-0x7f94701000 stackSize=1037KB art/runtime/runtime.cc:419] | held mutexes= art/runtime/runtime.cc:419] kernel: __switch_to+0x7c/0x88 art/runtime/runtime.cc:419] kernel: futex_wait_queue_me+0xe4/0x144 art/runtime/runtime.cc:419] kernel: futex_wait+0xf4/0x200 art/runtime/runtime.cc:419] kernel: do_futex+0xcc/0x8a0 art/runtime/runtime.cc:419] kernel: SyS_futex+0xfc/0x174 art/runtime/runtime.cc:419] kernel: __sys_trace_return+0x0/0x4 art/runtime/runtime.cc:419] native: #00 pc 000000000001b0a8 /system/lib64/libc.so (syscall+32) art/runtime/runtime.cc:419] native: #01 pc 00000000000e7874 /system/lib64/libart.so (_ZN3art17ConditionVariable9TimedWaitEPNS_6ThreadEli+176) art/runtime/runtime.cc:419] native: #02 pc 00000000002409e4 /system/lib64/libart.so (ZN3art2gc13TaskProcessor7GetTaskEPNS_6ThreadE+296) art/runtime/runtime.cc:419] native: #03 pc 0000000000241300 /system/lib64/libart.so (ZN3art2gc13TaskProcessor11RunAllTasksEPNS_6ThreadE+92) art/runtime/runtime.cc:419] native: #04 pc 00000000001e4eb0 /system/framework/arm64/boot-core-libart.oat (Java_dalvik_system_VMRuntime_runHeapTasks+124) art/runtime/runtime.cc:419] at dalvik.system.VMRuntime.runHeapTasks(Native method) art/runtime/runtime.cc:419] - waiting to lock an unknown object art/runtime/runtime.cc:419] at java.lang.Daemons$HeapTaskDaemon.run(Daemons.java:433) art/runtime/runtime.cc:419] at java.lang.Thread.run(Thread.java:762) art/runtime/runtime.cc:419] art/runtime/runtime.cc:419] "Binder:23038_1" prio=5 tid=8 Native art/runtime/runtime.cc:419] | group="" sCount=1 dsCount=0 obj=0x12c32ca0 self=0x7f894d6200 art/runtime/runtime.cc:419] | sysTid=23051 nice=0 cgrp=default sched=0/0 handle=0x7f946fc450 art/runtime/runtime.cc:419] | state=S schedstat=( 6216354 4903073 14 ) utm=0 stm=0 core=0 HZ=100 art/runtime/runtime.cc:419] | stack=0x7f94602000-0x7f94604000 stackSize=1005KB art/runtime/runtime.cc:419] | held mutexes= art/runtime/runtime.cc:419] kernel: __switch_to+0x7c/0x88 art/runtime/runtime.cc:419] kernel: binder_thread_read+0x1038/0x1208 art/runtime/runtime.cc:419] kernel: binder_ioctl_write_read+0x1f8/0x33c art/runtime/runtime.cc:419] kernel: binder_ioctl+0x2b0/0x75c art/runtime/runtime.cc:419] kernel: do_vfs_ioctl+0x5b4/0x690 art/runtime/runtime.cc:419] kernel: SyS_ioctl+0x60/0x88 art/runtime/runtime.cc:419] kernel: __sys_trace_return+0x0/0x4 art/runtime/runtime.cc:419] native: #00 pc 000000000006ace4 /system/lib64/libc.so (__ioctl+4) art/runtime/runtime.cc:419] native: #01 pc 0000000000020098 /system/lib64/libc.so (ioctl+144) art/runtime/runtime.cc:419] native: #02 pc 00000000000557c0 /system/lib64/libbinder.so (_ZN7android14IPCThreadState14talkWithDriverEb+260) art/runtime/runtime.cc:419] native: #03 pc 0000000000055920 /system/lib64/libbinder.so (_ZN7android14IPCThreadState20getAndExecuteCommandEv+24) art/runtime/runtime.cc:419] native: #04 pc 000000000005604c /system/lib64/libbinder.so (_ZN7android14IPCThreadState14joinThreadPoolEb+72) art/runtime/runtime.cc:419] native: #05 pc 0000000000073090 /system/lib64/libbinder.so (???) art/runtime/runtime.cc:419] native: #06 pc 0000000000012430 /system/lib64/libutils.so (_ZN7android6Thread11_threadLoopEPv+272) art/runtime/runtime.cc:419] native: #07 pc 00000000000a4900 /system/lib64/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+116) art/runtime/runtime.cc:419] native: #08 pc 000000000006885c /system/lib64/libc.so (_ZL15__pthread_startPv+196) art/runtime/runtime.cc:419] native: #09 pc 000000000001e118 /system/lib64/libc.so (__start_thread+16) art/runtime/runtime.cc:419] (no managed stack frames) art/runtime/runtime.cc:419] art/runtime/runtime.cc:419] "Binder:23038_2" prio=5 tid=9 Native art/runtime/runtime.cc:419] | group="" sCount=1 dsCount=0 obj=0x12c32dc0 self=0x7f877afa00 art/runtime/runtime.cc:419] | sysTid=23052 nice=0 cgrp=default sched=0/0 handle=0x7f945ff450 art/runtime/runtime.cc:419] | state=S schedstat=( 1724635 703802 12 ) utm=0 stm=0 core=3 HZ=100 art/runtime/runtime.cc:419] | stack=0x7f94505000-0x7f94507000 stackSize=1005KB art/runtime/runtime.cc:419] | held mutexes= art/runtime/runtime.cc:419] kernel: __switch_to+0x7c/0x88 art/runtime/runtime.cc:419] kernel: binder_thread_read+0x1038/0x1208 art/runtime/runtime.cc:419] kernel: binder_ioctl_write_read+0x1f8/0x33c art/runtime/runtime.cc:419] kernel: binder_ioctl+0x2b0/0x75c art/runtime/runtime.cc:419] kernel: do_vfs_ioctl+0x5b4/0x690 art/runtime/runtime.cc:419] kernel: SyS_ioctl+0x60/0x88 art/runtime/runtime.cc:419] kernel: __sys_trace_return+0x0/0x4 art/runtime/runtime.cc:419] native: #00 pc 000000000006ace4 /system/lib64/libc.so (__ioctl+4) art/runtime/runtime.cc:419] native: #01 pc 0000000000020098 /system/lib64/libc.so (ioctl+144) art/runtime/runtime.cc:419] native: #02 pc 00000000000557c0 /system/lib64/libbinder.so (_ZN7android14IPCThreadState14talkWithDriverEb+260) art/runtime/runtime.cc:419] native: #03 pc 0000000000055920 /system/lib64/libbinder.so (_ZN7android14IPCThreadState20getAndExecuteCommandEv+24) art/runtime/runtime.cc:419] native: #04 pc 000000000005604c /system/lib64/libbinder.so (_ZN7android14IPCThreadState14joinThreadPoolEb+72) art/runtime/runtime.cc:419] native: #05 pc 0000000000073090 /system/lib64/libbinder.so (???) art/runtime/runtime.cc:419] native: #06 pc 0000000000012430 /system/lib64/libutils.so (_ZN7android6Thread11_threadLoopEPv+272) art/runtime/runtime.cc:419] native: #07 pc 00000000000a4900 /system/lib64/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+116) art/runtime/runtime.cc:419] native: #08 pc 000000000006885c /system/lib64/libc.so (_ZL15__pthread_startPv+196) art/runtime/runtime.cc:419] native: #09 pc 000000000001e118 /system/lib64/libc.so (__start_thread+16) art/runtime/runtime.cc:419] (no managed stack frames) art/runtime/runtime.cc:419] art/runtime/runtime.cc:419] "ReferenceQueueDaemon" prio=5 tid=10 Waiting art/runtime/runtime.cc:419] | group="" sCount=1 dsCount=0 obj=0x12c32940 self=0x7f877dd200 art/runtime/runtime.cc:419] | sysTid=23047 nice=0 cgrp=default sched=0/0 handle=0x7f94b10450 art/runtime/runtime.cc:419] | state=S schedstat=( 632709 13133960 8 ) utm=0 stm=0 core=1 HZ=100 art/runtime/runtime.cc:419] | stack=0x7f94a0e000-0x7f94a10000 stackSize=1037KB art/runtime/runtime.cc:419] | held mutexes= art/runtime/runtime.cc:419] kernel: __switch_to+0x7c/0x88 art/runtime/runtime.cc:419] kernel: futex_wait_queue_me+0xe4/0x144 art/runtime/runtime.cc:419] kernel: futex_wait+0xf4/0x200 art/runtime/runtime.cc:419] kernel: do_futex+0xcc/0x8a0 art/runtime/runtime.cc:419] kernel: SyS_futex+0xfc/0x174 art/runtime/runtime.cc:419] kernel: __sys_trace_return+0x0/0x4 art/runtime/runtime.cc:419] native: #00 pc 000000000001b0a4 /system/lib64/libc.so (syscall+28) art/runtime/runtime.cc:419] native: #01 pc 00000000000e72d4 /system/lib64/libart.so (ZN3art17ConditionVariable16WaitHoldingLocksEPNS_6ThreadE+160) art/runtime/runtime.cc:419] native: #02 pc 0000000000379b64 /system/lib64/libart.so (ZN3art7Monitor4WaitEPNS_6ThreadElibNS_11ThreadStateE+660) art/runtime/runtime.cc:419] native: #03 pc 0000000000000810 /system/framework/arm64/boot-core-oj.oat (Java_java_lang_Object_wait+124) art/runtime/runtime.cc:419] at java.lang.Object.wait!(Native method) art/runtime/runtime.cc:419] - waiting on <0x088bf5d1> (a java.lang.Class<java.lang.ref.ReferenceQueue>) art/runtime/runtime.cc:419] at java.lang.Daemons$ReferenceQueueDaemon.run(Daemons.java:150) art/runtime/runtime.cc:419] - locked <0x088bf5d1> (a java.lang.Class<java.lang.ref.ReferenceQueue>) art/runtime/runtime.cc:419] at java.lang.Thread.run(Thread.java:762) art/runtime/runtime.cc:419] art/runtime/runtime.cc:419] "Profile Saver" prio=5 tid=11 Native art/runtime/runtime.cc:419] | group="" sCount=1 dsCount=0 obj=0x12c6bdc0 self=0x7f877bc400 art/runtime/runtime.cc:419] | sysTid=23054 nice=0 cgrp=default sched=0/0 handle=0x7f94294450 art/runtime/runtime.cc:419] | state=S schedstat=( 559375 40313 3 ) utm=0 stm=0 core=3 HZ=100 art/runtime/runtime.cc:419] | stack=0x7f9419a000-0x7f9419c000 stackSize=1005KB art/runtime/runtime.cc:419] | held mutexes= art/runtime/runtime.cc:419] kernel: __switch_to+0x7c/0x88 art/runtime/runtime.cc:419] kernel: futex_wait_queue_me+0xe4/0x144 art/runtime/runtime.cc:419] kernel: futex_wait+0xf4/0x200 art/runtime/runtime.cc:419] kernel: do_futex+0xcc/0x8a0 art/runtime/runtime.cc:419] kernel: SyS_futex+0xfc/0x174 art/runtime/runtime.cc:419] kernel: __sys_trace_return+0x0/0x4 art/runtime/runtime.cc:419] native: #00 pc 000000000001b0a8 /system/lib64/libc.so (syscall+32) art/runtime/runtime.cc:419] native: #01 pc 00000000000e7874 /system/lib64/libart.so (_ZN3art17ConditionVariable9TimedWaitEPNS_6ThreadEli+176) art/runtime/runtime.cc:419] native: #02 pc 000000000031c050 /system/lib64/libart.so (_ZN3art12ProfileSaver3RunEv+160) art/runtime/runtime.cc:419] native: #03 pc 000000000031d7f0 /system/lib64/libart.so (_ZN3art12ProfileSaver21RunProfileSaverThreadEPv+100) art/runtime/runtime.cc:419] native: #04 pc 000000000006885c /system/lib64/libc.so (_ZL15__pthread_startPv+196) art/runtime/runtime.cc:419] native: #05 pc 000000000001e118 /system/lib64/libc.so (__start_thread+16) art/runtime/runtime.cc:419] (no managed stack frames) art/runtime/runtime.cc:419] art/runtime/runtime.cc:419] "Thread-7" prio=5 tid=12 Native art/runtime/runtime.cc:419] | group="" sCount=1 dsCount=0 obj=0x12c7cc10 self=0x7f959b1000 07-20 00:08:54.960 23038-23059/com.example.realsense_app A/art: art/runtime/runtime.cc:419] | sysTid=23055 nice=0 cgrp=default sched=0/0 handle=0x7f89959450 art/runtime/runtime.cc:419] | state=S schedstat=( 267239 0 4 ) utm=0 stm=0 core=3 HZ=100 art/runtime/runtime.cc:419] | stack=0x7f89857000-0x7f89859000 stackSize=1037KB art/runtime/runtime.cc:419] | held mutexes= art/runtime/runtime.cc:419] kernel: __switch_to+0x7c/0x88 art/runtime/runtime.cc:419] kernel: __skb_recv_datagram+0x3e8/0x460 art/runtime/runtime.cc:419] kernel: skb_recv_datagram+0x2c/0x34 art/runtime/runtime.cc:419] kernel: unix_accept+0x64/0x134 art/runtime/runtime.cc:419] kernel: SyS_accept4+0x108/0x1e0 art/runtime/runtime.cc:419] kernel: __sys_trace_return+0x0/0x4 art/runtime/runtime.cc:419] native: #00 pc 000000000006ab94 /system/lib64/libc.so (__accept4+4) art/runtime/runtime.cc:419] native: #01 pc 0000000000000fc8 /system/lib64/libnetd_client.so (???) art/runtime/runtime.cc:419] native: #02 pc 0000000000026e58 /system/lib64/libjavacore.so (???) art/runtime/runtime.cc:419] native: #03 pc 00000000002baa28 /system/framework/arm64/boot-core-libart.oat (Java_libcore_io_Posix_accept__Ljava_io_FileDescriptor_2Ljava_net_SocketAddress_2+180) art/runtime/runtime.cc:419] at libcore.io.Posix.accept(Native method) art/runtime/runtime.cc:419] at libcore.io.BlockGuardOs.accept(BlockGuardOs.java:64) art/runtime/runtime.cc:419] at android.system.Os.accept(Os.java:43) art/runtime/runtime.cc:419] at android.net.LocalSocketImpl.accept(LocalSocketImpl.java:336) art/runtime/runtime.cc:419] at android.net.LocalServerSocket.accept(LocalServerSocket.java:90) art/runtime/runtime.cc:419] at com.android.tools.ir.server.Server$SocketServerThread.run(Server.java:165) art/runtime/runtime.cc:419] at java.lang.Thread.run(Thread.java:762) art/runtime/runtime.cc:419] art/runtime/runtime.cc:419] "RenderThread" prio=5 tid=14 Native art/runtime/runtime.cc:419] | group="" sCount=1 dsCount=0 obj=0x12ebfa60 self=0x7f8954d600 art/runtime/runtime.cc:419] | sysTid=23066 nice=-4 cgrp=default sched=0/0 handle=0x7f74108450 art/runtime/runtime.cc:419] | state=S schedstat=( 28475310 6039324 49 ) utm=2 stm=0 core=3 HZ=100 art/runtime/runtime.cc:419] | stack=0x7f7400e000-0x7f74010000 stackSize=1005KB art/runtime/runtime.cc:419] | held mutexes= art/runtime/runtime.cc:419] kernel: __switch_to+0x7c/0x88 art/runtime/runtime.cc:419] kernel: SyS_epoll_wait+0x2ac/0x374 art/runtime/runtime.cc:419] kernel: SyS_epoll_pwait+0xa0/0x114 art/runtime/runtime.cc:419] kernel: __sys_trace_return+0x0/0x4 art/runtime/runtime.cc:419] native: #00 pc 000000000006abf8 /system/lib64/libc.so (__epoll_pwait+8) art/runtime/runtime.cc:419] native: #01 pc 000000000001e84c /system/lib64/libc.so (epoll_pwait+64) art/runtime/runtime.cc:419] native: #02 pc 0000000000017f9c /system/lib64/libutils.so (_ZN7android6Looper9pollInnerEi+156) art/runtime/runtime.cc:419] native: #03 pc 0000000000017e50 /system/lib64/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+60) art/runtime/runtime.cc:419] native: #04 pc 000000000003bd58 /system/lib64/libhwui.so (_ZN7android10uirenderer12renderthread12RenderThread10threadLoopEv+656) art/runtime/runtime.cc:419] native: #05 pc 0000000000012430 /system/lib64/libutils.so (_ZN7android6Thread11_threadLoopEPv+272) art/runtime/runtime.cc:419] native: #06 pc 00000000000a4900 /system/lib64/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+116) art/runtime/runtime.cc:419] native: #07 pc 000000000006885c /system/lib64/libc.so (_ZL15__pthread_startPv+196) art/runtime/runtime.cc:419] native: #08 pc 000000000001e118 /system/lib64/libc.so (__start_thread+16) art/runtime/runtime.cc:419] (no managed stack frames) art/runtime/runtime.cc:419] art/runtime/runtime.cc:419] "hwuiTask1" prio=5 tid=15 Native art/runtime/runtime.cc:419] | group="" sCount=1 dsCount=0 obj=0x12ebfc10 self=0x7f7448b600 art/runtime/runtime.cc:419] | sysTid=23077 nice=-2 cgrp=default sched=0/0 handle=0x7f725ef450 art/runtime/runtime.cc:419] | state=S schedstat=( 724322 789585 7 ) utm=0 stm=0 core=3 HZ=100 art/runtime/runtime.cc:419] | stack=0x7f724f5000-0x7f724f7000 stackSize=1005KB art/runtime/runtime.cc:419] | held mutexes= art/runtime/runtime.cc:419] kernel: __switch_to+0x7c/0x88 art/runtime/runtime.cc:419] kernel: futex_wait_queue_me+0xe4/0x144 art/runtime/runtime.cc:419] kernel: futex_wait+0xf4/0x200 art/runtime/runtime.cc:419] kernel: do_futex+0xcc/0x8a0 art/runtime/runtime.cc:419] kernel: SyS_futex+0xfc/0x174 art/runtime/runtime.cc:419] kernel: __sys_trace_return+0x0/0x4 art/runtime/runtime.cc:419] native: #00 pc 000000000001b0a4 /system/lib64/libc.so (syscall+28) art/runtime/runtime.cc:419] native: #01 pc 0000000000067fb4 /system/lib64/libc.so (pthread_cond_wait+96) art/runtime/runtime.cc:419] native: #02 pc 000000000003cbf4 /system/lib64/libhwui.so (???) art/runtime/runtime.cc:419] native: #03 pc 0000000000012430 /system/lib64/libutils.so (_ZN7android6Thread11_threadLoopEPv+272) art/runtime/runtime.cc:419] native: #04 pc 00000000000a4900 /system/lib64/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+116) art/runtime/runtime.cc:419] native: #05 pc 000000000006885c /system/lib64/libc.so (_ZL15__pthread_startPv+196) art/runtime/runtime.cc:419] native: #06 pc 000000000001e118 /system/lib64/libc.so (__start_thread+16) art/runtime/runtime.cc:419] (no managed stack frames) art/runtime/runtime.cc:419] art/runtime/runtime.cc:419] "hwuiTask2" prio=5 tid=16 Native art/runtime/runtime.cc:419] | group="" sCount=1 dsCount=0 obj=0x12ebfb80 self=0x7f720b2200 art/runtime/runtime.cc:419] | sysTid=23078 nice=-2 cgrp=default sched=0/0 handle=0x7f71dff450 art/runtime/runtime.cc:419] | state=S schedstat=( 382761 211562 4 ) utm=0 stm=0 core=2 HZ=100 art/runtime/runtime.cc:419] | stack=0x7f71d05000-0x7f71d07000 stackSize=1005KB art/runtime/runtime.cc:419] | held mutexes= art/runtime/runtime.cc:419] kernel: __switch_to+0x7c/0x88 art/runtime/runtime.cc:419] kernel: futex_wait_queue_me+0xe4/0x144 art/runtime/runtime.cc:419] kernel: futex_wait+0xf4/0x200 art/runtime/runtime.cc:419] kernel: do_futex+0xcc/0x8a0 art/runtime/runtime.cc:419] kernel: SyS_futex+0xfc/0x174 art/runtime/runtime.cc:419] kernel: __sys_trace_return+0x0/0x4 art/runtime/runtime.cc:419] native: #00 pc 000000000001b0a4 /system/lib64/libc.so (syscall+28) art/runtime/runtime.cc:419] native: #01 pc 0000000000067fb4 /system/lib64/libc.so (pthread_cond_wait+96) art/runtime/runtime.cc:419] native: #02 pc 000000000003cbf4 /system/lib64/libhwui.so (???) art/runtime/runtime.cc:419] native: #03 pc 0000000000012430 /system/lib64/libutils.so (_ZN7android6Thread11_threadLoopEPv+272) art/runtime/runtime.cc:419] native: #04 pc 00000000000a4900 /system/lib64/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+116) art/runtime/runtime.cc:419] native: #05 pc 000000000006885c /system/lib64/libc.so (_ZL15__pthread_startPv+196) art/runtime/runtime.cc:419] native: #06 pc 000000000001e118 /system/lib64/libc.so (__start_thread+16) art/runtime/runtime.cc:419] (no managed stack frames) art/runtime/runtime.cc:419] art/runtime/runtime.cc:419]
--------- beginning of crash
07-20 00:08:54.961 23038-23059/com.example.realsense_app A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 23059 (Thread-8) 07-20 00:08:55.042 23080-23080/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** Build fingerprint: 'samsung/gts3lwifixx/gts3lwifi:7.0/NRD90M/T820XXU1AQF5:user/release-keys' Revision: '5' ABI: 'arm64' 07-20 00:08:55.043 23080-23080/? A/DEBUG: pid: 23038, tid: 23059, name: Thread-8 >>> com.example.realsense_app <<< signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr -------- 07-20 00:08:55.044 23080-23080/? A/DEBUG: Abort message: 'art/runtime/java_vm_ext.cc:470] JNI DETECTED ERROR IN APPLICATION: use of deleted local reference 0x20001d' x0 0000000000000000 x1 0000000000005a13 x2 0000000000000006 x3 0000000000000008 x4 0000000000000010 x5 0000800000000000 x6 0000007f99d2f000 x7 0000000000000000 x8 0000000000000083 x9 ffffffffffffffdf x10 0000000000000000 x11 0000000000000001 x12 ffffffffffffffff x13 ffffffffffffffff x14 0000000000000000 x15 00394224e97e38ee x16 0000007f96326ee0 x17 0000007f962cfbc8 x18 0000000000000000 x19 0000007f743ff4f8 x20 0000000000000006 x21 0000007f743ff450 x22 0000000000000000 x23 0000000000000b93 x24 ffffffffffffffff x25 0000007f957fc730 x26 0000007f95786238 x27 0000007f743fe481 x28 0000007f9574c2ab x29 0000007f743fe3b0 x30 0000007f962cd058 sp 0000007f743fe390 pc 0000007f962cfbd0 pstate 0000000060000000 07-20 00:08:55.055 23080-23080/? A/DEBUG: backtrace: #00 pc 000000000006bbd0 /system/lib64/libc.so (tgkill+8) #01 pc 0000000000069054 /system/lib64/libc.so (pthread_kill+64) #02 pc 00000000000244b8 /system/lib64/libc.so (raise+24) #03 pc 000000000001ced4 /system/lib64/libc.so (abort+52) 07-20 00:08:55.056 23080-23080/? A/DEBUG: #04 pc 000000000042e7fc /system/lib64/libart.so (_ZN3art7Runtime5AbortEv+352) #05 pc 00000000000e5024 /system/lib64/libart.so (_ZN3art10LogMessageD2Ev+1204) #06 pc 00000000002ee3e4 /system/lib64/libart.so (ZN3art9JavaVMExt8JniAbortEPKcS2+2172) #07 pc 00000000002ee7a8 /system/lib64/libart.so (_ZN3art9JavaVMExt9JniAbortFEPKcS2_z+184) #08 pc 0000000000451858 /system/lib64/libart.so (_ZNK3art6Thread13DecodeJObjectEP8_jobject+352) #09 pc 0000000000100fb8 /system/lib64/libart.so (_ZN3art11ScopedCheck13CheckInstanceERNS_18ScopedObjectAccessENS0_12InstanceKindEP8_jobjectb+196) #10 pc 00000000000ff1c8 /system/lib64/libart.so (_ZN3art11ScopedCheck5CheckERNS_18ScopedObjectAccessEbPKcPNS_12JniValueTypeE+1120) #11 pc 0000000000104adc /system/lib64/libart.so (_ZN3art8CheckJNI13CheckCallArgsERNS_18ScopedObjectAccessERNS_11ScopedCheckEP7_JNIEnvP8_jobjectP7_jclassP10_jmethodIDNS_10InvokeTypeEPKNS_7VarArgsE+140) #12 pc 0000000000103d9c /system/lib64/libart.so (_ZN3art8CheckJNI11CallMethodVEPKcP7_JNIEnvP8_jobjectP7_jclassP10_jmethodIDSt9__va_listNS_9Primitive4TypeENS_10InvokeTypeE+704) #13 pc 00000000000f8e98 /system/lib64/libart.so (_ZN3art8CheckJNI21CallStaticVoidMethodVEP7_JNIEnvP7_jclassP10_jmethodIDSt9__va_list+96) #14 pc 00000000000204f0 /data/app/com.example.realsense_app-2/lib/arm64/libnative-lib.so (_ZN7_JNIEnv20CallStaticVoidMethodEP7_jclassP10_jmethodIDz+216) #15 pc 000000000001f7bc /data/app/com.example.realsense_app-2/lib/arm64/libnative-lib.so #16 pc 000000000001f5c0 /data/app/com.example.realsense_app-2/lib/arm64/libnative-lib.so #17 pc 000000000001f590 /data/app/com.example.realsense_app-2/lib/arm64/libnative-lib.so #18 pc 000000000001f37c /data/app/com.example.realsense_app-2/lib/arm64/libnative-lib.so #19 pc 000000000002da64 /data/app/com.example.realsense_app-2/lib/arm64/libnative-lib.so #20 pc 000000000006885c /system/lib64/libc.so (_ZL15__pthread_startPv+196) #21 pc 000000000001e118 /system/lib64/libc.so (__start_thread+16) 07-20 00:08:56.317 766-766/? E/lowmemorykiller: Error writing /proc/23038/oom_score_adj; errno=22 07-20 00:09:02.541 1589-2011/? E/Watchdog: !@Sync 590 [20_Jul_00_09_02.541] 07-20 00:09:09.960 1589-1640/? E/PowerManagerService: handleSandman : startDreaming, but isDreaming false 07-20 00:09:10.055 22285-22285/? E/SamsungNotes$ScreenOffMemo_Service: supportedCCTable is null 07-20 00:09:10.171 2480-2480/? E/LibSecureUISvc: svc_sock_send_message(suisvc): Error sending data, -1 vs 4: Connection refused 07-20 00:09:10.194 1888-2105/? E/BtGatt.GattService: [GSIM LOG]: gsimLogHandler: android.uid.bcmgr, msg: MESSAGE_STOP_SCAN 07-20 00:09:10.481 1888-2105/? E/BtGatt.GattService: [GSIM LOG]: gsimLogHandler: android.uid.bcmgr, msg: MESSAGE_START_SCAN 07-20 00:09:10.542 1888-2095/? E/BtGatt.ScanManager: default value of curScanSetting 0 is choosen 07-20 00:09:14.339 1589-1763/? E/SdpServiceKeeper: isLicensed {pid:1902 uid:10066 userid:0 doPkg:null} System app. Skip license activation 07-20 00:09:14.344 1902-23104/? E/KnoxStateMonitor: lockSdp :: Failed to lock sdp engine... 07-20 00:09:15.338 1589-23106/? E/BatteryStatsService: no controller energy info supplied 07-20 00:09:15.342 2039-2039/? E/PhoneInterfaceManager: [PhoneIntfMgr] queryModemActivityInfo: Empty response 07-20 00:09:15.374 1589-23106/? E/BatteryStatsService: modem info is invalid: ModemActivityInfo{ mTimestamp=0 mSleepTimeMs=0 mIdleTimeMs=0 mTxTimeMs[]=[0, 0, 0, 0, 0] mRxTimeMs=0 mEnergyUsed=0} 07-20 00:09:26.230 2704-2775/? E/ContactsProvider_EventLog: Flush buffer to file cnt : 1 size : 0Kb duration : 14ms lastUpdatedAfter : 60117 ms mFlush_time_threasold : 2000 mCurrentSize : 257 07-20 00:09:32.563 1589-2011/? E/Watchdog: !@Sync 591 [20_Jul_00_09_32.562] 07-20 00:10:02.584 1589-2011/? E/Watchdog: !@Sync 592 [20_Jul_00_10_02.583] 07-20 00:10:26.338 2704-2775/? E/ContactsProvider_EventLog: Flush buffer to file cnt : 1 size : 0Kb duration : 6ms lastUpdatedAfter : 60108 ms mFlush_time_threasold : 2000 mCurrentSize : 257 07-20 00:10:32.607 1589-2011/? E/Watchdog: !@Sync 593 [20_Jul_00_10_32.606] 07-20 00:10:57.585 1589-1633/? E/BatteryStatsService: power: Missing API 07-20 00:10:57.604 1589-1633/? E/BatteryStatsService: no controller energy info supplied 07-20 00:10:57.607 2039-2039/? E/PhoneInterfaceManager: [PhoneIntfMgr] queryModemActivityInfo: Empty response 07-20 00:10:57.624 1589-1633/? E/BatteryStatsService: modem info is invalid: ModemActivityInfo{ mTimestamp=0 mSleepTimeMs=0 mIdleTimeMs=0 mTxTimeMs[]=[0, 0, 0, 0, 0] mRxTimeMs=0 mEnergyUsed=0} 07-20 00:11:02.631 1589-2011/? E/Watchdog: !@Sync 594 [20_Jul_00_11_02.630] 07-20 00:11:26.456 2704-2775/? E/ContactsProvider_EventLog: Flush buffer to file cnt : 1 size : 0Kb duration : 8ms lastUpdatedAfter : 60118 ms mFlush_time_threasold : 2000 mCurrentSize : 257 07-20 00:11:32.650 1589-2011/? E/Watchdog: !@Sync 595 [20_Jul_00_11_32.650] 07-20 00:12:02.673 1589-2011/? E/Watchdog: !@Sync 596 [20_Jul_00_12_02.672] 07-20 00:12:26.573 2704-2775/? E/ContactsProvider_EventLog: Flush buffer to file cnt : 1 size : 0Kb duration : 5ms lastUpdatedAfter : 60117 ms mFlush_time_threasold : 2000 mCurrentSize : 257 07-20 00:12:32.696 1589-2011/? E/Watchdog: !@Sync 597 [20_Jul_00_12_32.695] 07-20 00:13:00.004 1589-1716/? E/AlarmManager: No more alarm at this time. nowELAPSED=35177979 batch.start=35247747 mNextWakeup=35247747 mNextNonWakeup=35177976 mAlarmBatches.size=28 Batch 1 size = 2 : 35247747, Batch 2 size = 1 : 35548096, Batch 3 size = 1 : 35635135 07-20 00:13:02.714 1589-2011/? E/Watchdog: !@Sync 598 [20_Jul_00_13_02.713] 07-20 00:13:26.691 2704-2775/? E/ContactsProvider_EventLog: Flush buffer to file cnt : 1 size : 0Kb duration : 8ms lastUpdatedAfter : 60118 ms mFlush_time_threasold : 2000 mCurrentSize : 257 07-20 00:13:29.255 1589-1633/? E/BatteryStatsService: no controller energy info supplied 07-20 00:13:29.258 2039-2039/? E/PhoneInterfaceManager: [PhoneIntfMgr] queryModemActivityInfo: Empty response 07-20 00:13:29.292 1589-1633/? E/BatteryStatsService: modem info is invalid: ModemActivityInfo{ mTimestamp=0 mSleepTimeMs=0 mIdleTimeMs=0 mTxTimeMs[]=[0, 0, 0, 0, 0] mRxTimeMs=0 mEnergyUsed=0} 07-20 00:13:32.733 1589-2011/? E/Watchdog: !@Sync 599 [20_Jul_00_13_32.732] 07-20 00:14:02.757 1589-2011/? E/Watchdog: !@Sync 600 [20_Jul_00_14_02.756] 07-20 00:14:26.740 2704-2775/? E/ContactsProvider_EventLog: Flush buffer to file cnt : 1 size : 0Kb duration : 7ms lastUpdatedAfter : 60049 ms mFlush_time_threasold : 2000 mCurrentSize : 257 07-20 00:14:32.779 1589-2011/? E/Watchdog: !@Sync 601 [20_Jul_00_14_32.778] 07-20 00:15:02.798 1589-2011/? E/Watchdog: !@Sync 602 [20_Jul_00_15_02.798] 07-20 00:15:26.805 2704-2775/? E/ContactsProvider_EventLog: Flush buffer to file cnt : 1 size : 0Kb duration : 5ms lastUpdatedAfter : 60063 ms mFlush_time_threasold : 2000 mCurrentSize : 257 07-20 00:15:32.816 1589-2011/? E/Watchdog: !@Sync 603 [20_Jul_00_15_32.815] 07-20 00:16:02.837 1589-2011/? E/Watchdog: !@Sync 604 [20_Jul_00_16_02.836] 07-20 00:16:14.288 1871-1871/? E/wpa_supplicant: Cmd 35605 not handled 07-20 00:16:14.290 1871-1871/? E/wpa_supplicant: Cmd 35847 not handled Cmd 35848 not handled 07-20 00:16:14.291 1871-1871/? E/wpa_supplicant: Cmd 35605 not handled 07-20 00:16:14.309 1589-1838/? E/WifiWatchdogStateMachine: Unhandled message { when=0 what=131309 obj=start target=com.android.internal.util.StateMachine$SmHandler } in state NotConnectedState 07-20 00:16:14.311 1589-1838/? E/WifiWatchdogStateMachine: Unhandled message { when=0 what=131307 obj=start target=com.android.internal.util.StateMachine$SmHandler } in state NotConnectedState 07-20 00:16:14.316 1589-1838/? E/WifiWatchdogStateMachine: Unhandled message { when=-1ms what=131309 obj=complete target=com.android.internal.util.StateMachine$SmHandler } in state NotConnectedState 07-20 00:16:14.331 1589-2026/? E/LocSvc_ApiV02: I/<--- void globalRespCb(locClientHandleType, uint32_t, const locClientRespIndUnionType, uint32_t, void *) line 157 QMI_LOC_NOTIFY_WIFI_ATTACHMENT_STATUS_REQ_V02 07-20 00:16:14.336 1589-1838/? E/WifiWatchdogStateMachine: Unhandled message { when=-2ms what=131307 obj=start target=com.android.internal.util.StateMachine$SmHandler } in state NotConnectedState 07-20 00:16:14.368 1589-1838/? E/WifiWatchdogStateMachine: Unhandled message { when=0 what=131307 obj=complete target=com.android.internal.util.StateMachine$SmHandler } in state NotConnectedState 07-20 00:16:14.368 1589-1768/? E/WifiStateMachine: result: 0, Moved BSSID: d8:c7:c8:36:5c:a2 07-20 00:16:14.391 903-1627/? E/ClatdController: clatd already stopped 07-20 00:16:14.392 1589-1796/? E/Nat464Xlat: Error stopping clatd: java.lang.IllegalStateException: command '501 clatd stop wlan0' failed with '400 501 Clatd operation failed' 07-20 00:16:16.079 1871-1871/? E/wpa_supplicant: Cmd 35605 not handled 07-20 00:16:16.079 1871-1871/? E/wpa_supplicant: Cmd 35847 not handled 07-20 00:16:16.080 1871-1871/? E/wpa_supplicant: Cmd 35848 not handled 07-20 00:16:16.080 1871-1871/? E/wpa_supplicant: Cmd 35605 not handled 07-20 00:16:16.093 1589-1838/? E/WifiWatchdogStateMachine: Unhandled message { when=-1ms what=131309 obj=start target=com.android.internal.util.StateMachine$SmHandler } in state NotConnectedState 07-20 00:16:16.098 1589-1838/? E/WifiWatchdogStateMachine: Unhandled message { when=0 what=131307 obj=start target=com.android.internal.util.StateMachine$SmHandler } in state NotConnectedState 07-20 00:16:16.104 1589-1838/? E/WifiWatchdogStateMachine: Unhandled message { when=-1ms what=131309 obj=complete target=com.android.internal.util.StateMachine$SmHandler } in state NotConnectedState 07-20 00:16:16.117 1589-1838/? E/WifiWatchdogStateMachine: Unhandled message { when=-1ms what=131307 obj=start target=com.android.internal.util.StateMachine$SmHandler } in state NotConnectedState 07-20 00:16:16.125 1589-2026/? E/LocSvc_ApiV02: I/<--- void globalRespCb(locClientHandleType, uint32_t, const locClientRespIndUnionType, uint32_t, void *) line 157 QMI_LOC_NOTIFY_WIFI_ATTACHMENT_STATUS_REQ_V02 07-20 00:16:16.154 1589-1838/? E/WifiWatchdogStateMachine: Unhandled message { when=0 what=131307 obj=complete target=com.android.internal.util.StateMachine$SmHandler } in state NotConnectedState 07-20 00:16:16.155 1589-1768/? E/WifiStateMachine: result: 0, Moved BSSID: d8:c7:c8:36:5c:b2 07-20 00:16:16.163 903-1627/? E/ClatdController: clatd already stopped 07-20 00:16:16.165 1589-1796/? E/Nat464Xlat: Error stopping clatd: java.lang.IllegalStateException: command '502 clatd stop wlan0' failed with '400 502 Clatd operation failed' 07-20 00:16:26.923 2704-2775/? E/ContactsProvider_EventLog: Flush buffer to file cnt : 1 size : 0Kb duration : 9ms lastUpdatedAfter : 60118 ms mFlush_time_threasold : 2000 mCurrentSize : 257 07-20 00:16:28.704 1589-1633/? E/BatteryStatsService: power: Missing API 07-20 00:16:28.713 1589-1633/? E/BatteryStatsService: no controller energy info supplied 07-20 00:16:28.714 2039-2039/? E/PhoneInterfaceManager: [PhoneIntfMgr] queryModemActivityInfo: Empty response 07-20 00:16:28.730 1589-1633/? E/BatteryStatsService: modem info is invalid: ModemActivityInfo{ mTimestamp=0 mSleepTimeMs=0 mIdleTimeMs=0 mTxTimeMs[]=[0, 0, 0, 0, 0] mRxTimeMs=0 mEnergyUsed=0} 07-20 00:16:32.862 1589-2011/? E/Watchdog: !@Sync 605 [20_Jul_00_16_32.861]
I had a similar issue, and I was able to rectify it by converting the handlerClass in native-lib.cpp to a Global Ref. Please see here under the local and global ref section.
@aarun2211 kudos. that solved my issue too.
I replaced the following line
jclass handlerClass = env->FindClass(nativeClassName);
with
jclass localClass = env->FindClass(nativeClassName);
jclass handlerClass = reinterpret_cast<jclass>(env->NewGlobalRef(localClass));
To help others, im using NDK16b, realsense 2.12.0. SM-T820 device. Rooted with TWRP and SELinux set to permissive. Tested with both D435 and D415.
Additionally changes in the following pull were made too.
https://github.com/IntelRealSense/librealsense/pull/1853/commits/613722a3e6b4b0eb0bb6e839644bcd1fd0b67b71
glad it worked out!!