OpenRA / ra2

A Red Alert 2 mod for the OpenRA game engine
GNU General Public License v3.0
983 stars 163 forks source link

Crash during the naval game #789

Open feyola opened 2 years ago

feyola commented 2 years ago

Hello OpenRA2 devs, I love your work. I've been playing a rather long Soviet vs Allied game on a tsunami map and the game crashed. The log files do not have any significant information, only normal ticks and kills. I only have the stackreport:

Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt.
   at OpenRA.World.SyncHash() in G:\OpenRA\ra2-master\engine\OpenRA.Game\World.cs:line 487
   at OpenRA.Network.OrderManager.Tick() in G:\OpenRA\ra2-master\engine\OpenRA.Game\Network\OrderManager.cs:line 205
   at OpenRA.Game.InnerLogicTick(OrderManager orderManager) in G:\OpenRA\ra2-master\engine\OpenRA.Game\Game.cs:line 613
   at OpenRA.Game.LogicTick() in G:\OpenRA\ra2-master\engine\OpenRA.Game\Game.cs:line 646
   at OpenRA.Game.Loop() in G:\OpenRA\ra2-master\engine\OpenRA.Game\Game.cs:line 811
   at OpenRA.Game.Run() in G:\OpenRA\ra2-master\engine\OpenRA.Game\Game.cs:line 852
   at OpenRA.Game.InitializeAndRun(String[] args) in G:\OpenRA\ra2-master\engine\OpenRA.Game\Game.cs:line 274
   at OpenRA.Launcher.Program.Main(String[] args) in G:\OpenRA\ra2-master\engine\OpenRA.Launcher\Program.cs:line 26
----------------------------------------
OpenRA has encountered a fatal error.
  * Log Files are available in Documents\OpenRA\Logs
  * FAQ is available at https://github.com/OpenRA/OpenRA/wiki/FAQ
----------------------------------------
Press any key to continue . . .

Based on that there is the OrderManager, I can say that I was loading apocs into amphibious transport, also it can be connected to many sea units: navyflak, submarine. I was the soviet and enemy was the allied.

zouyonghao commented 2 years ago

I cannot reproduce this on recent code, have you got this issue again?