Open laidayuan-whalevii opened 1 year ago
异常类型:app 运行时出现StackOverflowError栈溢出
手机型号:OPPO PAAM00
手机系统版本:Android 10
matrix版本:2.0.8
gradle版本:7.1.2
问题描述:集成matrxi以后,在手机上测试是正常的,但是在monkey上会出现StackOverflowError,且每次出现的堆栈都不一样
堆栈/日志:
崩溃线程: #3427 Timer-4 1.Caused by: java.lang.StackOverflowError: stack size 8192KB 2.at com.tencent.matrix.trace.core.AppMethodBeat.mergeData(Unknown Source:0) 3.at com.tencent.matrix.trace.core.AppMethodBeat.i(AppMethodBeat.java:15) 4.at androidx.constraintlayout.core.ArrayRow.chooseSubject(Unknown Source:2) 5.at androidx.constraintlayout.core.LinearSystem.addConstraint(LinearSystem.java:13) 6.at androidx.constraintlayout.core.LinearSystem.addEquality(LinearSystem.java:7) 7.at androidx.constraintlayout.core.widgets.ConstraintWidget.addToSolver(ConstraintWidget.java:134) 8.at androidx.constraintlayout.core.widgets.ConstraintWidgetContainer.addChildrenToSolver(ConstraintWidgetContainer.java:50) 9.at androidx.constraintlayout.core.widgets.ConstraintWidgetContainer.layout(ConstraintWidgetContainer.java:50) 10.at androidx.constraintlayout.core.widgets.analyzer.BasicMeasure.solveLinearSystem(BasicMeasure.java:10) 11.at androidx.constraintlayout.core.widgets.analyzer.BasicMeasure.solverMeasure(BasicMeasure.java:35) 12.at androidx.constraintlayout.core.widgets.ConstraintWidgetContainer.measure(ConstraintWidgetContainer.java:3) 13.at androidx.constraintlayout.widget.ConstraintLayout.resolveSystem(ConstraintLayout.java:16) 14.at androidx.constraintlayout.widget.ConstraintLayout.onMeasure(ConstraintLayout.java:15) 15.at android.view.View.measure(View.java:25361) 16.at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6984) 17.at android.widget.FrameLayout.onMeasure(FrameLayout.java:194) 18.at androidx.appcompat.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:21) 19.at android.view.View.measure(View.java:25361) 20.at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6984) 21.at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1552) 22.at android.widget.LinearLayout.measureVertical(LinearLayout.java:842) 23.at android.widget.LinearLayout.onMeasure(LinearLayout.java:721) 24.at android.view.View.measure(View.java:25361) 25.at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6984) 26.at android.widget.FrameLayout.onMeasure(FrameLayout.java:194) 27.at android.view.View.measure(View.java:25361) 28.at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6984) 29.at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1552) 30.at android.widget.LinearLayout.measureVertical(LinearLayout.java:842) 31.at android.widget.LinearLayout.onMeasure(LinearLayout.java:721) 32.at android.view.View.measure(View.java:25361) 33.at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6984) 34.at android.widget.FrameLayout.onMeasure(FrameLayout.java:194) 35.at com.android.internal.policy.DecorView.onMeasure(DecorView.java:806) 36.at android.view.View.measure(View.java:25361) 37.at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:3423) 38.at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:2131) 39.at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2425) 40.at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2015) 41.at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:8374) 42.at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1096) 43.at android.view.Choreographer.doCallbacks(Choreographer.java:919) 44.at android.view.Choreographer.doFrame(Choreographer.java:846) 45.at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1081) 46.at android.os.Handler.handleCallback(Handler.java:883) 47.at android.os.Handler.dispatchMessage(Handler.java:100) 48.at android.os.Looper.loop(Looper.java:238) 49.at l1.if.if(MainCrashCatcher.kt:1) 50.at l1.if.do(Unknown Source:0) 51.at l1.do.run(Unknown Source:0) 52.at android.os.Handler.handleCallback(Handler.java:883) 53.at android.os.Handler.dispatchMessage(Handler.java:100) 54.at android.os.Looper.loop(Looper.java:238) 55.at android.app.ActivityThread.main(ActivityThread.java:7820) 56.at java.lang.reflect.Method.invoke(Native Method) 57.at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492) 58.at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:995)
异常类型:app 运行时出现StackOverflowError栈溢出
手机型号:OPPO PAAM00
手机系统版本:Android 10
matrix版本:2.0.8
gradle版本:7.1.2
问题描述:集成matrxi以后,在手机上测试是正常的,但是在monkey上会出现StackOverflowError,且每次出现的堆栈都不一样
堆栈/日志:
崩溃线程: #3427 Timer-4 1.Caused by: java.lang.StackOverflowError: stack size 8192KB 2.at com.tencent.matrix.trace.core.AppMethodBeat.mergeData(Unknown Source:0) 3.at com.tencent.matrix.trace.core.AppMethodBeat.i(AppMethodBeat.java:15) 4.at androidx.constraintlayout.core.ArrayRow.chooseSubject(Unknown Source:2) 5.at androidx.constraintlayout.core.LinearSystem.addConstraint(LinearSystem.java:13) 6.at androidx.constraintlayout.core.LinearSystem.addEquality(LinearSystem.java:7) 7.at androidx.constraintlayout.core.widgets.ConstraintWidget.addToSolver(ConstraintWidget.java:134) 8.at androidx.constraintlayout.core.widgets.ConstraintWidgetContainer.addChildrenToSolver(ConstraintWidgetContainer.java:50) 9.at androidx.constraintlayout.core.widgets.ConstraintWidgetContainer.layout(ConstraintWidgetContainer.java:50) 10.at androidx.constraintlayout.core.widgets.analyzer.BasicMeasure.solveLinearSystem(BasicMeasure.java:10) 11.at androidx.constraintlayout.core.widgets.analyzer.BasicMeasure.solverMeasure(BasicMeasure.java:35) 12.at androidx.constraintlayout.core.widgets.ConstraintWidgetContainer.measure(ConstraintWidgetContainer.java:3) 13.at androidx.constraintlayout.widget.ConstraintLayout.resolveSystem(ConstraintLayout.java:16) 14.at androidx.constraintlayout.widget.ConstraintLayout.onMeasure(ConstraintLayout.java:15) 15.at android.view.View.measure(View.java:25361) 16.at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6984) 17.at android.widget.FrameLayout.onMeasure(FrameLayout.java:194) 18.at androidx.appcompat.widget.ContentFrameLayout.onMeasure(ContentFrameLayout.java:21) 19.at android.view.View.measure(View.java:25361) 20.at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6984) 21.at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1552) 22.at android.widget.LinearLayout.measureVertical(LinearLayout.java:842) 23.at android.widget.LinearLayout.onMeasure(LinearLayout.java:721) 24.at android.view.View.measure(View.java:25361) 25.at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6984) 26.at android.widget.FrameLayout.onMeasure(FrameLayout.java:194) 27.at android.view.View.measure(View.java:25361) 28.at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6984) 29.at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1552) 30.at android.widget.LinearLayout.measureVertical(LinearLayout.java:842) 31.at android.widget.LinearLayout.onMeasure(LinearLayout.java:721) 32.at android.view.View.measure(View.java:25361) 33.at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:6984) 34.at android.widget.FrameLayout.onMeasure(FrameLayout.java:194) 35.at com.android.internal.policy.DecorView.onMeasure(DecorView.java:806) 36.at android.view.View.measure(View.java:25361) 37.at android.view.ViewRootImpl.performMeasure(ViewRootImpl.java:3423) 38.at android.view.ViewRootImpl.measureHierarchy(ViewRootImpl.java:2131) 39.at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2425) 40.at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2015) 41.at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:8374) 42.at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1096) 43.at android.view.Choreographer.doCallbacks(Choreographer.java:919) 44.at android.view.Choreographer.doFrame(Choreographer.java:846) 45.at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1081) 46.at android.os.Handler.handleCallback(Handler.java:883) 47.at android.os.Handler.dispatchMessage(Handler.java:100) 48.at android.os.Looper.loop(Looper.java:238) 49.at l1.if.if(MainCrashCatcher.kt:1) 50.at l1.if.do(Unknown Source:0) 51.at l1.do.run(Unknown Source:0) 52.at android.os.Handler.handleCallback(Handler.java:883) 53.at android.os.Handler.dispatchMessage(Handler.java:100) 54.at android.os.Looper.loop(Looper.java:238) 55.at android.app.ActivityThread.main(ActivityThread.java:7820) 56.at java.lang.reflect.Method.invoke(Native Method) 57.at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492) 58.at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:995)