View Issue Details

IDProjectCategoryView StatusLast Update
0005169Spring engineGeneralpublic2016-03-15 10:25
Reportersilentwings Assigned ToKloot  
PrioritynormalSeverityminorReproducibilityN/A
Status closedResolutionno change required 
Product Version101.0+git 
Summary0005169: error handler invoked in 101.0.1-136
DescriptionI 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.
TagsNo tags attached.
Attached Files
infolog.txt (Attachment missing)
Checked infolog.txt for Errors

Activities

silentwings

2016-03-14 23:34

reporter   ~0016067

Aferthought: the chat console vanishing was caused by something in the ZK mission editor and is likely to be unrelated to the stactrace.

hokomoko

2016-03-15 00:15

developer   ~0016068

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?

Kloot

2016-03-15 00:22

developer   ~0016069

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

silentwings

2016-03-15 00:40

reporter   ~0016070

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.

abma

2016-03-15 05:21

administrator   ~0016072

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)

Kloot

2016-03-15 10:25

developer   ~0016074

rts/Lua/LuaSyncedCtrl.cpp:3262 is LuaSyncedCtrl::GiveOrderToUnit which confirms this is a game/editor issue.

Issue History

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