Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replays with multiple local clients crash #16704

Open
matjaeck opened this issue Jun 16, 2019 · 0 comments

Comments

Projects
None yet
2 participants
@matjaeck
Copy link
Contributor

commented Jun 16, 2019

Not always, but I haven't been ale to identify why or in which constellation they crash. It usually happens when I want to see the replay of test games with two local clients, but I haven't been able to track down why it sometimes works and why it sometimes crashes. It crashes with one of these exceptions:

OpenRA engine version git-9f59b007ab
Red Alert mod version git-9f59b007ab
on map 0c119c6c942292af5aa1899f29d94eb7a60c791f (Desert Shellmap by Scott_NZ).
Date: 2019-06-16 16:51:10Z
Operating System: Linux (Unix 4.15.0.51)
Runtime Version: Mono 5.20.1.19 (tarball Thu Apr 11 09:02:17 UTC 2019) CLR 4.0.30319.42000
Exception of type `System.IO.EndOfStreamException`: Attempted to read past the end of the stream.
  at OpenRA.StreamExts.ReadBytes (System.IO.Stream s, System.Byte[] buffer, System.Int32 offset, System.Int32 count) [0x00021] in <28f8cfba3207446a946918f03d721846>:0 
  at OpenRA.StreamExts.ReadBytes (System.IO.Stream s, System.Int32 count) [0x0001b] in <28f8cfba3207446a946918f03d721846>:0 
  at OpenRA.Network.ReplayConnection..ctor (System.String replayFilename) [0x00074] in <28f8cfba3207446a946918f03d721846>:0 
  at OpenRA.Game.JoinReplay (System.String replayFile) [0x00000] in <28f8cfba3207446a946918f03d721846>:0 
  at OpenRA.Mods.Common.Widgets.Logic.ReplayBrowserLogic.WatchReplay () [0x0002a] in <bfbe038388be49deb1523f4db8f0105e>:0 
  at OpenRA.Mods.Common.Widgets.Logic.ReplayBrowserLogic+<>c__DisplayClass14_0.<.ctor>b__3 () [0x00000] in <bfbe038388be49deb1523f4db8f0105e>:0 
  at OpenRA.Mods.Common.Widgets.ButtonWidget.<.ctor>b__42_5 (OpenRA.MouseInput _) [0x00000] in <bfbe038388be49deb1523f4db8f0105e>:0 
  at OpenRA.Mods.Common.Widgets.ButtonWidget.HandleMouseInput (OpenRA.MouseInput mi) [0x00076] in <bfbe038388be49deb1523f4db8f0105e>:0 
  at OpenRA.Widgets.Widget.HandleMouseInputOuter (OpenRA.MouseInput mi) [0x000a0] in <28f8cfba3207446a946918f03d721846>:0 
  at OpenRA.Widgets.Ui.HandleInput (OpenRA.MouseInput mi) [0x0001e] in <28f8cfba3207446a946918f03d721846>:0 
  at OpenRA.DefaultInputHandler+<>c__DisplayClass5_0.<OnMouseInput>b__0 () [0x00000] in <28f8cfba3207446a946918f03d721846>:0 
  at OpenRA.Sync.RunUnsynced[T] (System.Boolean checkSyncHash, OpenRA.World world, System.Func`1[TResult] fn) [0x00023] in <28f8cfba3207446a946918f03d721846>:0 
  at OpenRA.DefaultInputHandler.OnMouseInput (OpenRA.MouseInput input) [0x0000d] in <28f8cfba3207446a946918f03d721846>:0 
  at OpenRA.Platforms.Default.Sdl2Input.PumpInput (OpenRA.Platforms.Default.Sdl2PlatformWindow device, OpenRA.IInputHandler inputHandler) [0x001d4] in <462a20f416704a7d93a101879556ea58>:0 
  at OpenRA.Platforms.Default.Sdl2PlatformWindow.PumpInput (OpenRA.IInputHandler inputHandler) [0x00006] in <462a20f416704a7d93a101879556ea58>:0 
  at OpenRA.Renderer.EndFrame (OpenRA.IInputHandler inputHandler) [0x0000c] in <28f8cfba3207446a946918f03d721846>:0 
  at OpenRA.Game.RenderTick () [0x0014b] in <28f8cfba3207446a946918f03d721846>:0 
  at OpenRA.Game.Loop () [0x0014d] in <28f8cfba3207446a946918f03d721846>:0 
  at OpenRA.Game.Run () [0x0003c] in <28f8cfba3207446a946918f03d721846>:0 
  at OpenRA.Game.InitializeAndRun (System.String[] args) [0x00010] in <28f8cfba3207446a946918f03d721846>:0 
  at OpenRA.Program.Main (System.String[] args) [0x00044] in <28f8cfba3207446a946918f03d721846>:0 
OpenRA engine version git-9f59b007ab
Red Alert mod version git-9f59b007ab
on map 0c119c6c942292af5aa1899f29d94eb7a60c791f (Desert Shellmap by Scott_NZ).
Date: 2019-06-16 16:52:42Z
Operating System: Linux (Unix 4.15.0.51)
Runtime Version: Mono 5.20.1.19 (tarball Thu Apr 11 09:02:17 UTC 2019) CLR 4.0.30319.42000
Exception of type `System.ArgumentOutOfRangeException`: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: startIndex
  at System.BitConverter.ToInt32 (System.Byte[] value, System.Int32 startIndex) <0x7fe93244ec30 + 0x0003e> in <6649516e5b3542319fb262b421af0adb>:0 
  at OpenRA.Network.ReplayConnection..ctor (System.String replayFilename) [0x0007e] in <28f8cfba3207446a946918f03d721846>:0 
  at OpenRA.Game.JoinReplay (System.String replayFile) [0x00000] in <28f8cfba3207446a946918f03d721846>:0 
  at OpenRA.Mods.Common.Widgets.Logic.ReplayBrowserLogic.WatchReplay () [0x0002a] in <bfbe038388be49deb1523f4db8f0105e>:0 
  at OpenRA.Mods.Common.Widgets.Logic.ReplayBrowserLogic+<>c__DisplayClass14_0.<.ctor>b__3 () [0x00000] in <bfbe038388be49deb1523f4db8f0105e>:0 
  at OpenRA.Mods.Common.Widgets.ButtonWidget.<.ctor>b__42_5 (OpenRA.MouseInput _) [0x00000] in <bfbe038388be49deb1523f4db8f0105e>:0 
  at OpenRA.Mods.Common.Widgets.ButtonWidget.HandleMouseInput (OpenRA.MouseInput mi) [0x00076] in <bfbe038388be49deb1523f4db8f0105e>:0 
  at OpenRA.Widgets.Widget.HandleMouseInputOuter (OpenRA.MouseInput mi) [0x000a0] in <28f8cfba3207446a946918f03d721846>:0 
  at OpenRA.Widgets.Ui.HandleInput (OpenRA.MouseInput mi) [0x0001e] in <28f8cfba3207446a946918f03d721846>:0 
  at OpenRA.DefaultInputHandler+<>c__DisplayClass5_0.<OnMouseInput>b__0 () [0x00000] in <28f8cfba3207446a946918f03d721846>:0 
  at OpenRA.Sync.RunUnsynced[T] (System.Boolean checkSyncHash, OpenRA.World world, System.Func`1[TResult] fn) [0x00023] in <28f8cfba3207446a946918f03d721846>:0 
  at OpenRA.DefaultInputHandler.OnMouseInput (OpenRA.MouseInput input) [0x0000d] in <28f8cfba3207446a946918f03d721846>:0 
  at OpenRA.Platforms.Default.Sdl2Input.PumpInput (OpenRA.Platforms.Default.Sdl2PlatformWindow device, OpenRA.IInputHandler inputHandler) [0x001d4] in <462a20f416704a7d93a101879556ea58>:0 
  at OpenRA.Platforms.Default.Sdl2PlatformWindow.PumpInput (OpenRA.IInputHandler inputHandler) [0x00006] in <462a20f416704a7d93a101879556ea58>:0 
  at OpenRA.Renderer.EndFrame (OpenRA.IInputHandler inputHandler) [0x0000c] in <28f8cfba3207446a946918f03d721846>:0 
  at OpenRA.Game.RenderTick () [0x0014b] in <28f8cfba3207446a946918f03d721846>:0 
  at OpenRA.Game.Loop () [0x0014d] in <28f8cfba3207446a946918f03d721846>:0 
  at OpenRA.Game.Run () [0x0003c] in <28f8cfba3207446a946918f03d721846>:0 
  at OpenRA.Game.InitializeAndRun (System.String[] args) [0x00010] in <28f8cfba3207446a946918f03d721846>:0 
  at OpenRA.Program.Main (System.String[] args) [0x00044] in <28f8cfba3207446a946918f03d721846>:0 

In these cases the client which was not hosting left the games first.

This is afaik not a recent regression.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.