[ X ]
Crashes with debug logs
Post new topic   Reply to topic Page 1 of 1
View previous topic :: View next topic  
Author Message
Iran
Level: 49


Position: Registered User
Joined: 08 Sep 2010
Posts: 85
Kel: 96  [ Donate ]

Online Status: Offline
PostPosted: Wed Sep 08, 2010 6:14 pm    Post subject: Crashes with debug logs Reply with quote

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:
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:
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 (System.Object _) [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 34 Buffer(s)
Back to top
View user's profile Find all posts by Iran Send private message Send e-mail ICQ Number
zunnie
Level: 47


Position: Registered User
Joined: 08 Sep 2010
Posts: 2
Kel: 3  [ Donate ]

Online Status: Offline
PostPosted: Wed Sep 08, 2010 6:34 pm  Reply with quote

exception.log

Code:

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

   at OpenRA.Network.OrderManager.OutOfSync(Int32 frame, String blame)
   at OpenRA.Network.OrderManager.CheckSync(Byte[] packet)
   at OpenRA.Network.OrderManager.<TickImmediate>c__AnonStorey79.<>m__11F(Int32 clientId, Byte[] packet)
   at OpenRA.Network.EchoConnection.Receive(Action`2 packetFn)
   at OpenRA.Network.OrderManager.TickImmediate(World world)
   at OpenRA.Game.Tick()
   at OpenRA.Game.Run()
   at OpenRA.Program.Run(String[] args)
   at OpenRA.Program.Main(String[] args)
Back to top
View user's profile Find all posts by zunnie Send private message Send e-mail Visit poster's website MSN Messenger ICQ Number
Sleipnir
Level: 150



Position: Administrator
Joined: 10 Apr 2002
Posts: 3767
Kel: 3250  [ Donate ]

Online Status: Offline
PostPosted: Thu Sep 09, 2010 12:14 am  Reply with quote

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?
Back to top
View user's profile Find all posts by Sleipnir Send private message Send e-mail Visit poster's website MSN Messenger ICQ Number
beedee
Level: 49



Position: Moderator
Joined: 06 Sep 2010
Posts: 94
Kel: 95  [ Donate ]

Online Status: Offline
PostPosted: Thu Sep 09, 2010 8:12 am  Reply with quote

Easiest way this crash happens is if you or someone else were running a different version from the others playing.
Back to top
View user's profile Find all posts by beedee Send private message Visit poster's website ICQ Number
Iran
Level: 49


Position: Registered User
Joined: 08 Sep 2010
Posts: 85
Kel: 96  [ Donate ]

Online Status: Offline
PostPosted: Thu Sep 09, 2010 1:47 pm  Reply with quote

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.
Back to top
View user's profile Find all posts by Iran Send private message Send e-mail ICQ Number
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1