facebook / litho

A declarative framework for building efficient UIs on Android.
https://fblitho.com
Apache License 2.0
7.71k stars 766 forks source link

Crash after enable minifyEnabled with r8 enabled #592

Open mnayef95 opened 5 years ago

mnayef95 commented 5 years ago

Version

implementation 'com.facebook.litho:litho-core:0.30.0'
implementation 'com.facebook.litho:litho-widget:0.30.0'
kapt 'com.facebook.litho:litho-processor:0.30.0'
implementation("com.facebook.litho:litho-fresco:0.30.0")

implementation 'com.facebook.litho:litho-sections-core:0.30.0'
implementation 'com.facebook.litho:litho-sections-widget:0.30.0'
compileOnly 'com.facebook.litho:litho-sections-annotations:0.30.0'
kapt 'com.facebook.litho:litho-sections-processor:0.30.0'

implementation 'com.facebook.soloader:soloader:0.6.0'

Issues and Steps to Reproduce

Expected Behavior

The app should be working fine

Actual Behavior

W: Accessing hidden method Landroid/view/View;->getTransitionAlpha()F (light greylist, reflection)
W: moveToState: Fragment state for HomeFragment{83bf71b (df0e7f1d-e351-4f61-b660-9135dd93d943) id=0x7f0a00c3} not updated inline; expected state 1 found 2
W: Accessing hidden method Ldalvik/system/CloseGuard;->get()Ldalvik/system/CloseGuard; (light greylist, reflection)
W: Accessing hidden method Ldalvik/system/CloseGuard;->open(Ljava/lang/String;)V (light greylist, reflection)
W: Accessing hidden method Ldalvik/system/CloseGuard;->warnIfOpen()V (light greylist, reflection)
D: About to load: libyoga.so
D: libyoga.so not found on /data/data/com.example.staging/lib-main
D: libyoga.so found on /data/app/com.example.staging-N7Y9vecp_QGb2fxhEUHebg==/lib/arm64
D: Not resolving dependencies for libyoga.so
W: CheckJNI: method to register "jni_YGNodeCalculateLayout" not in the given class. This is slow, consider changing your RegisterNatives calls.
E: ----- class 'Lcom/facebook/yoga/YogaNative;' cl=0x13a418f8 -----
E:   objectSize=224 (224 from super)
E:   access=0x0008.0001
E:   super='java.lang.Class<java.lang.Object>' (cl=0x0)
E:   vtable (0 entries, 11 in super):
E:   direct methods (94 entries):
E:      0: void com.facebook.yoga.YogaNative.<clinit>()
E:      1: void com.facebook.yoga.YogaNative.jni_YGConfigFree(long)
E:      2: long com.facebook.yoga.YogaNative.jni_YGConfigNew()
E:      3: void com.facebook.yoga.YogaNative.jni_YGConfigSetExperimentalFeatureEnabled(long, int, boolean)
E:      4: void com.facebook.yoga.YogaNative.jni_YGConfigSetLogger(long, java.lang.Object)
E:      5: void com.facebook.yoga.YogaNative.jni_YGConfigSetPointScaleFactor(long, float)
E:      6: void com.facebook.yoga.YogaNative.jni_YGConfigSetPrintTreeFlag(long, boolean)
E:      7: void com.facebook.yoga.YogaNative.jni_YGConfigSetShouldDiffLayoutWithoutLegacyStretchBehaviour(long, boolean)
E:      8: void com.facebook.yoga.YogaNative.jni_YGConfigSetUseLegacyStretchBehaviour(long, boolean)
E:      9: void com.facebook.yoga.YogaNative.jni_YGConfigSetUseWebDefaults(long, boolean)
E:     10: void com.facebook.yoga.YogaNative.jni_YGNodeCalculateLayout(long, float, float, long[], com.facebook.yoga.m[])
E:     11: void com.facebook.yoga.YogaNative.jni_YGNodeClearChildren(long)
E:     12: long com.facebook.yoga.YogaNative.jni_YGNodeClone(long)
E:     13: void com.facebook.yoga.YogaNative.jni_YGNodeCopyStyle(long, long)
E:     14: void com.facebook.yoga.YogaNative.jni_YGNodeFree(long)
E:     15: int com.facebook.yoga.YogaNative.jni_YGNodeGetInstanceCount()
E:     16: void com.facebook.yoga.YogaNative.jni_YGNodeInsertChild(long, long, int)
E:     17: boolean com.facebook.yoga.YogaNative.jni_YGNodeIsDirty(long)
E:     18: boolean com.facebook.yoga.YogaNative.jni_YGNodeIsReferenceBaseline(long)
E:     19: void com.facebook.yoga.YogaNative.jni_YGNodeMarkDirty(long)
E:     20: void com.facebook.yoga.YogaNative.jni_YGNodeMarkDirtyAndPropogateToDescendants(long)
E:     21: long com.facebook.yoga.YogaNative.jni_YGNodeNew(boolean)
E:     22: long com.facebook.yoga.YogaNative.jni_YGNodeNewWithConfig(long, boolean)
E:     23: void com.facebook.yoga.YogaNative.jni_YGNodePrint(long)
E:     24: void com.facebook.yoga.YogaNative.jni_YGNodeRemoveChild(long, long)
E:     25: void com.facebook.yoga.YogaNative.jni_YGNodeReset(long)
E:     26: void com.facebook.yoga.YogaNative.jni_YGNodeSetHasBaselineFunc(long, boolean)
E:     27: void com.facebook.yoga.YogaNative.jni_YGNodeSetHasMeasureFunc(long, boolean)
E:     28: void com.facebook.yoga.YogaNative.jni_YGNodeSetIsReferenceBaseline(long, boolean)
E:     29: void com.facebook.yoga.YogaNative.jni_YGNodeSetStyleInputs(long, float[], int)
E:     30: int com.facebook.yoga.YogaNative.jni_YGNodeStyleGetAlignContent(long)
E:     31: int com.facebook.yoga.YogaNative.jni_YGNodeStyleGetAlignItems(long)
E:     32: int com.facebook.yoga.YogaNative.jni_YGNodeStyleGetAlignSelf(long)
E:     33: float com.facebook.yoga.YogaNative.jni_YGNodeStyleGetAspectRatio(long)
E:     34: float com.facebook.yoga.YogaNative.jni_YGNodeStyleGetBorder(long, int)
E:     35: int com.facebook.yoga.YogaNative.jni_YGNodeStyleGetDirection(long)
E:     36: int com.facebook.yoga.YogaNative.jni_YGNodeStyleGetDisplay(long)
E:     37: float com.facebook.yoga.YogaNative.jni_YGNodeStyleGetFlex(long)
E:     38: long com.facebook.yoga.YogaNative.jni_YGNodeStyleGetFlexBasis(long)
E:     39: int com.facebook.yoga.YogaNative.jni_YGNodeStyleGetFlexDirection(long)
E:     40: float com.facebook.yoga.YogaNative.jni_YGNodeStyleGetFlexGrow(long)
E:     41: float com.facebook.yoga.YogaNative.jni_YGNodeStyleGetFlexShrink(long)
E:     42: int com.facebook.yoga.YogaNative.jni_YGNodeStyleGetFlexWrap(long)
E:     43: long com.facebook.yoga.YogaNative.jni_YGNodeStyleGetHeight(long)
E:     44: int com.facebook.yoga.YogaNative.jni_YGNodeStyleGetJustifyContent(long)
E:     45: long com.facebook.yoga.YogaNative.jni_YGNodeStyleGetMargin(long, int)
E:     46: long com.facebook.yoga.YogaNative.jni_YGNodeStyleGetMaxHeight(long)
E:     47: long com.facebook.yoga.YogaNative.jni_YGNodeStyleGetMaxWidth(long)
E:     48: long com.facebook.yoga.YogaNative.jni_YGNodeStyleGetMinHeight(long)
E:     49: long com.facebook.yoga.YogaNative.jni_YGNodeStyleGetMinWidth(long)
E:     50: int com.facebook.yoga.YogaNative.jni_YGNodeStyleGetOverflow(long)
E:     51: long com.facebook.yoga.YogaNative.jni_YGNodeStyleGetPadding(long, int)
E:     52: long com.facebook.yoga.YogaNative.jni_YGNodeStyleGetPosition(long, int)
E:     53: int com.facebook.yoga.YogaNative.jni_YGNodeStyleGetPositionType(long)
E:     54: long com.facebook.yoga.YogaNative.jni_YGNodeStyleGetWidth(long)
E:     55: void com.facebook.yoga.YogaNative.jni_YGNodeStyleSetAlignContent(long, int)
E:     56: void com.facebook.yoga.YogaNative.jni_YGNodeStyleSetAlignItems(long, int)
E:     57: void com.facebook.yoga.YogaNative.jni_YGNodeStyleSetAlignSelf(long, int)
E:     58: void com.facebook.yoga.YogaNative.jni_YGNodeStyleSetAspectRatio(long, float)
E:     59: void com.facebook.yoga.YogaNative.jni_YGNodeStyleSetBorder(long, int, float)
E:     60: void com.facebook.yoga.YogaNative.jni_YGNodeStyleSetDirection(long, int)
E:     61: void com.facebook.yoga.YogaNative.jni_YGNodeStyleSetDisplay(long, int)
E:     62: void com.facebook.yoga.YogaNative.jni_YGNodeStyleSetFlex(long, float)
E:     63: void com.facebook.yoga.YogaNative.jni_YGNodeStyleSetFlexBasis(long, float)
E:     64: void com.facebook.yoga.YogaNative.jni_YGNodeStyleSetFlexBasisAuto(long)
E:     65: void com.facebook.yoga.YogaNative.jni_YGNodeStyleSetFlexBasisPercent(long, float)
E:     66: void com.facebook.yoga.YogaNative.jni_YGNodeStyleSetFlexDirection(long, int)
E:     67: void com.facebook.yoga.YogaNative.jni_YGNodeStyleSetFlexGrow(long, float)
E:     68: void com.facebook.yoga.YogaNative.jni_YGNodeStyleSetFlexShrink(long, float)
E:     69: void com.facebook.yoga.YogaNative.jni_YGNodeStyleSetFlexWrap(long, int)
E:     70: void com.facebook.yoga.YogaNative.jni_YGNodeStyleSetHeight(long, float)
E:     71: void com.facebook.yoga.YogaNative.jni_YGNodeStyleSetHeightAuto(long)
E:     72: void com.facebook.yoga.YogaNative.jni_YGNodeStyleSetHeightPercent(long, float)
E:     73: void com.facebook.yoga.YogaNative.jni_YGNodeStyleSetJustifyContent(long, int)
E:     74: void com.facebook.yoga.YogaNative.jni_YGNodeStyleSetMargin(long, int, float)
E:     75: void com.facebook.yoga.YogaNative.jni_YGNodeStyleSetMarginAuto(long, int)
E:     76: void com.facebook.yoga.YogaNative.jni_YGNodeStyleSetMarginPercent(long, int, float)
E:     77: void com.facebook.yoga.YogaNative.jni_YGNodeStyleSetMaxHeight(long, float)
E:     78: void com.facebook.yoga.YogaNative.jni_YGNodeStyleSetMaxHeightPercent(long, float)
E:     79: void com.facebook.yoga.YogaNative.jni_YGNodeStyleSetMaxWidth(long, float)
E:     80: void com.facebook.yoga.YogaNative.jni_YGNodeStyleSetMaxWidthPercent(long, float)
E:     81: void com.facebook.yoga.YogaNative.jni_YGNodeStyleSetMinHeight(long, float)
E:     82: void com.facebook.yoga.YogaNative.jni_YGNodeStyleSetMinHeightPercent(long, float)
E:     83: void com.facebook.yoga.YogaNative.jni_YGNodeStyleSetMinWidth(long, float)
E:     84: void com.facebook.yoga.YogaNative.jni_YGNodeStyleSetMinWidthPercent(long, float)
E:     85: void com.facebook.yoga.YogaNative.jni_YGNodeStyleSetOverflow(long, int)
E:     86: void com.facebook.yoga.YogaNative.jni_YGNodeStyleSetPadding(long, int, float)
E:     87: void com.facebook.yoga.YogaNative.jni_YGNodeStyleSetPaddingPercent(long, int, float)
E:     88: void com.facebook.yoga.YogaNative.jni_YGNodeStyleSetPosition(long, int, float)
E:     89: void com.facebook.yoga.YogaNative.jni_YGNodeStyleSetPositionPercent(long, int, float)
E:     90: void com.facebook.yoga.YogaNative.jni_YGNodeStyleSetPositionType(long, int)
E:     91: void com.facebook.yoga.YogaNative.jni_YGNodeStyleSetWidth(long, float)
E:     92: void com.facebook.yoga.YogaNative.jni_YGNodeStyleSetWidthAuto(long)
E:     93: void com.facebook.yoga.YogaNative.jni_YGNodeStyleSetWidthPercent(long, float)
E: Failed to register native method com.facebook.yoga.YogaNative.jni_YGNodeCalculateLayout(JFF[J[Lcom/facebook/yoga/YogaNodeJNIBase;)V in /data/app/com.example.staging-N7Y9vecp_QGb2fxhEUHebg==/base.apk
A: java_vm_ext.cc:542] JNI DETECTED ERROR IN APPLICATION: JNI NewGlobalRef called with pending exception java.lang.NoSuchMethodError: no static or non-static method "Lcom/facebook/yoga/YogaNative;.jni_YGNodeCalculateLayout(JFF[J[Lcom/facebook/yoga/YogaNodeJNIBase;)V"
A: java_vm_ext.cc:542]   at java.lang.String java.lang.Runtime.nativeLoad(java.lang.String, java.lang.ClassLoader) (Runtime.java:-2)
A: java_vm_ext.cc:542]   at void java.lang.Runtime.load0(java.lang.Class, java.lang.String) (Runtime.java:926)
A: java_vm_ext.cc:542]   at void java.lang.System.load(java.lang.String) (System.java:1633)
A: java_vm_ext.cc:542]   at void com.facebook.soloader.m.a(java.lang.String, int) (:382)
A: java_vm_ext.cc:542]   at int com.facebook.soloader.c.a(java.lang.String, int, java.io.File, android.os.StrictMode$ThreadPolicy) (:79)
A: java_vm_ext.cc:542]   at int com.facebook.soloader.c.a(java.lang.String, int, android.os.StrictMode$ThreadPolicy) (:52)
A: java_vm_ext.cc:542]   at int com.facebook.soloader.b.a(java.lang.String, int, android.os.StrictMode$ThreadPolicy) (:81)
A: java_vm_ext.cc:542]   at void com.facebook.soloader.SoLoader.b(java.lang.String, int, android.os.StrictMode$ThreadPolicy) (:681)
A: java_vm_ext.cc:542]   at boolean com.facebook.soloader.SoLoader.a(java.lang.String, java.lang.String, java.lang.String, int, android.os.StrictMode$ThreadPolicy) (:591)
A: java_vm_ext.cc:542]   at boolean com.facebook.soloader.SoLoader.a(java.lang.String, int) (:529)
A: java_vm_ext.cc:542]   at boolean com.facebook.soloader.SoLoader.a(java.lang.String) (:484)
A: java_vm_ext.cc:542]   at void com.facebook.yoga.YogaNative.<clinit>() (:15)
A: java_vm_ext.cc:542]   at long com.facebook.yoga.YogaNative.jni_YGConfigNew() (:-2)
A: java_vm_ext.cc:542]   at void com.facebook.yoga.c.<init>() (:21)
A: java_vm_ext.cc:542]   at void com.facebook.litho.yb.<clinit>() (:43)
A: java_vm_ext.cc:542]   at com.facebook.litho.Wa com.facebook.litho.Xa.a(com.facebook.litho.u) (:21)
A: java_vm_ext.cc:542]   at com.facebook.litho.Wa com.facebook.litho.u.a(int, int) (:374)
A: java_vm_ext.cc:542]   at com.facebook.litho.C com.facebook.litho.i.k(com.facebook.litho.u) (:94)
A: java_vm_ext.cc:542]   at com.facebook.litho.Wa com.facebook.litho.eb.a(com.facebook.litho.u, com.facebook.litho.p) (:2551)
A: java_vm_ext.cc:542]   at com.facebook.litho.Wa com.facebook.litho.eb.a(com.facebook.litho.u, com.facebook.litho.p, boolean) (:2446)
A: java_vm_ext.cc:542]   at com.facebook.litho.Wa com.facebook.litho.eb.a(com.facebook.litho.p, com.facebook.litho.u, com.facebook.litho.Wa) (:1606)
A: java_vm_ext.cc:542]   at com.facebook.litho.Wa com.facebook.litho.eb.a(com.facebook.litho.u, com.facebook.litho.p, int, int, com.facebook.litho.Wa, com.facebook.litho.Wa, com.facebook.litho.na, com.facebook.litho.Ib) (:1797)
A: java_vm_ext.cc:542]   at com.facebook.litho.eb com.facebook.litho.eb.a(com.facebook.litho.u, com.facebook.litho.p, int, int, int, boolean, com.facebook.litho.eb, int, java.lang.String) (:1297)
A: java_vm_ext.cc:542]   at com.facebook.litho.eb com.facebook.litho.ComponentTree$c.k() (:2344)
A: java_vm_ext.cc:542]   at com.facebook.litho.eb com.facebook.litho.ComponentTree$c.c(com.facebook.litho.ComponentTree$c) (:2262)
A: java_vm_ext.cc:542]   at com.facebook.litho.eb com.facebook.litho.L.call() (:2322)
A: java_vm_ext.cc:542]   at java.lang.Object com.facebook.litho.L.call() (:2314)
A: java_vm_ext.cc:542]   at void java.util.concurrent.FutureTask.run() (FutureTask.java:266)
A: java_vm_ext.cc:542]   at com.facebook.litho.eb com.facebook.litho.ComponentTree$c.h() (:2448)
A: java_vm_ext.cc:542]   at com.facebook.litho.eb com.facebook.litho.ComponentTree$c.g() (:2441)
A: java_vm_ext.cc:542]   at com.facebook.litho.eb com.facebook.litho.ComponentTree.a(com.facebook.litho.u, com.facebook.litho.p, int, int, boolean, com.facebook.litho.eb, com.facebook.litho.sc, int, java.lang.String) (:2227)
A: java_vm_ext.cc:542]   at void com.facebook.litho.ComponentTree.a(int, int, int[], boolean) (:965)
A: java_vm_ext.cc:542]   at void com.facebook.litho.lb.a(boolean, int, int, int, int) (:365)
A: java_vm_ext.cc:542]   at void com.facebook.litho.x.onLayout(boolean, int, int, int, int) (:818)
A: java_vm_ext.cc:542]   at void android.view.View.layout(int, int, int, int) (View.java:22406)
A: java_vm_ext.cc:542]   at void android.view.ViewGroup.layout(int, int, int, int) (ViewGroup.java:6594)
A: java_vm_ext.cc:542]   at void androidx.viewpager.widget.ViewPager.onLayout(boolean, int, int, int, int) (:1775)
A: java_vm_ext.cc:542]   at void android.view.View.layout(int, int, int, int) (View.java:22406)
A: java_vm_ext.cc:542]   at void android.view.ViewGroup.layout(int, int, int, int) (ViewGroup.java:6594)
A: java_vm_ext.cc:542]   at void com.google.android.material.appbar.h.b(androidx.coordinatorlayout.widget.CoordinatorLayout, android.view.View, int) (:144)
A: java_vm_ext.cc:542]   at boolean com.google.android.material.appbar.i.a(androidx.coordinatorlayout.widget.CoordinatorLayout, android.view.View, int) (:41)
A: java_vm_ext.cc:542]   at boolean com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior.a(androidx.coordinatorlayout.widget.CoordinatorLayout, android.view.View, int) (:1874)
A: java_vm_ext.cc:542]   at void androidx.coordinatorlayout.widget.CoordinatorLayout.onLayout(boolean, int, int, int, int) (:898)
A: java_vm_ext.cc:542]   at void android.view.View.layout(int, int, int, int) (View.java:22406)
A: java_vm_ext.cc:542]   at void android.view.ViewGroup.layout(int, int, int, int) (ViewGroup.java:6594)
A: java_vm_ext.cc:542]   at void android.widget.FrameLayout.layoutChildren(int, int, int, int, boolean) (FrameLayout.java:323)
A: java_vm_ext.cc:542]   at void android.widget.FrameLayout.onLayout(boolean, int, int, int, int) (FrameLayout.java:261)
A: java_vm_ext.cc:542]   at void android.view.View.layout(int, int, int, int) (View.java:22406)
A: java_vm_ext.cc:542]   at void android.view.ViewGroup.layout(int, int, int, int) (ViewGroup.java:6594)
A: java_vm_ext.cc:542]   at void android.widget.LinearLayout.setChildFrame(android.view.View, int, int, int, int) (LinearLayout.java:1812)
A: java_vm_ext.cc:542]   at void android.widget.LinearLayout.layoutVertical(int, int, int, int) (LinearLayout.java:1656)
A: java_vm_ext.cc:542]   at void android.widget.LinearLayout.onLayout(boolean, int, int, int, int) (LinearLayout.java:1565)
A: java_vm_ext.cc:542]   at void android.view.View.layout(int, int, int, int) (View.java:22406)
A: java_vm_ext.cc:542]   at void android.view.ViewGroup.layout(int, int, int, int) (ViewGroup.java:6594)
A: java_vm_ext.cc:542]   at void android.widget.FrameLayout.layoutChildren(int, int, int, int, boolean) (FrameLayout.java:323)
A: java_vm_ext.cc:542]   at void android.widget.FrameLayout.onLayout(boolean, int, int, int, int) (FrameLayout.java:261)
A: java_vm_ext.cc:542]   at void android.view.View.layout(int, int, int, int) (View.java:22406)
A: java_vm_ext.cc:542]   at void android.view.ViewGroup.layout(int, int, int, int) (ViewGroup.java:6594)
A: java_vm_ext.cc:542]   at void android.widget.LinearLayout.setChildFrame(android.view.View, int, int, int, int) (LinearLayout.java:1812)
A: java_vm_ext.cc:542]   at void android.widget.LinearLayout.layoutVertical(int, int, int, int) (LinearLayout.java:1656)
A: java_vm_ext.cc:542]   at void android.widget.LinearLayout.onLayout(boolean, int, int, int, int) (LinearLayout.java:1565)
A: java_vm_ext.cc:542]   at void android.view.View.layout(int, int, int, int) (View.java:22406)
A: java_vm_ext.cc:542]   at void android.view.ViewGroup.layout(int, int, int, int) (ViewGroup.java:6594)
A: java_vm_ext.cc:542]   at void android.widget.FrameLayout.layoutChildren(int, int, int, int, boolean) (FrameLayout.java:323)
A: java_vm_ext.cc:542]   at void android.widget.FrameLayout.onLayout(boolean, int, int, int, int) (FrameLayout.java:261)
A: java_vm_ext.cc:542]   at void android.view.View.layout(int, int, int, int) (View.java:22406)
A: java_vm_ext.cc:542]   at void android.view.ViewGroup.layout(int, int, int, int) (ViewGroup.java:6594)
A: java_vm_ext.cc:542]   at void android.widget.LinearLayout.setChildFrame(android.view.View, int, int, int, int) (LinearLayout.java:1812)
A: java_vm_ext.cc:542]   at void android.widget.LinearLayout.layoutVertical(int, int, int, int) (LinearLayout.java:1656)
A: java_vm_ext.cc:542]   at void android.widget.LinearLayout.onLayout(boolean, int, int, int, int) (LinearLayout.java:1565)
A: java_vm_ext.cc:542]   at void android.view.View.layout(int, int, int, int) (View.java:22406)
A: java_vm_ext.cc:542]   at void android.view.ViewGroup.layout(int, int, int, int) (ViewGroup.java:6594)
A: java_vm_ext.cc:542]   at void android.widget.FrameLayout.layoutChildren(int, int, int, int, boolean) (FrameLayout.java:323)
A: java_vm_ext.cc:542]   at void android.widget.FrameLayout.onLayout(boolean, int, int, int, int) (FrameLayout.java:261)
A: java_vm_ext.cc:542]   at void com.android.internal.policy.DecorView.onLayout(boolean, int, int, int, int) (DecorView.java:1079)
A: java_vm_ext.cc:542]   at void android.view.View.layout(int, int, int, int) (View.java:22406)
A: java_vm_ext.cc:542]   at void android.view.ViewGroup.layout(int, int, int, int) (ViewGroup.java:6594)
A: java_vm_ext.cc:542]   at void android.view.ViewRootImpl.performLayout(android.view.WindowManager$LayoutParams, int, int) (ViewRootImpl.java:3371)
A: java_vm_ext.cc:542]   at void android.view.ViewRootImpl.performTraversals() (ViewRootImpl.java:2840)
A: java_vm_ext.cc:542]   at void android.view.ViewRootImpl.doTraversal() (ViewRootImpl.java:1888)
A: java_vm_ext.cc:542]   at void android.view.ViewRootImpl$TraversalRunnable.run() (ViewRootImpl.java:8503)
A: java_vm_ext.cc:542]   at void android.view.Choreographer$CallbackRecord.run(long) (Choreographer.java:949)
A: java_vm_ext.cc:542]   at void android.view.Choreographer.doCallbacks(int, long) (Choreographer.java:761)
A: java_vm_ext.cc:542]   at void android.view.Choreographer.doFrame(long, int) (Choreographer.java:696)
A: java_vm_ext.cc:542]   at void android.view.Choreographer$FrameDisplayEventReceiver.run() (Choreographer.java:935)
A: java_vm_ext.cc:542]   at void android.os.Handler.handleCallback(android.os.Message) (Handler.java:873)
A: java_vm_ext.cc:542]   at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:99)
A: java_vm_ext.cc:542]   at void android.os.Looper.loop() (Looper.java:214)
A: java_vm_ext.cc:542]   at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:7073)
A: java_vm_ext.cc:542]   at java.lang.Object java.lang.reflect.Method.invoke(java.lang.Object, java.lang.Object[]) (Method.java:-2)
A: java_vm_ext.cc:542]   at void com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run() (RuntimeInit.java:493)
A: java_vm_ext.cc:542]   at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:964)
A: java_vm_ext.cc:542] 
A: java_vm_ext.cc:542]     in call to NewGlobalRef
A: java_vm_ext.cc:542]     from java.lang.String java.lang.Runtime.nativeLoad(java.lang.String, java.lang.ClassLoader)
A: java_vm_ext.cc:542] "main" prio=5 tid=1 Runnable
A: java_vm_ext.cc:542]   | group="main" sCount=0 dsCount=0 flags=0 obj=0x7599cff8 self=0x7ebfa14c00
A: java_vm_ext.cc:542]   | sysTid=12073 nice=-10 cgrp=default sched=0/0 handle=0x7f463c9560
A: java_vm_ext.cc:542]   | state=R schedstat=( 3119572424 161202261 882 ) utm=286 stm=25 core=6 HZ=100
A: java_vm_ext.cc:542]   | stack=0x7fce169000-0x7fce16b000 stackSize=8MB
A: java_vm_ext.cc:542]   | held mutexes= "mutator lock"(shared held)
A: java_vm_ext.cc:542]   native: #00 pc 00000000003c5d54  /system/lib64/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, int, BacktraceMap*, char const*, art::ArtMethod*, void*, bool)+220)
A: java_vm_ext.cc:542]   native: #01 pc 0000000000494298  /system/lib64/libart.so (art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, bool, BacktraceMap*, bool) const+352)
A: java_vm_ext.cc:542]   native: #02 pc 00000000002e9250  /system/lib64/libart.so (art::JavaVMExt::JniAbort(char const*, char const*)+968)
A: java_vm_ext.cc:542]   native: #03 pc 00000000002e9660  /system/lib64/libart.so (art::JavaVMExt::JniAbortV(char const*, char const*, std::__va_list)+116)
A: java_vm_ext.cc:542]   native: #04 pc 00000000000fddfc  /system/lib64/libart.so (art::(anonymous namespace)::ScopedCheck::AbortF(char const*, ...)+148)
A: java_vm_ext.cc:542]   native: #05 pc 00000000000fc7d8  /system/lib64/libart.so (art::(anonymous namespace)::ScopedCheck::CheckPossibleHeapValue(art::ScopedObjectAccess&, char, art::(anonymous namespace)::JniValueType)+1152)
A: java_vm_ext.cc:542]   native: #06 pc 00000000000fbb44  /system/lib64/libart.so (art::(anonymous namespace)::ScopedCheck::Check(art::ScopedObjectAccess&, bool, char const*, art::(anonymous namespace)::JniValueType*)+628)
A: java_vm_ext.cc:542]   native: #07 pc 00000000000fead4  /system/lib64/libart.so (art::(anonymous namespace)::CheckJNI::NewRef(char const*, _JNIEnv*, _jobject*, art::IndirectRefKind)+684)
A: java_vm_ext.cc:542]   native: #08 pc 000000000049ccc8  /system/lib64/libart.so (art::Thread::SetClassLoaderOverride(_jobject*)+64)
A: java_vm_ext.cc:542]   native: #09 pc 00000000002ed100  /system/lib64/libart.so (art::JavaVMExt::LoadNativeLibrary(_JNIEnv*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, _jobject*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>*)+3236)
A: java_vm_ext.cc:542]   native: #10 pc 0000000000004038  /system/lib64/libopenjdkjvm.so (JVM_NativeLoad+412)
A: java_vm_ext.cc:542]   native: #11 pc 0000000000115bc8  /system/framework/arm64/boot.oat (offset 115000) (java.lang.Runtime.nativeLoad [DEDUPED]+200)
A: java_vm_ext.cc:542]   native: #12 pc 000000000055ae4c  /system/lib64/libart.so (art_quick_invoke_static_stub+604)
A: java_vm_ext.cc:542]   native: #13 pc 00000000000d04e8  /system/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+232)
A: java_vm_ext.cc:542]   native: #14 pc 00000000002838c0  /system/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+344)
A: java_vm_ext.cc:542]   native: #15 pc 000000000027d8c8  /system/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+968)
A: java_vm_ext.cc:542]   native: #16 pc 000000000052b6ac  /system/lib64/libart.so (MterpInvokeStatic+204)
A: java_vm_ext.cc:542]   native: #17 pc 000000000054d314  /system/lib64/libart.so (ExecuteMterpImpl+14612)
A: java_vm_ext.cc:542]   native: #18 pc 00000000000c6c74  /system/framework/boot.vdex (java.lang.Runtime.load0+36)
A: java_vm_ext.cc:542]   native: #19 pc 00000000002575cc  /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.3447884204+488)
A: java_vm_ext.cc:542]   native: #20 pc 000000000025d0c0  /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+216)
A: java_vm_ext.cc:542]   native: #21 pc 000000000027d8ac  /system/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+940)
A: java_vm_ext.cc:542]   native: #22 pc 000000000052a1a8  /system/lib64/libart.so (MterpInvokeVirtual+588)
A: java_vm_ext.cc:542]   native: #23 pc 000000000054d194  /system/lib64/libart.so (ExecuteMterpImpl+14228)
A: java_vm_ext.cc:542]   native: #24 pc 00000000000c9620  /system/framework/boot.vdex (java.lang.System.load+16)
A: java_vm_ext.cc:542]   native: #25 pc 00000000002575cc  /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.3447884204+488)
A: java_vm_ext.cc:542]   native: #26 pc 000000000025d0c0  /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+216)
A: java_vm_ext.cc:542]   native: #27 pc 000000000027d8ac  /system/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+940)
A: java_vm_ext.cc:542]   native: #28 pc 000000000052b6ac  /system/lib64/libart.so (MterpInvokeStatic+204)
A: java_vm_ext.cc:542]   native: #29 pc 000000000054d314  /system/lib64/libart.so (ExecuteMterpImpl+14612)
A: java_vm_ext.cc:542]   native: #30 pc 000000000027f36e  /dev/ashmem/dalvik-classes.dex extracted in memory from /data/app/com.example.staging-N7Y9vecp_QGb2fxhEUHebg==/base.apk_12073_12073 (deleted) (com.facebook.soloader.m.a+370)
A: java_vm_ext.cc:542]   native: #31 pc 00000000002575cc  /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.3447884204+488)
A: java_vm_ext.cc:542]   native: #32 pc 000000000025d0c0  /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+216)
A: java_vm_ext.cc:542]   native: #33 pc 000000000027d8ac  /system/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+940)
A: java_vm_ext.cc:542]   native: #34 pc 000000000052b124  /system/lib64/libart.so (MterpInvokeInterface+1392)
A: java_vm_ext.cc:542]   native: #35 pc 000000000054d394  /system/lib64/libart.so (ExecuteMterpImpl+14740)
A: java_vm_ext.cc:542]   native: #36 pc 000000000027dcf4  /dev/ashmem/dalvik-classes.dex extracted in memory from /data/app/com.example.staging-N7Y9vecp_QGb2fxhEUHebg==/base.apk_12073_12073 (deleted) (com.facebook.soloader.c.a+272)
A: java_vm_ext.cc:542]   native: #37 pc 00000000002575cc  /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.3447884204+488)
A: java_vm_ext.cc:542]   native: #38 pc 000000000025d0c0  /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+216)
A: java_vm_ext.cc:542]   native: #39 pc 000000000027d8ac  /system/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+940)
A: java_vm_ext.cc:542]   native: #40 pc 000000000052a1a8  /system/lib64/libart.so (MterpInvokeVirtual+588)
A: java_vm_ext.cc:542]   native: #41 pc 000000000054d194  /system/lib64/libart.so (ExecuteMterpImpl+14228)
A: java_vm_ext.cc:542]   native: #42 pc 000000000027dbc8  /dev/ashmem/dalvik-classes.dex extracted in memory from /data/app/com.example.staging-N7Y9vecp_QGb2fxhEUHebg==/base.apk_12073_12073 (deleted) (com.facebook.soloader.c.a+4)
A: java_vm_ext.cc:542]   native: #43 pc 00000000002575cc  /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.3447884204+488)
A: java_vm_ext.cc:542]   native: #44 pc 000000000025d0c0  /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+216)
A: java_vm_ext.cc:542]   native: #45 pc 000000000027d8ac  /system/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+940)
A: java_vm_ext.cc:542]   native: #46 pc 000000000052a1a8  /system/lib64/libart.so (MterpInvokeVirtual+588)
A: java_vm_ext.cc:542]   native: #47 pc 000000000054d194  /system/lib64/libart.so (ExecuteMterpImpl+14228)
A: java_vm_ext.cc:542]   native: #48 pc 000000000027db00  /dev/ashmem/dalvik-classes.dex extracted in memory from /data/app/com.example.staging-N7Y9vecp_QGb2fxhEUHebg==/base.apk_12073_12073 (deleted) (com.facebook.soloader.b.a+4)
A: java_vm_ext.cc:542]   native: #49 pc 00000000002575cc  /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.3447884204+488)
A: java_vm_ext.cc:542]   native: #50 pc 000000000025d0c0  /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+216)
A: java_vm_ext.cc:542]   native: #51 pc 000000000027d8ac  /system/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+940)
A: java_vm_ext.cc:542]   native: #52 pc 000000000052a1a8  /system/lib64/libart.so (MterpInvokeVirtual+588)
A: java_vm_ext.cc:542]   native: #53 pc 000000000054d194  /system/lib64/libart.so (ExecuteMterpImpl+14228)
A: java_vm_ext.cc:542]   native: #54 pc 000000000027fc16  /dev/ashmem/dalvik-classes.dex extracted in memory from /data/app/com.example.staging-N7Y9vecp_QGb2fxhEUHebg==/base.apk_12073_12073 (deleted) (com.facebook.soloader.SoLoader.b+206)
A: java_vm_ext.cc:542]   native: #55 pc 00000000002575cc  /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.3447884204+488)
A: java_vm_ext.cc:542]   native: #56 pc 000000000025d0c0  /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+216)
A: java_vm_ext.cc:542]   native: #57 pc 000000000027d8ac  /system/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+940)
A: java_vm_ext.cc:542]   native: #58 pc 000000000052b6ac  /system/lib64/libart.so (MterpInvokeStatic+204)
A: java_vm_ext.cc:542]   native: #59 pc 000000000054d314  /system/lib64/libart.so (ExecuteMterpImpl+14612)
A: java_vm_ext.cc:542]   native: #60 pc 000000000027f6c0  /dev/ashmem/dalvik-classes.dex extracted in memory from /data/app/com.example.staging-N7Y9vecp_QGb2fxhEUHebg==/base.apk_12073_12073 (deleted) (com.facebook.soloader.SoLoader.a+208)
A: java_vm_ext.cc:542]   native: #61 pc 00000000002575cc  /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.3447884204+488)
A: java_vm_ext.cc:542]   native: #62 pc 000000000025d0c0  /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+216)
A: java_vm_ext.cc:542]   native: #63 pc 000000000027d8ac  /system/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+940)
A: java_vm_ext.cc:542]   native: #64 pc 000000000052b6ac  /system/lib64/libart.so (MterpInvokeStatic+204)
A: java_vm_ext.cc:542]   native: #65 pc 000000000054d314  /system/lib64/libart.so (ExecuteMterpImpl+14612)
A: java_vm_ext.cc:542]   native: #66 pc 000000000027f598  /dev/ashmem/dalvik-classes.dex extracted in memory from /data/app/com.example.staging-N7Y9vecp_QGb2fxhEUHebg==/base.apk_12073_12073 (deleted) (com.facebook.soloader.SoLoader.a+196)
A: java_vm_ext.cc:542]   native: #67 pc 00000000002575cc  /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.3447884204+488)
A: java_vm_ext.cc:542]   native: #68 pc 000000000025d0c0  /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+216)
A: java_vm_ext.cc:542]   native: #69 pc 000000000027d8ac  /system/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+940)
A: java_vm_ext.cc:542]   native: #70 pc 000000000052b6ac  /system/lib64/libart.so (MterpInvokeStatic+204)
A: java_vm_ext.cc:542]   native: #71 pc 000000000054d314  /system/lib64/libart.so (ExecuteMterpImpl+14612)
A: java_vm_ext.cc:542]   native: #72 pc 000000000027f4ba  /dev/ashmem/dalvik-classes.dex extracted in memory from /data/app/com.example.staging-N7Y9vecp_QGb2fxhEUHebg==/base.apk_12073_12073 (deleted) (com.facebook.soloader.SoLoader.a+2)
A: java_vm_ext.cc:542]   native: #73 pc 00000000002575cc  /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.3447884204+488)
A: java_vm_ext.cc:542]   native: #74 pc 000000000025d0c0  /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+216)
A: java_vm_ext.cc:542]   native: #75 pc 000000000027d8ac  /system/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+940)
A: java_vm_ext.cc:542]   native: #76 pc 000000000052b6ac  /system/lib64/libart.so (MterpInvokeStatic+204)
A: java_vm_ext.cc:542]   native: #77 pc 000000000054d314  /system/lib64/libart.so (ExecuteMterpImpl+14612)
A: java_vm_ext.cc:542]   native: #78 pc 0000000000282548  /dev/ashmem/dalvik-classes.dex extracted in memory from /data/app/com.example.staging-N7Y9vecp_QGb2fxhEUHebg==/base.apk_12073_12073 (deleted) (com.facebook.yoga.YogaNative.<clinit>+4)
A: java_vm_ext.cc:542]   native: #79 pc 00000000002575cc  /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.3447884204+488)
A: java_vm_ext.cc:542]   native: #80 pc 000000000051aa3c  /system/lib64/libart.so (artQuickToInterpreterBridge+1020)
A: java_vm_ext.cc:542]   native: #81 pc 0000000000563cfc  /system/lib64/libart.so (art_quick_to_interpreter_bridge+92)
A: java_vm_ext.cc:542]   native: #82 pc 000000000055ae4c  /system/lib64/libart.so (art_quick_invoke_static_stub+604)
A: java_vm_ext.cc:542]   native: #83 pc 00000000000d04e8  /system/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+232)
A: java_vm_ext.cc:542]   native: #84 pc 000000000012830c  /system/lib64/libart.so (art::ClassLinker::InitializeClass(art::Thread*, art::Handle<art::mirror::Class>, bool, bool)+2196)
A: java_vm_ext.cc:542]   native: #85 pc 000000000011372c  /system/lib64/libart.so (art::ClassLinker::EnsureInitialized(art::Thread*, art::Handle<art::mirror::Class>, bool, bool)+192)
A: java_vm_ext.cc:542]   native: #86 pc 0000000000283958  /system/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+496)
A: java_vm_ext.cc:542]   native: #87 pc 000000000027d8c8  /system/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+968)
A: java_vm_ext.cc:542]   native: #88 pc 000000000052b6ac  /system/lib64/libart.so (MterpInvokeStatic+204)
A: java_vm_ext.cc:542]   native: #89 pc 000000000054d314  /system/lib64/libart.so (ExecuteMterpImpl+14612)
A: java_vm_ext.cc:542]   native: #90 pc 0000000000281dc2  /dev/ashmem/dalvik-classes.dex extracted in memory from /data/app/com.example.staging-N7Y9vecp_QGb2fxhEUHebg==/base.apk_12073_12073 (deleted) (com.facebook.yoga.c.<init>+6)
A: java_vm_ext.cc:542]   native: #91 pc 00000000002575cc  /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.3447884204+488)
A: java_vm_ext.cc:542]   native: #92 pc 000000000025d0c0  /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+216)
A: java_vm_ext.cc:542]   native: #93 pc 000000000027d8ac  /system/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+940)
A: java_vm_ext.cc:542]   native: #94 pc 000000000052b4e8  /system/lib64/libart.so (MterpInvokeDirect+296)
A: java_vm_ext.cc:542]   native: #95 pc 000000000054d294  /system/lib64/libart.so (ExecuteMterpImpl+14484)
A: java_vm_ext.cc:542]   native: #96 pc 00000000002579a4  /dev/ashmem/dalvik-classes.dex extracted in memory from /data/app/com.example.staging-N7Y9vecp_QGb2fxhEUHebg==/base.apk_12073_12073 (deleted) (com.facebook.litho.yb.<clinit>+4)
A: java_vm_ext.cc:542]   native: #97 pc 00000000002575cc  /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.3447884204+488)
A: java_vm_ext.cc:542]   native: #98 pc 000000000051aa3c  /system/lib64/libart.so (artQuickToInterpreterBridge+1020)
A: java_vm_ext.cc:542]   native: #99 pc 0000000000563cfc  /system/lib64/libart.so (art_quick_to_interpreter_bridge+92)
A: java_vm_ext.cc:542]   native: #100 pc 000000000055ae4c  /system/lib64/libart.so (art_quick_invoke_static_stub+604)
A: java_vm_ext.cc:542]   native: #101 pc 00000000000d04e8  /system/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+232)
A: java_vm_ext.cc:542]   native: #102 pc 000000000012830c  /system/lib64/libart.so (art::ClassLinker::InitializeClass(art::Thread*, art::Handle<art::mirror::Class>, bool, bool)+2196)
A: java_vm_ext.cc:542]   native: #103 pc 000000000011372c  /system/lib64/libart.so (art::ClassLinker::EnsureInitialized(art::Thread*, art::Handle<art::mirror::Class>, bool, bool)+192)
A: java_vm_ext.cc:542]   native: #104 pc 000000000052f98c  /system/lib64/libart.so (MterpGetObjStatic+332)
A: java_vm_ext.cc:542]   native: #105 pc 000000000054cb90  /system/lib64/libart.so (ExecuteMterpImpl+12688)
A: java_vm_ext.cc:542]   native: #106 pc 000000000024bd14  /dev/ashmem/dalvik-classes.dex extracted in memory from /data/app/com.example.staging-N7Y9vecp_QGb2fxhEUHebg==/base.apk_12073_12073 (deleted) (com.facebook.litho.Xa.a)
A: java_vm_ext.cc:542]   native: #107 pc 00000000002575cc  /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.3447884204+488)
A: java_vm_ext.cc:542]   native: #108 pc 000000000025d0c0  /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+216)
A: java_vm_ext.cc:542]   native: #109 pc 000000000027d8ac  /system/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+940)
A: java_vm_ext.cc:542]   native: #110 pc 000000000052b6ac  /system/lib64/libart.so (MterpInvokeStatic+204)
A: java_vm_ext.cc:542]   native: #111 pc 000000000054d314  /system/lib64/libart.so (ExecuteMterpImpl+14612)
A: java_vm_ext.cc:542]   native: #112 pc 000000000023ce70  /dev/ashmem/dalvik-classes.dex extracted in memory from /data/app/com.example.staging-N7Y9vecp_QGb2fxhEUHebg==/base.apk_12073_12073 (deleted) (com.facebook.litho.u.a)
A: java_vm_ext.cc:542]   native: #113 pc 00000000002575cc  /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.3447884204+488)
A: java_vm_ext.cc:542]   native: #114 pc 000000000025d0c0  /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+216)
A: java_vm_ext.cc:542]   native: #115 pc 000000000027d8ac  /system/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+940)
A: java_vm_ext.cc:542]   native: #116 pc 000000000052a1a8  /system/lib64/libart.so (MterpInvokeVirtual+588)
A: java_vm_ext.cc:542]   native: #117 pc 000000000054d194  /system/lib64/libart.so (ExecuteMterpImpl+14228)
A: java_vm_ext.cc:542]   native: #118 pc 000000000023a964  /dev/ashmem/dalvik-classes.dex extracted in memory from /data/app/com.example.staging-N7Y9vecp_QGb2fxhEUHebg==/base.apk_12073_12073 (deleted) (com.facebook.litho.i.k+4)
A: java_vm_ext.cc:542]   native: #119 pc 00000000002575cc  /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.3447884204+488)
A: java_vm_ext.cc:542]   native: #120 pc 000000000025d0c0  /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+216)
A: java_vm_ext.cc:542]   native: #124 pc 000000000024d29e  /dev/ashmem/dalvik-classes.dex extracted in memory from /data/app/com.example.staging-N7Y9vecp_QGb2fxhEUHebg==/base.apk_12073_12073 (deleted) (com.facebook.litho.eb.a+50)
A: java_vm_ext.cc:542]   native: #134 pc 000000000052b6ac  /system/lib64/libart.so (MterpInvokeStatic+204)
A: java_vm_ext.cc:542]   native: #137 pc 00000000002575cc  /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.3447884204+488)
A: java_vm_ext.cc:542]   native: #148 pc 000000000024db8e  /dev/ashmem/dalvik-classes.dex extracted in memory from /data/app/com.example.staging-N7Y9vecp_QGb2fxhEUHebg==/base.apk_12073_12073 (deleted) (com.facebook.litho.eb.a+538)
A: java_vm_ext.cc:542]   native: #155 pc 00000000002575cc  /system/lib64/libart.so (_ZN3art11interpreterL7ExecuteEPNS_6ThreadERKNS_20CodeItemDataAccessorERNS_11ShadowFrameENS_6JValueEb.llvm.3447884204+488)
A: java_vm_ext.cc:542]   native: #158 pc 000000000052b4e8  /system/lib64/libart.so (MterpInvokeDirect+296)
A: java_vm_ext.cc:542]   native: #168 pc 000000000025d0c0  /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+216)
A: java_vm_ext.cc:542]   native: #172 pc 000000000024024c  /dev/ashmem/dalvik-classes.dex extracted in memory from /data/app/com.example.staging-N7Y9vecp_QGb2fxhEUHebg==/base.apk_12073_12073 (deleted) (com.facebook.litho.L.call)
A: runtime.cc:574] Runtime aborting...
A: runtime.cc:574] Dumping all threads without appropriate locks held: thread list lock mutator lock
A: runtime.cc:574] All threads:
A: runtime.cc:574] DALVIK THREADS (31):
A: runtime.cc:574] "main" prio=10 tid=1 Runnable
A: runtime.cc:574]   | group="" sCount=0 dsCount=0 flags=0 obj=0x7599cff8 self=0x7ebfa14c00
A: runtime.cc:574]   | sysTid=12073 nice=-10 cgrp=default sched=0/0 handle=0x7f463c9560
A: runtime.cc:574]   | state=R schedstat=( 3259856692 164384224 957 ) utm=295 stm=30 core=6 HZ=100
A: runtime.cc:574]   | stack=0x7fce169000-0x7fce16b000 stackSize=8MB
A: runtime.cc:574]   | held mutexes= "abort lock" "mutator lock"(shared held)
A: runtime.cc:574]   native: #00 pc 00000000003c5d54  /system/lib64/libart.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, int, BacktraceMap*, char const*, art::ArtMethod*, void*, bool)+220)
A: runtime.cc:574]   native: #01 pc 0000000000494298  /system/lib64/libart.so (art::Thread::DumpStack(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, bool, BacktraceMap*, bool) const+352)
A: runtime.cc:574]   native: #02 pc 00000000004ae878  /system/lib64/libart.so (art::DumpCheckpoint::Run(art::Thread*)+844)
A: runtime.cc:574]   native: #03 pc 00000000004a6dcc  /system/lib64/libart.so (art::ThreadList::RunCheckpoint(art::Closure*, art::Closure*)+488)
A: runtime.cc:574]   native: #04 pc 00000000004a61ec  /system/lib64/libart.so (art::ThreadList::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char>>&, bool)+1120)
A: runtime.cc:574]   native: #05 pc 0000000000468e84  /system/lib64/libart.so (art::Runtime::Abort(char const*)+388)
A: runtime.cc:574]   native: #06 pc 0000000000008cd4  /system/lib64/libbase.so (android::base::LogMessage::~LogMessage()+724)
A: runtime.cc:574]   native: #07 pc 00000000002e94f0  /system/lib64/libart.so (art::JavaVMExt::JniAbort(char const*, char const*)+1640)
A: runtime.cc:574]   native: #08 pc 00000000002e9660  /system/lib64/libart.so (art::JavaVMExt::JniAbortV(char const*, char const*, std::__va_list)+116)
A: runtime.cc:574]   native: #09 pc 00000000000fddfc  /system/lib64/libart.so (art::(anonymous namespace)::ScopedCheck::AbortF(char const*, ...)+148)
A: runtime.cc:574]   native: #10 pc 00000000000fc7d8  /system/lib64/libart.so (art::(anonymous namespace)::ScopedCheck::CheckPossibleHeapValue(art::ScopedObjectAccess&, char, art::(anonymous namespace)::JniValueType)+1152)
A: runtime.cc:574]   native: #11 pc 00000000000fbb44  /system/lib64/libart.so (art::(anonymous namespace)::ScopedCheck::Check(art::ScopedObjectAccess&, bool, char const*, art::(anonymous namespace)::JniValueType*)+628)
A: runtime.cc:574]   native: #12 pc 00000000000fead4  /system/lib64/libart.so (art::(anonymous namespace)::CheckJNI::NewRef(char const*, _JNIEnv*, _jobject*, art::IndirectRefKind)+684)
A: runtime.cc:574]   native: #13 pc 000000000049ccc8  /system/lib64/libart.so (art::Thread::SetClassLoaderOverride(_jobject*)+64)
A: runtime.cc:574]   native: #14 pc 00000000002ed100  /system/lib64/libart.so (art::JavaVMExt::LoadNativeLibrary(_JNIEnv*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&, _jobject*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>*)+3236)
A: runtime.cc:574]   native: #15 pc 0000000000004038  /system/lib64/libopenjdkjvm.so (JVM_NativeLoad+412)
A: runtime.cc:574]   at java.lang.Runtime.nativeLoad(Native method)
A: runtime.cc:574]   at java.lang.Runtime.load0(Runtime.java:926)
A: runtime.cc:574]   - locked <0x0ddf4a33> (a java.lang.Runtime)
A: runtime.cc:574]   at java.lang.System.load(System.java:1633)
A: runtime.cc:574]   at com.facebook.soloader.m.a(:382)
A: runtime.cc:574]   at com.facebook.soloader.c.a(:79)
A: runtime.cc:574]   at com.facebook.soloader.c.a(:52)
A: runtime.cc:574]   at com.facebook.soloader.b.a(:81)
A: runtime.cc:574]   at com.facebook.soloader.SoLoader.b(:681)
A: runtime.cc:574]   at com.facebook.soloader.SoLoader.a(:591)
A: runtime.cc:574]   - locked <0x072051f0> (a java.lang.Object)
A: runtime.cc:574]   at com.facebook.soloader.SoLoader.a(:529)
A: runtime.cc:574]   at com.facebook.soloader.SoLoader.a(:484)
A: runtime.cc:574]   at com.facebook.yoga.YogaNative.<clinit>(:15)
A: runtime.cc:574]   at com.facebook.yoga.YogaNative.jni_YGConfigNew(Native method)
A: runtime.cc:574]   at com.facebook.yoga.c.<init>(:21)
A: runtime.cc:574]   at com.facebook.litho.yb.<clinit>(:43)
A: runtime.cc:574]   at com.facebook.litho.Xa.a(:21)
A: runtime.cc:574]   at com.facebook.litho.u.a(:374)
A: runtime.cc:574]   at com.facebook.litho.i.k(:94)
A: runtime.cc:574]   at com.facebook.litho.eb.a(:2551)
A: runtime.cc:574]   at com.facebook.litho.eb.a(:2446)
A: runtime.cc:574]   at com.facebook.litho.eb.a(:1606)
A: runtime.cc:574]   at com.facebook.litho.eb.a(:1797)
A: runtime.cc:574]   at com.facebook.litho.eb.a(:1297)
A: runtime.cc:574]   at com.facebook.litho.ComponentTree$c.k(:2344)
A: runtime.cc:574]   at com.facebook.litho.ComponentTree$c.c(:2262)
A: runtime.cc:574]   at com.facebook.litho.L.call(:2322)
A: runtime.cc:574]   at com.facebook.litho.L.call(:2314)
A: runtime.cc:574]   at java.util.concurrent.FutureTask.run(FutureTask.java:266)
A: runtime.cc:574]   at com.facebook.litho.ComponentTree$c.h(:2448)
A: runtime.cc:574]   at com.facebook.litho.ComponentTree$c.g(:2441)
A: runtime.cc:574]   at com.facebook.litho.ComponentTree.a(:2227)
A: runtime.cc:574]   at com.facebook.litho.ComponentTree.a(:965)
A: runtime.cc:574]   at com.facebook.litho.lb.a(:365)
A: runtime.cc:574]   at com.facebook.litho.x.onLayout(:818)
A: runtime.cc:574]   at android.view.View.layout(View.java:22406)
A: runtime.cc:574]   at android.view.ViewGroup.layout(ViewGroup.java:6594)
A: runtime.cc:574]   at androidx.viewpager.widget.ViewPager.onLayout(:1775)
A: runtime.cc:574]   at android.view.View.layout(View.java:22406)
A: runtime.cc:574]   at android.view.ViewGroup.layout(ViewGroup.java:6594)
A: runtime.cc:574]   at com.google.android.material.appbar.h.b(:144)
A: runtime.cc:574]   at com.google.android.material.appbar.i.a(:41)
A: runtime.cc:574]   at com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior.a(:1874)
A: runtime.cc:574]   at androidx.coordinatorlayout.widget.CoordinatorLayout.onLayout(:898)
A: runtime.cc:574]   at android.view.View.layout(View.java:22406)
A: runtime.cc:574]   at android.view.ViewGroup.layout(ViewGroup.java:6594)
A: runtime.cc:574]   at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
A: runtime.cc:574]   at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
A: runtime.cc:574]   at android.view.View.layout(View.java:22406)
A: runtime.cc:574]   at android.view.ViewGroup.layout(ViewGroup.java:6594)
A: runtime.cc:574]   at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1812)
A: runtime.cc:574]   at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1656)
A: runtime.cc:574]   at android.widget.LinearLayout.onLayout(LinearLayout.java:1565)
A: runtime.cc:574]   at android.view.View.layout(View.java:22406)
A: runtime.cc:574]   at android.view.ViewGroup.layout(ViewGroup.java:6594)
A: runtime.cc:574]   at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
A: runtime.cc:574]   at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
A: runtime.cc:574]   at android.view.View.layout(View.java:22406)
A: runtime.cc:574]   at android.view.ViewGroup.layout(ViewGroup.java:6594)
A: runtime.cc:574]   at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1812)
A: runtime.cc:574]   at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1656)
A: runtime.cc:574]   at android.widget.LinearLayout.onLayout(LinearLayout.java:1565)
A: runtime.cc:574]   at android.view.View.layout(View.java:22406)
A: runtime.cc:574]   at android.view.ViewGroup.layout(ViewGroup.java:6594)
A: runtime.cc:574]   at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
A: runtime.cc:574]   at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
A: runtime.cc:574]   at android.view.View.layout(View.java:22406)
A: runtime.cc:574]   at android.view.ViewGroup.layout(ViewGroup.java:6594)
A: runtime.cc:574]   at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1812)
A: runtime.cc:574]   at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1656)
A: runtime.cc:574]   at android.widget.LinearLayout.onLayout(LinearLayout.java:1565)
A: runtime.cc:574]   at android.view.View.layout(View.java:22406)
A: runtime.cc:574]   at android.view.ViewGroup.layout(ViewGroup.java:6594)
A: runtime.cc:574]   at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
A: runtime.cc:574]   at android.widget.FrameLayout.onLayout(FrameLayout.java:261)
A: runtime.cc:574]   at com.android.internal.policy.DecorView.onLayout(DecorView.java:1079)
A: runtime.cc:574]   at android.view.View.layout(View.java:22406)
A: runtime.cc:574]   at android.view.ViewGroup.layout(ViewGroup.java:6594)
A: runtime.cc:574]   at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:3371)
A: runtime.cc:574]   at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2840)
A: runtime.cc:574]   at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1888)
A: runtime.cc:574]   at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:8503)
A: runtime.cc:574]   at android.view.Choreographer$CallbackRecord.run(Choreographer.java:949)
A: runtime.cc:574]   at android.view.Choreographer.doCallbacks(Choreographer.java:761)
A: runtime.cc:574]   at android.view.Choreographer.doFrame(Choreographer.java:696)
A: runtime.cc:574]   at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:935)
A: runtime.cc:574]   at android.os.Handler.handleCallback(Handler.java:873)
A: runtime.cc:574]   at android.os.Handler.dispatchMessage(Handler.java:99)
A: runtime.cc:574]   at android.os.Looper.loop(Looper.java:214)
A: runtime.cc:574]   at android.app.ActivityThread.main(ActivityThread.java:7073)
A: runtime.cc:574]   at java.lang.reflect.Method.invoke(Native method)
A: runtime.cc:574]   at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:493)
A: runtime.cc:574]   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:964)
A: runtime.cc:574] 
A: runtime.cc:574] "Jit thread pool worker thread 0" prio=10 tid=2 Native
A: runtime.cc:574]   | group="" sCount=1 dsCount=0 flags=1 obj=0x13a40000 self=0x7eb902dc00
A: runtime.cc:574]   | sysTid=12084 nice=9 cgrp=default sched=0/0 handle=0x7eb94904f0
A: runtime.cc:574]   | state=S schedstat=( 464369751 89512847 315 ) utm=37 stm=9 core=3 HZ=100
A: runtime.cc:574]   | stack=0x7eb9392000-0x7eb9394000 stackSize=1021KB
A: runtime.cc:574]   | held mutexes=
A: runtime.cc:574]   kernel: __switch_to+0x9c/0xa8
A: runtime.cc:574]   kernel: futex_wait_queue_me+0xd8/0x144
A: runtime.cc:574]   kernel: futex_wait+0xec/0x200
A: runtime.cc:574]   kernel: do_futex+0xdc/0x4a8
A: runtime.cc:574]   kernel: SyS_futex+0x110/0x19c
A: runtime.cc:574]   kernel: __sys_trace_return+0x0/0x4
A: runtime.cc:574]   native: #00 pc 000000000001f1ec  /system/lib64/libc.so (syscall+28)
A: runtime.cc:574]   native: #01 pc 00000000000d8050  /system/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+148)
A: runtime.cc:574]   native: #02 pc 00000000004b0688  /system/lib64/libart.so (art::ThreadPool::GetTask(art::Thread*)+260)
A: runtime.cc:574]   native: #03 pc 00000000004afbf0  /system/lib64/libart.so (art::ThreadPoolWorker::Run()+124)
A: runtime.cc:574]   native: #04 pc 00000000004af3e8  /system/lib64/libart.so (art::ThreadPoolWorker::Callback(void*)+148)
A: runtime.cc:574]   native: #05 pc 0000000000083650  /system/lib64/libc.so (__pthread_start(void*)+196)
A: runtime.cc:574]   native: #06 pc 0000000000023b34  /system/lib64/libc.so (__start_thread+68)
A: runtime.cc:574]   (no managed stack frames)
A: runtime.cc:574] 
A: runtime.cc:574] "Signal Catcher" prio=10 tid=3 WaitingInMainSignalCatcherLoop
A: runtime.cc:574]   | group="" sCount=1 dsCount=0 flags=1 obj=0x13a40118 self=0x7ebfa16400
A: runtime.cc:574]   | sysTid=12086 nice=0 cgrp=default sched=0/0 handle=0x7ea68694f0
A: runtime.cc:574]   | state=S schedstat=( 870345 2797770 5 ) utm=0 stm=0 core=2 HZ=100
A: runtime.cc:574]   | stack=0x7ea676e000-0x7ea6770000 stackSize=1009KB
A: runtime.cc:574]   | held mutexes=
A: runtime.cc:574]   kernel: __switch_to+0x9c/0xa8
A: runtime.cc:574]   kernel: do_sigtimedwait+0xe8/0x1cc
A: runtime.cc:574]   kernel: SyS_rt_sigtimedwait+0xc8/0x118
A: runtime.cc:574]   kernel: __sys_trace_return+0x0/0x4
A: runtime.cc:574]   native: #00 pc 000000000006ff74  /system/lib64/libc.so (__rt_sigtimedwait+8)
A: runtime.cc:574]   native: #01 pc 000000000002eec4  /system/lib64/libc.so (sigwait+64)
A: runtime.cc:574]   native: #02 pc 000000000048209c  /system/lib64/libart.so (art::SignalCatcher::WaitForSignal(art::Thread*, art::SignalSet&)+388)
A: runtime.cc:574]   native: #03 pc 00000000004805a4  /system/lib64/libart.so (art::SignalCatcher::Run(void*)+292)
A: runtime.cc:574]   native: #04 pc 0000000000083650  /system/lib64/libc.so (__pthread_start(void*)+196)
A: runtime.cc:574]   native: #05 pc 0000000000023b34  /system/lib64/libc.so (__start_thread+68)
A: runtime.cc:574]   (no managed stack frames)
A: runtime.cc:574] 
A: runtime.cc:574] "ReferenceQueueDaemon" prio=10 tid=4 Waiting
A: runtime.cc:574]   | group="" sCount=1 dsCount=0 flags=1 obj=0x13a401a0 self=0x7ebfae0000
A: runtime.cc:574]   | sysTid=12089 nice=4 cgrp=default sched=0/0 handle=0x7ea666d4f0
A: runtime.cc:574]   | state=S schedstat=( 51283806 21039001 23 ) utm=4 stm=0 core=4 HZ=100
A: runtime.cc:574]   | stack=0x7ea656a000-0x7ea656c000 stackSize=1041KB
A: runtime.cc:574]   | held mutexes=
A: runtime.cc:574]   kernel: __switch_to+0x9c/0xa8
A: runtime.cc:574]   kernel: futex_wait_queue_me+0xd8/0x144
A: runtime.cc:574]   kernel: futex_wait+0xec/0x200
A: runtime.cc:574]   kernel: do_futex+0xdc/0x4a8
A: runtime.cc:574]   kernel: SyS_futex+0x110/0x19c
A: runtime.cc:574]   kernel: __sys_trace_return+0x0/0x4
A: runtime.cc:574]   native: #00 pc 000000000001f1ec  /system/lib64/libc.so (syscall+28)
A: runtime.cc:574]   native: #01 pc 00000000000d8050  /system/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+148)
A: runtime.cc:574]   native: #02 pc 00000000003c12e8  /system/lib64/libart.so (art::Monitor::Wait(art::Thread*, long, int, bool, art::ThreadState)+636)
A: runtime.cc:574]   native: #03 pc 00000000003c2da4  /system/lib64/libart.so (art::Monitor::Wait(art::Thread*, art::mirror::Object*, long, int, bool, art::ThreadState)+424)
A: runtime.cc:574]   at java.lang.Object.wait(Native method)
A: runtime.cc:574]   - waiting on <0x015a3369> (a java.lang.Class<java.lang.ref.ReferenceQueue>)
A: runtime.cc:574]   at java.lang.Daemons$ReferenceQueueDaemon.runInternal(Daemons.java:178)
A: runtime.cc:574]   - locked <0x015a3369> (a java.lang.Class<java.lang.ref.ReferenceQueue>)
A: runtime.cc:574]   at java.lang.Daemons$Daemon.run(Daemons.java:103)
A: runtime.cc:574]   at java.lang.Thread.run(Thread.java:764)
A: runtime.cc:574] 
A: runtime.cc:574] "FinalizerDaemon" prio=10 tid=5 Waiting
A: runtime.cc:574]   | group="" sCount=1 dsCount=0 flags=1 obj=0x13a409f8 self=0x7ebfbf3400
A: runtime.cc:574]   | sysTid=12091 nice=4 cgrp=default sched=0/0 handle=0x7ea65674f0
A: runtime.cc:574]   | state=S schedstat=( 13904808 9340615 24 ) utm=1 stm=0 core=6 HZ=100
A: runtime.cc:574]   | stack=0x7ea6464000-0x7ea6466000 stackSize=1041KB
A: runtime.cc:574]   | held mutexes=
A: runtime.cc:574]   kernel: __switch_to+0x9c/0xa8
A: runtime.cc:574]   kernel: futex_wait_queue_me+0xd8/0x144
A: runtime.cc:574]   kernel: futex_wait+0xec/0x200
A: runtime.cc:574]   kernel: do_futex+0xdc/0x4a8
A: runtime.cc:574]   kernel: SyS_futex+0x110/0x19c
A: runtime.cc:574]   kernel: __sys_trace_return+0x0/0x4
A: runtime.cc:574]   native: #00 pc 000000000001f1ec  /system/lib64/libc.so (syscall+28)
A: runtime.cc:574]   native: #01 pc 00000000000d8050  /system/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+148)
A: runtime.cc:574]   native: #02 pc 00000000003c12e8  /system/lib64/libart.so (art::Monitor::Wait(art::Thread*, long, int, bool, art::ThreadState)+636)
A: runtime.cc:574]   native: #03 pc 00000000003c2da4  /system/lib64/libart.so (art::Monitor::Wait(art::Thread*, art::mirror::Object*, long, int, bool, art::ThreadState)+424)
A: runtime.cc:574]   at java.lang.Object.wait(Native method)
A: runtime.cc:574]   - waiting on <0x0b4811ee> (a java.lang.Object)
A: runtime.cc:574]   at java.lang.Object.wait(Object.java:422)
A: runtime.cc:574]   at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:188)
A: runtime.cc:574]   - locked <0x0b4811ee> (a java.lang.Object)
A: runtime.cc:574]   at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:209)
A: runtime.cc:574]   at java.lang.Daemons$FinalizerDaemon.runInternal(Daemons.java:232)
A: runtime.cc:574]   at java.lang.Daemons$Daemon.run(Daemons.java:103)
A: runtime.cc:574]   at java.lang.Thread.run(Thread.java:764)
A: runtime.cc:574] 
A: runtime.cc:574] "HeapTaskDaemon" prio=10 tid=6 WaitingForTaskProcessor
A: runtime.cc:574]   | group="" sCount=1 dsCount=0 flags=1 obj=0x13a41d20 self=0x7ebee72800
A: runtime.cc:574]   | sysTid=12101 nice=4 cgrp=default sched=0/0 handle=0x7ea635b4f0
A: runtime.cc:574]   | state=S schedstat=( 126252029 23935469 124 ) utm=12 stm=0 core=6 HZ=100
A: runtime.cc:574]   | stack=0x7ea6258000-0x7ea625a000 stackSize=1041KB
A: runtime.cc:574]   | held mutexes=
A: runtime.cc:574]   kernel: __switch_to+0x9c/0xa8
A: runtime.cc:574]   kernel: futex_wait_queue_me+0xd8/0x144
A: runtime.cc:574]   kernel: futex_wait+0xec/0x200
A: runtime.cc:574]   kernel: do_futex+0xdc/0x4a8
A: runtime.cc:574]   kernel: SyS_futex+0x110/0x19c
A: runtime.cc:574]   kernel: __sys_trace_return+0x0/0x4
A: runtime.cc:574]   native: #00 pc 000000000001f1ec  /system/lib64/libc.so (syscall+28)
A: runtime.cc:574]   native: #01 pc 00000000000d8050  /system/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+148)
A: runtime.cc:574]   native: #02 pc 000000000022e340  /system/lib64/libart.so (art::gc::TaskProcessor::GetTask(art::Thread*)+440)
A: runtime.cc:574]   native: #03 pc 000000000022ebd4  /system/lib64/libart.so (art::gc::TaskProcessor::RunAllTasks(art::Thread*)+96)
A: runtime.cc:574]   at dalvik.system.VMRuntime.runHeapTasks(Native method)
A: runtime.cc:574]   at java.lang.Daemons$HeapTaskDaemon.runInternal(Daemons.java:475)
A: runtime.cc:574]   at java.lang.Daemons$Daemon.run(Daemons.java:103)
A: runtime.cc:574]   at java.lang.Thread.run(Thread.java:764)
A: runtime.cc:574] 
A: runtime.cc:574] "FinalizerWatchdogDaemon" prio=10 tid=7 Waiting
A: runtime.cc:574]   | group="" sCount=1 dsCount=0 flags=1 obj=0x13a411b8 self=0x7ebfbf4000
A: runtime.cc:574]   | sysTid=12095 nice=4 cgrp=default sched=0/0 handle=0x7ea64614f0
A: runtime.cc:574]   | state=S schedstat=( 1323308 10914731 7 ) utm=0 stm=0 core=3 HZ=100
A: runtime.cc:574]   | stack=0x7ea635e000-0x7ea6360000 stackSize=1041KB
A: runtime.cc:574]   | held mutexes=
A: runtime.cc:574]   kernel: __switch_to+0x9c/0xa8
A: runtime.cc:574]   kernel: futex_wait_queue_me+0xd8/0x144
A: runtime.cc:574]   kernel: futex_wait+0xec/0x200
A: runtime.cc:574]   kernel: do_futex+0xdc/0x4a8
A: runtime.cc:574]   kernel: SyS_futex+0x110/0x19c
A: runtime.cc:574]   kernel: __sys_trace_return+0x0/0x4
A: runtime.cc:574]   native: #00 pc 000000000001f1ec  /system/lib64/libc.so (syscall+28)
A: runtime.cc:574]   native: #01 pc 00000000000d8050  /system/lib64/libart.so (art::ConditionVariable::WaitHoldingLocks(art::Thread*)+148)
A: runtime.cc:574]   native: #02 pc 00000000003c12e8  /system/lib64/libart.so (art::Monitor::Wait(art::Thread*, long, int, bool, art::ThreadState)+636)
A: runtime.cc:574]   native: #03 pc 00000000003c2da4  /system/lib64/libart.so (art::Monitor::Wait(art::Thread*, art::mirror::Object*, long, int, bool, art::ThreadState)+424)
A: runtime.cc:574]   at java.lang.Object.wait(Native method)
A: runtime.cc:574]   - waiting on <0x0f3a568f> (a java.lang.Daemons$FinalizerWatchdogDaemon)
A: runtime.cc:574]   at java.lang.Daemons$FinalizerWatchdogDaemon.sleepUntilNeeded(Daemons.java:297)
A: runtime.cc:574]   - locked <0x0f3a568f> (a java.lang.Daemons$FinalizerWatchdogDaemon)
A: runtime.cc:574]   at java.lang.Daemons$FinalizerWatchdogDaemon.runInternal(Daemons.java:277)
A: runtime.cc:574]   at java.lang.Daemons$Daemon.run(Daemons.java:103)
A: runtime.cc:574]   at java.lang.Thread.run(Thread.java:764)
A: runtime.cc:574] 
A: runtime.cc:574] "ADB-JDWP Connection Control Thread" prio=10 tid=8 WaitingInMainDebuggerLoop
A: runtime.cc:574]   | group="" sCount=1 dsCount=0 flags=1 obj=0x13a41468 self=0x7eb91bdc00
A: runtime.cc:574]   | sysTid=12088 nice=0 cgrp=default sched=0/0 handle=0x7ea676b4f0
A: runtime.cc:574]   | state=S schedstat=( 6754384 43572037 18 ) utm=0 stm=0 core=6 HZ=100
A: runtime.cc:574]   | stack=0x7ea6670000-0x7ea6672000 stackSize=1009KB
A: runtime.cc:574]   | held mutexes=
A: runtime.cc:574]   kernel: __switch_to+0x9c/0xa8
A: runtime.cc:574]   kernel: poll_schedule_timeout+0x50/0x84
A: runtime.cc:574]   kernel: do_sys_poll+0x358/0x410
A: runtime.cc:574]   kernel: SyS_ppoll+0x11c/0x1b8
A: runtime.cc:574]   kernel: __sys_trace_return+0x0/0x4
A: runtime.cc:574]   native: #00 pc 000000000006feb4  /system/lib64/libc.so (__ppoll+8)
A: runtime.cc:574]   native: #01 pc 000000000002c030  /system/lib64/libc.so (poll+88)
A: runtime.cc:574]   native: #02 pc 0000000000006c50  /system/lib64/libadbconnection.so (adbconnection::AdbConnectionState::RunPollLoop(art::Thread*)+836)
A: runtime.cc:574]   native: #03 pc 0000000000005218  /system/lib64/libadbconnection.so (adbconnection::CallbackFunction(void*)+1060)
A: runtime.cc:574]   native: #04 pc 0000000000083650  /system/lib64/libc.so (__pthread_start(void*)+196)
A: runtime.cc:574]   native: #05 pc 0000000000023b34  /system/lib64/libc.so (__start_thread+68)
A: runtime.cc:574]   (no managed stack frames)
A: runtime.cc:574] 
A: runtime.cc:574] "Binder:12073_1" prio=10 tid=9 Native
A: runtime.cc:574]   | group="" sCount=1 dsCount=0 flags=1 obj=0x13a416e8 self=0x7ebeee5400
A: runtime.cc:574]   | sysTid=12107 nice=0 cgrp=default sched=0/0 handle=0x7ea62554f0
A: runtime.cc:574]   | state=S schedstat=( 20174158 10657921 31 ) utm=1 stm=0 core=2 HZ=100
A: runtime.cc:574]   | stack=0x7ea615a000-0x7ea615c000 stackSize=1009KB
A: runtime.cc:574]   | held mutexes=
A: runtime.cc:574]   kernel: __switch_to+0x9c/0xa8
A: runtime.cc:574]   kernel: binder_thread_read+0x370/0xf18
A: runtime.cc:574]   kernel: binder_ioctl+0x3ac/0x840
A: runtime.cc:574]   kernel: do_vfs_ioctl+0x4a0/0x58c
A: runtime.cc:574]   kernel: SyS_ioctl+0x60/0x88
A: runtime.cc:574]   kernel: __sys_trace_return+0x0/0x4
A: runtime.cc:574]   native: #00 pc 000000000006fe80  /system/lib64/libc.so (__ioctl+4)
A: runtime.cc:574]   native: #01 pc 0000000000029b54  /system/lib64/libc.so (ioctl+136)
A: runtime.cc:574]   native: #02 pc 000000000005aa38  /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+256)
A: runtime.cc:574]   native: #03 pc 000000000005ac0c  /system/lib64/libbinder.so (android::IPCThreadState::getAndExecuteCommand()+24)
A: runtime.cc:574]   native: #04 pc 000000000005b358  /system/lib64/libbinder.so (android::IPCThreadState::joinThreadPool(bool)+60)
A: runtime.cc:574]   native: #05 pc 000000000007b9c4  /system/lib64/libbinder.so (android::PoolThread::threadLoop()+24)
A: runtime.cc:574]   | state=S schedstat=( 16889925 1575384 9 ) utm=1 stm=0 core=3 HZ=100
A: runtime.cc:574]   kernel: __sys_trace_return+0x0/0x4
A: runtime.cc:574]   | held mutexes=
A: runtime.cc:574]   native: #02 pc 00000000003267d8  /system/lib64/libart.so (art::ProfileSaver::Run()+604)
A: runtime.cc:574]   | state=S schedstat=( 239658307 38064619 60 ) utm=23 stm=0 core=0 HZ=100
A: runtime.cc:574]   at java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1092)
A: runtime.cc:574]   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1152)
A: runtime.cc:574]   | stack=0x7ea4312000-0x7ea4314000 stackSize=1041KB
A: runtime.cc:574]   | group="" sCount=1 dsCount=0 flags=1 obj=0x12ec6ae0 self=0x7ea53db000
A: runtime.cc:574]   at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:353)
A: runtime.cc:574]   | held mutexes= "abort lock"
A: runtime.cc:574]   native: #07 pc 00000000000fddfc  /system/lib64/libart.so (art::(anonymous namespace)::ScopedCheck::AbortF(char const*, ...)+148)
A: runtime.cc:574]   native: #127 pc 000000000024d29e  /dev/ashmem/dalvik-classes.dex extracted in memory from /data/app/com.example.staging-N7Y9vecp_QGb2fxhEUHebg==/base.apk_12073_12073 (deleted) (com.facebook.litho.eb.a+50)
A: runtime.cc:574]   native: #144 pc 000000000054d314  /system/lib64/libart.so (ExecuteMterpImpl+14612)
A: runtime.cc:574]   at com.facebook.yoga.c.<init>(:21)
A: runtime.cc:574]   at android.widget.FrameLayout.layoutChildren(FrameLayout.java:323)
A: runtime.cc:582]   native: #22 pc 000000000052a1a8  /system/lib64/libart.so (MterpInvokeVirtual+588)
A: runtime.cc:582]   native: #50 pc 000000000025d0c0  /system/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+216)
A: runtime.cc:582]   native: #100 pc 000000000055ae4c  /system/lib64/libart.so (art_quick_invoke_static_stub+604)
A: runtime.cc:582]   native: #117 pc 000000000054d194  /system/lib64/libart.so (ExecuteMterpImpl+14228)
A: runtime.cc:582]   native: #134 pc 000000000052b6ac  /system/lib64/libart.so (MterpInvokeStatic+204)
A: runtime.cc:582]   at com.facebook.litho.yb.<clinit>(:43)
A: runtime.cc:582]   at android.os.Handler.dispatchMessage(Handler.java:99)

    --------- beginning of crash
A: Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 12073 (xample.staging), pid 12073 (xample.staging)
wujingwe commented 5 years ago

cc @SidharthGuglani, looks like a compatibility issue in Yoga with R8 enabled, any idea about how to fix it?

matheusribeirozup commented 4 years ago

Hi guys, I hope this helps you as well as it helped me: -keep @com.facebook.proguard.annotations.DoNotStrip class * { *; } I put this on proguard-rules.pro and it worked!

elliottj-accolade commented 3 years ago

I am facing a similar issue; @matheusribeirozup's solution (above) did not fix the issue. It said com.facebook.proguard.annotations.DoNotStrip was an Unresolved class name.

def litho_version = '0.40.0'
// Reactive UI - Litho
api "com.facebook.litho:litho-core:$litho_version"
api "com.facebook.litho:litho-widget:$litho_version"
kapt "com.facebook.litho:litho-processor:$litho_version"

// SoLoader - Litho
api 'com.facebook.soloader:soloader:0.10.1'
implementation 'com.facebook.fbjni:fbjni:0.2.2'

// For testing Litho
testImplementation "com.facebook.litho:litho-testing:$litho_version"

// Sections - Litho
api "com.facebook.litho:litho-sections-core:$litho_version"
api "com.facebook.litho:litho-sections-widget:$litho_version"
compileOnly "com.facebook.litho:litho-sections-annotations:$litho_version"
kapt "com.facebook.litho:litho-sections-processor:$litho_version"

Any thoughts?

elliottj-accolade commented 3 years ago

Coming back to this in case someone finds it useful.

My IDE:

Android Studio 4.2.2
Build #AI-202.7660.26.42.7486908, built on June 23, 2021
Runtime version: 11.0.8+10-b944.6916264 x86_64
VM: OpenJDK 64-Bit Server VM by N/A
macOS 10.16
GC: G1 Young Generation, G1 Old Generation
Memory: 4096M
Cores: 12
Registry: external.system.auto.import.disabled=true
Non-Bundled Plugins: com.facebook.litho.intellij, com.github.dhaval2404.material_icon_generator, com.intellij.marketplace, com.thoughtworks.gauge, Dart, org.jetbrains.kotlin, zielu.gittoolbox, io.flutter, de.mariushoefler.flutter_enhancement_suite

My Litho dependencies:

def litho_version = '0.40.0'
// Reactive UI - Litho
api "com.facebook.litho:litho-core:$litho_version"
api "com.facebook.litho:litho-widget:$litho_version"
kapt "com.facebook.litho:litho-processor:$litho_version"

// SoLoader - Litho
api 'com.facebook.soloader:soloader:0.10.1'
implementation 'com.facebook.fbjni:fbjni:0.2.2'

// For testing Litho
testImplementation "com.facebook.litho:litho-testing:$litho_version"

// Sections - Litho
api "com.facebook.litho:litho-sections-core:$litho_version"
api "com.facebook.litho:litho-sections-widget:$litho_version"
compileOnly "com.facebook.litho:litho-sections-annotations:$litho_version"
kapt "com.facebook.litho:litho-sections-processor:$litho_version"

My project layout: root |- :app |- :sdui <--- This was the module that was having issues. |- ... others.

My scenario when I encountered this issue:

  1. We are working on a server-driver UI service that dynamically renders from JSON.
  2. We are using Litho to generate those views on Android using Yoga concepts.
  3. Since the views are being dynamically generated, those data models are not technically being called anywhere, outside of when they are constructed via GSON.
  4. 1st PROBLEM: Native methods were being stripped out of the signed release build via R8.
  5. 2nd PROBLEM: We were dynamically referencing drawable names because some assets are stored locally and we needed to reference them by the name coming back in the JSON.

The solution (as I understand it, in layman's terms): minifyEnabled true in your build.gradle means R8 is going to strip out any native symbols that the minifier believes aren't being used. In our situation, since our data models were not being referenced anywhere that the compiler could tell, it removed our sdui code, and most of the native library methods that Litho required to operate.

  1. SOLUTION to 1st PROBLEM: Adding the following broad -keep statements to our consumer-rules.pro in the :sdui module so the :app module could consume them:
    -keep class com.facebook.** { *; }
    -keep class <pkg>.sdui.** { *; }
  2. SOLUTION to 2nd PROBLEM: Adding a res/raw/keep.xml file to the :sdui module with the following contents so we could reference drawables by name:
    <?xml version="1.0" encoding="utf-8"?>
    <resources xmlns:tools="http://schemas.android.com/tools"
    tools:shrinkMode="safe"
    tools:keep="@drawable/*"/>

This may not be the most optimal solution, but the app now runs and renders our dynamically generated UI on a minifyEnabled release build, and we're continuing to optimize it. I hope this info helps someone else down the line.