Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Selfie Segmentation App crashes after running a while #2219

Closed
coselk opened this issue Jun 28, 2021 · 9 comments
Closed

Selfie Segmentation App crashes after running a while #2219

coselk opened this issue Jun 28, 2021 · 9 comments
Assignees
Labels
gpu MediaPipe GPU related issues legacy:selfie segmentation Issues related to selfie segmentation platform:android Issues with Android as Platform type:support General questions

Comments

@coselk
Copy link

coselk commented Jun 28, 2021

System information

  • Hardware and device: RK3399
  • OS Platform and Distribution : Android 8.1 ,Android ndk-r19c, Android sdk 21.1xx
  • MediaPipe version: v0.8.5
  • Bazel version:3.72
  • Solution : selfie segmentation gpu
  • Programming Language and version ( e.g. C++, Python, Java):
    Openjdk version "11.0.9" 2020-10-20
    OpenJDK Runtime Environment (build 11.0.9+11)
    OpenJDK 64-Bit Server VM (build 11.0.9+11, mixed mode)

Describe behavior:
Bazel build and install the selfie segmentation gpu example on RK3399 as guided on the mediapipe website. After launching the app for a while, the screen freezes and the app crashes. The logcat follows as below:
After searching Google and it seems like some problems with the Camera, The error implies that requestThreadManager fails to get the response .

Any ideas on how to fix that? THX
Other info / Complete Logs :

2021-06-28 10:37:07.767 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64: Rejecting re-init on previously-failed class java.lang.Class<androidx.core.view.ViewCompat$2>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/view/View$OnUnhandledKeyEventListener;
2021-06-28 10:37:07.767 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void androidx.core.view.ViewCompat.setBackground(android.view.View, android.graphics.drawable.Drawable) (ViewCompat.java:2559)
2021-06-28 10:37:07.767 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void androidx.appcompat.widget.ActionBarContainer.<init>(android.content.Context, android.util.AttributeSet) (ActionBarContainer.java:63)
2021-06-28 10:37:07.767 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2)
2021-06-28 10:37:07.767 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334)
2021-06-28 10:37:07.767 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:647)
2021-06-28 10:37:07.767 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:790)
2021-06-28 10:37:07.767 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet) (LayoutInflater.java:730)
2021-06-28 10:37:07.767 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.view.LayoutInflater.rInflate(org.xmlpull.v1.XmlPullParser, android.view.View, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:863)
2021-06-28 10:37:07.767 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:824)
2021-06-28 10:37:07.767 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:515)
2021-06-28 10:37:07.767 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:423)
2021-06-28 10:37:07.767 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:374)
2021-06-28 10:37:07.767 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.view.ViewGroup androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor() (AppCompatDelegateImpl.java:739)
2021-06-28 10:37:07.767 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor() (AppCompatDelegateImpl.java:649)
2021-06-28 10:37:07.767 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void androidx.appcompat.app.AppCompatDelegateImpl.setContentView(int) (AppCompatDelegateImpl.java:542)
2021-06-28 10:37:07.767 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void androidx.appcompat.app.AppCompatActivity.setContentView(int) (AppCompatActivity.java:161)
2021-06-28 10:37:07.767 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void com.google.mediapipe.apps.basic.MainActivity.onCreate(android.os.Bundle) (MainActivity.java:91)
2021-06-28 10:37:07.767 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.app.Activity.performCreate(android.os.Bundle, android.os.PersistableBundle) (Activity.java:7036)
2021-06-28 10:37:07.767 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:7027)
2021-06-28 10:37:07.767 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1214)
2021-06-28 10:37:07.767 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2731)
2021-06-28 10:37:07.767 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2856)
2021-06-28 10:37:07.767 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
2021-06-28 10:37:07.767 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1589)
2021-06-28 10:37:07.767 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106)
2021-06-28 10:37:07.767 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.os.Looper.loop() (Looper.java:164)
2021-06-28 10:37:07.767 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6494)
2021-06-28 10:37:07.767 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
2021-06-28 10:37:07.767 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:438)
2021-06-28 10:37:07.767 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:807)
2021-06-28 10:37:07.767 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64: Caused by: java.lang.ClassNotFoundException: Didn't find class "android.view.View$OnUnhandledKeyEventListener" on path: DexPathList[[zip file "/data/app/com.google.mediapipe.apps.selfiesegmentationgpu-E29g6CeuTwdaT901Bgf0hA==/base.apk"],nativeLibraryDirectories=[/data/app/com.google.mediapipe.apps.selfiesegmentationgpu-E29g6CeuTwdaT901Bgf0hA==/lib/arm64, /data/app/com.google.mediapipe.apps.selfiesegmentationgpu-E29g6CeuTwdaT901Bgf0hA==/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]
2021-06-28 10:37:07.767 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:125)
2021-06-28 10:37:07.767 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
2021-06-28 10:37:07.767 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
2021-06-28 10:37:07.767 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void androidx.core.view.ViewCompat.setBackground(android.view.View, android.graphics.drawable.Drawable) (ViewCompat.java:2559)
2021-06-28 10:37:07.767 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void androidx.appcompat.widget.ActionBarContainer.<init>(android.content.Context, android.util.AttributeSet) (ActionBarContainer.java:63)
2021-06-28 10:37:07.767 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2)
2021-06-28 10:37:07.767 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334)
2021-06-28 10:37:07.767 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:647)
2021-06-28 10:37:07.767 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:790)
2021-06-28 10:37:07.767 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet) (LayoutInflater.java:730)
2021-06-28 10:37:07.767 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.view.LayoutInflater.rInflate(org.xmlpull.v1.XmlPullParser, android.view.View, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:863)
2021-06-28 10:37:07.767 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:824)
2021-06-28 10:37:07.768 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:515)
2021-06-28 10:37:07.768 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:423)
2021-06-28 10:37:07.768 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:374)
2021-06-28 10:37:07.768 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.view.ViewGroup androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor() (AppCompatDelegateImpl.java:739)
2021-06-28 10:37:07.768 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor() (AppCompatDelegateImpl.java:649)
2021-06-28 10:37:07.768 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void androidx.appcompat.app.AppCompatDelegateImpl.setContentView(int) (AppCompatDelegateImpl.java:542)
2021-06-28 10:37:07.768 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void androidx.appcompat.app.AppCompatActivity.setContentView(int) (AppCompatActivity.java:161)
2021-06-28 10:37:07.768 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void com.google.mediapipe.apps.basic.MainActivity.onCreate(android.os.Bundle) (MainActivity.java:91)
2021-06-28 10:37:07.768 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.app.Activity.performCreate(android.os.Bundle, android.os.PersistableBundle) (Activity.java:7036)
2021-06-28 10:37:07.768 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:7027)
2021-06-28 10:37:07.768 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1214)
2021-06-28 10:37:07.768 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2731)
2021-06-28 10:37:07.768 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2856)
2021-06-28 10:37:07.768 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
2021-06-28 10:37:07.768 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1589)
2021-06-28 10:37:07.768 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106)
2021-06-28 10:37:07.768 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.os.Looper.loop() (Looper.java:164)
2021-06-28 10:37:07.768 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6494)
2021-06-28 10:37:07.768 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
2021-06-28 10:37:07.768 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:438)
2021-06-28 10:37:07.768 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:807)
2021-06-28 10:37:07.768 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64: Rejecting re-init on previously-failed class java.lang.Class<androidx.core.view.ViewCompat$2>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/view/View$OnUnhandledKeyEventListener;
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void androidx.core.view.ViewCompat.setBackground(android.view.View, android.graphics.drawable.Drawable) (ViewCompat.java:2559)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void androidx.appcompat.widget.ActionBarContainer.<init>(android.content.Context, android.util.AttributeSet) (ActionBarContainer.java:63)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:647)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:790)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet) (LayoutInflater.java:730)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.view.LayoutInflater.rInflate(org.xmlpull.v1.XmlPullParser, android.view.View, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:863)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:824)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:515)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:423)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:374)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.view.ViewGroup androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor() (AppCompatDelegateImpl.java:739)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor() (AppCompatDelegateImpl.java:649)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void androidx.appcompat.app.AppCompatDelegateImpl.setContentView(int) (AppCompatDelegateImpl.java:542)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void androidx.appcompat.app.AppCompatActivity.setContentView(int) (AppCompatActivity.java:161)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void com.google.mediapipe.apps.basic.MainActivity.onCreate(android.os.Bundle) (MainActivity.java:91)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.app.Activity.performCreate(android.os.Bundle, android.os.PersistableBundle) (Activity.java:7036)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:7027)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1214)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2731)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2856)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1589)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.os.Looper.loop() (Looper.java:164)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6494)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:438)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:807)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64: Caused by: java.lang.ClassNotFoundException: Didn't find class "android.view.View$OnUnhandledKeyEventListener" on path: DexPathList[[zip file "/data/app/com.google.mediapipe.apps.selfiesegmentationgpu-E29g6CeuTwdaT901Bgf0hA==/base.apk"],nativeLibraryDirectories=[/data/app/com.google.mediapipe.apps.selfiesegmentationgpu-E29g6CeuTwdaT901Bgf0hA==/lib/arm64, /data/app/com.google.mediapipe.apps.selfiesegmentationgpu-E29g6CeuTwdaT901Bgf0hA==/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:125)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void androidx.core.view.ViewCompat.setBackground(android.view.View, android.graphics.drawable.Drawable) (ViewCompat.java:2559)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void androidx.appcompat.widget.ActionBarContainer.<init>(android.content.Context, android.util.AttributeSet) (ActionBarContainer.java:63)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:647)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:790)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet) (LayoutInflater.java:730)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.view.LayoutInflater.rInflate(org.xmlpull.v1.XmlPullParser, android.view.View, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:863)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:824)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:515)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:423)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:374)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.view.ViewGroup androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor() (AppCompatDelegateImpl.java:739)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor() (AppCompatDelegateImpl.java:649)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void androidx.appcompat.app.AppCompatDelegateImpl.setContentView(int) (AppCompatDelegateImpl.java:542)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void androidx.appcompat.app.AppCompatActivity.setContentView(int) (AppCompatActivity.java:161)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void com.google.mediapipe.apps.basic.MainActivity.onCreate(android.os.Bundle) (MainActivity.java:91)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.app.Activity.performCreate(android.os.Bundle, android.os.PersistableBundle) (Activity.java:7036)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:7027)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1214)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2731)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2856)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1589)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.os.Looper.loop() (Looper.java:164)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6494)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:438)
2021-06-28 10:37:07.769 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:807)
2021-06-28 10:37:07.770 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64: Rejecting re-init on previously-failed class java.lang.Class<androidx.core.view.ViewCompat$2>: java.lang.NoClassDefFoundError: Failed resolution of: Landroid/view/View$OnUnhandledKeyEventListener;
2021-06-28 10:37:07.770 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void androidx.core.view.ViewCompat.setBackground(android.view.View, android.graphics.drawable.Drawable) (ViewCompat.java:2559)
2021-06-28 10:37:07.770 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void androidx.appcompat.widget.ActionBarContainer.<init>(android.content.Context, android.util.AttributeSet) (ActionBarContainer.java:63)
2021-06-28 10:37:07.770 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2)
2021-06-28 10:37:07.770 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334)
2021-06-28 10:37:07.770 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:647)
2021-06-28 10:37:07.770 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:790)
2021-06-28 10:37:07.770 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet) (LayoutInflater.java:730)
2021-06-28 10:37:07.770 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.view.LayoutInflater.rInflate(org.xmlpull.v1.XmlPullParser, android.view.View, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:863)
2021-06-28 10:37:07.770 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:824)
2021-06-28 10:37:07.770 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:515)
2021-06-28 10:37:07.770 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:423)
2021-06-28 10:37:07.770 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:374)
2021-06-28 10:37:07.770 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.view.ViewGroup androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor() (AppCompatDelegateImpl.java:739)
2021-06-28 10:37:07.770 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor() (AppCompatDelegateImpl.java:649)
2021-06-28 10:37:07.770 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void androidx.appcompat.app.AppCompatDelegateImpl.setContentView(int) (AppCompatDelegateImpl.java:542)
2021-06-28 10:37:07.770 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void androidx.appcompat.app.AppCompatActivity.setContentView(int) (AppCompatActivity.java:161)
2021-06-28 10:37:07.770 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void com.google.mediapipe.apps.basic.MainActivity.onCreate(android.os.Bundle) (MainActivity.java:91)
2021-06-28 10:37:07.770 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.app.Activity.performCreate(android.os.Bundle, android.os.PersistableBundle) (Activity.java:7036)
2021-06-28 10:37:07.770 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:7027)
2021-06-28 10:37:07.770 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1214)
2021-06-28 10:37:07.770 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2731)
2021-06-28 10:37:07.770 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2856)
2021-06-28 10:37:07.770 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
2021-06-28 10:37:07.770 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1589)
2021-06-28 10:37:07.770 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106)
2021-06-28 10:37:07.770 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.os.Looper.loop() (Looper.java:164)
2021-06-28 10:37:07.770 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6494)
2021-06-28 10:37:07.770 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
2021-06-28 10:37:07.770 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:438)
2021-06-28 10:37:07.770 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:807)
2021-06-28 10:37:07.770 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64: Caused by: java.lang.ClassNotFoundException: Didn't find class "android.view.View$OnUnhandledKeyEventListener" on path: DexPathList[[zip file "/data/app/com.google.mediapipe.apps.selfiesegmentationgpu-E29g6CeuTwdaT901Bgf0hA==/base.apk"],nativeLibraryDirectories=[/data/app/com.google.mediapipe.apps.selfiesegmentationgpu-E29g6CeuTwdaT901Bgf0hA==/lib/arm64, /data/app/com.google.mediapipe.apps.selfiesegmentationgpu-E29g6CeuTwdaT901Bgf0hA==/base.apk!/lib/arm64-v8a, /system/lib64, /vendor/lib64]]
2021-06-28 10:37:07.770 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at java.lang.Class dalvik.system.BaseDexClassLoader.findClass(java.lang.String) (BaseDexClassLoader.java:125)
2021-06-28 10:37:07.770 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String, boolean) (ClassLoader.java:379)
2021-06-28 10:37:07.770 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at java.lang.Class java.lang.ClassLoader.loadClass(java.lang.String) (ClassLoader.java:312)
2021-06-28 10:37:07.770 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void androidx.core.view.ViewCompat.setBackground(android.view.View, android.graphics.drawable.Drawable) (ViewCompat.java:2559)
2021-06-28 10:37:07.770 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void androidx.appcompat.widget.ActionBarContainer.<init>(android.content.Context, android.util.AttributeSet) (ActionBarContainer.java:63)
2021-06-28 10:37:07.770 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at java.lang.Object java.lang.reflect.Constructor.newInstance0(java.lang.Object[]) (Constructor.java:-2)
2021-06-28 10:37:07.770 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at java.lang.Object java.lang.reflect.Constructor.newInstance(java.lang.Object[]) (Constructor.java:334)
2021-06-28 10:37:07.771 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.view.View android.view.LayoutInflater.createView(java.lang.String, java.lang.String, android.util.AttributeSet) (LayoutInflater.java:647)
2021-06-28 10:37:07.771 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:790)
2021-06-28 10:37:07.771 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.view.View android.view.LayoutInflater.createViewFromTag(android.view.View, java.lang.String, android.content.Context, android.util.AttributeSet) (LayoutInflater.java:730)
2021-06-28 10:37:07.771 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.view.LayoutInflater.rInflate(org.xmlpull.v1.XmlPullParser, android.view.View, android.content.Context, android.util.AttributeSet, boolean) (LayoutInflater.java:863)
2021-06-28 10:37:07.771 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.view.LayoutInflater.rInflateChildren(org.xmlpull.v1.XmlPullParser, android.view.View, android.util.AttributeSet, boolean) (LayoutInflater.java:824)
2021-06-28 10:37:07.771 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.view.View android.view.LayoutInflater.inflate(org.xmlpull.v1.XmlPullParser, android.view.ViewGroup, boolean) (LayoutInflater.java:515)
2021-06-28 10:37:07.771 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup, boolean) (LayoutInflater.java:423)
2021-06-28 10:37:07.771 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.view.View android.view.LayoutInflater.inflate(int, android.view.ViewGroup) (LayoutInflater.java:374)
2021-06-28 10:37:07.771 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.view.ViewGroup androidx.appcompat.app.AppCompatDelegateImpl.createSubDecor() (AppCompatDelegateImpl.java:739)
2021-06-28 10:37:07.771 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void androidx.appcompat.app.AppCompatDelegateImpl.ensureSubDecor() (AppCompatDelegateImpl.java:649)
2021-06-28 10:37:07.771 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void androidx.appcompat.app.AppCompatDelegateImpl.setContentView(int) (AppCompatDelegateImpl.java:542)
2021-06-28 10:37:07.771 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void androidx.appcompat.app.AppCompatActivity.setContentView(int) (AppCompatActivity.java:161)
2021-06-28 10:37:07.771 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void com.google.mediapipe.apps.basic.MainActivity.onCreate(android.os.Bundle) (MainActivity.java:91)
2021-06-28 10:37:07.771 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.app.Activity.performCreate(android.os.Bundle, android.os.PersistableBundle) (Activity.java:7036)
2021-06-28 10:37:07.771 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:7027)
2021-06-28 10:37:07.771 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1214)
2021-06-28 10:37:07.771 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2731)
2021-06-28 10:37:07.771 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:2856)
2021-06-28 10:37:07.771 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.app.ActivityThread.-wrap11(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent, java.lang.String) (ActivityThread.java:-1)
2021-06-28 10:37:07.771 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1589)
2021-06-28 10:37:07.771 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:106)
2021-06-28 10:37:07.771 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.os.Looper.loop() (Looper.java:164)
2021-06-28 10:37:07.771 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:6494)
2021-06-28 10:37:07.771 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
2021-06-28 10:37:07.771 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:438)
2021-06-28 10:37:07.771 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64:     at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:807)
2021-06-28 10:37:07.814 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/native: I20210628 02:37:07.814725  4556 asset_manager_util.cc:59] Created global reference to asset manager.
2021-06-28 10:37:07.816 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/mali_so: [File] : hardware/arm/maliT760/driver/product/base/src/mali_base_kbase.c; [Line] : 876; [Func] : base_context_deal_with_version_affairs_rk_ext;
    arm_release_ver of this mali_so is 'r18p0-01rel0', rk_so_ver is '10@0'.
2021-06-28 10:37:07.816 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu D/mali_so: [File] : hardware/arm/maliT760/driver/product/base/src/mali_base_kbase.c; [Line] : 881; [Func] : base_context_deal_with_version_affairs_rk_ext;
    current process is NOT sf, to bail out.
2021-06-28 10:37:07.824 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/com.google.mediapipe.apps.selfiesegmentationgpu: android::hardware::configstore::V1_0::ISurfaceFlingerConfigs::hasWideColorDisplay retrieved: 0
2021-06-28 10:37:07.829 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu E/libEGL: validate_display:92 error 3008 (EGL_BAD_DISPLAY)
2021-06-28 10:37:07.833 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/native: I20210628 02:37:07.833197  4556 gl_context_egl.cc:163] Successfully initialized EGL. Major : 1 Minor: 4
2021-06-28 10:37:07.836 4556-4591/com.google.mediapipe.apps.selfiesegmentationgpu I/native: I20210628 02:37:07.836051  4591 gl_context.cc:331] GL version: 3.2 (OpenGL ES 3.2 v1.r18p0-01rel0.0df2123d9b8e3be8d1a2ab9afe5b3d8c)
2021-06-28 10:37:07.837 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu D/PermissionHelper: checkAndRequestCameraPermissions
2021-06-28 10:37:07.857 4556-4592/com.google.mediapipe.apps.selfiesegmentationgpu D/GlThread: Starting GL thread ExternalTextureConverter
2021-06-28 10:37:07.878 4556-4594/com.google.mediapipe.apps.selfiesegmentationgpu D/OpenGLRenderer: HWUI GL Pipeline
2021-06-28 10:37:07.886 4556-4592/com.google.mediapipe.apps.selfiesegmentationgpu D/GlThread: Stopping GL thread ExternalTextureConverter
2021-06-28 10:37:07.918 4556-4594/com.google.mediapipe.apps.selfiesegmentationgpu I/OpenGLRenderer: Initialized EGL, version 1.4
2021-06-28 10:37:07.918 4556-4594/com.google.mediapipe.apps.selfiesegmentationgpu D/OpenGLRenderer: Swap behavior 2
2021-06-28 10:37:07.929 4556-4594/com.google.mediapipe.apps.selfiesegmentationgpu D/mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
2021-06-28 10:37:07.954 4556-4594/com.google.mediapipe.apps.selfiesegmentationgpu I/[Gralloc]: Got handle 1 for fd 59
2021-06-28 10:37:07.954 4556-4594/com.google.mediapipe.apps.selfiesegmentationgpu I/[Gralloc]: leave, w : 1280, h : 800, format : 0x1,internal_format : 0x1, usage : 0xb00. size=4096000,pixel_stride=1280,byte_stride=5120
2021-06-28 10:37:07.954 4556-4594/com.google.mediapipe.apps.selfiesegmentationgpu I/[Gralloc]: leave: prime_fd=59,share_attr_fd=60
2021-06-28 10:37:13.320 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu D/PermissionHelper: onRequestPermissionsResult
2021-06-28 10:37:13.321 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu D/PermissionHelper: android.permission.CAMERA permission granted.
2021-06-28 10:37:13.358 4556-4615/com.google.mediapipe.apps.selfiesegmentationgpu D/GlThread: Starting GL thread ExternalTextureConverter
2021-06-28 10:37:13.387 4556-4618/com.google.mediapipe.apps.selfiesegmentationgpu I/CameraManagerGlobal: Connecting to camera service
2021-06-28 10:37:13.410 4556-4594/com.google.mediapipe.apps.selfiesegmentationgpu I/[Gralloc]: Got handle 2 for fd 72
2021-06-28 10:37:13.410 4556-4594/com.google.mediapipe.apps.selfiesegmentationgpu I/[Gralloc]: leave, w : 1280, h : 800, format : 0x1,internal_format : 0x1, usage : 0xb00. size=4096000,pixel_stride=1280,byte_stride=5120
2021-06-28 10:37:13.410 4556-4594/com.google.mediapipe.apps.selfiesegmentationgpu I/[Gralloc]: leave: prime_fd=72,share_attr_fd=73
2021-06-28 10:37:13.423 4556-4618/com.google.mediapipe.apps.selfiesegmentationgpu D/CameraRepository: Added camera: 0
2021-06-28 10:37:13.436 4556-4618/com.google.mediapipe.apps.selfiesegmentationgpu I/Camera2CameraInfo: Device Level: INFO_SUPPORTED_HARDWARE_LEVEL_LEGACY
2021-06-28 10:37:13.439 4556-4618/com.google.mediapipe.apps.selfiesegmentationgpu D/UseCaseAttachState: Active and attached use case: [] for camera: 0
2021-06-28 10:37:13.455 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu D/CameraOrientationUtil: getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=0, isOppositeFacing=false, result=0
2021-06-28 10:37:13.461 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64: Deoptimizing androidx.camera.core.impl.MutableOptionsBundle androidx.camera.core.impl.MutableOptionsBundle.from(androidx.camera.core.impl.Config) due to JIT inline cache
2021-06-28 10:37:13.465 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu D/DeferrableSurface: Surface created[total_surfaces=1, used_surfaces=0](androidx.camera.core.SurfaceRequest$2@31e0900}
2021-06-28 10:37:13.466 4556-4556/com.google.mediapipe.apps.selfiesegmentationgpu D/CameraOrientationUtil: getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=0, isOppositeFacing=false, result=0
2021-06-28 10:37:13.466 4556-4616/com.google.mediapipe.apps.selfiesegmentationgpu D/CameraXPreviewHelper: Received surface request for resolution 800x600
2021-06-28 10:37:13.468 4556-4618/com.google.mediapipe.apps.selfiesegmentationgpu D/UseCaseAttachState: Active and attached use case: [] for camera: 0
2021-06-28 10:37:13.470 4556-4618/com.google.mediapipe.apps.selfiesegmentationgpu D/UseCaseAttachState: All use case: [androidx.camera.core.Preview-a9d3c973-640a-4d7e-af3d-ac6b8baccd2a84967997] for camera: 0
2021-06-28 10:37:13.471 4556-4616/com.google.mediapipe.apps.selfiesegmentationgpu D/CameraXPreviewHelper: Providing surface
2021-06-28 10:37:13.472 4556-4618/com.google.mediapipe.apps.selfiesegmentationgpu D/UseCaseAttachState: Active and attached use case: [androidx.camera.core.Preview-a9d3c973-640a-4d7e-af3d-ac6b8baccd2a84967997] for camera: 0
2021-06-28 10:37:13.473 4556-4618/com.google.mediapipe.apps.selfiesegmentationgpu D/CameraStateRegistry: tryOpenCamera(Camera@f59aff[id=0]) [Available Cameras: 1, Already Open: false (Previous state: null)] --> SUCCESS
2021-06-28 10:37:13.473 4556-4618/com.google.mediapipe.apps.selfiesegmentationgpu D/CameraStateRegistry: Recalculating open cameras:
    Camera                                       State                 
    -------------------------------------------------------------------
    Camera@f59aff[id=0]                          OPENING               
    -------------------------------------------------------------------
    Open count: 1 (Max allowed: 1)
2021-06-28 10:37:13.474 4556-4618/com.google.mediapipe.apps.selfiesegmentationgpu D/UseCaseAttachState: All use case: [androidx.camera.core.Preview-a9d3c973-640a-4d7e-af3d-ac6b8baccd2a84967997] for camera: 0
2021-06-28 10:37:13.481 4556-4618/com.google.mediapipe.apps.selfiesegmentationgpu I/CameraManager: Using legacy camera HAL.
2021-06-28 10:37:13.967 4556-4618/com.google.mediapipe.apps.selfiesegmentationgpu D/UseCaseAttachState: Active and attached use case: [androidx.camera.core.Preview-a9d3c973-640a-4d7e-af3d-ac6b8baccd2a84967997] for camera: 0
2021-06-28 10:37:13.968 4556-4618/com.google.mediapipe.apps.selfiesegmentationgpu D/CameraStateRegistry: Recalculating open cameras:
    Camera                                       State                 
    -------------------------------------------------------------------
    Camera@f59aff[id=0]                          OPEN                  
    -------------------------------------------------------------------
    Open count: 1 (Max allowed: 1)
2021-06-28 10:37:13.969 4556-4618/com.google.mediapipe.apps.selfiesegmentationgpu D/UseCaseAttachState: All use case: [androidx.camera.core.Preview-a9d3c973-640a-4d7e-af3d-ac6b8baccd2a84967997] for camera: 0
2021-06-28 10:37:13.972 4556-4618/com.google.mediapipe.apps.selfiesegmentationgpu D/DeferrableSurface: New surface in use[total_surfaces=1, used_surfaces=1](androidx.camera.core.SurfaceRequest$2@31e0900}
2021-06-28 10:37:13.972 4556-4618/com.google.mediapipe.apps.selfiesegmentationgpu D/DeferrableSurface: use count+1, useCount=1 androidx.camera.core.SurfaceRequest$2@31e0900
2021-06-28 10:37:13.972 4556-4618/com.google.mediapipe.apps.selfiesegmentationgpu D/CaptureSession: Opening capture session.
2021-06-28 10:37:13.975 4556-4618/com.google.mediapipe.apps.selfiesegmentationgpu I/CameraDeviceState: Legacy camera service transitioning to state CONFIGURING
2021-06-28 10:37:13.976 4556-4640/com.google.mediapipe.apps.selfiesegmentationgpu I/RequestThread-0: Configure outputs: 1 surfaces configured.
2021-06-28 10:37:13.976 4556-4640/com.google.mediapipe.apps.selfiesegmentationgpu D/Camera: app passed NULL surface
2021-06-28 10:37:13.986 4556-4641/com.google.mediapipe.apps.selfiesegmentationgpu D/mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
2021-06-28 10:37:14.017 4556-4618/com.google.mediapipe.apps.selfiesegmentationgpu I/CameraDeviceState: Legacy camera service transitioning to state IDLE
2021-06-28 10:37:14.019 4556-4618/com.google.mediapipe.apps.selfiesegmentationgpu D/CaptureSession: Attempting to send capture request onConfigured
2021-06-28 10:37:14.019 4556-4618/com.google.mediapipe.apps.selfiesegmentationgpu D/CaptureSession: Issuing request for session.
2021-06-28 10:37:14.022 4556-4618/com.google.mediapipe.apps.selfiesegmentationgpu I/RequestQueue: Repeating capture request set.
2021-06-28 10:37:14.022 4556-4618/com.google.mediapipe.apps.selfiesegmentationgpu D/CaptureSession: CameraCaptureSession.onConfigured() mState=OPENED
2021-06-28 10:37:14.022 4556-4618/com.google.mediapipe.apps.selfiesegmentationgpu D/CaptureSession: CameraCaptureSession.onReady() OPENED
2021-06-28 10:37:14.024 4556-4640/com.google.mediapipe.apps.selfiesegmentationgpu W/LegacyRequestMapper: convertRequestMetadata - control.awbRegions setting is not supported, ignoring value
2021-06-28 10:37:14.024 4556-4640/com.google.mediapipe.apps.selfiesegmentationgpu W/LegacyRequestMapper: Only received metering rectangles with weight 0.
2021-06-28 10:37:14.025 4556-4640/com.google.mediapipe.apps.selfiesegmentationgpu W/LegacyRequestMapper: convertRequestToMetadata - Ignoring android.lens.focusDistance false, only 0.0f is supported
2021-06-28 10:37:14.058 4556-4569/com.google.mediapipe.apps.selfiesegmentationgpu I/[Gralloc]: for nv12, w : 800, h : 600, pixel_stride : 800, byte_stride : 800, size : 960000; internalHeight : 600.
2021-06-28 10:37:14.058 4556-4569/com.google.mediapipe.apps.selfiesegmentationgpu I/[Gralloc]: Got handle 3 for fd 88
2021-06-28 10:37:14.058 4556-4569/com.google.mediapipe.apps.selfiesegmentationgpu I/[Gralloc]: leave, w : 800, h : 600, format : 0x15,internal_format : 0x15, usage : 0x333. size=960000,pixel_stride=800,byte_stride=800
2021-06-28 10:37:14.058 4556-4569/com.google.mediapipe.apps.selfiesegmentationgpu I/[Gralloc]: leave: prime_fd=88,share_attr_fd=89
2021-06-28 10:37:14.083 4556-4569/com.google.mediapipe.apps.selfiesegmentationgpu I/[Gralloc]: for nv12, w : 800, h : 600, pixel_stride : 800, byte_stride : 800, size : 960000; internalHeight : 600.
2021-06-28 10:37:14.083 4556-4569/com.google.mediapipe.apps.selfiesegmentationgpu I/[Gralloc]: Got handle 4 for fd 91
2021-06-28 10:37:14.083 4556-4569/com.google.mediapipe.apps.selfiesegmentationgpu I/[Gralloc]: leave, w : 800, h : 600, format : 0x15,internal_format : 0x15, usage : 0x333. size=960000,pixel_stride=800,byte_stride=800
2021-06-28 10:37:14.083 4556-4569/com.google.mediapipe.apps.selfiesegmentationgpu I/[Gralloc]: leave: prime_fd=91,share_attr_fd=92
2021-06-28 10:37:14.086 4556-4569/com.google.mediapipe.apps.selfiesegmentationgpu I/[Gralloc]: for nv12, w : 800, h : 600, pixel_stride : 800, byte_stride : 800, size : 960000; internalHeight : 600.
2021-06-28 10:37:14.086 4556-4569/com.google.mediapipe.apps.selfiesegmentationgpu I/[Gralloc]: Got handle 5 for fd 94
2021-06-28 10:37:14.086 4556-4569/com.google.mediapipe.apps.selfiesegmentationgpu I/[Gralloc]: leave, w : 800, h : 600, format : 0x15,internal_format : 0x15, usage : 0x333. size=960000,pixel_stride=800,byte_stride=800
2021-06-28 10:37:14.086 4556-4569/com.google.mediapipe.apps.selfiesegmentationgpu I/[Gralloc]: leave: prime_fd=94,share_attr_fd=95
2021-06-28 10:37:14.088 4556-4569/com.google.mediapipe.apps.selfiesegmentationgpu I/[Gralloc]: for nv12, w : 800, h : 600, pixel_stride : 800, byte_stride : 800, size : 960000; internalHeight : 600.
2021-06-28 10:37:14.088 4556-4569/com.google.mediapipe.apps.selfiesegmentationgpu I/[Gralloc]: Got handle 6 for fd 97
2021-06-28 10:37:14.088 4556-4569/com.google.mediapipe.apps.selfiesegmentationgpu I/[Gralloc]: leave, w : 800, h : 600, format : 0x15,internal_format : 0x15, usage : 0x333. size=960000,pixel_stride=800,byte_stride=800
2021-06-28 10:37:14.088 4556-4569/com.google.mediapipe.apps.selfiesegmentationgpu I/[Gralloc]: leave: prime_fd=97,share_attr_fd=98
2021-06-28 10:37:15.423 4556-4641/com.google.mediapipe.apps.selfiesegmentationgpu I/CameraDeviceState: Legacy camera service transitioning to state CAPTURING
2021-06-28 10:37:15.433 4556-4641/com.google.mediapipe.apps.selfiesegmentationgpu I/[Gralloc]: Got handle 7 for fd 100
2021-06-28 10:37:15.433 4556-4641/com.google.mediapipe.apps.selfiesegmentationgpu I/[Gralloc]: leave, w : 800, h : 600, format : 0x1,internal_format : 0x1, usage : 0x300. size=1920000,pixel_stride=800,byte_stride=3200
2021-06-28 10:37:15.434 4556-4641/com.google.mediapipe.apps.selfiesegmentationgpu I/[Gralloc]: leave: prime_fd=100,share_attr_fd=101
2021-06-28 10:37:15.442 4556-4616/com.google.mediapipe.apps.selfiesegmentationgpu D/CameraOrientationUtil: getRelativeImageRotation: destRotationDegrees=0, sourceRotationDegrees=0, isOppositeFacing=false, result=0
2021-06-28 10:37:15.486 4556-4591/com.google.mediapipe.apps.selfiesegmentationgpu D/mali_winsys: EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000
2021-06-28 10:37:15.502 4556-4641/com.google.mediapipe.apps.selfiesegmentationgpu I/[Gralloc]: Got handle 8 for fd 107
2021-06-28 10:37:15.502 4556-4641/com.google.mediapipe.apps.selfiesegmentationgpu I/[Gralloc]: leave, w : 800, h : 600, format : 0x1,internal_format : 0x1, usage : 0x300. size=1920000,pixel_stride=800,byte_stride=3200
2021-06-28 10:37:15.502 4556-4641/com.google.mediapipe.apps.selfiesegmentationgpu I/[Gralloc]: leave: prime_fd=107,share_attr_fd=108
2021-06-28 10:37:15.511 4556-4615/com.google.mediapipe.apps.selfiesegmentationgpu D/ExternalTextureConv: Created output texture: 2 width: 800 height: 600
2021-06-28 10:37:15.526 4556-4615/com.google.mediapipe.apps.selfiesegmentationgpu I/native: I20210628 02:37:15.525955  4615 graph.cc:474] Start running the graph, waiting for inputs.
2021-06-28 10:37:15.526 4556-4615/com.google.mediapipe.apps.selfiesegmentationgpu I/native: I20210628 02:37:15.526259  4615 gl_context_egl.cc:163] Successfully initialized EGL. Major : 1 Minor: 4
2021-06-28 10:37:15.530 4556-4656/com.google.mediapipe.apps.selfiesegmentationgpu I/native: I20210628 02:37:15.530679  4656 gl_context.cc:331] GL version: 3.2 (OpenGL ES 3.2 v1.r18p0-01rel0.0df2123d9b8e3be8d1a2ab9afe5b3d8c)
2021-06-28 10:37:15.539 4556-4651/com.google.mediapipe.apps.selfiesegmentationgpu I/native: I20210628 02:37:15.539250  4651 resource_util_android.cc:89] Successfully loaded: selfie_segmentation.tflite
2021-06-28 10:37:15.547 4556-4591/com.google.mediapipe.apps.selfiesegmentationgpu I/tflite: Initialized TensorFlow Lite runtime.
2021-06-28 10:37:15.548 4556-4591/com.google.mediapipe.apps.selfiesegmentationgpu I/tflite: Created TensorFlow Lite delegate for GPU.
2021-06-28 10:37:15.550 4556-4591/com.google.mediapipe.apps.selfiesegmentationgpu I/tflite: Replacing 246 node(s) with delegate (TfLiteGpuDelegate) node, yielding 1 partitions.
2021-06-28 10:37:15.564 4556-4615/com.google.mediapipe.apps.selfiesegmentationgpu D/ExternalTextureConv: Created output texture: 4 width: 800 height: 600
2021-06-28 10:37:15.569 4556-4650/com.google.mediapipe.apps.selfiesegmentationgpu I/native: I20210628 02:37:15.569593  4650 jni_util.cc:41] GetEnv: not attached
2021-06-28 10:37:15.628 4556-4651/com.google.mediapipe.apps.selfiesegmentationgpu I/native: I20210628 02:37:15.628715  4651 jni_util.cc:41] GetEnv: not attached
2021-06-28 10:37:15.760 4556-4654/com.google.mediapipe.apps.selfiesegmentationgpu I/native: I20210628 02:37:15.760660  4654 jni_util.cc:41] GetEnv: not attached
2021-06-28 10:37:15.958 4556-4655/com.google.mediapipe.apps.selfiesegmentationgpu I/native: I20210628 02:37:15.958209  4655 jni_util.cc:41] GetEnv: not attached
2021-06-28 10:37:16.162 4556-4653/com.google.mediapipe.apps.selfiesegmentationgpu I/native: I20210628 02:37:16.162636  4653 jni_util.cc:41] GetEnv: not attached
2021-06-28 10:37:16.256 4556-4591/com.google.mediapipe.apps.selfiesegmentationgpu I/native: I20210628 02:37:16.256582  4591 jni_util.cc:41] GetEnv: not attached
2021-06-28 10:37:16.291 4556-4656/com.google.mediapipe.apps.selfiesegmentationgpu I/[Gralloc]: Got handle 9 for fd 115
2021-06-28 10:37:16.291 4556-4656/com.google.mediapipe.apps.selfiesegmentationgpu I/[Gralloc]: leave, w : 1280, h : 664, format : 0x1,internal_format : 0x1, usage : 0xb00. size=3399680,pixel_stride=1280,byte_stride=5120
2021-06-28 10:37:16.291 4556-4656/com.google.mediapipe.apps.selfiesegmentationgpu I/[Gralloc]: leave: prime_fd=115,share_attr_fd=116
2021-06-28 10:37:16.380 4556-4656/com.google.mediapipe.apps.selfiesegmentationgpu I/[Gralloc]: Got handle 10 for fd 118
2021-06-28 10:37:16.380 4556-4656/com.google.mediapipe.apps.selfiesegmentationgpu I/[Gralloc]: leave, w : 1280, h : 664, format : 0x1,internal_format : 0x1, usage : 0xb00. size=3399680,pixel_stride=1280,byte_stride=5120
2021-06-28 10:37:16.380 4556-4656/com.google.mediapipe.apps.selfiesegmentationgpu I/[Gralloc]: leave: prime_fd=118,share_attr_fd=119
2021-06-28 10:37:19.069 4556-4561/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64: Do partial code cache collection, code=29KB, data=26KB
2021-06-28 10:37:19.070 4556-4561/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64: After code cache collection, code=28KB, data=26KB
2021-06-28 10:37:19.070 4556-4561/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64: Increasing code cache capacity to 128KB
2021-06-28 10:37:19.221 4556-4652/com.google.mediapipe.apps.selfiesegmentationgpu I/native: I20210628 02:37:19.221616  4652 jni_util.cc:41] GetEnv: not attached
2021-06-28 10:37:25.771 4556-4561/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64: Do partial code cache collection, code=61KB, data=43KB
2021-06-28 10:37:25.771 4556-4561/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64: After code cache collection, code=61KB, data=43KB
2021-06-28 10:37:25.771 4556-4561/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64: Increasing code cache capacity to 256KB
2021-06-28 10:37:50.679 4556-4618/com.google.mediapipe.apps.selfiesegmentationgpu I/zygote64: Deoptimizing void androidx.camera.core.impl.utils.executor.SequentialExecutor$QueueWorker.workOnQueue() due to JIT inline cache
2021-06-28 10:38:10.257 4556-4640/com.google.mediapipe.apps.selfiesegmentationgpu E/RequestThread-0: Timed out while waiting for request to complete.
2021-06-28 10:38:10.257 4556-4640/com.google.mediapipe.apps.selfiesegmentationgpu W/RequestHolder: Capture failed for request: 0
2021-06-28 10:38:14.301 4556-4640/com.google.mediapipe.apps.selfiesegmentationgpu E/RequestThread-0: Timed out while waiting for request to complete.
2021-06-28 10:38:14.301 4556-4640/com.google.mediapipe.apps.selfiesegmentationgpu W/RequestHolder: Capture failed for request: 0
2021-06-28 10:38:18.344 4556-4640/com.google.mediapipe.apps.selfiesegmentationgpu E/RequestThread-0: Timed out while waiting for request to complete.
2021-06-28 10:38:18.344 4556-4640/com.google.mediapipe.apps.selfiesegmentationgpu W/RequestHolder: Capture failed for request: 0
2021-06-28 10:38:22.347 4556-4640/com.google.mediapipe.apps.selfiesegmentationgpu E/RequestThread-0: Timed out while waiting for request to complete.
2021-06-28 10:38:22.348 4556-4640/com.google.mediapipe.apps.selfiesegmentationgpu W/RequestHolder: Capture failed for request: 0
2021-06-28 10:38:26.350 4556-4640/com.google.mediapipe.apps.selfiesegmentationgpu E/RequestThread-0: Timed out while waiting for request to complete.
2021-06-28 10:38:26.351 4556-4640/com.google.mediapipe.apps.selfiesegmentationgpu W/RequestHolder: Capture failed for request: 0
2021-06-28 10:38:30.387 4556-4640/com.google.mediapipe.apps.selfiesegmentationgpu E/RequestThread-0: Timed out while waiting for request to complete.
2021-06-28 10:38:30.387 4556-4640/com.google.mediapipe.apps.selfiesegmentationgpu W/RequestHolder: Capture failed for request: 0
2021-06-28 10:38:34.429 4556-4640/com.google.mediapipe.apps.selfiesegmentationgpu E/RequestThread-0: Timed out while waiting for request to complete.
2021-06-28 10:38:34.430 4556-4640/com.google.mediapipe.apps.selfiesegmentationgpu W/RequestHolder: Capture failed for request: 0
2021-06-28 10:38:38.473 4556-4640/com.google.mediapipe.apps.selfiesegmentationgpu E/RequestThread-0: Timed out while waiting for request to complete.
2021-06-28 10:38:38.473 4556-4640/com.google.mediapipe.apps.selfiesegmentationgpu W/RequestHolder: Capture failed for request: 0
2021-06-28 10:38:42.507 4556-4640/com.google.mediapipe.apps.selfiesegmentationgpu E/RequestThread-0: Timed out while waiting for request to complete.
2021-06-28 10:38:42.508 4556-4640/com.google.mediapipe.apps.selfiesegmentationgpu W/RequestHolder: Capture failed for request: 0
2021-06-28 10:38:46.550 4556-4640/com.google.mediapipe.apps.selfiesegmentationgpu E/RequestThread-0: Timed out while waiting for request to complete.
2021-06-28 10:38:46.550 4556-4640/com.google.mediapipe.apps.selfiesegmentationgpu W/RequestHolder: Capture failed for request: 0
2021-06-28 10:38:50.593 4556-4640/com.google.mediapipe.apps.selfiesegmentationgpu E/RequestThread-0: Timed out while waiting for request to complete.
2021-06-28 10:38:50.594 4556-4640/com.google.mediapipe.apps.selfiesegmentationgpu W/RequestHolder: Capture failed for request: 0
2021-06-28 10:38:54.637 4556-4640/com.google.mediapipe.apps.selfiesegmentationgpu E/RequestThread-0: Timed out while waiting for request to complete.
2021-06-28 10:38:54.637 4556-4640/com.google.mediapipe.apps.selfiesegmentationgpu W/RequestHolder: Capture failed for request: 0
2021-06-28 10:38:58.679 4556-4640/com.google.mediapipe.apps.selfiesegmentationgpu E/RequestThread-0: Timed out while waiting for request to complete.
2021-06-28 10:38:58.679 4556-4640/com.google.mediapipe.apps.selfiesegmentationgpu W/RequestHolder: Capture failed for request: 0
2021-06-28 10:39:02.722 4556-4640/com.google.mediapipe.apps.selfiesegmentationgpu E/RequestThread-0: Timed out while waiting for request to complete.
2021-06-28 10:39:02.722 4556-4640/com.google.mediapipe.apps.selfiesegmentationgpu W/RequestHolder: Capture failed for request: 0
2021-06-28 10:39:06.765 4556-4640/com.google.mediapipe.apps.selfiesegmentationgpu E/RequestThread-0: Timed out while waiting for request to complete.
2021-06-28 10:39:06.765 4556-4640/com.google.mediapipe.apps.selfiesegmentationgpu W/RequestHolder: Capture failed for request: 0
2021-06-28 10:39:10.775 4556-4640/com.google.mediapipe.apps.selfiesegmentationgpu E/RequestThread-0: Timed out while waiting for request to complete.
2021-06-28 10:39:10.775 4556-4640/com.google.mediapipe.apps.selfiesegmentationgpu W/RequestHolder: Capture failed for request: 0

@coselk coselk added the type:support General questions label Jun 28, 2021
@sgowroji sgowroji added platform:android Issues with Android as Platform legacy:selfie segmentation Issues related to selfie segmentation stat:awaiting response Waiting for user response labels Jun 28, 2021
@sgowroji
Copy link

Hi @coselk, Could you please check this duplicate issue as per debug logs #232

@coselk
Copy link
Author

coselk commented Jun 28, 2021

Hi @coselk, Could you please check this duplicate issue as per debug logs #232

I've checked that and some other relevant issues before submission, this problem seems to be different.

@sgowroji
Copy link

This issue is more in running Android Jetpack API's on your device. Reference here. May be you can try the workaround mentioned in the botton of this issue

@coselk
Copy link
Author

coselk commented Jun 29, 2021

Hi @sgowroji ,I've tried the workaround but still get the error. Other examples like hello-world,face mesh and face detection app won't crash, only the sefile seg crashes. So I am a little confused on the Android Jetpack API problems, I check other examples like the hair seg , it crashed as well. :(

@sgowroji sgowroji assigned camillol and mcclanahoochie and unassigned sgowroji Jun 29, 2021
@sgowroji sgowroji added stat:awaiting googler Waiting for Google Engineer's Response gpu MediaPipe GPU related issues and removed stat:awaiting response Waiting for user response labels Jun 29, 2021
@sgowroji
Copy link

Is the issue with Rockchip, have you tried upgrading the firmware. see #1060 (comment)

@sgowroji sgowroji added stat:awaiting response Waiting for user response and removed stat:awaiting googler Waiting for Google Engineer's Response labels Jul 21, 2021
@google-ml-butler
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you.

@google-ml-butler
Copy link

Closing as stale. Please reopen if you'd like to work on this further.

@google-ml-butler
Copy link

Are you satisfied with the resolution of your issue?
Yes
No

@sgowroji sgowroji assigned sgowroji and unassigned camillol and mcclanahoochie Aug 5, 2021
@sgowroji sgowroji removed stale stat:awaiting response Waiting for user response labels Aug 5, 2021
@coselk
Copy link
Author

coselk commented Sep 27, 2021

Problem solved!
After driving in the Mali series GPU for a while, I found FLOAT 16 is well supported on the Mali GPU series. If anyone meets the same Problem, please switch from float 32 to float16 while converting the model into tflite format.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gpu MediaPipe GPU related issues legacy:selfie segmentation Issues related to selfie segmentation platform:android Issues with Android as Platform type:support General questions
Projects
None yet
Development

No branches or pull requests

4 participants