Skip to content

Android mlkit:pose-detection #344

Closed
Closed

Description

@liuyunlong-pro

pose-detection:17.0.1-beta4 app crashed
A/art: art/runtime/indirect_reference_table.cc:132] JNI ERROR (app bug): local reference table overflow (max=512)
A/art: art/runtime/indirect_reference_table.cc:132] local reference table dump:
A/art: art/runtime/indirect_reference_table.cc:132] Last 10 entries (of 512):
A/art: art/runtime/indirect_reference_table.cc:132] 511: 0x13092fe8 java.util.ArrayList
A/art: art/runtime/indirect_reference_table.cc:132] 510: 0x7056cae0 java.lang.Class<java.util.ArrayList>
A/art: art/runtime/indirect_reference_table.cc:132] 509: 0x7056cae0 java.lang.Class<java.util.ArrayList>
A/art: art/runtime/indirect_reference_table.cc:132] 508: 0x7056cae0 java.lang.Class<java.util.ArrayList>
A/art: art/runtime/indirect_reference_table.cc:132] 507: 0x7056cae0 java.lang.Class<java.util.ArrayList>
A/art: art/runtime/indirect_reference_table.cc:132] 506: 0x7056cae0 java.lang.Class<java.util.ArrayList>
A/art: art/runtime/indirect_reference_table.cc:132] 505: 0x7056cae0 java.lang.Class<java.util.ArrayList>
A/art: art/runtime/indirect_reference_table.cc:132] 504: 0x7056cae0 java.lang.Class<java.util.ArrayList>
A/art: art/runtime/indirect_reference_table.cc:132] 503: 0x7056cae0 java.lang.Class<java.util.ArrayList>
A/art: art/runtime/indirect_reference_table.cc:132] 502: 0x7056cae0 java.lang.Class<java.util.ArrayList>
A/art: art/runtime/indirect_reference_table.cc:132] Summary:
A/art: art/runtime/indirect_reference_table.cc:132] 511 of java.lang.Class (2 unique instances)
A/art: art/runtime/indirect_reference_table.cc:132] 1 of java.util.ArrayList
A/art: art/runtime/indirect_reference_table.cc:132]

Activity

  1. changed the title [-]MLKit-pose-detection[/-] [+]Android mlkit:pose-detection[/+] on Aug 23, 2021
  2. ai-plays commented on Aug 23, 2021

    @ai-plays
    Collaborator

    Hi liuyunlong-pro,

    Thanks for actively providing feedbacks to our SDK, but just a general ask: could you help include more details when asking a question in the future?

    For this specific issue:

    • I tried the vision-quickstart app (proguard build) with pose-detection:17.0.1-beta4 on a Pixel3XL with API30. It works fine.
    • What is your setup/steps that can reproduce this issue?
    • Does the vision-quickstart app work for you? Which devices / OS levels did you test? Did they all fail with the same crash?
    • Which build type are you using?
    • Our latest pose SDK is 17.0.1-beta5. Could you try if that works for you?

    Best,

  3. liuyunlong-pro commented on Aug 24, 2021

    @liuyunlong-pro
    Author

    HI,
    1.phone:vivo x9 with API 25
    2.17.0.1-beta5 also has problems
    3.No problem with version 17.0.1-beta3

  4. ai-plays commented on Aug 24, 2021

    @ai-plays
    Collaborator

    Hi liuyunlong,

    We tested this feature on API 25 on our devices but didn't observe the issue you mentioned. Since we don't have a vivo x9, could you help provide a bit more clarification as mentioned earlier? Specifically:

    • What is the exact steps to reproduce the issue with the mlkit vision-quickstart app? Does it happen to all StillImageActivity, LivePreviewActivity and CameraXLivePreviewActivity? Does it crash immediately after you select Pose Detection?
    • Did you try it on other devices or vivo x9 with higher API levels? Does they all fail with the same issue?

    Thanks!

  5. liuyunlong-pro commented on Aug 30, 2021

    @liuyunlong-pro
    Author

    mlkit vision-quickstart app will not have this problem.
    I wrote it according to the documentation,It is written differently from mlkit vision-quickstart app.

    image

  6. ai-plays commented on Aug 30, 2021

    @ai-plays
    Collaborator

    Hi liuyunlong-pro,

    In this github repo, we typically focus on common SDK issues and don't debug for specific apps.

    Since the vision-quickstart app works, could you try comparing the difference between your implementation and the quickstart?

    • When you say quickstart works, did you check the CameraXLivePreviewActivity?
    • When you creating your cameraX analysis use case, do you set it up in the same way as the quickstart?
    • Which version of CameraX are you using? Maybe you can try switching to the version the quickstart is using and see if the issue is still there. Please search for "camerax" in the build.gradle file and check the version.
    • ML Kit provides a CameraX helper library as well, which may help you avoid some common issues. Please check this. To use it, you need to add the following to your gradle file: implementation 'com.google.mlkit:camera:16.0.0-beta1'
  7. ai-plays commented on Sep 13, 2021

    @ai-plays
    Collaborator

    Close due to no response.

  8. tcll321 commented on Oct 26, 2021

    @tcll321

    Hi steven,
    I also encountered this error when running the mlkit vision QuickStart app. The error occurred after the app ran for 10 minutes.The error message is as follows:

    D/VisionProcessorBase: Num of Runs: 268
    Frame latency: max=359, min=72, avg=124
    Detector latency: max=306, min=49, avg=92
    D/VisionProcessorBase: Memory available in system: 3149 MB
    D/skia: onFlyCompress
    D/skia: JPEG Decode 8
    D/skia: onFlyCompress
    D/skia: JPEG Decode 9
    D/skia: onFlyCompress
    D/skia: JPEG Decode 6
    D/skia: onFlyCompress
    D/skia: JPEG Decode 10
    D/skia: onFlyCompress
    D/skia: JPEG Decode 8
    A/art: art/runtime/indirect_reference_table.cc:132] JNI ERROR (app bug): local reference table overflow (max=512)
    art/runtime/indirect_reference_table.cc:132] local reference table dump:
    art/runtime/indirect_reference_table.cc:132] Last 10 entries (of 512):
    art/runtime/indirect_reference_table.cc:132] 511: 0x12fdd148 java.util.ArrayList
    art/runtime/indirect_reference_table.cc:132] 510: 0x709ff960 java.lang.Class<java.util.ArrayList>
    art/runtime/indirect_reference_table.cc:132] 509: 0x709ff960 java.lang.Class<java.util.ArrayList>
    art/runtime/indirect_reference_table.cc:132] 508: 0x709ff960 java.lang.Class<java.util.ArrayList>
    art/runtime/indirect_reference_table.cc:132] 507: 0x709ff960 java.lang.Class<java.util.ArrayList>
    art/runtime/indirect_reference_table.cc:132] 506: 0x709ff960 java.lang.Class<java.util.ArrayList>
    art/runtime/indirect_reference_table.cc:132] 505: 0x709ff960 java.lang.Class<java.util.ArrayList>
    art/runtime/indirect_reference_table.cc:132] 504: 0x709ff960 java.lang.Class<java.util.ArrayList>
    art/runtime/indirect_reference_table.cc:132] 503: 0x709ff960 java.lang.Class<java.util.ArrayList>
    art/runtime/indirect_reference_table.cc:132] 502: 0x709ff960 java.lang.Class<java.util.ArrayList>
    art/runtime/indirect_reference_table.cc:132] Summary:
    art/runtime/indirect_reference_table.cc:132] 511 of java.lang.Class (2 unique instances)
    art/runtime/indirect_reference_table.cc:132] 1 of java.util.ArrayList
    art/runtime/indirect_reference_table.cc:132]
    A/art: art/runtime/runtime.cc:422] Runtime aborting...
    art/runtime/runtime.cc:422] Aborting thread:
    art/runtime/runtime.cc:422] "Thread-193" prio=5 tid=36 Runnable
    art/runtime/runtime.cc:422] | group="" sCount=0 dsCount=0 obj=0x12e11700 self=0x7dc3c9d400
    art/runtime/runtime.cc:422] | sysTid=16026 nice=0 cgrp=default sched=0/0 handle=0x7dc39e5450
    art/runtime/runtime.cc:422] | state=R schedstat=( 31967914935 9904068541 19610 ) utm=3112 stm=83 core=0 HZ=100
    art/runtime/runtime.cc:422] | stack=0x7dc38eb000-0x7dc38ed000 stackSize=1005KB
    art/runtime/runtime.cc:422] | held mutexes= "abort lock" "mutator lock"(shared held)
    art/runtime/runtime.cc:422] native: #00 pc 000000000047ef3c /system/lib64/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+220)
    art/runtime/runtime.cc:422] native: #1 pc 000000000047ef38 /system/lib64/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+216)
    art/runtime/runtime.cc:422] native: #2 pc 0000000000452fc4 /system/lib64/libart.so (_ZNK3art6Thread9DumpStackERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEbP12BacktraceMap+480)
    art/runtime/runtime.cc:422] native: #3 pc 0000000000440f3c /system/lib64/libart.so (_ZNK3art10AbortState10DumpThreadERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEPNS_6ThreadE+56)
    art/runtime/runtime.cc:422] native: #4 pc 0000000000440d5c /system/lib64/libart.so (_ZNK3art10AbortState4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+576)
    art/runtime/runtime.cc:422] native: #5 pc 000000000043473c /system/lib64/libart.so (_ZN3art7Runtime5AbortEPKc+148)
    art/runtime/runtime.cc:422] native: #6 pc 00000000000e5afc /system/lib64/libart.so (_ZN3art10LogMessageD2Ev+1592)
    art/runtime/runtime.cc:422] native: #7 pc 000000000024d9d8 /system/lib64/libart.so (_ZN3art22IndirectReferenceTable3AddEjPNS_6mirror6ObjectE+308)
    art/runtime/runtime.cc:422] native: #8 pc 0000000000340dc8 /system/lib64/libart.so (_ZN3art3JNI23CallStaticObjectMethodVEP7_JNIEnvP7_jclassP10_jmethodIDSt9__va_list+632)
    art/runtime/runtime.cc:422] native: #9 pc 0000000000104d30 /system/lib64/libart.so (_ZN3art8CheckJNI11CallMethodVEPKcP7_JNIEnvP8_jobjectP7_jclassP10_jmethodIDSt9__va_listNS_9Primitive4TypeENS_10InvokeTypeE+1744)
    art/runtime/runtime.cc:422] native: #10 pc 00000000000f8c4c /system/lib64/libart.so (_ZN3art8CheckJNI23CallStaticObjectMethodVEP7_JNIEnvP7_jclassP10_jmethodIDSt9__va_list+96)
    art/runtime/runtime.cc:422] native: #11 pc 0000000000287a20 /data/app/com.google.mlkit.vision.demo-2/lib/arm64/libxeno_native.so (???)
    art/runtime/runtime.cc:422] native: #12 pc 0000000000287988 /data/app/com.google.mlkit.vision.demo-2/lib/arm64/libxeno_native.so (???)
    art/runtime/runtime.cc:422] native: #13 pc 0000000000282678 /data/app/com.google.mlkit.vision.demo-2/lib/arm64/libxeno_native.so (???)
    art/runtime/runtime.cc:422] native: #14 pc 00000000005ebd78 /data/app/com.google.mlkit.vision.demo-2/lib/arm64/libxeno_native.so (???)
    art/runtime/runtime.cc:422] native: #15 pc 0000000000606774 /data/app/com.google.mlkit.vision.demo-2/lib/arm64/libxeno_native.so (???)
    art/runtime/runtime.cc:422] native: #16 pc 00000000005fcae0 /data/app/com.google.mlkit.vision.demo-2/lib/arm64/libxeno_native.so (???)
    art/runtime/runtime.cc:422] native: #17 pc 00000000005fc808 /data/app/com.google.mlkit.vision.demo-2/lib/arm64/libxeno_native.so (???)
    A/art: art/runtime/runtime.cc:422] native: #18 pc 000000000062a560 /data/app/com.google.mlkit.vision.demo-2/lib/arm64/libxeno_native.so (???)
    art/runtime/runtime.cc:422] native: #19 pc 000000000062a1e8 /data/app/com.google.mlkit.vision.demo-2/lib/arm64/libxeno_native.so (???)
    art/runtime/runtime.cc:422] native: #20 pc 0000000000068748 /system/lib64/libc.so (_ZL15__pthread_startPv+208)
    art/runtime/runtime.cc:422] native: #21 pc 000000000001da7c /system/lib64/libc.so (__start_thread+16)
    art/runtime/runtime.cc:422] (no managed stack frames)
    art/runtime/runtime.cc:422] Dumping all threads without appropriate locks held: thread list lock
    art/runtime/runtime.cc:422] All threads:
    art/runtime/runtime.cc:422] DALVIK THREADS (39):
    art/runtime/runtime.cc:422] "Thread-193" prio=5 tid=36 Runnable
    art/runtime/runtime.cc:422] | group="" sCount=0 dsCount=0 obj=0x12e11700 self=0x7dc3c9d400
    art/runtime/runtime.cc:422] | sysTid=16026 nice=0 cgrp=default sched=0/0 handle=0x7dc39e5450
    art/runtime/runtime.cc:422] | state=R schedstat=( 32018015394 9906482665 19620 ) utm=3114 stm=86 core=0 HZ=100
    art/runtime/runtime.cc:422] | stack=0x7dc38eb000-0x7dc38ed000 stackSize=1005KB
    art/runtime/runtime.cc:422] | held mutexes= "abort lock" "mutator lock"(shared held)
    art/runtime/runtime.cc:422] native: #00 pc 000000000047ef3c /system/lib64/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+220)
    art/runtime/runtime.cc:422] native: #1 pc 000000000047ef38 /system/lib64/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+216)
    art/runtime/runtime.cc:422] native: #2 pc 0000000000452fc4 /system/lib64/libart.so (_ZNK3art6Thread9DumpStackERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEbP12BacktraceMap+480)
    art/runtime/runtime.cc:422] native: #3 pc 000000000046ab4c /system/lib64/libart.so (_ZN3art14DumpCheckpoint3RunEPNS_6ThreadE+832)
    art/runtime/runtime.cc:422] native: #4 pc 0000000000462d34 /system/lib64/libart.so (_ZN3art10ThreadList13RunCheckpointEPNS_7ClosureE+476)
    art/runtime/runtime.cc:422] native: #5 pc 0000000000462924 /system/lib64/libart.so (_ZN3art10ThreadList4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEb+848)
    art/runtime/runtime.cc:422] native: #6 pc 0000000000440d6c /system/lib64/libart.so (_ZNK3art10AbortState4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+592)
    art/runtime/runtime.cc:422] native: #7 pc 000000000043473c /system/lib64/libart.so (_ZN3art7Runtime5AbortEPKc+148)
    art/runtime/runtime.cc:422] native: #8 pc 00000000000e5afc /system/lib64/libart.so (_ZN3art10LogMessageD2Ev+1592)
    art/runtime/runtime.cc:422] native: #9 pc 000000000024d9d8 /system/lib64/libart.so (_ZN3art22IndirectReferenceTable3AddEjPNS_6mirror6ObjectE+308)
    art/runtime/runtime.cc:422] native: #10 pc 0000000000340dc8 /system/lib64/libart.so (_ZN3art3JNI23CallStaticObjectMethodVEP7_JNIEnvP7_jclassP10_jmethodIDSt9__va_list+632)
    art/runtime/runtime.cc:422] native: #11 pc 0000000000104d30 /system/lib64/libart.so (_ZN3art8CheckJNI11CallMethodVEPKcP7_JNIEnvP8_jobjectP7_jclassP10_jmethodIDSt9__va_listNS_9Primitive4TypeENS_10InvokeTypeE+1744)
    art/runtime/runtime.cc:422] native: #12 pc 00000000000f8c4c /system/lib64/libart.so (_ZN3art8CheckJNI23CallStaticObjectMethodVEP7_JNIEnvP7_jclassP10_jmethodIDSt9__va_list+96)
    art/runtime/runtime.cc:422] native: #13 pc 0000000000287a20 /data/app/com.google.mlkit.vision.demo-2/lib/arm64/libxeno_native.so (???)
    art/runtime/runtime.cc:422] native: #14 pc 0000000000287988 /data/app/com.google.mlkit.vision.demo-2/lib/arm64/libxeno_native.so (???)
    art/runtime/runtime.cc:422] native: #15 pc 0000000000282678 /data/app/com.google.mlkit.vision.demo-2/lib/arm64/libxeno_native.so (???)
    art/runtime/runtime.cc:422] native: #16 pc 00000000005ebd78 /data/app/com.google.mlkit.vision.demo-2/lib/arm64/libxeno_native.so (???)
    art/runtime/runtime.cc:422] native: #17 pc 0000000000606774 /data/app/com.google.mlkit.vision.demo-2/lib/arm64/libxeno_native.so (???)
    art/runtime/runtime.cc:422] native: #18 pc 00000000005fcae0 /data/app/com.google.mlkit.vision.demo-2/lib/arm64/libxeno_native.so (???)
    art/runtime/runtime.cc:422] native: #19 pc 00000000005fc808 /data/app/com.google.mlkit.vision.demo-2/lib/arm64/libxeno_native.so (???)
    art/runtime/runtime.cc:422] native: #20 pc 000000000062a560 /data/app/com.google.mlkit.vision.demo-2/lib/arm64/libxeno_native.so (???)
    art/runtime/runtime.cc:422] native: #21 pc 000000000062a1e8 /data/app/com.google.mlkit.vision.demo-2/lib/arm64/libxeno_native.so (???)
    art/runtime/runtime.cc:422] native: #22 pc 0000000000068748 /system/lib64/libc.so (_ZL15__pthread_startPv+208)
    art/runtime/runtime.cc:422] native: #23 pc 000000000001da7c /system/lib64/libc.so (__start_thread+16)
    art/runtime/runtime.cc:422] (no managed stack frames)
    art/runtime/runtime.cc:422]
    art/runtime/runtime.cc:422] "main" prio=5 tid=1 Native
    art/runtime/runtime.cc:422] | group="" sCount=1 dsCount=0 obj=0x75d5a000 self=0x7ded695a00
    art/runtime/runtime.cc:422] | sysTid=15871 nice=-10 cgrp=default sched=0/0 handle=0x7df16c9a98
    art/runtime/runtime.cc:422] | state=S schedstat=( 115134967997 14075945143 61791 ) utm=10522 stm=990 core=2 HZ=100
    A/art: art/runtime/runtime.cc:422] | stack=0x7fc4006000-0x7fc4008000 stackSize=8MB
    art/runtime/runtime.cc:422] | held mutexes=
    art/runtime/runtime.cc:422] kernel: __switch_to+0x8c/0xb4
    art/runtime/runtime.cc:422] kernel: SyS_epoll_wait+0x2cc/0x358
    art/runtime/runtime.cc:422] kernel: SyS_epoll_pwait+0xbc/0x124
    art/runtime/runtime.cc:422] kernel: el0_svc_naked+0x24/0x28
    art/runtime/runtime.cc:422] native: #00 pc 000000000006ab80 /system/lib64/libc.so (__epoll_pwait+8)
    art/runtime/runtime.cc:422] native: #1 pc 000000000001e1a4 /system/lib64/libc.so (epoll_pwait+64)
    art/runtime/runtime.cc:422] native: #2 pc 0000000000018010 /system/lib64/libutils.so (_ZN7android6Looper9pollInnerEi+156)
    art/runtime/runtime.cc:422] native: #3 pc 0000000000017eb4 /system/lib64/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+60)
    art/runtime/runtime.cc:422] native: #4 pc 00000000000f7104 /system/lib64/libandroid_runtime.so (_ZN7android18NativeMessageQueue8pollOnceEP7_JNIEnvP8_jobjecti+48)
    art/runtime/runtime.cc:422] native: #5 pc 00000000008af8a0 /system/framework/arm64/boot-framework.oat (Java_android_os_MessageQueue_nativePollOnce__JI+140)
    art/runtime/runtime.cc:422] at android.os.MessageQueue.nativePollOnce(Native method)
    art/runtime/runtime.cc:422] at android.os.MessageQueue.next(MessageQueue.java:323)
    art/runtime/runtime.cc:422] at android.os.Looper.loop(Looper.java:136)
    art/runtime/runtime.cc:422] at android.app.ActivityThread.main(ActivityThread.java:6141)
    art/runtime/runtime.cc:422] at java.lang.reflect.Method.invoke!(Native method)
    art/runtime/runtime.cc:422] at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:913)
    art/runtime/runtime.cc:422] at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:803)
    art/runtime/runtime.cc:422]
    art/runtime/runtime.cc:422] "Jit thread pool worker thread 0" prio=5 tid=2 Native
    art/runtime/runtime.cc:422] | group="" sCount=1 dsCount=0 obj=0x12dad0d0 self=0x7de260d000
    art/runtime/runtime.cc:422] | sysTid=15876 nice=9 cgrp=default sched=0/0 handle=0x7deccf9450
    art/runtime/runtime.cc:422] | state=S schedstat=( 1216278008 1195361788 1314 ) utm=102 stm=18 core=4 HZ=100
    art/runtime/runtime.cc:422] | stack=0x7decbfb000-0x7decbfd000 stackSize=1021KB
    art/runtime/runtime.cc:422] | held mutexes=
    art/runtime/runtime.cc:422] kernel: __switch_to+0x8c/0xb4
    art/runtime/runtime.cc:422] kernel: futex_wait_queue_me+0xc4/0x12c
    art/runtime/runtime.cc:422] kernel: futex_wait+0xdc/0x1dc
    art/runtime/runtime.cc:422] kernel: do_futex+0xe0/0xac8
    art/runtime/runtime.cc:422] kernel: SyS_futex+0x144/0x174
    art/runtime/runtime.cc:422] kernel: el0_svc_naked+0x24/0x28
    art/runtime/runtime.cc:422] native: #00 pc 000000000001bcec /system/lib64/libc.so (syscall+28)
    art/runtime/runtime.cc:422] native: #1 pc 00000000000e7e4c /system/lib64/libart.so (_ZN3art17ConditionVariable16WaitHoldingLocksEPNS_6ThreadE+156)
    art/runtime/runtime.cc:422] native: #2 pc 000000000046c910 /system/lib64/libart.so (_ZN3art10ThreadPool7GetTaskEPNS_6ThreadE+248)
    art/runtime/runtime.cc:422] native: #3 pc 000000000046bdac /system/lib64/libart.so (_ZN3art16ThreadPoolWorker3RunEv+124)
    art/runtime/runtime.cc:422] native: #4 pc 000000000046b6d0 /system/lib64/libart.so (_ZN3art16ThreadPoolWorker8CallbackEPv+132)
    art/runtime/runtime.cc:422] native: #5 pc 0000000000068748 /system/lib64/libc.so (_ZL15__pthread_startPv+208)
    art/runtime/runtime.cc:422] native: #6 pc 000000000001da7c /system/lib64/libc.so (__start_thread+16)
    art/runtime/runtime.cc:422] (no managed stack frames)
    art/runtime/runtime.cc:422]
    art/runtime/runtime.cc:422] "Signal Catcher" prio=5 tid=3 WaitingInMainSignalCatcherLoop
    art/runtime/runtime.cc:422] | group="" sCount=1 dsCount=0 obj=0x12dad160 self=0x7ddd00d400
    A/art: art/runtime/runtime.cc:422] | sysTid=15877 nice=0 cgrp=default sched=0/0 handle=0x7decbf8450
    art/runtime/runtime.cc:422] | state=S schedstat=( 287625 0 1 ) utm=0 stm=0 core=5 HZ=100
    art/runtime/runtime.cc:422] | stack=0x7decafe000-0x7decb00000 stackSize=1005KB
    art/runtime/runtime.cc:422] | held mutexes=
    art/runtime/runtime.cc:422] kernel: __switch_to+0x8c/0xb4
    art/runtime/runtime.cc:422] kernel: do_sigtimedwait+0x104/0x1cc
    art/runtime/runtime.cc:422] kernel: SyS_rt_sigtimedwait+0xc4/0x10c
    art/runtime/runtime.cc:422] kernel: el0_svc_naked+0x24/0x28
    art/runtime/runtime.cc:422] native: #00 pc 000000000006ad60 /system/lib64/libc.so (__rt_sigtimedwait+8)
    art/runtime/runtime.cc:422] native: #1 pc 0000000000024d48 /system/lib64/libc.so (sigwait+64)
    art/runtime/runtime.cc:422] native: #2 pc 00000000004456a0 /system/lib64/libart.so (_ZN3art9SignalSet4WaitEv+48)
    art/runtime/runtime.cc:422] native: #3 pc 000000000044515c /system/lib64/libart.so (_ZN3art13SignalCatcher13WaitForSignalEPNS_6ThreadERNS_9SignalSetE+232)
    art/runtime/runtime.cc:422] native: #4 pc 00000000004436f0 /system/lib64/libart.so (_ZN3art13SignalCatcher3RunEPv+400)
    art/runtime/runtime.cc:422] native: #5 pc 0000000000068748 /system/lib64/libc.so (_ZL15__pthread_startPv+208)
    art/runtime/runtime.cc:422] native: #6 pc 000000000001da7c /system/lib64/libc.so (__start_thread+16)
    art/runtime/runtime.cc:422] (no managed stack frames)
    art/runtime/runtime.cc:422]
    art/runtime/runtime.cc:422] "JDWP" prio=5 tid=4 WaitingInMainDebuggerLoop
    art/runtime/runtime.cc:422] | group="" sCount=1 dsCount=0 obj=0x12dad1f0 self=0x7de2616400
    art/runtime/runtime.cc:422] | sysTid=15878 nice=0 cgrp=default sched=0/0 handle=0x7decafb450
    art/runtime/runtime.cc:422] | state=S schedstat=( 2749291 87500 7 ) utm=0 stm=0 core=0 HZ=100
    art/runtime/runtime.cc:422] | stack=0x7deca01000-0x7deca03000 stackSize=1005KB
    art/runtime/runtime.cc:422] | held mutexes=
    art/runtime/runtime.cc:422] kernel: __switch_to+0x8c/0xb4
    art/runtime/runtime.cc:422] kernel: poll_schedule_timeout+0x50/0x8c
    art/runtime/runtime.cc:422] kernel: do_select+0x214/0x4ec
    art/runtime/runtime.cc:422] kernel: core_sys_select+0x26c/0x394
    art/runtime/runtime.cc:422] kernel: SyS_pselect6+0x24c/0x2f0
    art/runtime/runtime.cc:422] kernel: el0_svc_naked+0x24/0x28
    art/runtime/runtime.cc:422] native: #00 pc 000000000006acb8 /system/lib64/libc.so (__pselect6+8)
    art/runtime/runtime.cc:422] native: #1 pc 0000000000023244 /system/lib64/libc.so (select+156)
    art/runtime/runtime.cc:422] native: #2 pc 00000000005581d0 /system/lib64/libart.so (_ZN3art4JDWP12JdwpAdbState15ProcessIncomingEv+348)
    art/runtime/runtime.cc:422] native: #3 pc 00000000003052b4 /system/lib64/libart.so (_ZN3art4JDWP9JdwpState3RunEv+916)
    art/runtime/runtime.cc:422] native: #4 pc 0000000000304764 /system/lib64/libart.so (_ZN3art4JDWPL15StartJdwpThreadEPv+48)
    art/runtime/runtime.cc:422] native: #5 pc 0000000000068748 /system/lib64/libc.so (_ZL15__pthread_startPv+208)
    art/runtime/runtime.cc:422] native: #6 pc 000000000001da7c /system/lib64/libc.so (__start_thread+16)
    art/runtime/runtime.cc:422] (no managed stack frames)
    art/runtime/runtime.cc:422]
    art/runtime/runtime.cc:422] "ReferenceQueueDaemon" prio=5 tid=5 Waiting
    art/runtime/runtime.cc:422] | group="" sCount=1 dsCount=0 obj=0x12dad280 self=0x7ded72fc00
    art/runtime/runtime.cc:422] | sysTid=15879 nice=0 cgrp=default sched=0/0 handle=0x7dec9fe450
    art/runtime/runtime.cc:422] | state=S schedstat=( 679218846 254868299 5172 ) utm=52 stm=14 core=1 HZ=100
    A/art: art/runtime/runtime.cc:422] | stack=0x7dec8fc000-0x7dec8fe000 stackSize=1037KB
    art/runtime/runtime.cc:422] | held mutexes=
    art/runtime/runtime.cc:422] kernel: __switch_to+0x8c/0xb4
    art/runtime/runtime.cc:422] kernel: futex_wait_queue_me+0xc4/0x12c
    art/runtime/runtime.cc:422] kernel: futex_wait+0xdc/0x1dc
    art/runtime/runtime.cc:422] kernel: do_futex+0xe0/0xac8
    art/runtime/runtime.cc:422] kernel: SyS_futex+0x144/0x174
    art/runtime/runtime.cc:422] kernel: el0_svc_naked+0x24/0x28
    art/runtime/runtime.cc:422] native: #00 pc 000000000001bcec /system/lib64/libc.so (syscall+28)
    art/runtime/runtime.cc:422] native: #1 pc 00000000000e7e4c /system/lib64/libart.so (ZN3art17ConditionVariable16WaitHoldingLocksEPNS_6ThreadE+156)
    art/runtime/runtime.cc:422] native: #2 pc 000000000037c0ac /system/lib64/libart.so (ZN3art7Monitor4WaitEPNS_6ThreadElibNS_11ThreadStateE+660)
    art/runtime/runtime.cc:422] native: #3 pc 0000000000000810 /system/framework/arm64/boot.oat (Java_java_lang_Object_wait
    +124)
    art/runtime/runtime.cc:422] at java.lang.Object.wait!(Native method)
    art/runtime/runtime.cc:422] - waiting on <0x04ea20cc> (a java.lang.Class<java.lang.ref.ReferenceQueue>)
    art/runtime/runtime.cc:422] at java.lang.Daemons$ReferenceQueueDaemon.run(Daemons.java:150)
    art/runtime/runtime.cc:422] - locked <0x04ea20cc> (a java.lang.Class<java.lang.ref.ReferenceQueue>)
    art/runtime/runtime.cc:422] at java.lang.Thread.run(Thread.java:761)
    art/runtime/runtime.cc:422]
    art/runtime/runtime.cc:422] "FinalizerDaemon" prio=5 tid=6 Waiting
    art/runtime/runtime.cc:422] | group="" sCount=1 dsCount=0 obj=0x12dad310 self=0x7ded730600
    art/runtime/runtime.cc:422] | sysTid=15880 nice=0 cgrp=default sched=0/0 handle=0x7dd1ee6450
    art/runtime/runtime.cc:422] | state=S schedstat=( 527253295 229456444 3095 ) utm=41 stm=11 core=2 HZ=100
    art/runtime/runtime.cc:422] | stack=0x7dd1de4000-0x7dd1de6000 stackSize=1037KB
    art/runtime/runtime.cc:422] | held mutexes=
    art/runtime/runtime.cc:422] kernel: __switch_to+0x8c/0xb4
    art/runtime/runtime.cc:422] kernel: futex_wait_queue_me+0xc4/0x12c
    art/runtime/runtime.cc:422] kernel: futex_wait+0xdc/0x1dc
    art/runtime/runtime.cc:422] kernel: do_futex+0xe0/0xac8
    art/runtime/runtime.cc:422] kernel: SyS_futex+0x144/0x174
    art/runtime/runtime.cc:422] kernel: el0_svc_naked+0x24/0x28
    art/runtime/runtime.cc:422] native: #00 pc 000000000001bcec /system/lib64/libc.so (syscall+28)
    art/runtime/runtime.cc:422] native: #1 pc 00000000000e7e4c /system/lib64/libart.so (_ZN3art17ConditionVariable16WaitHoldingLocksEPNS_6ThreadE+156)
    art/runtime/runtime.cc:422] native: #2 pc 000000000037c0ac /system/lib64/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadElibNS_11ThreadStateE+660)
    art/runtime/runtime.cc:422] native: #3 pc 0000000000000980 /system/framework/arm64/boot.oat (Java_java_lang_Object_wait__JI+140)
    art/runtime/runtime.cc:422] at java.lang.Object.wait!(Native method)
    art/runtime/runtime.cc:422] - waiting on <0x07764f15> (a java.lang.Object)
    art/runtime/runtime.cc:422] at java.lang.Object.wait(Object.java:407)
    art/runtime/runtime.cc:422] at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:188)
    art/runtime/runtime.cc:422] - locked <0x07764f15> (a java.lang.Object)
    art/runtime/runtime.cc:422] at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:209)
    art/runtime/runtime.cc:422] at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:204)
    art/runtime/runtime.cc:422] at java.lang.Thread.run(Thread.java:761)
    art/runtime/runtime.cc:422]
    art/runtime/runtime.cc:422] "FinalizerWatchdogDaemon" prio=5 tid=7 Sleeping
    A/art: art/runtime/runtime.cc:422] | group="" sCount=1 dsCount=0 obj=0x12dad3a0 self=0x7ddd00c000
    art/runtime/runtime.cc:422] | sysTid=15881 nice=0 cgrp=default sched=0/0 handle=0x7dd1de1450
    art/runtime/runtime.cc:422] | state=S schedstat=( 10159127 20764336 142 ) utm=0 stm=0 core=1 HZ=100
    art/runtime/runtime.cc:422] | stack=0x7dd1cdf000-0x7dd1ce1000 stackSize=1037KB
    art/runtime/runtime.cc:422] | held mutexes=
    art/runtime/runtime.cc:422] kernel: __switch_to+0x8c/0xb4
    art/runtime/runtime.cc:422] kernel: futex_wait_queue_me+0xc4/0x12c
    art/runtime/runtime.cc:422] kernel: futex_wait+0xdc/0x1dc
    art/runtime/runtime.cc:422] kernel: do_futex+0xe0/0xac8
    art/runtime/runtime.cc:422] kernel: SyS_futex+0x144/0x174
    art/runtime/runtime.cc:422] kernel: el0_svc_naked+0x24/0x28
    art/runtime/runtime.cc:422] native: #00 pc 000000000001bcf0 /system/lib64/libc.so (syscall+32)
    art/runtime/runtime.cc:422] native: #1 pc 00000000000e83ec /system/lib64/libart.so (_ZN3art17ConditionVariable9TimedWaitEPNS_6ThreadEli+176)
    art/runtime/runtime.cc:422] native: #2 pc 000000000037c0bc /system/lib64/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadElibNS_11ThreadStateE+676)
    art/runtime/runtime.cc:422] native: #3 pc 00000000000b8288 /system/framework/arm64/boot.oat (Java_java_lang_Thread_sleep__Ljava_lang_Object_2JI+164)
    art/runtime/runtime.cc:422] at java.lang.Thread.sleep!(Native method)
    art/runtime/runtime.cc:422] - sleeping on <0x08b6422a> (a java.lang.Object)
    art/runtime/runtime.cc:422] at java.lang.Thread.sleep(Thread.java:371)
    art/runtime/runtime.cc:422] - locked <0x08b6422a> (a java.lang.Object)
    art/runtime/runtime.cc:422] at java.lang.Thread.sleep(Thread.java:313)
    art/runtime/runtime.cc:422] at java.lang.Daemons$FinalizerWatchdogDaemon.sleepFor(Daemons.java:314)
    art/runtime/runtime.cc:422] at java.lang.Daemons$FinalizerWatchdogDaemon.waitForFinalization(Daemons.java:336)
    art/runtime/runtime.cc:422] at java.lang.Daemons$FinalizerWatchdogDaemon.run(Daemons.java:253)
    art/runtime/runtime.cc:422] at java.lang.Thread.run(Thread.java:761)
    art/runtime/runtime.cc:422]
    art/runtime/runtime.cc:422] "HeapTaskDaemon" prio=5 tid=8 Blocked
    art/runtime/runtime.cc:422] | group="" sCount=1 dsCount=0 obj=0x12dad430 self=0x7ddd00ca00
    art/runtime/runtime.cc:422] | sysTid=15882 nice=0 cgrp=default sched=0/0 handle=0x7dd1cdc450
    art/runtime/runtime.cc:422] | state=S schedstat=( 44969930173 21931590418 23009 ) utm=3974 stm=521 core=4 HZ=100
    art/runtime/runtime.cc:422] | stack=0x7dd1bda000-0x7dd1bdc000 stackSize=1037KB
    art/runtime/runtime.cc:422] | held mutexes=
    art/runtime/runtime.cc:422] kernel: __switch_to+0x8c/0xb4
    art/runtime/runtime.cc:422] kernel: futex_wait_queue_me+0xc4/0x12c
    art/runtime/runtime.cc:422] kernel: futex_wait+0xdc/0x1dc
    art/runtime/runtime.cc:422] kernel: do_futex+0xe0/0xac8
    art/runtime/runtime.cc:422] kernel: SyS_futex+0x144/0x174
    art/runtime/runtime.cc:422] kernel: el0_svc_naked+0x24/0x28
    art/runtime/runtime.cc:422] native: #00 pc 000000000001bcf0 /system/lib64/libc.so (syscall+32)
    art/runtime/runtime.cc:422] native: #1 pc 00000000000e83ec /system/lib64/libart.so (_ZN3art17ConditionVariable9TimedWaitEPNS_6ThreadEli+176)
    art/runtime/runtime.cc:422] native: #2 pc 00000000002428fc /system/lib64/libart.so (ZN3art2gc13TaskProcessor7GetTaskEPNS_6ThreadE+344)
    art/runtime/runtime.cc:422] native: #3 pc 00000000002431f0 /system/lib64/libart.so (ZN3art2gc13TaskProcessor11RunAllTasksEPNS_6ThreadE+92)
    art/runtime/runtime.cc:422] native: #4 pc 00000000001e6ac0 /system/framework/arm64/boot-core-libart.oat (Java_dalvik_system_VMRuntime_runHeapTasks
    +124)
    art/runtime/runtime.cc:422] at dalvik.system.VMRuntime.runHeapTasks(Native method)
    A/art: art/runtime/runtime.cc:422] - waiting to lock an unknown object
    art/runtime/runtime.cc:422] at java.lang.Daemons$HeapTaskDaemon.run(Daemons.java:433)
    art/runtime/runtime.cc:422] at java.lang.Thread.run(Thread.java:761)
    art/runtime/runtime.cc:422]
    art/runtime/runtime.cc:422] "Binder:15871_1" prio=5 tid=9 Native
    art/runtime/runtime.cc:422] | group="" sCount=1 dsCount=0 obj=0x12dad5e0 self=0x7ded72d400
    art/runtime/runtime.cc:422] | sysTid=15883 nice=0 cgrp=default sched=0/0 handle=0x7dd1ad4450
    art/runtime/runtime.cc:422] | state=S schedstat=( 8615581 2592917 22 ) utm=0 stm=0 core=3 HZ=100
    art/runtime/runtime.cc:422] | stack=0x7dd19da000-0x7dd19dc000 stackSize=1005KB
    art/runtime/runtime.cc:422] | held mutexes=
    art/runtime/runtime.cc:422] kernel: __switch_to+0x8c/0xb4
    art/runtime/runtime.cc:422] kernel: binder_thread_read+0x380/0x11b0
    art/runtime/runtime.cc:422] kernel: binder_ioctl_write_read+0x13c/0x2f8
    A/art: art/runtime/runtime.cc:422] kernel: binder_ioctl+0x1f8/0x660
    art/runtime/runtime.cc:422] kernel: do_vfs_ioctl+0xa4/0x7d8
    art/runtime/runtime.cc:422] kernel: SyS_ioctl+0x5c/0x8c
    art/runtime/runtime.cc:422] kernel: el0_svc_naked+0x24/0x28
    art/runtime/runtime.cc:422] native: #00 pc 000000000006ac6c /system/lib64/libc.so (__ioctl+4)
    art/runtime/runtime.cc:422] native: #1 pc 000000000001fab4 /system/lib64/libc.so (ioctl+140)
    art/runtime/runtime.cc:422] native: #2 pc 00000000000555b0 /system/lib64/libbinder.so (_ZN7android14IPCThreadState14talkWithDriverEb+264)
    art/runtime/runtime.cc:422] native: #3 pc 0000000000055714 /system/lib64/libbinder.so (_ZN7android14IPCThreadState20getAndExecuteCommandEv+24)
    A/art: art/runtime/runtime.cc:422] native: #4 pc 0000000000055e4c /system/lib64/libbinder.so (_ZN7android14IPCThreadState14joinThreadPoolEb+72)
    art/runtime/runtime.cc:422] native: #5 pc 0000000000072d94 /system/lib64/libbinder.so (???)
    art/runtime/runtime.cc:422] native: #6 pc 000000000001245c /system/lib64/libutils.so (_ZN7android6Thread11_threadLoopEPv+272)
    art/runtime/runtime.cc:422] native: #7 pc 00000000000a2530 /system/lib64/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+116)
    art/runtime/runtime.cc:422] native: #8 pc 0000000000068748 /system/lib64/libc.so (_ZL15__pthread_startPv+208)
    art/runtime/runtime.cc:422] native: #9 pc 000000000001da7c /system/lib64/libc.so (__start_thread+16)
    art/runtime/runtime.cc:422] (no managed stack frames)
    art/runtime/runtime.cc:422]
    art/runtime/runtime.cc:422] "Binder:15871_2" prio=5 tid=10 Native
    art/runtime/runtime.cc:422] | group="" sCount=1 dsCount=0 obj=0x12dad670 self=0x7de2627800
    art/runtime/runtime.cc:422] | sysTid=15884 nice=0 cgrp=default sched=0/0 handle=0x7dd19d2450
    art/runtime/runtime.cc:422] | state=S schedstat=( 15471749 23141294 53 ) utm=0 stm=0 core=3 HZ=100
    art/runtime/runtime.cc:422] | stack=0x7dd18d8000-0x7dd18da000 stackSize=1005KB
    art/runtime/runtime.cc:422] | held mutexes=
    art/runtime/runtime.cc:422] kernel: __switch_to+0x8c/0xb4
    art/runtime/runtime.cc:422] kernel: binder_thread_read+0x380/0x11b0
    art/runtime/runtime.cc:422] kernel: binder_ioctl_write_read+0x13c/0x2f8
    art/runtime/runtime.cc:422] kernel: binder_ioctl+0x1f8/0x660
    art/runtime/runtime.cc:422] kernel: do_vfs_ioctl+0xa4/0x7d8
    art/runtime/runtime.cc:422] kernel: SyS_ioctl+0x5c/0x8c
    art/runtime/runtime.cc:422] kernel: el0_svc_naked+0x24/0x28
    art/runtime/runtime.cc:422] native: #00 pc 000000000006ac6c /system/lib64/libc.so (__ioctl+4)
    art/runtime/runtime.cc:422] native: #1 pc 000000000001fab4 /system/lib64/libc.so (ioctl+140)
    art/runtime/runtime.cc:422] native: #2 pc 00000000000555b0 /system/lib64/libbinder.so (_ZN7android14IPCThreadState14talkWithDriverEb+264)
    art/runtime/runtime.cc:422] native: #3 pc 0000000000055714 /system/lib64/libbinder.so (_ZN7android14IPCThreadState20getAndExecuteCommandEv+24)
    art/runtime/runtime.cc:422] native: #4 pc 0000000000055e4c /system/lib64/libbinder.so (_ZN7android14IPCThreadState14joinThreadPoolEb+72)
    art/runtime/runtime.cc:422] native: #5 pc 0000000000072d94 /system/lib64/libbinder.so (???)
    art/runtime/runtime.cc:422] native: #6 pc 000000000001245c /system/lib64/libutils.so (_ZN7android6Thread11_threadLoopEPv+272)
    art/runtime/runtime.cc:422] native: #7 pc 00000000000a2530 /system/lib64/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+116)
    art/runtime/runtime.cc:422] native: #8 pc 0000000000068748 /system/lib64/libc.so (_ZL15__pthread_startPv+208)
    art/runtime/runtime.cc:422] native: #9 pc 000000000001da7c /system/lib64/libc.so (__start_thread+16)
    art/runtime/runtime.cc:422] (no managed stack frames)
    art/runtime/runtime.cc:422]
    art/runtime/runtime.cc:422] "Profile Saver" prio=5 tid=11 Native
    art/runtime/runtime.cc:422] | group="" sCount=1 dsCount=0 obj=0x12dad9d0 self=0x7de55c7c00
    art/runtime/runtime.cc:422] | sysTid=15885 nice=-10 cgrp=default sched=0/0 handle=0x7dd0557450
    art/runtime/runtime.cc:422] | state=S schedstat=( 35522083 2006084 50 ) utm=2 stm=0 core=5 HZ=100
    art/runtime/runtime.cc:422] | stack=0x7dd045d000-0x7dd045f000 stackSize=1005KB
    art/runtime/runtime.cc:422] | held mutexes=
    art/runtime/runtime.cc:422] kernel: __switch_to+0x8c/0xb4
    art/runtime/runtime.cc:422] kernel: futex_wait_queue_me+0xc4/0x12c
    art/runtime/runtime.cc:422] kernel: futex_wait+0xdc/0x1dc
    art/runtime/runtime.cc:422] kernel: do_futex+0xe0/0xac8
    art/runtime/runtime.cc:422] kernel: SyS_futex+0x144/0x174
    A/art: art/runtime/runtime.cc:422] kernel: el0_svc_naked+0x24/0x28
    art/runtime/runtime.cc:422] native: #00 pc 000000000001bcec /system/lib64/libc.so (syscall+28)
    art/runtime/runtime.cc:422] native: #1 pc 00000000000e7e4c /system/lib64/libart.so (_ZN3art17ConditionVariable16WaitHoldingLocksEPNS_6ThreadE+156)
    art/runtime/runtime.cc:422] native: #2 pc 000000000031e614 /system/lib64/libart.so (_ZN3art12ProfileSaver3RunEv+284)
    art/runtime/runtime.cc:422] native: #3 pc 000000000031fd4c /system/lib64/libart.so (_ZN3art12ProfileSaver21RunProfileSaverThreadEPv+100)
    art/runtime/runtime.cc:422] native: #4 pc 0000000000068748 /system/lib64/libc.so (_ZL15__pthread_startPv+208)
    art/runtime/runtime.cc:422] native: #5 pc 000000000001da7c /system/lib64/libc.so (__start_thread+16)
    art/runtime/runtime.cc:422] (no managed stack frames)
    art/runtime/runtime.cc:422]
    art/runtime/runtime.cc:422] "RenderThread" prio=5 tid=12 Native
    art/runtime/runtime.cc:422] | group="" sCount=1 dsCount=0 obj=0x12e27b80 self=0x7de262dc00
    art/runtime/runtime.cc:422] | sysTid=15887 nice=-10 cgrp=default sched=0/0 handle=0x7dd029b450
    art/runtime/runtime.cc:422] | state=S schedstat=( 32467169329 9488667440 44101 ) utm=2797 stm=449 core=3 HZ=100
    art/runtime/runtime.cc:422] | stack=0x7dd01a1000-0x7dd01a3000 stackSize=1005KB
    art/runtime/runtime.cc:422] | held mutexes=
    art/runtime/runtime.cc:422] kernel: __switch_to+0x8c/0xb4
    art/runtime/runtime.cc:422] kernel: SyS_epoll_wait+0x2cc/0x358
    art/runtime/runtime.cc:422] kernel: SyS_epoll_pwait+0xbc/0x124
    art/runtime/runtime.cc:422] kernel: el0_svc_naked+0x24/0x28
    art/runtime/runtime.cc:422] native: #00 pc 000000000006ab80 /system/lib64/libc.so (__epoll_pwait+8)
    art/runtime/runtime.cc:422] native: #1 pc 000000000001e1a4 /system/lib64/libc.so (epoll_pwait+64)
    art/runtime/runtime.cc:422] native: #2 pc 0000000000018010 /system/lib64/libutils.so (_ZN7android6Looper9pollInnerEi+156)
    art/runtime/runtime.cc:422] native: #3 pc 0000000000017eb4 /system/lib64/libutils.so (_ZN7android6Looper8pollOnceEiPiS1_PPv+60)
    art/runtime/runtime.cc:422] native: #4 pc 000000000003ad30 /system/lib64/libhwui.so (_ZN7android10uirenderer12renderthread12RenderThread10threadLoopEv+664)
    art/runtime/runtime.cc:422] native: #5 pc 000000000001245c /system/lib64/libutils.so (_ZN7android6Thread11_threadLoopEPv+272)
    art/runtime/runtime.cc:422] native: #6 pc 00000000000a2530 /system/lib64/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+116)
    art/runtime/runtime.cc:422] native: #7 pc 0000000000068748 /system/lib64/libc.so (_ZL15__pthread_startPv+208)
    art/runtime/runtime.cc:422] native: #8 pc 000000000001da7c /system/lib64/libc.so (__start_thread+16)
    art/runtime/runtime.cc:422] (no managed stack frames)
    art/runtime/runtime.cc:422]
    art/runtime/runtime.cc:422] "hwuiTask1" prio=5 tid=13 Native
    art/runtime/runtime.cc:422] | group="" sCount=1 dsCount=0 obj=0x12e27c10 self=0x7ddd023000
    art/runtime/runtime.cc:422] | sysTid=15908 nice=-2 cgrp=default sched=0/0 handle=0x7dcf1ff450
    art/runtime/runtime.cc:422] | state=S schedstat=( 366524896 1850014830 3355 ) utm=27 stm=8 core=4 HZ=100
    art/runtime/runtime.cc:422] | stack=0x7dcf105000-0x7dcf107000 stackSize=1005KB
    art/runtime/runtime.cc:422] | held mutexes=
    art/runtime/runtime.cc:422] kernel: __switch_to+0x8c/0xb4
    art/runtime/runtime.cc:422] kernel: futex_wait_queue_me+0xc4/0x12c
    art/runtime/runtime.cc:422] kernel: futex_wait+0xdc/0x1dc
    art/runtime/runtime.cc:422] kernel: do_futex+0xe0/0xac8
    art/runtime/runtime.cc:422] kernel: SyS_futex+0x144/0x174
    art/runtime/runtime.cc:422] kernel: el0_svc_naked+0x24/0x28
    art/runtime/runtime.cc:422] native: #00 pc 000000000001bcec /system/lib64/libc.so (syscall+28)
    art/runtime/runtime.cc:422] native: #1 pc 0000000000067e78 /system/lib64/libc.so (pthread_cond_wait+96)
    art/runtime/runtime.cc:422] native: #2 pc 000000000003bbec /system/lib64/libhwui.so (???)
    A/art: art/runtime/runtime.cc:422] native: #3 pc 000000000001245c /system/lib64/libutils.so (_ZN7android6Thread11_threadLoopEPv+272)
    art/runtime/runtime.cc:422] native: #4 pc 00000000000a2530 /system/lib64/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+116)
    art/runtime/runtime.cc:422] native: #5 pc 0000000000068748 /system/lib64/libc.so (_ZL15__pthread_startPv+208)
    art/runtime/runtime.cc:422] native: #6 pc 000000000001da7c /system/lib64/libc.so (__start_thread+16)
    art/runtime/runtime.cc:422] (no managed stack frames)
    art/runtime/runtime.cc:422]
    art/runtime/runtime.cc:422] "Binder:15871_3" prio=5 tid=14 Native
    art/runtime/runtime.cc:422] | group="" sCount=1 dsCount=0 obj=0x12e8f160 self=0x7dceaf6000
    art/runtime/runtime.cc:422] | sysTid=15928 nice=0 cgrp=default sched=0/0 handle=0x7dce17f450
    art/runtime/runtime.cc:422] | state=S schedstat=( 7744395724 9230000225 25720 ) utm=395 stm=378 core=0 HZ=100
    art/runtime/runtime.cc:422] | stack=0x7dce085000-0x7dce087000 stackSize=1005KB
    art/runtime/runtime.cc:422] | held mutexes=
    art/runtime/runtime.cc:422] kernel: __switch_to+0x8c/0xb4
    art/runtime/runtime.cc:422] kernel: futex_wait_queue_me+0xc4/0x12c
    art/runtime/runtime.cc:422] kernel: futex_wait+0xdc/0x1dc
    art/runtime/runtime.cc:422] kernel: do_futex+0xe0/0xac8
    art/runtime/runtime.cc:422] kernel: SyS_futex+0x144/0x174
    art/runtime/runtime.cc:422] kernel: el0_svc_naked+0x24/0x28
    art/runtime/runtime.cc:422] native: #00 pc 000000000001bcec /system/lib64/libc.so (syscall+28)
    art/runtime/runtime.cc:422] native: #1 pc 00000000000e7e4c /system/lib64/libart.so (_ZN3art17ConditionVariable16WaitHoldingLocksEPNS_6ThreadE+156)
    art/runtime/runtime.cc:422] native: #2 pc 0000000000103934 /system/lib64/libart.so (_ZN3art8CheckJNI6NewRefEPKcP7_JNIEnvP8_jobjectNS_15IndirectRefKindE+296)
    art/runtime/runtime.cc:422] native: #3 pc 0000000000133ec8 /system/lib64/libandroid_runtime.so (_ZN16JNICameraContext17getCallbackBufferEP7_JNIEnvPN7android6VectorIP11_jbyteArrayEEm+96)
    art/runtime/runtime.cc:422] native: #4 pc 00000000001340ac /system/lib64/libandroid_runtime.so (_ZN16JNICameraContext11copyAndPostEP7_JNIEnvRKN7android2spINS2_7IMemoryEEEi+360)
    art/runtime/runtime.cc:422] native: #5 pc 000000000013466c /system/lib64/libandroid_runtime.so (_ZN16JNICameraContext8postDataEiRKN7android2spINS0_7IMemoryEEEP21camera_frame_metadata+104)
    art/runtime/runtime.cc:422] native: #6 pc 000000000003bc1c /system/lib64/libcamera_client.so (_ZN7android6Camera12dataCallbackEiRKNS_2spINS_7IMemoryEEEP21camera_frame_metadata+168)
    art/runtime/runtime.cc:422] native: #7 pc 00000000000446a8 /system/lib64/libcamera_client.so (_ZN7android8hardware14BnCameraClient10onTransactEjRKNS_6ParcelEPS2_j+624)
    art/runtime/runtime.cc:422] native: #8 pc 0000000000049e74 /system/lib64/libbinder.so (_ZN7android7BBinder8transactEjRKNS_6ParcelEPS1_j+132)
    art/runtime/runtime.cc:422] native: #9 pc 0000000000055c34 /system/lib64/libbinder.so (_ZN7android14IPCThreadState14executeCommandEi+992)
    art/runtime/runtime.cc:422] native: #10 pc 0000000000055798 /system/lib64/libbinder.so (_ZN7android14IPCThreadState20getAndExecuteCommandEv+156)
    art/runtime/runtime.cc:422] native: #11 pc 0000000000055e4c /system/lib64/libbinder.so (_ZN7android14IPCThreadState14joinThreadPoolEb+72)
    art/runtime/runtime.cc:422] native: #12 pc 0000000000072d94 /system/lib64/libbinder.so (???)
    art/runtime/runtime.cc:422] native: #13 pc 000000000001245c /system/lib64/libutils.so (_ZN7android6Thread11_threadLoopEPv+272)
    art/runtime/runtime.cc:422] native: #14 pc 00000000000a2530 /system/lib64/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+116)
    art/runtime/runtime.cc:422] native: #15 pc 0000000000068748 /system/lib64/libc.so (_ZL15__pthread_startPv+208)
    art/runtime/runtime.cc:422] native: #16 pc 000000000001da7c /system/lib64/libc.so (__start_thread+16)
    art/runtime/runtime.cc:422] (no managed stack frames)
    art/runtime/runtime.cc:422]
    A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 16026 (Thread-193)
    Connected to process 16112 on device 'rockchip-rk3399_all-1f43127cb3'.

  9. ai-plays commented on Oct 26, 2021

    @ai-plays
    Collaborator

    Thank you tcll321 for the stacktrace.

    ML Kit's pose detection is built on top of MediaPipe and I found a similar issue from MediaPipe github as well: google-ai-edge/mediapipe#2604

    Will work with MediaPipe team to investigate further.

    In the meanwhile, would appreciate if you could provide a bit more info:

    • Does this only happen on certain devices / OSs levels or all devices/OSs you tested?
    • What are the devices+OS level combination you have tested?
  10. tcll321 commented on Oct 27, 2021

    @tcll321

    @steven-chengji-yan

    • I run it in RK3399 platform.
    • System version:Android 7.1.2
  11. tcll321 commented on Oct 27, 2021

    @tcll321

    I ran on OPPO PDCM00 platform and did not reproduce this problem。

    • System version:Android 10
    • mobile phone:OPPO Reno3 5G
    • model:PDCM00
  12. ai-plays commented on Oct 29, 2021

    @ai-plays
    Collaborator

    We reproduced the issue on a Pixel device with API level 25 and made a fix.
    The fix will be out in our next release (early December as planned).

    We also noticed that, on the same Pixel device, if we flashed it to API level 29, the issue is gone. If you have time, please try flashing your device with issue to API 29+ and see if you still observe the issue. This could give us more confidence that the issue we fixed is the same one as you observed.

  13. wangzi815 commented on Nov 3, 2021

    @wangzi815

    We reproduced the issue on a Pixel device with API level 25 and made a fix. The fix will be out in our next release (early December as planned).

    We also noticed that, on the same Pixel device, if we flashed it to API level 29, the issue is gone. If you have time, please try flashing your device with issue to API 29+ and see if you still observe the issue. This could give us more confidence that the issue we fixed is the same one as you observed.

    i test on phone:HRY-AL00,the API level is 29+,but the problem produce again. google-ai-edge/mediapipe#2604 is just mentioned by me.

  14. ai-plays commented on Nov 3, 2021

    @ai-plays
    Collaborator

    Re wangzi815:

    I see. Based on the stacktrace, the size of the ref table is 512, which is relatively small and could cause the issue. Our fix is to release some java class reference more eagerly by ourselves instead of relying on the system to release them. ML Kit will release the new version with this fix in December. Please give it a try by then. For MediaPipe, I just asked their team to provide a release timeline for google-ai-edge/mediapipe#2604

  15. ai-plays commented on Jan 5, 2022

    @ai-plays
    Collaborator

    FYI: fix is released in ML Kit December release. Pose SDK version: 17.0.1-beta7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions