View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0005169 | Spring engine | General | public | 2016-03-14 23:25 | 2016-03-15 10:25 |
| Reporter | silentwings | Assigned To | Kloot | ||
| Priority | normal | Severity | minor | Reproducibility | N/A |
| Status | closed | Resolution | no change required | ||
| Product Version | 101.0+git | ||||
| Summary | 0005169: error handler invoked in 101.0.1-136 | ||||
| Description | I don't know what triggered it, I was only fiddling around with Chili UI colours at the time. It didn't crash (although the chat console disappeared) and I exited normally. I couldn't persuade http://stacktranslate.springrts.com/ to translate the stack trace; it just timed out. But maybe it's still useful. | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Checked infolog.txt for Errors | |||||
|
|
Aferthought: the chat console vanishing was caused by something in the ZK mission editor and is likely to be unrelated to the stactrace. |
|
|
I think the error is related to a command with faulty parameters being given (empty table?), which may or may not be related to the console? |
|
|
stacktrans times out for me too, but [f=0014220] Error: [safe_element const] index 0 out of bounds! (size 0) means that some code is issuing a command the engine expects to have > 0 parameters (which is basically every command other than CMD_STOP) but not providing any. side note, this is probably a point of attention: [f=-000001] Warning: Iterating a table with keys of type "table" in synced context! stack traceback: [C]: in function '(for generator)' [string "LuaRules/Gadgets/mission_runner.lua"]:360: in main chunk [C]: in function 'pcall' [string "LuaRules/gadgets.lua"]:213: in function 'LoadGadget' [string "LuaRules/gadgets.lua"]:160: in function 'Initialize' [string "LuaRules/gadgets.lua"]:1957: in main chunk [C]: in function 'Include' [string "LuaRules/main.lua"]:11: in main chunk |
|
|
Ok, passed that on: https://github.com/ZeroK-RTS/Zero-K-Missions/issues/9 Very likely autogenerated gadgetry of the ZK mission editor is responsible for an order with incorrect params, too. |
|
|
translated: https://github.com/spring/spring/tree/101.0.1-136-g54d97ff rts/System/Platform/Win/CrashHandler.cpp:178 rts/System/Platform/Win/CrashHandler.cpp:326 rts/ExternalAI/EngineOutHandler.cpp:526 rts/Sim/Units/CommandAI/CommandAI.cpp:1586 rts/Sim/Units/CommandAI/MobileCAI.cpp:1016 rts/Sim/Units/CommandAI/BuilderCAI.cpp:1090 rts/Sim/Units/CommandAI/BuilderCAI.cpp:528 rts/Sim/Units/CommandAI/CommandAI.cpp:987 rts/Sim/Units/CommandAI/BuilderCAI.cpp:499 rts/Lua/LuaSyncedCtrl.cpp:3262 rts/lib/lua/src/ldo.cpp:321 rts/lib/lua/src/ltable.cpp:372 rts/System/Platform/Win/CrashHandler.cpp:178 rts/System/Platform/Win/CrashHandler.cpp:326 rts/ExternalAI/EngineOutHandler.cpp:526 rts/Sim/Units/CommandAI/CommandAI.cpp:1586 rts/Sim/Units/CommandAI/MobileCAI.cpp:1016 rts/Sim/Units/CommandAI/BuilderCAI.cpp:1090 rts/Sim/Units/CommandAI/BuilderCAI.cpp:528 rts/Sim/Units/CommandAI/CommandAI.cpp:987 rts/Sim/Units/CommandAI/BuilderCAI.cpp:499 rts/Lua/LuaSyncedCtrl.cpp:3262 rts/lib/lua/src/ldo.cpp:321 rts/lib/lua/src/ltable.cpp:372 (no clue why it didn't work, i just restarted the translator service) |
|
|
rts/Lua/LuaSyncedCtrl.cpp:3262 is LuaSyncedCtrl::GiveOrderToUnit which confirms this is a game/editor issue. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2016-03-14 23:25 | silentwings | New Issue | |
| 2016-03-14 23:25 | silentwings | File Added: infolog.txt | |
| 2016-03-14 23:34 | silentwings | Note Added: 0016067 | |
| 2016-03-15 00:15 | hokomoko | Note Added: 0016068 | |
| 2016-03-15 00:22 | Kloot | Note Added: 0016069 | |
| 2016-03-15 00:40 | silentwings | Note Added: 0016070 | |
| 2016-03-15 05:21 | abma | Note Added: 0016072 | |
| 2016-03-15 10:25 | Kloot | Note Added: 0016074 | |
| 2016-03-15 10:25 | Kloot | Status | new => closed |
| 2016-03-15 10:25 | Kloot | Assigned To | => Kloot |
| 2016-03-15 10:25 | Kloot | Resolution | open => no change required |