首页   注册   登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Coding
V2EX  ›  Android

紅米 1 在運行自己開發的程序持續運行 1 小時候,報告 OpenGLRenderer flushing caches (mode 0) 后退出。

  •  
  •   cctrv · 2017-06-27 12:16:00 +08:00 · 2522 次点击
    这是一个创建于 898 天前的主题,其中的信息可能已经有所发展或是发生改变。
    日誌如下:

    每次測試都大約在 1 小時候就退出了。

    無界面程序。在後台運行的。

    第 1 条附言  ·  2017-06-27 16:07:01 +08:00
    問題已經解決,重啟手機后錯誤沒有再次出現。
    第 2 条附言  ·  2017-07-19 15:06:47 +08:00
    這個問題又重現了。我也無奈了。
    14 回复  |  直到 2017-08-11 04:12:51 +08:00
        1
    kissazi2   2017-06-27 13:21:41 +08:00
    看着好像不是不是 OpenGLRenderer flushing caches (mode 0) ,看看有没有 Error 标签的 Log ? D、I 开头的 log 一般不会导致 crash @cctrv
        2
    cctrv   2017-06-27 13:27:42 +08:00 via iPhone
    @kissazi2 Log 全開。
    已經在錘子測試了,可以運行超過 2 小時了。

    我覺得又是小米導致的問題了。
        3
    cctrv   2017-06-27 13:46:58 +08:00
    ```
    I Socket.io Reply Pong ... 17
    I Socket.io Reply Pong ... 18
    I Socket.io Reply Pong ... 19
    I Socket.io Reply Pong ... 20
    I Socket.io Reply Pong ... 21
    I Socket.io Reply Pong ... 22
    I Socket.io Reply Pong ... 23
    I Socket.io Reply Pong ... 24
    I Socket.io Reply Pong ... 25
    I Socket.io Reply Pong ... 26
    I Socket.io Reply Pong ... 27
    I Socket.io Reply Pong ... 28
    I Socket.io Reply Pong ... 29
    I Socket.io Reply Pong ... 30
    I Socket.io Reply Pong ... 31
    I Socket.io Reply Pong ... 32
    I Socket.io Reply Pong ... 33
    I Socket.io Reply Pong ... 34
    I Socket.io Reply Pong ... 35
    I Socket.io Reply Pong ... 36
    I Socket.io Reply Pong ... 37
    I Socket.io Reply Pong ... 38
    I Socket.io Reply Pong ... 39
    I Socket.io Reply Pong ... 40
    I Socket.io Reply Pong ... 41
    I Socket.io Reply Pong ... 42
    I Socket.io Reply Pong ... 43
    I Socket.io Reply Pong ... 44
    I Socket.io Reply Pong ... 45
    I Socket.io Reply Pong ... 46
    I Socket.io Reply Pong ... 47
    I Socket.io Reply Pong ... 48
    I Socket.io Reply Pong ... 49
    I Socket.io Reply Pong ... 50
    I Socket.io Reply Pong ... 51
    I Socket.io Reply Pong ... 52
    I Socket.io Reply Pong ... 53
    I Socket.io Reply Pong ... 54
    I Socket.io Reply Pong ... 55
    I Socket.io Reply Pong ... 56
    I Socket.io Reply Pong ... 57
    I Socket.io Reply Pong ... 58
    I Socket.io Reply Pong ... 59
    I Socket.io Reply Pong ... 60
    I Socket.io Reply Pong ... 61
    MyAccessibility I onAccessibilityEvent
    I onAccessibilityEvent
    I onAccessibilityEvent
    I onAccessibilityEvent
    I onAccessibilityEvent
    I onAccessibilityEvent
    I onAccessibilityEvent
    I onAccessibilityEvent
    I onAccessibilityEvent
    System.out I Socket.io Reply Pong ... 62
    I Socket.io Reply Pong ... 63
    I Socket.io Reply Pong ... 64
    MyAccessibility I > Call: android action.
    I updateDevice: 空調伴侶
    I status: ON
    I gotoView: []
    I > Call: No
    I onAccessibilityEvent
    I onAccessibilityEvent
    I onAccessibilityEvent
    I onAccessibilityEvent
    System.out I Socket.io Reply Pong ... 65
    MyAccessibility I onAccessibilityEvent
    I onAccessibilityEvent
    I onAccessibilityEvent
    I onAccessibilityEvent
    System.out I Socket.io Reply Pong ... 66
    I Socket.io Reply Pong ... 67
    I Socket.io Reply Pong ... 68
    I Socket.io Reply Pong ... 69
    I Socket.io Reply Pong ... 70
    I Socket.io Reply Pong ... 71
    I Socket.io Reply Pong ... 72
    I Socket.io Reply Pong ... 73
    I Socket.io Reply Pong ... 74
    I Socket.io Reply Pong ... 75
    I Socket.io Reply Pong ... 76
    I Socket.io Reply Pong ... 77
    I Socket.io Reply Pong ... 78
    art I Do partial code cache collection, code=61KB, data=57KB
    I After code cache collection, code=58KB, data=55KB
    I Increasing code cache capacity to 256KB
    System.out I Socket.io Reply Pong ... 79
    I Socket.io Reply Pong ... 80
    I Socket.io Reply Pong ... 81
    I Socket.io Reply Pong ... 82
    I Socket.io Reply Pong ... 83
    I Socket.io Reply Pong ... 84
    MyAccessibility I 断开连接 ping timeout
    I initSocketHttp: Hosts: http://192.168.1.104:3002
    I onAccessibilityEvent
    I onAccessibilityEvent
    I onAccessibilityEvent
    I onAccessibilityEvent
    I 连接失败 io.socket.engineio.client.EngineIOException: xhr poll error
    I initSocketHttp: Hosts: http://192.168.1.104:3002
    I 连接失败 io.socket.engineio.client.EngineIOException: xhr poll error
    I initSocketHttp: Hosts: http://192.168.1.104:3002
    I 连接失败 io.socket.engineio.client.EngineIOException: xhr poll error
    I initSocketHttp: Hosts: http://192.168.1.104:3002
    I onAccessibilityEvent
    I onAccessibilityEvent
    I onAccessibilityEvent
    I onAccessibilityEvent
    System.out I Socket.io Reply Pong ... 85
    I Socket.io Reply Pong ... 86
    I Socket.io Reply Pong ... 87
    I Socket.io Reply Pong ... 88
    I Socket.io Reply Pong ... 89
    I Socket.io Reply Pong ... 90
    I Socket.io Reply Pong ... 91
    I Socket.io Reply Pong ... 92
    I Socket.io Reply Pong ... 93
    I Socket.io Reply Pong ... 94
    I Socket.io Reply Pong ... 95
    I Socket.io Reply Pong ... 96
    I Socket.io Reply Pong ... 97
    I Socket.io Reply Pong ... 98
    I Socket.io Reply Pong ... 99
    I Socket.io Reply Pong ... 100
    I Socket.io Reply Pong ... 101
    I Socket.io Reply Pong ... 102
    I Socket.io Reply Pong ... 103
    I Socket.io Reply Pong ... 104
    MyAccessibility I 断开连接 ping timeout
    I initSocketHttp: Hosts: http://192.168.1.104:3002
    I onAccessibilityEvent
    I onAccessibilityEvent
    I onAccessibilityEvent
    I onAccessibilityEvent
    I 连接失败 io.socket.engineio.client.EngineIOException: xhr poll error
    I initSocketHttp: Hosts: http://192.168.1.104:3002
    I 连接失败 io.socket.engineio.client.EngineIOException: xhr poll error
    I initSocketHttp: Hosts: http://192.168.1.104:3002
    I 连接失败 io.socket.engineio.client.EngineIOException: xhr poll error
    I initSocketHttp: Hosts: http://192.168.1.104:3002
    I onAccessibilityEvent
    I onAccessibilityEvent
    I onAccessibilityEvent
    I onAccessibilityEvent
    System.out I Socket.io Reply Pong ... 105
    MyAccessibility I onAccessibilityEvent
    I onAccessibilityEvent
    I onAccessibilityEvent
    I onAccessibilityEvent
    System.out I Socket.io Reply Pong ... 106
    I Socket.io Reply Pong ... 107
    I Socket.io Reply Pong ... 108
    I Socket.io Reply Pong ... 109
    MyAccessibility I onAccessibilityEvent
    I onAccessibilityEvent
    I onAccessibilityEvent
    I onAccessibilityEvent
    I onAccessibilityEvent
    I onAccessibilityEvent
    I onAccessibilityEvent
    I onAccessibilityEvent
    I onAccessibilityEvent
    I onAccessibilityEvent
    I onAccessibilityEvent
    I onAccessibilityEvent
    System.out I Socket.io Reply Pong ... 110


    錘子的運行記錄。一直很正常。
    ```
        4
    robinlovemaggie   2017-06-27 14:03:28 +08:00
    一般这个时候红米很烫了吧?
        5
    cctrv   2017-06-27 14:59:41 +08:00
    06-27 14:41:38.776 32289-23578/com.example.qoli.myapplication D/dalvikvm: threadid=13: created from interp
    06-27 14:41:38.777 32289-32667/com.example.qoli.myapplication D/dalvikvm: start new thread
    06-27 14:41:38.778 32289-23578/com.example.qoli.myapplication D/dalvikvm: threadid=13: notify debugger
    06-27 14:41:38.778 32289-23578/com.example.qoli.myapplication D/dalvikvm: threadid=13 (EventThread): calling run()
    06-27 14:41:38.779 32289-23578/com.example.qoli.myapplication D/dalvikvm: threadid=13: exiting
    06-27 14:41:38.780 32289-23578/com.example.qoli.myapplication D/dalvikvm: threadid=13: bye!
    06-27 14:41:52.862 32289-32667/com.example.qoli.myapplication D/dalvikvm: create interp thread : stack size=128KB
    06-27 14:41:52.862 32289-32667/com.example.qoli.myapplication D/dalvikvm: create new thread
    06-27 14:41:52.863 32289-32667/com.example.qoli.myapplication D/dalvikvm: new thread created
    06-27 14:41:52.864 32289-32667/com.example.qoli.myapplication D/dalvikvm: update thread list
    06-27 14:41:52.865 32289-23727/com.example.qoli.myapplication D/dalvikvm: threadid=13: interp stack at 0x62d8d000
    06-27 14:41:52.865 32289-23727/com.example.qoli.myapplication D/dalvikvm: init ref table
    06-27 14:41:52.866 32289-23727/com.example.qoli.myapplication D/dalvikvm: init mutex
    06-27 14:41:52.866 32289-23727/com.example.qoli.myapplication D/dalvikvm: threadid=13: created from interp
    06-27 14:41:52.868 32289-32667/com.example.qoli.myapplication D/dalvikvm: start new thread
    06-27 14:41:52.869 32289-23727/com.example.qoli.myapplication D/dalvikvm: threadid=13: notify debugger
    06-27 14:41:52.869 32289-23727/com.example.qoli.myapplication D/dalvikvm: threadid=13 (EventThread): calling run()
    06-27 14:41:52.871 32289-23727/com.example.qoli.myapplication D/dalvikvm: create interp thread : stack size=128KB
    06-27 14:41:52.871 32289-23727/com.example.qoli.myapplication D/dalvikvm: create new thread
    06-27 14:41:52.872 32289-23727/com.example.qoli.myapplication D/dalvikvm: new thread created
    06-27 14:41:52.873 32289-23727/com.example.qoli.myapplication D/dalvikvm: update thread list
    06-27 14:41:52.874 32289-23728/com.example.qoli.myapplication D/dalvikvm: threadid=33: interp stack at 0x63575000
    06-27 14:41:52.874 32289-23728/com.example.qoli.myapplication D/dalvikvm: init ref table
    06-27 14:41:52.875 32289-23728/com.example.qoli.myapplication D/dalvikvm: init mutex
    06-27 14:41:52.875 32289-23728/com.example.qoli.myapplication D/dalvikvm: threadid=33: created from interp
    06-27 14:41:52.876 32289-23727/com.example.qoli.myapplication D/dalvikvm: start new thread
    06-27 14:41:52.878 32289-23727/com.example.qoli.myapplication D/dalvikvm: threadid=13: exiting
    06-27 14:41:52.879 32289-23727/com.example.qoli.myapplication D/dalvikvm: threadid=13: bye!
    06-27 14:41:52.879 32289-23728/com.example.qoli.myapplication D/dalvikvm: threadid=33: notify debugger
    06-27 14:41:52.880 32289-23728/com.example.qoli.myapplication D/dalvikvm: threadid=33 (Thread-1245): calling run()
    06-27 14:41:52.881 32289-23728/com.example.qoli.myapplication I/System.out: Socket.io Reply Pong ... 45
    06-27 14:41:52.882 32289-23728/com.example.qoli.myapplication D/dalvikvm: create interp thread : stack size=128KB
    06-27 14:41:52.882 32289-23728/com.example.qoli.myapplication D/dalvikvm: create new thread
    06-27 14:41:52.883 32289-23728/com.example.qoli.myapplication D/dalvikvm: new thread created
    06-27 14:41:52.884 32289-23728/com.example.qoli.myapplication D/dalvikvm: update thread list
    06-27 14:41:52.885 32289-23729/com.example.qoli.myapplication D/dalvikvm: threadid=13: interp stack at 0x62d8d000
    06-27 14:41:52.885 32289-23729/com.example.qoli.myapplication D/dalvikvm: init ref table
    06-27 14:41:52.886 32289-23729/com.example.qoli.myapplication D/dalvikvm: init mutex
    06-27 14:41:52.886 32289-23729/com.example.qoli.myapplication D/dalvikvm: threadid=13: created from interp
    06-27 14:41:52.887 32289-23728/com.example.qoli.myapplication D/dalvikvm: start new thread
    06-27 14:41:52.888 32289-23728/com.example.qoli.myapplication D/dalvikvm: threadid=33: exiting
    06-27 14:41:52.889 32289-23728/com.example.qoli.myapplication D/dalvikvm: threadid=33: bye!
    06-27 14:41:52.890 32289-23729/com.example.qoli.myapplication D/dalvikvm: threadid=13: notify debugger
    06-27 14:41:52.890 32289-23729/com.example.qoli.myapplication D/dalvikvm: threadid=13 (EventThread): calling run()
    06-27 14:41:52.892 32289-23729/com.example.qoli.myapplication D/dalvikvm: threadid=13: exiting
    06-27 14:41:52.893 32289-23729/com.example.qoli.myapplication D/dalvikvm: threadid=13: bye!
    06-27 14:42:03.780 32289-32668/com.example.qoli.myapplication D/dalvikvm: create interp thread : stack size=128KB
    06-27 14:42:03.780 32289-32668/com.example.qoli.myapplication D/dalvikvm: create new thread
    06-27 14:42:03.780 32289-32668/com.example.qoli.myapplication D/dalvikvm: new thread created
    06-27 14:42:03.780 32289-32668/com.example.qoli.myapplication D/dalvikvm: update thread list
    06-27 14:42:03.780 32289-23828/com.example.qoli.myapplication D/dalvikvm: threadid=13: interp stack at 0x62d8d000
    06-27 14:42:03.780 32289-23828/com.example.qoli.myapplication D/dalvikvm: init ref table
    06-27 14:42:03.780 32289-23828/com.example.qoli.myapplication D/dalvikvm: init mutex
    06-27 14:42:03.780 32289-23828/com.example.qoli.myapplication D/dalvikvm: threadid=13: created from interp
    06-27 14:42:03.780 32289-32668/com.example.qoli.myapplication D/dalvikvm: start new thread
    06-27 14:42:03.781 32289-23828/com.example.qoli.myapplication D/dalvikvm: threadid=13: notify debugger
    06-27 14:42:03.781 32289-23828/com.example.qoli.myapplication D/dalvikvm: threadid=13 (EventThread): calling run()
    06-27 14:42:03.784 32289-23828/com.example.qoli.myapplication D/dalvikvm: threadid=13: exiting
    06-27 14:42:03.785 32289-23828/com.example.qoli.myapplication D/dalvikvm: threadid=13: bye!
    06-27 14:42:03.806 32289-32667/com.example.qoli.myapplication D/dalvikvm: create interp thread : stack size=128KB
    06-27 14:42:03.806 32289-32667/com.example.qoli.myapplication D/dalvikvm: create new thread
    06-27 14:42:03.807 32289-32667/com.example.qoli.myapplication D/dalvikvm: new thread created
    06-27 14:42:03.807 32289-32667/com.example.qoli.myapplication D/dalvikvm: update thread list
    06-27 14:42:03.808 32289-23829/com.example.qoli.myapplication D/dalvikvm: threadid=13: interp stack at 0x62d8d000
    06-27 14:42:03.809 32289-23829/com.example.qoli.myapplication D/dalvikvm: init ref table
    06-27 14:42:03.810 32289-23829/com.example.qoli.myapplication D/dalvikvm: init mutex
    06-27 14:42:03.810 32289-23829/com.example.qoli.myapplication D/dalvikvm: threadid=13: created from interp
    06-27 14:42:03.811 32289-32667/com.example.qoli.myapplication D/dalvikvm: start new thread
    06-27 14:42:03.812 32289-23829/com.example.qoli.myapplication D/dalvikvm: threadid=13: notify debugger
    06-27 14:42:03.812 32289-23829/com.example.qoli.myapplication D/dalvikvm: threadid=13 (EventThread): calling run()
    06-27 14:42:03.814 32289-23829/com.example.qoli.myapplication D/dalvikvm: threadid=13: exiting
    06-27 14:42:03.814 32289-23829/com.example.qoli.myapplication D/dalvikvm: threadid=13: bye!
    06-27 14:42:07.596 32289-32289/com.example.qoli.myapplication D/OpenGLRenderer: Flushing caches (mode 0)
        6
    cctrv   2017-06-27 14:59:59 +08:00
    D/OpenGLRenderer: Flushing caches (mode 0)

    紅米就只會突然退出了。
        7
    cctrv   2017-06-27 15:00:20 +08:00
    @robinlovemaggie 不燙啊~又不佔用 CPU,就維持一個心跳包而已。
        8
    cctrv   2017-06-27 15:02:56 +08:00
    而且每次都不見得一定 1 小時,紅米有些時候能維持 34 個心跳包,有些時候能維持 45 個。
    大約 20 個心跳包就一小時。
        9
    cctrv   2017-06-27 16:06:47 +08:00
    @kissazi2
    @robinlovemaggie

    問題已經解決,重啟手機后,錯誤沒有再次出現。
        10
    mysticzt123   2017-06-28 08:50:11 +08:00
    react native 开发做国产 Android 手机适配真是痛不欲生
        11
    cctrv   2017-06-29 14:04:16 +08:00 via iPhone
    @mysticzt123 真的嗎?我還沒體驗過 RN 做 Android。
        12
    no13bus   2017-07-03 21:31:26 +08:00
    楼主厉害,刚发现和楼主离着挺近的。
        13
    cctrv   2017-07-19 15:06:57 +08:00
    這個問題又重現了。我也無奈了。
        14
    cctrv   2017-08-11 04:12:51 +08:00
    @cctrv

    這個問題又解決了。
    看這個帖子解決的: http://bbs.xiaomi.cn/t-10469259
    关于   ·   FAQ   ·   API   ·   我们的愿景   ·   广告投放   ·   感谢   ·   实用小工具   ·   4154 人在线   最高记录 5043   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.3 · 34ms · UTC 08:04 · PVG 16:04 · LAX 00:04 · JFK 03:04
    ♥ Do have faith in what you're doing.