10.5 random crashes

Sobaka

Chieftain
Joined
Nov 25, 2009
Messages
47
Thal - 10.5 is randomly crashing on me. Recognised two different set of circumstances.

1. When returning to the main menu to start a new game, it loads and as soon as click to build a new city it crashes. Restarting the game solves this.

2. Random crashes when units are moving on their own.

All preventative measures were taken as usual and no other mod running. I do not know how to log it for you to see, but I can try if the instructions are posted anywhere.
 
Same here. Furthermore I experience crashes when loading a new savegame and each round takes much longer. Also the need for RAM is totally at limit.
 
In my case (whilst loading) I just heard a pling from Windows and the Civ-screen froze. The error message said something about problems with civilization.exe and a look into the system resources has shown highest values for civ. Therefore it took some time to close it in the task manager.
 
Same here. Furthermore I experience crashes when loading a new savegame and each round takes much longer. Also the need for RAM is totally at limit.

It is now happening when i load a saved game as well - no savd game will load. First it was a 'runtime' error', then windows would not allow that application exe to start.
 
I haven't encountered this, so I need more information to track this down. Do any messages appear in the tuner before the crash?

Thal, I enabled the tuner, after the game crashed again, I went back to the tuner and there was a larger amount of material, but in a few seconds the tab just gave me whtat is pasted below. I am assuming I am not using it correctly.:(

Good Evening
[ Lua State = Main State ]
InstalledPanel: Refreshing Mods
InstalledPanel: ModID IN ('d565342c-f7b5-495e-9c1d-c05c2d55c8a3', 'a20f31de-de95-4906-9c9d-dd7d751c22b7', '24081928-4703-4845-8b9c-c1468a8cacf2', '01127f62-3896-4897-b169-ecab445786cd', '2968ab37-29a3-4de7-8b84-ece688231e40')
InstalledPanel: Refreshing Mods
InstalledPanel: Refreshing Mods

Reverted to 10.4. Started new gme, saved it, restarted and no crashes. So it appears to be when I am loading saved games for 10.5 only.
 
It is now happening when i load a saved game as well - no savd game will load. First it was a 'runtime' error', then windows would not allow that application exe to start.

Same issue here. Using same mods that worked with 10.4.
 
I can confirm that 10.5 savegames somehow gets corrupted. I had to abandon two games where the autosaves also went bad.

Will post back if I find more info...
 
I can confirm that 10.5 savegames somehow gets corrupted. I had to abandon two games where the autosaves also went bad.

Will post back if I find more info...

Exactly the same here, 2 games unable to continue due to the error when try to load. But this is not first time I saw this error. Sometime ago when I tried to load game while having installed newer VEM this error occured. Then I asked Thal. for the previous VEM to finish game.
 
10.4 is still available to download on the modbrowser from in game. I redownloaded that and it works well for now.
 
Never mind, figured out how to get a previous version, just click on the version and you get a drop down. I can also report that 10.4 works fine, so I can confirm ther is something wrong with 10.5.
 
I can confirm that 10.5 savegames somehow gets corrupted. I had to abandon two games where the autosaves also went bad.

Will post back if I find more info...

This is happening to me too. 10.5 seems to somehow mysteriously corrupt save files. Never noticed a problem with 10.4

In the off chance this helps, I've seen the corruption happening upon taking a step back with load game, ie loading game while the game is active. So I start, played until ~turn 50 and saved. Then at turn 70 got messed, and loaded back from turn 50. Then saving at turn 80. When coming back to the game, loading turn 80 crashed. Every autosave after 50 crashed, too. But 50 would consistently load. Could of course be just coincidence.
 
Hmm, the only major change between v104 and v105 was I moved the AutoTips building tag table from Lua to XML. I'll add some debug statements around where that happens, and hopefully we'll be able to figure out if the crash occurs at that moment.
 
I'm currently experiencing the same problem with loading a 105 save but in this game I have never backtracked any turns, I've played straight through. Its possible that this is causing your error but the save bug that was mentioned is definitely not causing mine.
 
Thanks so much for trying to track this Thal. I spent a long time thinking that the bug was in my system not in your mod but now I realise that it is. I'll try out 10.6 beta1. Totally in your defense, I cannot see how a crash like this should happen if you are not touching the DLL. I remember working on the Civ4 DLL when save game reloads caused crashing, but it was always simply because I did not transfer the entire game state in the DLL to the save/load sequence. That was because I was tampering at the level of the C++ and so no wonder. You however are not doing that and so I do not see how the issue emerges.

Thanks again for your efforts, these things happen from time to time and prove to me that a modders life is not an easy life!
Cheers
 
I think I found the location which caused this bug... it should be fixed in v106.1 beta. I was trying to speed up loading times so it only does a task 1 time, instead of multiple times. I believe the method I was using doesn't work (defining multiple global functions within an if-then code block). It's probably some weird Lua thing.
 
I've done a fairly quick test of 106.1 beta Thal, repeating 105 steps that caused the save/reload issue and looks to me that you have the problem licked ;) can't be absolutely certain because haven't exhaustively tested it, but looks good so far from what I'm seeing.

Thanks again for your efforts really appreciate it.
Cheers
 
Just reading a bit on 105 release, the slow downs people are experiencing are because during load of a save game, civ actually was trying to load up but stealing all the available system resources. If the system resources dried up, the game would just crash out. It depended. During the failed load sequence I once switched out to check the system resources and basically the game had chewed through 100% of system resources. That would really slow any system down even if version 105 did manage to load up. That would explain the mid-game slow down but I think only if people had loaded up from a save.
Cheers
 
Back
Top Bottom