View Full Version : (CONFIRMED) Does this savegame crash @your pc?


felix2felix
Jul 21, 2007, 09:36 AM
Whatever I do, it keeps crashing to the desktop

year 2015 AD, normal sp game

Any hits/tips appreciated! :)

savegame: click (http://www.vanekert.com/damien/Sogree%20AD-2015%20crash.CivBeyondSwordSave)

Ammar
Jul 21, 2007, 09:40 AM
Loads for me.

felix2felix
Jul 21, 2007, 12:23 PM
I mean after giving the last order to the worker.
At my pc the AI starts calculating
'waiting for other civs'

and then: desktop

Ammar
Jul 21, 2007, 01:16 PM
I mean after giving the last order to the worker.
At my pc the AI starts calculating
'waiting for other civs'

and then: desktop

Hmm, tried it and it crashed for me as well.

Todd Hawks
Jul 21, 2007, 01:42 PM
Same here, crash after watching the AI move some of its units. Maybe you could try to find out which unit (if any) is responsible for the crash and delete it in the worldbuilder or something like that?

ainwood
Jul 21, 2007, 06:24 PM
Bug Description:
Crash to desktop during inter-turn / AI turns.


Expected Behavior
Game should process AI turn correctly.

Actual Behavior
game crashes to desktop.

Steps to reproduce

Download the save Here (http://www.vanekert.com/damien/Sogree%20AD-2015%20crash.CivBeyondSwordSave).
Load the save and end the turn.
Observe that the game crashes to desktop.

Ammar
Jul 22, 2007, 05:20 AM
Just an observation :

It's still possible that this is not actually a real Civilization 4 bug. The savegame might also have been corrupted due to some hardware issues, like faulty Ram and/or Harddisc. I'd say let's wait until some more people produce that bug on their own.

taketounwanted
Jul 22, 2007, 05:29 AM
Just an observation :

It's still possible that this is not actually a real Civilization 4 bug. The savegame might also have been corrupted due to some hardware issues, like faulty Ram and/or Harddisc. I'd say let's wait until some more people produce that bug on their own.

in the savegames is nothing stored that matters to your hardware..even if integers, floats, long ints, or any other value would exceed it's boundaries, that should have either been captured by a decend code(cut off the overflow) that either prevents it from crashing or at least notifying the user because the loss of data IMHO..

Ammar
Jul 22, 2007, 05:38 AM
in the savegames is nothing stored that matters to your hardware..even if integers, floats, long ints, or any other value would exceed it's boundaries, that should have either been captured by a decend code(cut off the overflow) that either prevents it from crashing or at least notifying the user because the loss of data IMHO..

Who knows what might happen? I have no idea how the Civ 4 Savegames is built. But if there's data in there that does not make sense, it might crash the AI calculations. I'll have another look at the savegame with the worldbuilder and will try to look for something unusual.

GVBN
Jul 22, 2007, 06:13 AM
You can fix the crash by opening the diplomacy screen with Hannibal and giving him "Assembly Line" tech. It has something to do with Hannibal trying to create a new colony

Pitboss
Jul 22, 2007, 08:13 AM
Meant to create a new thread, sorry.

Gyathaar
Jul 22, 2007, 11:51 AM
Hmm.. seems like Hannibal has somehow ended up with a combination of techs that makes it impossible to draft any kind of units..

He tries to split off a new civ as colony (Spain), and when the game tries to add draftable units as free defenders in the new cities, it crash because there is no possible drafable units..

if any modders want to fix the crash, then change this code early in
CvPlayer::initUnit()

FAssertMsg(eUnit != NO_UNIT, "Unit is not assigned a valid value");

to
if(eUnit == NO_UNIT) {
FAssertMsg(eUnit != NO_UNIT, "Unit is not assigned a valid value");
return NULL;
}

felix2felix
Jul 24, 2007, 05:02 PM
Hmm.. seems like Hannibal has somehow ended up with a combination of techs that makes it impossible to draft any kind of units..

He tries to split off a new civ as colony (Spain), and when the game tries to add draftable units as free defenders in the new cities, it crash because there is no possible drafable units..

if any modders want to fix the crash, then change this code early in
CvPlayer::initUnit()

FAssertMsg(eUnit != NO_UNIT, "Unit is not assigned a valid value");

to
if(eUnit == NO_UNIT) {
FAssertMsg(eUnit != NO_UNIT, "Unit is not assigned a valid value");
return NULL;
}


wow...... respect!

I'll try modding it myself.... (I still want to beat those sneaky basterds :P) Is there a guide to be found somewhere?

GodBen
Jul 24, 2007, 05:59 PM
I think a similar thing may be happening to me, only I'm the person trying to create the colony. Playing as the Celts, about five seconds after I press the button the screen goes black and goes back to the desktop. I've created a colony already in that save game and it worked fine, and it's really annoying me as creating this new colony is a key part to my strategy in a game I've found to be very fun so far.

aridrich
Jul 25, 2007, 06:33 AM
I have the same thing in a LAN game, which is pretty annoying after a good 20 hours of play has gone into it.

Upon reloading an earlier auto-save the game crashes to desktop 2-4 turns later. It does seem to vary so it's definatly something which can or cannot happen.

The suggestion that this crash is caused by the AI creating colonies seems a possibility as there are plenty of potential AI colonies on the map.

I've tried running the game hot-seat and the same crash occurs.

I've attached the save.

-Rich

GodBen
Jul 25, 2007, 06:53 AM
I tried editing the CvPlayer file as you suggested and I'm still having the problem, so it either doesn't work, I edited it wrong or I'm having a completely different problem with my colonies. I've included the save so if you're interested try and make the two cities on the island to the east of my main empire (Entremont and the other one) into their own colony and see what happens.

EDIT: Nevermind, I think my problem may actually be stemming from faulty leaderheads.

GVBN
Jul 25, 2007, 06:54 AM
I'll try modding it myself.... (I still want to beat those sneaky basterds :P) Is there a guide to be found somewhere?
Yes there is

http://forums.civfanatics.com/showthread.php?t=166933

RonnieSoak
Jul 28, 2007, 06:28 PM
I've got a similar problem in this save. Game crashes to desktop once you end the current turn.

EDIT: After a bit of testing, the crash can be prevented by gifting Military Tradition to Tokugawa.

ainwood
Jul 28, 2007, 06:34 PM
I tried editing the CvPlayer file as you suggested and I'm still having the problem, so it either doesn't work, I edited it wrong or I'm having a completely different problem with my colonies. I've included the save so if you're interested try and make the two cities on the island to the east of my main empire (Entremont and the other one) into their own colony and see what happens.

EDIT: Nevermind, I think my problem may actually be stemming from faulty leaderheads.
This seems to work OK for me....

ImperialGuard
Jul 30, 2007, 06:46 PM
Not sure if this is suppossed to go in this thread, or a new thread :confused:

This is my second game where I have had a CTD :mad:

If someone could try loading and confirm, that way I know its not me but the game (?)

Steps to reproduce:

1) Load game
2) Hit End Turn

Expected Result
============
AI turns process and player can play next turn

Actual Result
============
CTD once end turn is hit (after about 30 seconds)


This is a "Big and Small" map type, the other game that crashed was a "Big and Small" as well .....

any feedback would be much appreciated.

jkp1187
Jul 30, 2007, 08:19 PM
http://forums.civfanatics.com/showthread.php?t=234626

See this thread and the save file contained therein. Experiencing a very similar problem.

I had originally assumed that the game crash had something to do with the fact that we were torching a city, but it also occurs to me that Hatshepsut is in a position where she cannot draft units either (has rocketry and therefore SAM Infantry, but not Assembly Line.)

Note that my game is also on a Big & Small map. If that matters.

wanderer6552
Jul 30, 2007, 10:17 PM
Not sure if this is the same crash, but ...

1. Load save game;
2. Hit enter;
3. Shortly after Pericles declares war, while other AIs are still making their moves,game CTD.

Also, don't know if it's related ... leaderhead problem in Foreign Advisor - no LHs in relations screen, try next two (glance & something) & still no LHs & can't move to other screens. Must exit & retry - same thing happens. Haven't had this problem before this session - Foreign Advisor worked flawlessly.

:confused:

shadowplay
Jul 31, 2007, 01:07 PM
I'm having pretty much the same problem with a game I'm in, roughly around the same point in the game.

Bug Description:
Crash to desktop during inter-turn / AI turns.

Expected Behavior:
Game should process AI turn correctly.

Actual Behavior:
Game crashes to desktop.

Steps to reproduce:
Download the save: (attached to this post)
Load the save and end the turn.
Observe that the game crashes to desktop.
Bury your face in your hands and weep.

IMPORTANT UPDATE: I did NOT have BTS patch 3.02 installed. I thought it downloaded a patch automatically when I installed BTS last week, but evidently it was the Warlords patch. Anyways, this has corrected the crash. Anyone having a similar crash MAKE SURE YOU'RE PATCHED!

bugmenot18
Jul 31, 2007, 02:49 PM
if any modders want to fix the crash, then change this code early in
CvPlayer::initUnit()

FAssertMsg(eUnit != NO_UNIT, "Unit is not assigned a valid value");

to
if(eUnit == NO_UNIT) {
FAssertMsg(eUnit != NO_UNIT, "Unit is not assigned a valid value");
return NULL;
}

What does the code do? Does spain now end up without any defenders? Also I'd say that the bug is in the code that decides which unit is draftable. Warriors are always available as a last option so it is impossible that no unit is draftable.

This is not a bugfix, this is a quick hack.

wanderer6552
Jul 31, 2007, 04:29 PM
I'm having pretty much the same problem with a game I'm in, roughly around the same point in the game.

Bug Description ...
Load the save and end the turn.
Observe that the game crashes to desktop.
Bury your face in your hands and weep.

IMPORTANT UPDATE: I did NOT have BTS patch 3.02 installed. I thought it downloaded a patch automatically when I installed BTS last week, but evidently it was the Warlords patch. Anyways, this has corrected the crash. Anyone having a similar crash MAKE SURE YOU'RE PATCHED!

Thanx for the prompt post & effort ... have just installed 3.02 - alas, game still crashes when first meeting next Civ. (sigh!)

Gyathaar
Aug 01, 2007, 05:27 AM
What does the code do? Does spain now end up without any defenders? Also I'd say that the bug is in the code that decides which unit is draftable. Warriors are always available as a last option so it is impossible that no unit is draftable.

This is not a bugfix, this is a quick hack.
It cause the split off colony to not get any free defenders yes..

Warriors are not always available.. you can no longer construct warriors once you have units they upgrade to (and you have all the required resources, or the units they upgrade to dont require resources)

In BtS, there seems to be certain combinations of techs, where none of the units you can currently construct are draftable....

There are 3 ways to make a real fix for this..
- rearrange the tech requirements or unit upgrade paths so this situation cant happen
- give one of the units that is missing conscription flag the ability to be drafted
- change the code so you draft obsolete units instead

I dont know which solution Firaxis plan to take for this.. so I dont feel like implementing one them :)

The code I added is a hack.. but it also prevents possible crashes in mods... like drafting obsolete units solution would do no good if no units has the conscription flag.

jkp1187
Aug 01, 2007, 05:40 AM
Note that the problem I mentioned above did NOT appear to involve colony creation, but (possibly) AI attempting to draft when it was locked out of any draftable units (researched rocketry before Assembly Line). I installed Solver's unofficial patch. It appeared to have worked for the save file I uploaded, but not for a second file from several turns down the line.

Does the fix also prevent drafting, generally, by a civ when it's been technologically pigeon-holed out of conscription?

IMHO, simplest solution might be just to make sure that Assembly Line -- and only Assembly Line -- obsoletes Riflemen. That way drafting of riflemen can take place even after SAM Infantry are available, and there isn't any confusion on the backend as to which unit gets drafted when both SAM Inf and regular INF are available.

Solver
Aug 01, 2007, 07:48 AM
Not sure if this is suppossed to go in this thread, or a new thread :confused:

This is my second game where I have had a CTD :mad:

If someone could try loading and confirm, that way I know its not me but the game (?)

Steps to reproduce:

1) Load game
2) Hit End Turn

Expected Result
============
AI turns process and player can play next turn

Actual Result
============
CTD once end turn is hit (after about 30 seconds)


This is a "Big and Small" map type, the other game that crashed was a "Big and Small" as well .....

any feedback would be much appreciated.

Your crash is also due to a colony problem (Catherine tries to split off a colony and it crashes). The fix (http://forums.civfanatics.com/showthread.php?t=235067) will work.

Solver
Aug 02, 2007, 06:32 AM
I've got a similar problem in this save. Game crashes to desktop once you end the current turn.

EDIT: After a bit of testing, the crash can be prevented by gifting Military Tradition to Tokugawa.

Thanks, I've created a workaround for the problem. It will be in the next update of my unofficial patch.

ImperialGuard
Aug 02, 2007, 11:14 AM
Your crash is also due to a colony problem (Catherine tries to split off a colony and it crashes). The fix (http://forums.civfanatics.com/showthread.php?t=235067) will work.

Hi Solver .... thanks very much for confirmation and the unoffical fix you've put out . I gave up on BTS until a patch came out, but I'll give it a try with you unoffical fix

really appreciate your supporting us Civ users

Cheers:D

Dagta
Aug 02, 2007, 05:18 PM
I'm going to check it out tonight after work to see if my problem is related to a colony being created. Last night while playing I had my laptop shut off on me. Not a crash to desktop... it actually powered down. I'm running Vista Home Premium so possibly it's related to a bug in Windows. ;)

Crenor
Aug 05, 2007, 04:00 PM
I'm having the same problem. I'm Playing on a Big and Small map, and Hannibal comes asking for Medicine at the beginning of the turn, and at the end of the turn the game crashes no matter what. I'll try gifting Hannibal Assembly Line and see what that does (even though he's my enemy in this game :( ).

wthrfrk80
Aug 11, 2007, 07:57 AM
Many people have had this problem, as have I on several occaisions. Maybe this bug should be called the "Crash To Desktop Between Turns, Especially When at War" bug. I think this bug has been confirmed in the "Consolidated Bug Reports" thread and has been called "Crash to Desktop at End of Turn" under "Game Performance Bugs."

Teg_Navanis
Aug 27, 2007, 05:32 AM
I've got a similar problem in this save. Game crashes to desktop once you end the current turn.

EDIT: After a bit of testing, the crash can be prevented by gifting Military Tradition to Tokugawa.

Seems to be the same bug as in this thread (http://forums.civfanatics.com/showthread.php?t=239223). I just ended the turn successfully with the fix described there.

caribou
Aug 27, 2007, 03:52 PM
I have the same problem

1. Load save game
2. Hit ENTER to proceed to next turn.
3. Game crashes to desktop.

I am not at war am not trying to make a colony and have the latest patches as well as Solver's patch. Oh also I am using the Ethnically Diverse units mod. Any help would be greatly appreciated.

thanks

Teg_Navanis
Aug 27, 2007, 04:19 PM
Can you try using this file (http://forums.civfanatics.com/uploads/81346/CvGameCoreDLL.zip) instead of Solver's patch? Might be the same bug I talked about in the last post.

caribou
Aug 27, 2007, 04:30 PM
Tried it doesn't work either. Thanks for trying though.

alexman
Aug 27, 2007, 08:23 PM
This one is a problem with EDU.
ART_DEF_UNIT_PIKEMAN_AFRICAN is missing

Gre_Magus
Aug 30, 2007, 10:48 PM
I've solved the crash - it was actually related to the Ethnically Diverse Units Mod! (Thanks Alexman!)

The "mid" African style pikeman should refer to the Middle-Eastern pikeman like the early and late one do, because there is no African pikeman definition. One simple edit of the XML solved the crash.

I have a crash after pressing end turn bug:
Its AD 1365.
I'm playing as the Byzantines.


Game crashes just after user clicks end turn
Steps to reproduce: load game, click end turn
Game crashes - black screen and then the option to send info to Microsoft.
(note - I do not get the "waiting for other players (ai)" message.
Expected to proceed to next turn.

Here's the save:http://forums.civfanatics.com/uploads/6643/Joannes_II_Komnenos_AD-1365.zip (http://forums.civfanatics.com/uploads/64463/Joannes_II_Komnenos_AD-1365.zip)

DrewBledsoe
Oct 04, 2007, 01:03 AM
This is the 2nd game in a row that has CTD for me in latish game, just producing the "windows has experiencd a problme with Civ Iv etc.etc message"......save game attd., pls. can someone check this? The game immediately crashes on pressing end turn.

The only change from standard is my own marathon fix for espionage ( but as Ive played dozens of games with this change (without errors), it shouldn't be related).

Thanks.............

161584


EDIT: I went back and reloaded an autosave from a few turns before...the bug is seemingly caused by me razing Madrid, if I capture it and keep it, no ctd, continues fine. BUT if I raze it, CTD every time...here is another save with one almost dead troop left in Madrid. Thing is I don't want the city............

http://forums.civfanatics.com/uploads/68217/Dutch2.CivBeyondSwordSave

ori
Oct 04, 2007, 05:03 AM
I did not open the save, but I think I recognize this :smug:
By razing that city you probably triggered the event that has rebels being spawned because of their home city being razed. Now the game does that by drafting units from your enemy. If your enemy cannot draft any units it crashes, just as with colony formation. Since they gave all units drafting ability in the announced patch this will probably be resolved with it. Now of course you could give spain the required techs to build infantry - but I doubt you want that ;)

DrewBledsoe
Oct 04, 2007, 01:09 PM
I did not open the save, but I think I recognize this :smug:
By razing that city you probably triggered the event that has rebels being spawned because of their home city being razed. Now the game does that by drafting units from your enemy. If your enemy cannot draft any units it crashes, just as with colony formation. Since they gave all units drafting ability in the announced patch this will probably be resolved with it. Now of course you could give spain the required techs to build infantry - but I doubt you want that ;)

Hmm, They do have rifles and nationalism though....but your reasoning sounds quite logical. Nevermind, the game was easily a win. I just hope the patch does fix this.

Willowmound
Dec 17, 2007, 11:34 AM
Deleted. Thread seems to be a ghost town...