Skip to content

System.IndexOutOfRangeException: Index was outside the bounds of the array #52

@fusion809

Description

@fusion809

Hi,

uRA commit 389 (9c00673) crashes when I start a single player game, with the error:

OpenRA engine version unplugged-cd82382
Red Alert: Unplugged mod version 389
on map 3554efd874d47de6fa0c8dd617f73c681e7475ff (Hypothermia by PizzaAtomica).
Date: 2018-11-19 04:22:39Z
Operating System: Linux (Unix 4.19.2.1)
Runtime Version: Mono 5.16.0 (makepkg/6e48ad4f7b1 Mon Oct 15 22:56:48 CEST 2018) CLR 4.0.30319.42000
Exception of type `System.IndexOutOfRangeException`: Index was outside the bounds of the array.
  at OpenRA.Mods.Common.Traits.MPStartLocations+<WorldLoaded>c__AnonStorey0.<>m__0 (OpenRA.Network.Session+Client c) [0x00000] in /data/GitHub/others/uRA/engine/OpenRA.Mods.Common/Traits/World/MPStartLocations.cs:87 
  at (wrapper delegate-invoke) System.Func`2[OpenRA.Network.Session+Client,OpenRA.CPos].invoke_TResult_T(OpenRA.Network.Session/Client)
  at System.Linq.Enumerable+WhereSelectListIterator`2[TSource,TResult].ToList () [0x00025] in /build/mono/src/mono/external/corefx/src/System.Linq/src/System/Linq/Where.cs:616 
  at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0000e] in /build/mono/src/mono/external/corefx/src/System.Linq/src/System/Linq/ToCollection.cs:30 
  at OpenRA.Mods.Common.Traits.MPStartLocations.WorldLoaded (OpenRA.World world, OpenRA.Graphics.WorldRenderer wr) [0x0009a] in /data/GitHub/others/uRA/engine/OpenRA.Mods.Common/Traits/World/MPStartLocations.cs:87 
  at OpenRA.World.LoadComplete (OpenRA.Graphics.WorldRenderer wr) [0x00080] in <16dd5fb995604159913777a679496919>:0 
  at OpenRA.Game.StartGame (System.String mapUID, OpenRA.WorldType type) [0x000c3] in <16dd5fb995604159913777a679496919>:0 
  at OpenRA.Network.UnitOrders.ProcessOrder (OpenRA.Network.OrderManager orderManager, OpenRA.World world, System.Int32 clientId, OpenRA.Order order) [0x005b9] in <16dd5fb995604159913777a679496919>:0 
  at OpenRA.Network.OrderManager.TickImmediate () [0x00109] in <16dd5fb995604159913777a679496919>:0 
  at OpenRA.Sync+<CheckSyncUnchanged>c__AnonStorey0.<>m__0 () [0x00001] in <16dd5fb995604159913777a679496919>:0 
  at OpenRA.Sync.CheckSyncUnchanged[T] (OpenRA.World world, System.Func`1[TResult] fn) [0x00007] in <16dd5fb995604159913777a679496919>:0 
  at OpenRA.Sync.CheckSyncUnchanged (OpenRA.World world, System.Action fn) [0x0000e] in <16dd5fb995604159913777a679496919>:0 
  at OpenRA.Game.InnerLogicTick (OpenRA.Network.OrderManager orderManager) [0x0010a] in <16dd5fb995604159913777a679496919>:0 
  at OpenRA.Game.LogicTick () [0x00050] in <16dd5fb995604159913777a679496919>:0 
  at OpenRA.Game.Loop () [0x000d6] in <16dd5fb995604159913777a679496919>:0 
  at OpenRA.Game.Run () [0x00042] in <16dd5fb995604159913777a679496919>:0 
  at OpenRA.Game.InitializeAndRun (System.String[] args) [0x00011] in <16dd5fb995604159913777a679496919>:0 
  at OpenRA.Program.Main (System.String[] args) [0x0004f] in <16dd5fb995604159913777a679496919>:0 

Here are my full logs: uRA-logs-389-game-start.zip. My replay is here: Unplugged-2018-11-19T042239Z.orarep.zip, actually surprised it created a replay as it crashed as soon as I started a game. My OS is Arch Linux and my Lua version is 5.1.5. If there is anything else you need from me merely ask.

Thanks for your time,
Brenton

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions