AI time limit error

For test results, bug reports, announcements of new builds etc.

Moderators: winston, another_commander, Getafix

Post Reply
User avatar
spara
---- E L I T E ----
---- E L I T E ----
Posts: 2553
Joined: Wed Aug 15, 2012 4:19 am
Location: Finland

AI time limit error

Post by spara » Sat Jun 20, 2015 2:35 pm

A random bug from log.
17:24:07.630 [script.javaScript.timeLimit]: ***** ERROR: Script "Oolite Escort AI" ran for 2.21993 seconds and has been terminated.
17:24:07.728 [script.javaScript.stackTrace]: 0 (oolite-priorityai.js:1745) <anonymous function>
17:24:07.728 [script.javaScript.stackTrace]: this: {...}
17:24:07.728 [script.javaScript.stackTrace]: i: undefined
17:24:07.728 [script.javaScript.stackTrace]: dts: undefined
17:24:07.745 [script.javaScript.stackTrace]: leader: [Ship "Boa" position: (-37330, 26473.7, 95646) scanClass: CLASS_NEUTRAL status: STATUS_IN_FLIGHT]
17:24:07.745 [script.javaScript.stackTrace]: 1 (oolite-priorityai.js:125) _reconsiderList()
17:24:07.745 [script.javaScript.stackTrace]: this: {...}
17:24:07.745 [script.javaScript.stackTrace]: priorities: [{...}, {...}, {...}]
17:24:07.746 [script.javaScript.stackTrace]: branch: undefined
17:24:07.746 [script.javaScript.stackTrace]: i: 0
17:24:07.746 [script.javaScript.stackTrace]: pl: 3
17:24:07.746 [script.javaScript.stackTrace]: logging: null
17:24:07.746 [script.javaScript.stackTrace]: 2 (oolite-priorityai.js:162) _reconsiderList()
17:24:07.746 [script.javaScript.stackTrace]: this: {...}
17:24:07.746 [script.javaScript.stackTrace]: priorities: [{...}, {...}, {...}, {...}, ... <10 items total>]
17:24:07.746 [script.javaScript.stackTrace]: branch: undefined
17:24:07.746 [script.javaScript.stackTrace]: i: 1
17:24:07.746 [script.javaScript.stackTrace]: pl: 10
17:24:07.746 [script.javaScript.stackTrace]: logging: null
17:24:07.746 [script.javaScript.stackTrace]: 3 (oolite-priorityai.js:214) _reconsider()
17:24:07.746 [script.javaScript.stackTrace]: this: {...}
17:24:07.746 [script.javaScript.stackTrace]: newBehaviour: undefined
17:24:07.746 [script.javaScript.stackTrace]: 4 (oolite-priorityai.js:75) _handlerAIAwoken()
17:24:07.746 [script.javaScript.stackTrace]: this: {...}

User avatar
cim
Quite Grand Sub-Admiral
Quite Grand Sub-Admiral
Posts: 4018
Joined: Fri Nov 11, 2011 6:19 pm

Re: AI time limit error

Post by cim » Sat Jun 20, 2015 2:44 pm

That generally means something else was going on - and taking up the CPU - to make the script overrun, since the AI itself should take nowhere near that. No way of finding out what, though, unfortunately.

User avatar
spara
---- E L I T E ----
---- E L I T E ----
Posts: 2553
Joined: Wed Aug 15, 2012 4:19 am
Location: Finland

Re: AI time limit error

Post by spara » Sat Jun 20, 2015 2:50 pm

Ok. I was stressing my not so up to date computer with video encoding while testing. That's probably it.

Post Reply