Kyson / AndroidGodEye

An app performance monitor(APM) , like "Android Studio profiler", you can easily monitor the performance of your app real time in browser
Apache License 2.0
2.6k stars 344 forks source link

java.lang.ArithmeticException: divide by zero #31

Closed JesseWo closed 5 years ago

JesseWo commented 6 years ago

App启动几分钟后 crash, 启动后没进行任何交互

java.lang.ArithmeticException: divide by zero
        at cn.hikyson.godeye.core.internal.modules.fps.FpsEngine$3$1$1.doFrame(FpsEngine.java:78)
        at android.view.Choreographer$CallbackRecord.run(Choreographer.java:883)
        at android.view.Choreographer.doCallbacks(Choreographer.java:697)
        at android.view.Choreographer.doFrame(Choreographer.java:630)
        at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:871)
        at android.os.Handler.handleCallback(Handler.java:751)
        at android.os.Handler.dispatchMessage(Handler.java:95)
        at android.os.Looper.loop(Looper.java:154)
        at android.app.ActivityThread.main(ActivityThread.java:6338)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:912)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:802)
yingguangchi commented 6 years ago

我这也碰上过这种情况

Kyson commented 6 years ago

ok,这里有问题,我做下判断吧

Kyson commented 5 years ago

@JesseWo @yingguangchi fps新版本已经重构,再观察..