Squishing the beast

Or, Fun with Sync Bugs

Hi all,

We've known that there's a sync bug out in the wild for quite some time now - we had occasional reports of it after Entrenchment was released, but there was never a full-on sighting, nothing that gave us a method of reproducing or good logs to suggest what the problem might be.  The minidumps that result from sync bugs are usually completely useless, because crashes come from anywhere in the code when you're out of sync with your fellow players.  But things seemed to ramp up after Trinity was released; the majority of the minidumps looked suspiciously like they were caused by desyncing.  We released a special build of Entrenchment to try and help track it down, but it didn't produce enough logs for us to really do much.  

But as usual, a few of the more dedicated Sins players came through for us with error logs and suggestions of what might be causing the problem, and today we managed to isolate and stomp that little mother.  This isn't to say that all sync bugs are gone; there's still a chance that other bugs exist which we haven't yet found, but this was a fairly major one, which could potentially cause desyncs anytime you played a game with a host who had played previously and not shut down.  We'll get the patch out as soon as possible, likely early next week.

A big thanks to anybody who sent us in minidumps and error logs, but especially:

  • Warren Tabada
  • Jordan Rideout
  • Kyle Leppert
  • Landon DePasquale
  • Frank Galati
  • Ben Horsley
  • Quarantine
  • Tristan Halverson

You guys rock.

32,816 views 12 replies
Reply #1 Top

HOLY MOTHER OF....

 

I LOVE YOU IRONCLAD!

Reply #2 Top

Awesome  :thumbsup:

Reply #3 Top

Great!

Reply #4 Top

Great!

Reply #5 Top

Good job on getting those reports in guys--and go devs!  I love when a plan comes together.

Reply #6 Top

The curious, technical guy in me just wants to ask... could you provide a description of what the bug actually was?  For instance, a desync in earlier versions was caused by using the wrong random number generator on effects like missle barrage, which could cause different random numbers to be used on each person's pc.

Reply #7 Top

Finaly.

Now u should make an advertisemen campanian: WE FIXED MINIDUMPS WE CARE, COME BACK ONLIE

 so we can get 5v5 every 15 min like in good old time.

 

Especialy in euto TZ, its a ghost town  :(

this is no troll, get some advetisement about sins online.

Reply #8 Top

I agree with Quar.  There needs to be a "Stop playing the AI and get online" push. This game was meant to be played against humans.

Reply #9 Top

 

Maybe everyone who is on the Impulse mailing list should receive some sort of a special email titled, "Attention Sins of a Solar Empire Players" with mention that a major desync/minidump bug has been squashed.

Reply #10 Top

Quoting Agent, reply 6
The curious, technical guy in me just wants to ask... could you provide a description of what the bug actually was?  For instance, a desync in earlier versions was caused by using the wrong random number generator on effects like missle barrage, which could cause different random numbers to be used on each person's pc.
End of Agent's quote

When a player leaves the game its possible that all the command information from the other players hadn't reached his computer yet (because of internet lag etc). It continues to arrive at his computer while he is sitting in the main menu or the lobby screen for a few seconds. These commands then get executed and modify his internal state. Thus, if he starts up a new game without first exiting the game completely, he will be in a different state then other players joining the game. The fix was to make sure that he can't receive any more command information from other players once he has quit a game. Easy fix for an incredibly difficult to track down cause.

Reply #11 Top

 

What about trying to implement something along the lines of what (I think it was John James) suggested--have the game refresh itself or clear out all game-related data before each new game is started or some such.

Reply #12 Top

Quoting DirtySanchezz, reply 9
 

Maybe everyone who is on the Impulse mailing list should receive some sort of a special email titled, "Attention Sins of a Solar Empire Players" with mention that a major desync/minidump bug has been squashed.
End of DirtySanchezz's quote

Better yet, they should do like Conan and title it "People of Earth."