Opened 2 years ago

Closed 2 years ago

#6384 closed defect (needsinfo)

Multiplayer game crash

Reported by: Aha999 Owned by:
Priority: Must Have Milestone:
Component: Simulation Keywords: crash, bug, multiplayer
Cc: Patch:

Description (last modified by Langbart)

0ad version 25860-build. 3 players + 3 AI bots on Multiplayer. Suddenly the Host's game crashed entirely (program closed), but others got red error codes in top left. When he watched a replay, only then was a mainlog.html generated, which contains the following information at the end of the file where error apparently starts:

ERROR: Error in timer on entity 19221, IID99, function CollectTreasure: InternalError: too much recursion UnitAI.prototype.GetOrderData@simulation/components/UnitAI.js:4088:20 UnitAI.prototype.FinishOrder@simulation/components/UnitAI.js:3870:74 enter@simulation/components/UnitAI.js:2886:15 FSM.prototype.SwitchToNextState@globalscripts/FSM.js:366:14 FSM.prototype.ProcessMessage@globalscripts/FSM.js:274:8 UnitAI.prototype.PushOrder@simulation/components/UnitAI.js:3903:16 UnitAI.prototype.AddOrder@simulation/components/UnitAI.js:5279:8 UnitAI.prototype.CollectTreasure@simulation/components/UnitAI.js:5671:7 enter@simulation/components/UnitAI.js:2891:12 FSM.prototype.SwitchToNextState@globalscripts/FSM.js:366:14 FSM.prototype.ProcessMessage@globalscripts/FSM.js:274:8 UnitAI.prototype.PushOrder@simulation/components/UnitAI.js:3903:16 UnitAI.prototype.AddOrder@simulation/components/UnitAI.js:5279:8 UnitAI.prototype.CollectTreasure@simulation/components/UnitAI.js:5671:7 enter@simulation/components/UnitAI.js:2891:12 FSM.prototype.SwitchToNextState@globalscripts/FSM.js:366:14 FSM.prototype.ProcessMessage@globalscripts/FSM.js:274:8 UnitAI.prototype.PushOrder@simulation/components/UnitAI.js:3903:16 UnitAI.prototype.AddOrder@simulation/components/UnitAI.js:5279:8 UnitAI.prototype.CollectTreasure@simulation/components/UnitAI.js:5671:7 enter@simulation/components/UnitAI.js:2891:12 FSM.prototype.SwitchToNextState@globalscripts/FSM.js:366:14 FSM.prototype.ProcessMessage@globalscripts/FSM.js:274:8 UnitAI.prototype.PushOrder@simulation/components/UnitAI.js:3903:16 UnitAI.prototype.AddOrder@simulation/components/UnitAI.js:5279:8 UnitAI.prototype.CollectTreasure@simulation/components/UnitAI.js:5671:7 enter@simulation/components/UnitAI.js:2891:12 FSM.prototype.SwitchToNextState@globalscripts/FSM.js:366:14 FSM.prototype.ProcessMessage@globalscripts/FSM.js:274:8 UnitAI.prototype.PushOrder@simulation/components/UnitAI.js:3903:16 UnitAI.prototype.AddOrder@simulation/components/UnitAI.js:5279:8 UnitAI.prototype.CollectTreasure@simulation/components/UnitAI.js:5671:7 enter@simulation/components/UnitAI.js:2891:12 FSM.prototype.SwitchToNextState@globalscripts/FSM.js:366:14 FSM.prototype.ProcessMessage@globalscripts/FSM.js:274:8 UnitAI.prototype.PushOrder@simulation/components/UnitAI.js:3903:16 UnitAI.prototype.AddOrder@simulation/components/UnitAI.js:5279:8 UnitAI.prototype.CollectTreasure@simulation/components/UnitAI.js:5671:7 enter@simulation/components/UnitAI.js:2891:12 FSM.prototype.SwitchToNextState@globalscripts/FSM.js:366:14 FSM.prototype.ProcessMessage@globalscripts/FSM.js:274:8 UnitAI.prototype.PushOrder@simulation/components/UnitAI.js:3903:16 UnitAI.prototype.AddOrder@simulation/components/UnitAI.js:5279:8 UnitAI.prototype.CollectTreasure@simulation/components/UnitAI.js:5671:7 enter@simulation/components/UnitAI.js:2891:12 FSM.prototype.SwitchToNextState@globalscripts/FSM.js:366:14 FSM.prototype.ProcessMessage@globalscripts/FSM.js:274:8 UnitAI.prototype.PushOrder@simulation/components/UnitAI.js:3903:16 UnitAI.prototype.AddOrder@simulation/components/UnitAI.js:5279:8 UnitAI.prototype.CollectTreasure@simulation/components/UnitAI.js:5671:7 enter@simulation/components/UnitAI.js:2891:12 FSM.prototype.SwitchToNextState@globalscripts/FSM.js:366:14 FSM.prototype.ProcessMessage@globalscripts/FSM.js:274:8 UnitAI.prototype.PushOrder@simulation/components/UnitAI.js:3903:16 UnitAI.prototype.AddOrder@simulation/components/UnitAI.js:5279:8 UnitAI.prototype.CollectTreasure@simulation/components/UnitAI.js:5671:7 enter@simulation/components/UnitAI.js:2891:12 FSM.prototype.SwitchToNextState@globalscripts/FSM.js:366:14 FSM.prototype.ProcessMessage@globalscripts/FSM.js:274:8 UnitAI.prototype.PushOrder@simulation/components/UnitAI.js:3903:16 UnitAI.prototype.AddOrder@simulation/components/UnitAI.js:5279:8 UnitAI.prototype.CollectTreasure@simulation/components/UnitAI.js:5671:7 enter@simulation/components/UnitAI.js:2891:12 FSM.prototype.SwitchToNextState@globalscripts/FSM.js:366:14 FSM.prototype.ProcessMessage@globalscripts/FSM.js:274:8 UnitAI.prototype.PushOrder@simulation/components/UnitAI.js:3903:16 UnitAI.prototype.AddOrder@simulation/components/UnitAI.js:5279:8 UnitAI.prototype.CollectTreasure@simulation/components/UnitAI.js:5671:7 enter@simulation/components/UnitAI.js:2891:12 FSM.prototype.SwitchToNextState@globalscripts/FSM.js:366:14 FSM.prototype.ProcessMessage@globalscripts/FSM.js:274:8 UnitAI.prototype.PushOrder@simulation/components/UnitAI.js:3903:16 UnitAI.prototype.AddOrder@simulation/components/UnitAI.js:5279:8 UnitAI.prototype.CollectTreasure@simulation/components/UnitAI.js:5671:7 enter@simulation/components/UnitAI.js:2891:12 FSM.prototype.SwitchToNextState@globalscripts/FSM.js:366:14 FSM.prototype.ProcessMessage@globalscripts/FSM.js:274:8 UnitAI.prototype.PushOrder@simulation/components/UnitAI.js:3903:16 UnitAI.prototype.AddOrder@simulation/components/UnitAI.js:5279:8 UnitAI.prototype.CollectTreasure@simulation/components/UnitAI.js:5671:7 enter@simulation/components/UnitAI.js:2891:12 FSM.prototype.SwitchToNextState@globalscripts/FSM.js:366:14 FSM.prototype.ProcessMessage@globalscripts/FSM.js:274:8 UnitAI.prototype.PushOrder@simulation/components/UnitAI.js:3903:16 UnitAI.prototype.AddOrder@simulation/components/UnitAI.js:5279:8 UnitAI.prototype.CollectTreasure@simulation/components/UnitAI.js:5671:7 enter@simulation/components/UnitAI.js:2891:12 FSM.prototype.SwitchToNextState@globalscripts/FSM.js:366:14 FSM.prototype.ProcessMessage@globalscripts/FSM.js:274:8 UnitAI.prototype.PushOrder@simulation/components/UnitAI.js:3903:16 UnitAI.prototype.AddOrder@simulation/components/UnitAI.js:5279:8 UnitAI.prototype.CollectTreasure@simulation/components/UnitAI.js:5671:7 enter@simulation/components/UnitAI.js:2891:12 FSM.prototype.SwitchToNextState@globalscripts/FSM.js:366:14 FSM.prototype.ProcessMessage@globalscripts/FSM.js:274:8 UnitAI.prototype.PushOrder@simulation/components/UnitAI.js:3903:16 UnitAI.prototype.AddOrder@simulation/components/UnitAI.js:5279:8 UnitAI.prototype.CollectTreasure@simulation/components/UnitAI.js:5671:7 enter@simulation/components/UnitAI.js:2891:12 FSM.prototype.SwitchToNextState@globalscripts/FSM.js:366:14 FSM.prototype.ProcessMessage@globalscripts/FSM.js:274:8 UnitAI.prototype.PushOrder@simulation/components/UnitAI.js:3903:16 UnitAI.prototype.AddOrder@simulation/components/UnitAI.js:5279:8 UnitAI.prototype.CollectTreasure@simulation/components/UnitAI.js:5671:7 enter@simulation/components/UnitAI.js:2891:12 FSM.prototype.SwitchToNextState@globalscripts/FSM.js:366:14 FSM.prototype.ProcessMessage@globalscripts/FSM.js:274:8 UnitAI.prototype.PushOrder@simulation/components/UnitAI.js:3903:16 UnitAI.prototype.AddOrder@simulation/components/UnitAI.js:5279:8 UnitAI.prototype.CollectTreasure@simulation/components/UnitAI.js:5671:7 enter@simulation/components/UnitAI.js:2891:12 FSM.prototype.SwitchToNextState@globalscripts/FSM.js:366:14 FSM.prototype.ProcessMessage@globalscripts/FSM.js:274:8 UnitAI.prototype.PushOrder@simulation/components/UnitAI.js:3903:16 UnitAI.prototype.AddOrder@simulation/components/UnitAI.js:5279:8 UnitAI.prototype.CollectTreasure@simulation/components/UnitAI.js:5671:7 enter@simulation/components/UnitAI.js:2891:12 FSM.prototype.SwitchToNextState@globalscripts/FSM.js:366:14 FSM.prototype.ProcessMessage@globalscripts/FSM.js:274:8 UnitAI.prototype.PushOrder@simulation/components/UnitAI.js:3903:16 UnitAI.prototype.AddOrder@simulation/components/UnitAI.js:5279:8 UnitAI.prototype.CollectTreasure@simulation/components/UnitAI.js:5671:7 enter@simulation/components/UnitAI.js:2891:12 FSM.prototype.SwitchToNextState@globalscripts/FSM.js:366:14 FSM.prototype.ProcessMessage@globalscripts/FSM.js:274:8 UnitAI.prototype.PushOrder@simulation/components/UnitAI.js:3903:16

Related IRC 0ad conversation between user1 and aha_ about this issue

Change History (4)

comment:1 by Aha999, 2 years ago

Description: modified (diff)

comment:2 by Langbart, 2 years ago

Description: modified (diff)

Thanks for the report, I added the link to the IRC conversation you had with user1.

Can you also upload the replay file where the problem occurred (see wiki/GameDataPaths)?

comment:3 by Freagarach, 2 years ago

Component: Core engineSimulation

This is very likely the same as #6329, which is fixed already in SVN (the next version). But a replay could be used to make sure.

comment:4 by Stan, 2 years ago

Milestone: Alpha 26
Resolution: needsinfo
Status: newclosed
Note: See TracTickets for help on using tickets.