Repeatable GC3 Freeze and Crash

This is a new game with the newest version of GC3 with all the DLC.  I am using mods and am playing against random factions.  Here is a summary of what happened.

Yesterday I was playing, and the game froze.  After I did some things the game crashed.  The crash manager generated a crash report and sent it in.  I wrote a short note on the pop-up window that now appears.

Today I started GC3 and loaded the last Auto-Save.  I did a few things in that turn and clicked Turn.  GC3 froze while displaying it was processing Unknown Player 10.  I waited a while (exact time unknown), then saw GC3 and Steam both crash. I hadn't done anything except watch.  No crash report was generated or sent.

I decided to turn off the computer, then turn it back on.  I restarted Steam and GC3, then loaded the same Auto-Save.  GC3 froze again at Unknown Player 10.  I timed the wait.  After 11 minutes and 27 seconds, GC3 crashed.  Again, no crash report was generated or sent.  Steam did not crash this time.

Just to be sure, I ran GC3 again, loaded the Auto-Save and GC3 froze again as before.  I used Alt-Tab to get to Task Manager.  I did some things and nearly everything froze.  The cursor would move, and I could hear GC3 ambient music in the background, but nothing else worked.  I didn't want to wait, so I manually forced the computer to shut off.

I sent in Ticket #USQ-571-53698 with a lot more information and files.

22,489 views 24 replies
Reply #1 Top

Old Spider, Just curious can you tell what turn you were, what size map you were playing and how many factions?

 

Just wondering if your issue was isolated or will crop up later in my game. 


When you fired up your new game did you validate all the game files after you updated? Were the mods you were playing with updated for the 1.8 build? Older mods can and will cause freezes and crashes if they are not updated so I am just wondering. 

Reply #2 Top

Larsenex,

I'll start up GC3 and get answers for you.  Most of my mods are races, but I am using some new mods.  I didn't mention it before, but after each crash I checked the debug.err file.  All were slightly different, but two ended with this line:

Debug Message:  CBattleSystem::AddBattle ticket 10 attackerID 23561 defenderID 15750

The other one ended with this line:

Debug Message:  CBattleSystem::AddBattle ticket 11 attackerID 23561 defenderID 15750

This makes me think it's a problem with a faction from a mod or a custom faction.

Reply #3 Top

I started getting freezes a couple days ago. When a turn ends and I click the "Turn" button, nothing happens. Sometimes I can wait 5-10 minutes and I can save the game from the drop down menu. Other times I can't. When I boot it up again the same thing happens. I am 27 hours and 450 turns into the game. Of course, this happened when I was winning!

Reply #4 Top

Quoting Old-Spider, reply 2

Larsenex,

I'll start up GC3 and get answers for you.  Most of my mods are races, but I am using some new mods.  I didn't mention it before, but after each crash I checked the debug.err file.  All were slightly different, but two ended with this line:

Debug Message:  CBattleSystem::AddBattle ticket 10 attackerID 23561 defenderID 15750

The other one ended with this line:

Debug Message:  CBattleSystem::AddBattle ticket 11 attackerID 23561 defenderID 15750

This makes me think it's a problem with a faction from a mod or a custom faction.
End of Old-Spider's quote

I was getting this from my Trek mod. I have not had it in a while now, I did have a few Ships that were pointing at the wrong designs and have fixed them in current version so that may well have something to do with it, although I can not say for sure. I am however still keeping close watch for it as it was fairly random before, it would happen once out of 6 or 7 games at best.

Reply #5 Top

I am not a mod nor do I work for Stardock.... I am simply trying be helpful on troubleshooting. The hang time on turns SHOULD have been fixed with the updat to 1.8. My game is FAR faster than it was two days ago. 

 

The fact that your debug keeps pointing to different problems does seem like its a custom faction issue. Its one reason I only use custom factions that do not have their own ships. I live KBRS's factions. Love the ladies!

Reply #6 Top

Quoting Larsenex, reply 5

Its one reason I only use custom factions that do not have their own ships.
End of Larsenex's quote

Shame on you! :)

Reply #7 Top

Quoting dmunden, reply 3

I started getting freezes a couple days ago. When a turn ends and I click the "Turn" button, nothing happens. Sometimes I can wait 5-10 minutes and I can save the game from the drop down menu. Other times I can't. When I boot it up again the same thing happens. I am 27 hours and 450 turns into the game. Of course, this happened when I was winning!
End of dmunden's quote

Do you have a save game?  We'd be happy to take a look.  

https://esupport.stardock.com/index.php?/Tickets/Submit

Reply #8 Top

I somehow posted twice, so see the next one.

 

Reply #9 Top

I got the save loaded again - and crashed again.  This time when it froze, I used Alt-Tab to get to the Task Manager so I could end the GC3 process.  This caused it to crash and generate a crash report.

Here is what I found out before the crash.

I'm playing as the Arceans against 11 random opponents.  I have common pirate bases and abundant minors.  The galaxy is huge with scattered stars.  Stars, planets and habitable planets are abundant, while extreme planets are occasional.  I was on turn 96 before I clicked on the Turn button.

I'm sure I validated my files after the update, because I try to do that every time there is an update.  I did it again before starting GC3 this time and got these two files updated:  Core.bin and GC3.bin.  They are usually updated when checked, so this doesn't mean anything.

The mods I am using that aren't race mods are these by Horemvore:
AI Tweaks Updated - 7.30pm GMT 12/6/16 from this post.
Colonize Event Beta 1.8 from this post.

Reply #10 Top

I decided to run GC3 with the cheat command to see what I could find out.  I used FOW to reveal everything and everyone, then finished the turn.  The game froze during the Torian's turn.  I think it froze when a fleet moved next to a pirate shipyard.  The fleet had enough movement left to attack the shipyard, but it didn't.  That may explain the last line of the debug.err file that indicates an attack is going to occur, then nothing else happens.

Reply #11 Top

Quoting Old-Spider, reply 10

I decided to run GC3 with the cheat command to see what I could find out.  I used FOW to reveal everything and everyone, then finished the turn.  The game froze during the Torian's turn.  I think it froze when a fleet moved next to a pirate shipyard.  The fleet had enough movement left to attack the shipyard, but it didn't.  That may explain the last line of the debug.err file that indicates an attack is going to occur, then nothing else happens.
End of Old-Spider's quote

Ok thanks for the detailed information.  We'll investigate.

Reply #12 Top

Same issue cropped up in my game again :( Turn 218:-

Debug Message:  RequestEndTurn PlayerObjectID 10, Turn #218 on net tick 88521
Debug Message:  IGC3Player::RequestEndTurn playerID 10 on net tick 88521
Debug Message:  IGC3Player::GetAndClearClickedRequestEndTurn 10
Debug Message:  CPlayerSystem::IterateCurrentPlayer to 6 on net tick 88524
Debug Message:  IAIOpponent::UpdateAIMovePhaseJob PlayerID 12 on net tick 88528
Debug Message:  CMobileListener::CMobileObjEvent_InitiateEjectShipsFromStation station 20725
Debug Message:  Battle: Consuming random value 1164454111 and seeding the m_battleStream
Debug Message:  CBattleSystem::AddBattle ticket 58 attackerID 31761 defenderID 8906
Debug Message:  Battle [Seed 1164454111] [Attacking Fleet 31761] [Defending Fleet 8906] tick 88561
Debug Message:  Battle: Consuming random value -435980382 and seeding the m_battleStream
Debug Message:  CBattleSystem::AddBattle ticket 59 attackerID 34475 defenderID 51465

Klingon Sabotage!!! :)

A validation found 3 Corrupt files.

Savegame

 

Reply #13 Top

Quoting Horemvore, reply 12

Same issue cropped up in my game again :( Turn 218:-

Debug Message:  RequestEndTurn PlayerObjectID 10, Turn #218 on net tick 88521
Debug Message:  IGC3Player::RequestEndTurn playerID 10 on net tick 88521
Debug Message:  IGC3Player::GetAndClearClickedRequestEndTurn 10
Debug Message:  CPlayerSystem::IterateCurrentPlayer to 6 on net tick 88524
Debug Message:  IAIOpponent::UpdateAIMovePhaseJob PlayerID 12 on net tick 88528
Debug Message:  CMobileListener::CMobileObjEvent_InitiateEjectShipsFromStation station 20725
Debug Message:  Battle: Consuming random value 1164454111 and seeding the m_battleStream
Debug Message:  CBattleSystem::AddBattle ticket 58 attackerID 31761 defenderID 8906
Debug Message:  Battle [Seed 1164454111] [Attacking Fleet 31761] [Defending Fleet 8906] tick 88561
Debug Message:  Battle: Consuming random value -435980382 and seeding the m_battleStream
Debug Message:  CBattleSystem::AddBattle ticket 59 attackerID 34475 defenderID 51465

Klingon Sabotage!!! :)

A validation found 3 Corrupt files.

Savegame

 
End of Horemvore's quote

Horemvore,

Thanks you for the save file.  I've confirmed that the klingons are indeed behind this.  

 

 

Reply #14 Top

:rofl:

Reply #15 Top

Quoting pshaw, reply 13


Quoting Horemvore,

Same issue cropped up in my game again :( Turn 218:-

Debug Message:  RequestEndTurn PlayerObjectID 10, Turn #218 on net tick 88521
Debug Message:  IGC3Player::RequestEndTurn playerID 10 on net tick 88521
Debug Message:  IGC3Player::GetAndClearClickedRequestEndTurn 10
Debug Message:  CPlayerSystem::IterateCurrentPlayer to 6 on net tick 88524
Debug Message:  IAIOpponent::UpdateAIMovePhaseJob PlayerID 12 on net tick 88528
Debug Message:  CMobileListener::CMobileObjEvent_InitiateEjectShipsFromStation station 20725
Debug Message:  Battle: Consuming random value 1164454111 and seeding the m_battleStream
Debug Message:  CBattleSystem::AddBattle ticket 58 attackerID 31761 defenderID 8906
Debug Message:  Battle [Seed 1164454111] [Attacking Fleet 31761] [Defending Fleet 8906] tick 88561
Debug Message:  Battle: Consuming random value -435980382 and seeding the m_battleStream
Debug Message:  CBattleSystem::AddBattle ticket 59 attackerID 34475 defenderID 51465

Klingon Sabotage!!! :)

A validation found 3 Corrupt files.

Savegame

 

Horemvore,

Thanks you for the save file.  I've confirmed that the klingons are indeed behind this. 
 

End of pshaw's quote

:o I knew it! Is it a issue my end or??

Reply #16 Top

Some additional information on my experience of this problem that everyone seems to have:

  1. It occurs around turn 250
  2. Insane map size
  3. CPU utilization, by GalCiv, when the game bogs to stop is 50 to 60%
  4. The system bogs to tens of minutes to render a screen
  5. My laptop case and keyboard over the CPU and graphics chips is extremely hot.
  6. If I kill the game (via Task Manager) and let my laptop cool off, the screens render a little faster, but it is still bogged down.

You have a problem somewhere in your rendering modules.  Since it started with this last update, that's where I'd look.

Reply #17 Top

I had another GC3 freeze, which is repeatable.

I have been playing GC3 on my laptop, which has been struggling more and more trying to run GC3 since the 1.6 patch.  It was a little worse with 1.7 and even worse with 1.8.  I decided to spend more time playing on my desktop since it is more powerful than the laptop.

I started a new game with mods, the same ones I was using on my laptop when GC3 hung and crashed.  Everything was running well and the turns were fast until the game froze on turn 118.  It froze while processing Unknown Player 4.  I shut in down using Task Manager, then copied the Auto-Save, Previous Auto-Save and the debug.err to a safe place.

I restarted GC3 and loaded the Auto-Save.  It was on turn 116, so I played until turn 118 was complete.  I saved the game before I clicked on the Turn button.  It froze on Unknown Player 4 again.  I used Alt-Tab to get to Task Manager and watched the RAM usage since I had a suspicion that something strange was happening with RAM usage after the hang on my laptop.  My laptop has only 8 GB, and my desktop has 32 GB.

Task Manager showed memory usage was at 6,968.4 MB for GC3 for a while, then it jumped to over 10,400 MB before dropping to 9,022.5 MB.  Later it jumped to over 14,300 MB before dropping to 12,412 KB.  There were further jumps that I did not get exact numbers for, but one peak was around 25 GB and another was 59.4 GB.  Since I only have 32 GB, there was a lot of disk activity as data from the 59.4 GB was swapped to the disk, which is an SSD.  I was taking screen shots of some of the graphs in Task Manager showing what was happening.  There was also a lot of CPU activity with spikes when RAM usage also spiked.  After a while RAM usage dropped.  I waited a little while longer, then used Task Manager to shut down GC3.

I copied the save I made and the newer debug.err to a safe place, then ran the SD Support Tool.  Both debug.err files ended with similar lines:

first one:   Debug Message:  CBattleSystem::AddBattle ticket 4 attackerID 27876 defenderID 17345
second one:  Debug Message:  CBattleSystem::AddBattle ticket 4 attackerID 27849 defenderID 17345

These are basically the same as in the debug.err files from my earlier report.

I updated the ticket with this information and more files.

Reply #18 Top

Today's update fixed the problem I reported in my OP.

Reply #19 Top

Hi, everybody! I have exactly same issue! More than that, it repeats on the definite turns. I have one save, so game freezes every time at 3rd turn after I load this save and start to play.

Reply #20 Top

Quoting Old-Spider, reply 2

Larsenex,

I'll start up GC3 and get answers for you.  Most of my mods are races, but I am using some new mods.  I didn't mention it before, but after each crash I checked the debug.err file.  All were slightly different, but two ended with this line:

Debug Message:  CBattleSystem::AddBattle ticket 10 attackerID 23561 defenderID 15750

The other one ended with this line:

Debug Message:  CBattleSystem::AddBattle ticket 11 attackerID 23561 defenderID 15750

This makes me think it's a problem with a faction from a mod or a custom faction.
End of Old-Spider's quote

Debug Message:  CBattleSystem::AddBattle ticket 1 attackerID 15354 (Lexx Fleet 15354) defenderID 15504 (Pirates Fleet 15504)
Debug Message:  Popup Manager Update: Unhiding BattleInitiationWnd

I believe this crash has something to do with the battle manager, this game froze when I sent a survey fleet to attack a heavy fortified anomaly.

Reply #21 Top

Quoting Baddicus, reply 20


Quoting Old-Spider,

Larsenex,

I'll start up GC3 and get answers for you.  Most of my mods are races, but I am using some new mods.  I didn't mention it before, but after each crash I checked the debug.err file.  All were slightly different, but two ended with this line:

Debug Message:  CBattleSystem::AddBattle ticket 10 attackerID 23561 defenderID 15750

The other one ended with this line:

Debug Message:  CBattleSystem::AddBattle ticket 11 attackerID 23561 defenderID 15750

This makes me think it's a problem with a faction from a mod or a custom faction.



Debug Message:  CBattleSystem::AddBattle ticket 1 attackerID 15354 (Lexx Fleet 15354) defenderID 15504 (Pirates Fleet 15504)
Debug Message:  Popup Manager Update: Unhiding BattleInitiationWnd

I believe this crash has something to do with the battle manager, this game froze when I sent a survey fleet to attack a heavy fortified anomaly.

End of Baddicus's quote

We've updated the hot patch to address this stuck turn issue.  

 

Reply #22 Top

Greetings,

Two thumbs up!  That last fix was pure gold.  My games are unstuck.  Thanks for the quick response and fix.  You guys are the best!

Moser

Reply #23 Top

Mine is still locked up, CPU usage around 65%, with the CPU and/or graphics chip overheating.

Reply #24 Top

Quoting Wolfsberger, reply 23

Mine is still locked up, CPU usage around 65%, with the CPU and/or graphics chip overheating.
End of Wolfsberger's quote

Can you try the opt-in hot patch and see if it addresses your issue?

https://forums.galciv3.com/478244/page/1/#3640881