Hard lag and 100% CPU tab usage with old renderer



    • Any shard
    • Any room
    • 100% local CPU usage of Screeps tab => Hard lag and slow response
    • Chrome profile shows some Angular uncaught exceptions (see log below)
    • Non-WebGL mode only
    Console output:
    11:35:27.402 angular.js?bust=1509735506825":1 Uncaught Error: [$rootScope:infdig] 10 $digest() iterations reached. Aborting!
    Watchers fired in the last 5 iterations: [[{"msg":"fn: o","newVal":{},"oldVal":{}},{"msg":"fn: o","newVal":{},"oldVal":{}}],[{"msg":"fn: o","newVal":{},"oldVal":"..."},{"msg":"fn: o","newVal":{},"oldVal":"..."}],[{"msg":"fn: o","newVal":{},"oldVal":"..."}],[{"msg":"fn: o","newVal":{},"oldVal":"..."}],[{"msg":"fn: o","newVal":{},"oldVal":"..."}]]
    http://errors.angularjs.org/1.5.11/$rootScope/infdig?p0=10&p1=%5B%5B%7B%22msg%22%3A%22fn%3A%20o%22%2C%22newVal%22%3A%7B%7D%2C%22oldVal%22%3A%7B%7D%7D%2C%7B%22msg%22%3A%22fn%3A%20o%22%2C%22newVal%22%3A%7B%7D%2C%22oldVal%22%3A%7B%7D%7D%5D%2C%5B%7B%22msg%22%3A%22fn%3A%20o%22%2C%22newVal%22%3A%7B%7D%2C%22oldVal%22%3A%22...%22%7D%2C%7B%22msg%22%3A%22fn%3A%20o%22%2C%22newVal%22%3A%7B%7D%2C%22oldVal%22%3A%22...%22%7D%5D%2C%5B%7B%22msg%22%3A%22fn%3A%20o%22%2C%22newVal%22%3A%7B%7D%2C%22oldVal%22%3A%22...%22%7D%5D%2C%5B%7B%22msg%22%3A%22fn%3A%20o%22%2C%22newVal%22%3A%7B%7D%2C%22oldVal%22%3A%22...%22%7D%5D%2C%5B%7B%22msg%22%3A%22fn%3A%20o%22%2C%22newVal%22%3A%7B%7D%2C%22oldVal%22%3A%22...%22%7D%5D%5D
        at angular.js?bust=1509735506825":1
        at d.$digest (angular.js?bust=1509735506825":1)
        at angular.js?bust=1509735506825":1
        at o (angular.js?bust=1509735506825":1)
        at angular.js?bust=1509735506825":1
    (anonymous) @ angular.js?bust=1509735506825":1
    $digest @ angular.js?bust=1509735506825":1
    (anonymous) @ angular.js?bust=1509735506825":1
    o @ angular.js?bust=1509735506825":1
    (anonymous) @ angular.js?bust=1509735506825":1
    setTimeout (async)
    l.defer @ angular.js?bust=1509735506825":1
    $evalAsync @ angular.js?bust=1509735506825":1
    (anonymous) @ angular.js?bust=1509735506825":1
    u @ angular.js?bust=1509735506825":1
    then @ angular.js?bust=1509735506825":1
    i @ build.min.js?bust=1509735506825:1
    e @ lodash.js?bust=1509735506825":1
    i @ lodash.js?bust=1509735506825":1
    setTimeout (async)
    o @ lodash.js?bust=1509735506825":1
    $digest @ angular.js?bust=1509735506825":1
    (anonymous) @ angular.js?bust=1509735506825":1
    o @ angular.js?bust=1509735506825":1
    (anonymous) @ angular.js?bust=1509735506825":1
    setTimeout (async)
    l.defer @ angular.js?bust=1509735506825":1
    $evalAsync @ angular.js?bust=1509735506825":1
    (anonymous) @ angular.js?bust=1509735506825":1
    u @ angular.js?bust=1509735506825":1
    then @ angular.js?bust=1509735506825":1
    i @ build.min.js?bust=1509735506825:1
    e @ lodash.js?bust=1509735506825":1
    i @ lodash.js?bust=1509735506825":1
    setTimeout (async)
    o @ lodash.js?bust=1509735506825":1
    $digest @ angular.js?bust=1509735506825":1
    (anonymous) @ angular.js?bust=1509735506825":1
    o @ angular.js?bust=1509735506825":1
    (anonymous) @ angular.js?bust=1509735506825":1
    setTimeout (async)
    l.defer @ angular.js?bust=1509735506825":1
    $evalAsync @ angular.js?bust=1509735506825":1
    (anonymous) @ angular.js?bust=1509735506825":1
    u @ angular.js?bust=1509735506825":1
    then @ angular.js?bust=1509735506825":1
    i @ build.min.js?bust=1509735506825:1
    e @ lodash.js?bust=1509735506825":1
    i @ lodash.js?bust=1509735506825":1
    setTimeout (async)
    o @ lodash.js?bust=1509735506825":1
    $digest @ angular.js?bust=1509735506825":1
    (anonymous) @ angular.js?bust=1509735506825":1
    o @ angular.js?bust=1509735506825":1
    (anonymous) @ angular.js?bust=1509735506825":1
    setTimeout (async)
    l.defer @ angular.js?bust=1509735506825":1
    $evalAsync @ angular.js?bust=1509735506825":1
    (anonymous) @ angular.js?bust=1509735506825":1
    u @ angular.js?bust=1509735506825":1
    then @ angular.js?bust=1509735506825":1
    i @ build.min.js?bust=1509735506825:1
    e @ lodash.js?bust=1509735506825":1
    i @ lodash.js?bust=1509735506825":1
    setTimeout (async)
    o @ lodash.js?bust=1509735506825":1
    $digest @ angular.js?bust=1509735506825":1
    $apply @ angular.js?bust=1509735506825":1
    (anonymous) @ angular.js?bust=1509735506825":1
    o @ angular.js?bust=1509735506825":1
    (anonymous) @ angular.js?bust=1509735506825":1
    setTimeout (async)
    l.defer @ angular.js?bust=1509735506825":1
    C @ angular.js?bust=1509735506825":1
    $applyAsync @ angular.js?bust=1509735506825":1
    a.listener @ build.min.js?bust=1509735506825:1
    dispatch @ jquery.js?bust=1509735506825":1
    g.handle @ jquery.js?bust=1509735506825":1
    trigger @ jquery.js?bust=1509735506825":1
    (anonymous) @ jquery.js?bust=1509735506825":1
    each @ jquery.js?bust=1509735506825":1
    each @ jquery.js?bust=1509735506825":1
    trigger @ jquery.js?bust=1509735506825":1
    m.fireEvent @ build.min.js?bust=1509735506825:1
    l.onmessage @ build.min.js?bust=1509735506825:1
    o.dispatchEvent @ sockjs.js?bust=1509735506825":1
    m._dispatchMessage @ sockjs.js?bust=1509735506825":1
    m._didMessage @ sockjs.js?bust=1509735506825":1
    r.ws.onmessage @ sockjs.js?bust=1509735506825":1
    

    Angular doc reference


  • Dev Team

    I couldn't reproduce this. Have you tried disabling all browser extensions and clearing the cache?



  • @artch It suddenly disappeared several hours later. Possibly it could be an issue with local internet provider routing, and some resources and utility hosts became unreachable. Cannot reproduce it same way.

    I'll try to investigate and dump it more carefully next time if it'll happen again, for now ticket is useless and can be deleted I think, thanks for response anyway.