C++ error causes mid-game crash

RandallS_1985

Chieftain
Joined
Feb 27, 2008
Messages
50
Location
Mobile, AL, USA
I've been playing BTS for some time, but when I got to the Industrial Age my game started crashing consistently after about 30-45 minutes of gameplay. I haven't copied the exact error message yet, but I usually get a window that says there is a C++ error. This is oddly enough a Civ 4 window and not a Vista window. It tells me its going to close the program and the game music and sounds continue until I reluctantly click OK. The crash usually occurs when I pick a new item for my city to build on the "city advisor screen." But it doesn't happen every time, just after the above mentioned time frame. Of course I'm also having the general late game lag issue, but these crashes are making it unbearable.

Game Specs:
Civ 4 Vanilla, Warlords Expansion, BTS Expansion

Computer Specs:
HP Pavillion dv 6500 Notebook, Windows Vista,
2 GB RAM, NVIDA GeForce Go 7150M, AMD Turion 64 X2 1.9 Ghz

Can Anyone help me? :(
 
before doing that could you also please open you civilizationIV.ini and set all items with log in their name from 0 to 1 then after it crashes along with the c++ error please post the contents of your logs directory as a zip file.
You can attach files to a post by clicking on go advanced then on manage attachments below the reply box.

civilizationIV is located in:
...\documents and settings\<username>\my documents\my games\<game name>\
and the logs directory is
...\documents and settings\<username>\my documents\my games\<game name>\logs
where <game name> is either civilization 4 or warlords or beyond the sword depending on which of those (core game or an expansion) you are using :)
 
For some reason The Prt. Sc. function didn't work; (How conveniently annoying) But it said "Memory Allocation Error" in a Civ 4 box while I was in the city advisor screen (The one where you pick new objects to build and see the specialists.)
.....
and I don't have a "logs" folder in there. Great, so I got nothing.:mad:

Could something work right......:sad:
 
mmmmm... this is weird. This line appeared at the bottom of my ini file.
; Break on memory allocation order #
BreakOnAlloc = -1
I'm pretty sure it wasn't there when I changed those log #'s
 
Just in case you asked.........this is in the ini to, I'm not sure if it affected my screenshot attempts.

; Allow Screenshots. May affect performance on some video cards
AllowScreenShots = 1
 
this is only part of the log - you got it most likely from program files/firaxis games/sid meier's civilization 4/beyond the sword/ in that directory there should be a link called _Civ4logs which is not the same as log which exists as a folder in there...

the break on alloc is indeed the last item while the four immediately before that are the ones that need to be set to 1.

Does the c++ error say anything apart from noting that it is a c++ error?
is there a windows error as well?
 
Oh. Maybe this is it then.

And, it doesn't say anything about windows. It wasn't even in a windows dialog box. It was in a civ 4 dialog box. (The box looks a lot like the one you see when a random event happens in the game, but it had the error message in it.)

Anyways, hopefully this one is the right log....
 
I've never got this far into the game without a mod. I never could settle for the original build; to simple ;) .

Do you really think its a mod problem....?

If you do, would starting a normal game in the industrail age with all of the advanced start upgrades serve as a good experiment to see if its mod related?

...And I've never had trouble loading this mod, I haven't add any trouble with it all the way until the Industrial age.
 
the thing is: I have not seen a c++ error in this game without either
a mod
or
a corrupted install - which would cause problems MUCH earlier ;)
You should probably post your problem in the thread for this mod since those that maintain it will likely be able to help better. I see that there was a new release yesterday so that might also be worth a try :)
 
WOW - another with almost the same problem as me :confused:

I posted this:
http://forums.civfanatics.com/showthread.php?t=263378

I have got the exact same error-message as you in game about "Memory Allocation Error"

Then when back in Vista a dialog box appears with a C++ error - attached as picture.

In my case this error has definately been given to me using the Giant Earth Map - mod.

However - the game has also crashed on scenarios not using mods, and in normal games.

ori: Do you know what the line:

; Break on memory allocation order #
BreakOnAlloc = -1

means - would it change something to change the setting, and if yes - to what? :confused:
 
Back
Top Bottom