如果没有来自我的应用程序的堆栈帧,如何确定Firebase中的崩溃源?

时间:2017-03-02 17:09:12

标签: android firebase firebase-crash-reporting

在某些Firebase崩溃报告中,我崩溃了Firebase控制台中的数据未清除来源的情况。例如,如果一个活动崩溃,并且没有任何堆栈帧似乎来自我的应用程序。堆栈跟踪不提供任何有用的信息。

控制台中此类崩溃的一个示例:

1

堆栈跟踪:

android.graphics.Paint.getTextRunCursor (Paint.java:2160)
android.graphics.Paint.getTextRunCursor (Paint.java:2112)
android.widget.Editor.getNextCursorOffset (Editor.java:924)
android.widget.Editor.access$4700 (Editor.java:126)
android.widget.Editor$SelectionEndHandleView.positionAndAdjustForCrossingHandles (Editor.java:4708)
android.widget.Editor$SelectionEndHandleView.updatePosition (Editor.java:4692)
android.widget.Editor$HandleView.onTouchEvent (Editor.java:4012)
android.widget.Editor$SelectionEndHandleView.onTouchEvent (Editor.java:4726)
android.view.View.dispatchTouchEvent (View.java:9377)
android.view.ViewGroup.dispatchTransformedTouchEvent (ViewGroup.java:2554)
android.view.ViewGroup.dispatchTouchEvent (ViewGroup.java:2255)
android.widget.PopupWindow$PopupDecorView.dispatchTouchEvent (PopupWindow.java:2015)
android.view.View.dispatchPointerEvent (View.java:9597)
android.view.ViewRootImpl$ViewPostImeInputStage.processPointerEvent (ViewRootImpl.java:4234)
android.view.ViewRootImpl$ViewPostImeInputStage.onProcess (ViewRootImpl.java:4100)
android.view.ViewRootImpl$InputStage.deliver (ViewRootImpl.java:3646)
android.view.ViewRootImpl$InputStage.onDeliverToNext (ViewRootImpl.java:3699)
android.view.ViewRootImpl$InputStage.forward (ViewRootImpl.java:3665)
android.view.ViewRootImpl$AsyncInputStage.forward (ViewRootImpl.java:3791)
android.view.ViewRootImpl$InputStage.apply (ViewRootImpl.java:3673)
android.view.ViewRootImpl$AsyncInputStage.apply (ViewRootImpl.java:3848)
android.view.ViewRootImpl$InputStage.deliver (ViewRootImpl.java:3646)
android.view.ViewRootImpl$InputStage.onDeliverToNext (ViewRootImpl.java:3699)
android.view.ViewRootImpl$InputStage.forward (ViewRootImpl.java:3665)
android.view.ViewRootImpl$InputStage.apply (ViewRootImpl.java:3673)
android.view.ViewRootImpl$InputStage.deliver (ViewRootImpl.java:3646)
android.view.ViewRootImpl.deliverInputEvent (ViewRootImpl.java:5926)
android.view.ViewRootImpl.doProcessInputEvents (ViewRootImpl.java:5900)
android.view.ViewRootImpl.enqueueInputEvent (ViewRootImpl.java:5861)
android.view.ViewRootImpl$WindowInputEventReceiver.onInputEvent (ViewRootImpl.java:6029)
android.view.InputEventReceiver.dispatchInputEvent (InputEventReceiver.java:185)
android.view.InputEventReceiver.nativeConsumeBatchedInputEvents (InputEventReceiver.java)
android.view.InputEventReceiver.consumeBatchedInputEvents (InputEventReceiver.java:176)
android.view.ViewRootImpl.doConsumeBatchedInput (ViewRootImpl.java:6000)
android.view.ViewRootImpl$ConsumeBatchedInputRunnable.run (ViewRootImpl.java:6052)
android.view.Choreographer$CallbackRecord.run (Choreographer.java:858)
android.view.Choreographer.doCallbacks (Choreographer.java:670)
android.view.Choreographer.doFrame (Choreographer.java:600)
android.view.Choreographer$FrameDisplayEventReceiver.run (Choreographer.java:844)
android.os.Handler.handleCallback (Handler.java:739)
android.os.Handler.dispatchMessage (Handler.java:95)
android.os.Looper.loop (Looper.java:234)
android.app.ActivityThread.main (ActivityThread.java:5526)
java.lang.reflect.Method.invoke (Method.java)
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:726)
com.android.internal.os.ZygoteInit.main (ZygoteInit.java:616)

我不确定如何调试这个,因为如上所述,整个堆栈跟踪永远不会通过我的应用程序,所以我不知道在哪里看。

1 个答案:

答案 0 :(得分:0)

Per Doug的评论,这看起来像Android崩溃,而不是直接来自您的应用程序(因为没有任何堆栈框架似乎来自您的应用程序)。此特定问题是一个渲染问题,因为它通过android.graphicsandroid.view,类似于this question。它可能代表了源自您应用的XML的渲染问题。

不幸的是,这就是Firebase目前所有的信息。