Crashes with debug logs

Discussion about the game and its default mods.
Post Reply
Iran
Posts: 92
Joined: Wed Sep 08, 2010 3:16 pm

Crashes with debug logs

Post by Iran »

I played a multi-player game of the RA mod and early in-game after getting War Factory and a few Harvesters up, both games crashed all of a sudden. My terminal showed the following debug:

Code: Select all

maikel@computer-maikel:~/OpenRA$ ./OpenRA.Game.exe
Could not get XIM
Loading settings file /home/maikel/OpenRA/settings.yaml

Unhandled Exception: System.InvalidOperationException: Out of sync in frame 2164: Blame Tick.

  at OpenRA.Network.OrderManager.OutOfSync (Int32 frame, System.String blame) [0x00000] 
  at OpenRA.Network.OrderManager.CheckSync (System.Byte[] packet) [0x00000] 
  at OpenRA.Network.OrderManager.Tick (OpenRA.World world) [0x00000] 
  at OpenRA.Game.Tick () [0x00000] 
  at OpenRA.Game.Run () [0x00000] 
  at OpenRA.Program.Run (System.String[] args) [0x00000] 
  at OpenRA.Program.Main (System.String[] args) [0x00000] 
AL lib: ALc.c:1879: exit(): closing 1 Device
AL lib: ALc.c:1808: alcCloseDevice(): destroying 1 Context(s)
AL lib: ALc.c:1420: alcDestroyContext(): deleting 32 Source(s)
AL lib: ALc.c:1818: alcCloseDevice(): deleting 39 Buffer(s)
We two both are located in Netherland.

Another crash when I pressed 'Abort' on the connecting tab after connecting failed and asks if you want to retry connecting:

Code: Select all

maikel@computer-maikel:~/OpenRA$ ./OpenRA.Game.exe
Could not get XIM
Loading settings file /home/maikel/OpenRA/settings.yaml

Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object
  at OpenRA.Network.NetworkConnection+<NetworkConnection>c__AnonStorey76.<>m__19D &#40;System.Object _&#41; &#91;0x00000&#93; 
AL lib&#58; ALc.c&#58;1879&#58; exit&#40;&#41;&#58; closing 1 Device
AL lib&#58; ALc.c&#58;1808&#58; alcCloseDevice&#40;&#41;&#58; destroying 1 Context&#40;s&#41;
AL lib&#58; ALc.c&#58;1420&#58; alcDestroyContext&#40;&#41;&#58; deleting 32 Source&#40;s&#41;
AL lib&#58; ALc.c&#58;1818&#58; alcCloseDevice&#40;&#41;&#58; deleting 34 Buffer&#40;s&#41;

User avatar
Sleipnir
Posts: 878
Joined: Wed Apr 10, 2002 11:52 pm
Contact:

Post by Sleipnir »

This is what is known as a `desync'. If the game state on different machines diverges, we crash instead of letting the game continue (which would lead to very odd behavior, as you would be essentially playing different games).

To track down the cause of the desync, we need the sync.log of the two diverging players so we can see what is different.

Were you running the latest build?

beedee
Posts: 94
Joined: Mon Sep 06, 2010 5:02 am
Location: Wellington
Contact:

Post by beedee »

Easiest way this crash happens is if you or someone else were running a different version from the others playing.

Iran
Posts: 92
Joined: Wed Sep 08, 2010 3:16 pm

Post by Iran »

Yeah we were running different versions, I think it was christf who pointed that out. I can't get both the latest svn build and the released build (from the download page) to write stuff to the sync log, i.e. the file is empty.

Post Reply