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

Writing any command line in replays crashes the game instantly #16046

Closed
Punsho opened this Issue Jan 9, 2019 · 9 comments

Comments

Projects
None yet
4 participants
@Punsho
Copy link

Punsho commented Jan 9, 2019

exception-2019-01-09T083110Z.log

OpenRA engine version playtest-20190106
Red Alert mod version playtest-20190106
on map b5910878b43a0dd1f2f79890f533f3511b4925f2 (Beyond Destruction (RAGL:S6) by N/a).
Date: 2019-01-09 08:31:10Z
Operating System: OSX (Unix 18.2.0.0)
Runtime Version: Mono 5.16.0.221 (2018-06/b63e5378e38) CLR 4.0.30319.42000
Exception of type `System.NullReferenceException`: Object reference not set to an instance of an object
  at OpenRA.Mods.Common.Widgets.Logic.IngameChatLogic+<IngameChatLogic>c__AnonStorey0.<>m__5 () [0x000d6] in /home/travis/build/OpenRA/OpenRA/OpenRA.Mods.Common/Widgets/Logic/Ingame/IngameChatLogic.cs:89 
  at OpenRA.Mods.Common.Widgets.TextFieldWidget.HandleKeyPress (OpenRA.KeyInput e) [0x000fb] in /home/travis/build/OpenRA/OpenRA/OpenRA.Mods.Common/Widgets/TextFieldWidget.cs:235 
  at OpenRA.Widgets.Widget.HandleKeyPressOuter (OpenRA.KeyInput e) [0x0006b] in <3ff6a0bd441f46ff9200109a14409bf9>:0 
  at OpenRA.Widgets.Ui.HandleKeyPress (OpenRA.KeyInput e) [0x0000b] in <3ff6a0bd441f46ff9200109a14409bf9>:0 
  at OpenRA.DefaultInputHandler+<OnKeyInput>c__AnonStorey0.<>m__0 () [0x00000] in <3ff6a0bd441f46ff9200109a14409bf9>:0 
  at OpenRA.Sync.RunUnsynced[T] (System.Boolean checkSyncHash, OpenRA.World world, System.Func`1[TResult] fn) [0x00033] in <3ff6a0bd441f46ff9200109a14409bf9>:0 
  at OpenRA.DefaultInputHandler.OnKeyInput (OpenRA.KeyInput input) [0x0000e] in <3ff6a0bd441f46ff9200109a14409bf9>:0 
  at OpenRA.Platforms.Default.Sdl2Input.PumpInput (OpenRA.Platforms.Default.Sdl2PlatformWindow device, OpenRA.IInputHandler inputHandler) [0x003b9] in <d0f3fb76d47c4e0bb35f91f497c6f94d>:0 
  at OpenRA.Platforms.Default.Sdl2PlatformWindow.PumpInput (OpenRA.IInputHandler inputHandler) [0x00007] in <d0f3fb76d47c4e0bb35f91f497c6f94d>:0 
  at OpenRA.Renderer.EndFrame (OpenRA.IInputHandler inputHandler) [0x0000d] in <3ff6a0bd441f46ff9200109a14409bf9>:0 
  at OpenRA.Game.RenderTick () [0x00142] in <3ff6a0bd441f46ff9200109a14409bf9>:0 
  at OpenRA.Game.Loop () [0x00142] in <3ff6a0bd441f46ff9200109a14409bf9>:0 
  at OpenRA.Game.Run () [0x00042] in <3ff6a0bd441f46ff9200109a14409bf9>:0 
  at OpenRA.Game.InitializeAndRun (System.String[] args) [0x00011] in <3ff6a0bd441f46ff9200109a14409bf9>:0 
  at OpenRA.Program.Main (System.String[] args) [0x0004f] in <3ff6a0bd441f46ff9200109a14409bf9>:0 

@pchote pchote added this to the Next Release milestone Jan 9, 2019

@abcdefg30 abcdefg30 added the Regression label Jan 9, 2019

@rob-v

This comment has been minimized.

Copy link
Contributor

rob-v commented Jan 10, 2019

Please explain what you mean by 'any command line'. I tried chat in replay without a crash.

@Punsho

This comment has been minimized.

Copy link

Punsho commented Jan 10, 2019

I just tried out on what replay the game crashes and I concluded that some of the commands work if watching a replay of 1 player. If you're watching one played by more then 1 player or AI the game cashes even when you write /help, all commands crash the game in that instance

@rob-v

This comment has been minimized.

Copy link
Contributor

rob-v commented Jan 10, 2019

I can't reproduce it with replay with 1 player and 1/many AIs and /help or other commands. Could you send me that replay where it fails or steps how to reproduce it?

@Punsho

This comment has been minimized.

Copy link

Punsho commented Jan 10, 2019

All I do is write a command in the replay, not in the game itself

@pchote

This comment has been minimized.

Copy link
Member

pchote commented Jan 19, 2019

I'm also not able to reproduce this. The exception log suggests that orderManager.LocalClient is null, but this isn't the case in my test replays.

Can you please upload the replay that causes this?

@Punsho

This comment has been minimized.

Copy link

Punsho commented Jan 20, 2019

This is the one of the replays, if you write a command while watching the game crashes (/help included)
replay_bug.txt
I renamed the ending to txt so I could post it in github without using third party servers

@rob-v

This comment has been minimized.

Copy link
Contributor

rob-v commented Jan 20, 2019

It has unavailable map, I can't run it.

@Punsho

This comment has been minimized.

Copy link

Punsho commented Jan 20, 2019

It should be on this map https://resource.openra.net/maps/30413/

@Punsho

This comment has been minimized.

Copy link

Punsho commented Jan 20, 2019

I think that N/A deleted and re-uploaded that map here's the file
OL_Devils_Marsh-1.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment