Single Player bugs and crashes - After the 13th July 2013

Status
Not open for further replies.
The judge does have missions but they only appear later in the game. Maybe it would be less confusing if he would appear not before the 1st missions are available.

I asked Hydro about that, cant remember if i got an answer back or not??
 
Yup, 5709. However, the dll in my folder:

---------------
Computer>C:>Program Files (x86)>steam>steamapps>common>Sid Meier's Civ IV BTS>mods>C2C Release>assets>
---------------

FIXED IT:

Computer>C:>Program Files (x86)>steam>steamapps>common>Sid Meier's Civ IV BTS>mods>C2C Release>assets>

to

Computer>C:>Program Files (x86)>steam>steamapps>common>Sid Meier's Civ IV BTS>Beyond the Sword>mods>C2CRelease>assets>

So there was a sub BTS folder in BTS due to Steam's funky file system. 5836 is a go!

Also, thanks for the help everyone, and there was a correct guess as to a seperate mod folder all along!
 
FIXED IT:

Computer>C:>Program Files (x86)>steam>steamapps>common>Sid Meier's Civ IV BTS>mods>C2C Release>assets>

to

Computer>C:>Program Files (x86)>steam>steamapps>common>Sid Meier's Civ IV BTS>Beyond the Sword>mods>C2CRelease>assets>

So there was a sub BTS folder in BTS due to Steam's funky file system. 5836 is a go!

Also, thanks for the help everyone, and there was a correct guess as to a seperate mod folder all along!

Glad it's sorted out :)
 
Minidump indicates a crash outside of our DLL (somewhere in the main game engine). I assume you have viewports on? If so is this reproducible? If so please post a save with a recipe.

1. OK it wasn't repeatable, but now about 15 turns later i get a CTD again??

2. tried again and was just getting the spies to do damage to improvements and inside city to assassinate?? (hence the .1 , 2nd minidump)

3. Same thing here, i am doing Spy actions when poof CTD?? (3rd minidump)
 
Hydro: Somehow the civilopedia isn't showing my +5 research to zoos, etc. Is this normal, because I have no bugs that the game sees

On the pedia page it will not show up but if you hover over the name of the wonder it should show up. If it doesn't show up there then you did something wrong.
I think there's still a bug on that tag where the display is concerned. I'd report it on the bug thread... this isn't the only building suffering from the problem. I'm not sure I'd be the best at finding that one either since I think Koshling may know the structure of that tag more familiarly than I.

Reported here.
 
1. OK it wasn't repeatable, but now about 15 turns later i get a CTD again??

2. tried again and was just getting the spies to do damage to improvements and inside city to assassinate?? (hence the .1 , 2nd minidump)

3. Same thing here, i am doing Spy actions when poof CTD?? (3rd minidump)

All three are the same crash, and its not in our code. That means the minidump is not useful to further diagnose it. You'll have to find a reproducible case and post a save + recipe for us to get any further with it.
 
That means it never triggered the 'controlled' crash. What that implies is that whatever is doing runaway memory allocation is not doing it through the DLL's allocators. That implies it must be a bug in either the graphics somewhere or in something Python is doing possibly. I'm not sure how to progress this diagnosis unfortunately.

VERY long shot - I presume you don't have any software development capability that would include an attachable debugger?

Hi

Thank having a look at this problem.

I have Visual studio 2012 express installed and have some basic C# experience but don't know if this is gone get me far.

Could you perhaps upload the next turn of my save?
Maybe it’s a one only time bug.
 
Hi

Thank having a look at this problem.

I have Visual studio 2012 express installed and have some basic C# experience but don't know if this is gone get me far.

Could you perhaps upload the next turn of my save?
Maybe it’s a one only time bug.

Oh excellent. I have uploaded a ZIP containing a matched DLL & PDB file here: https://drive.google.com/folderview?id=0B-8NpLR09jeGVlBPczY5c1lITzQ&usp=sharing

Copy these to your assets folder then load the problem turn. Attach the VS2012 debugger to the BTS process, then when memory starts to ramp (but before it crashes) do a 'Break All' in the debugger. What I want to find out is the call stack for the main thread.
 


1. OK it wasn't repeatable, but now about 15 turns later i get a CTD again??

2. tried again and was just getting the spies to do damage to improvements and inside city to assassinate?? (hence the .1 , 2nd minidump)

3. Same thing here, i am doing Spy actions when poof CTD?? (3rd minidump)

One way you might be able to make this reproducible is by adding a lot of spies using WB, then saving when they are in position and ready to do espionage actions. From that save just do a ton of espionage actions - what you have said so far suggests it's a bug with some spy action, and since it isn't reproducible my guess would be it only occurs on certain failure or success outcomes, so by having LOTs of spies to try there's a good chance ONE of them will reproduce something. If that works, post the save with the added spies and approximate instructions of what actions you needed to try to get it to crash for you.
 
Oh excellent. I have uploaded a ZIP containing a matched DLL & PDB file here: https://drive.google.com/folderview?id=0B-8NpLR09jeGVlBPczY5c1lITzQ&usp=sharing

Copy these to your assets folder then load the problem turn. Attach the VS2012 debugger to the BTS process, then when memory starts to ramp (but before it crashes) do a 'Break All' in the debugger. What I want to find out is the call stack for the main thread.

This is the call stack of the main thread afther a 60% memory usage increase.
Code:
>	ntdll.dll!77146ee6()	Unknown
 	[Frames below may be incorrect and/or missing, no symbols loaded for ntdll.dll]	
 	msvcr71.dll!7c3416b3()	Unknown
 	msvcr71.dll!7c3416db()	Unknown
 	msvcr71.dll!7c3416f8()	Unknown
 	msvcp71.dll!7c3cad59()	Unknown
 	msvcp71.dll!7c3a2565()	Unknown
 	msvcp71.dll!7c3aedba()	Unknown
 	msvcp71.dll!7c3b37ec()	Unknown
 	msvcp71.dll!7c3b3f91()	Unknown
 	CvGameCoreDLL.dll!CvWString::CvWString(const CvWString & s={...}) Line 24	C++
 	CvGameCoreDLL.dll!CvTalkingHeadMessage::CvTalkingHeadMessage(const CvTalkingHeadMessage & __that={...})	C++
 	CvGameCoreDLL.dll!std::list<CvTalkingHeadMessage,std::allocator<CvTalkingHeadMessage> >::_Buynode(std::_List_nod<CvTalkingHeadMessage,std::allocator<CvTalkingHeadMessage> >::_Node * _Next=0x03e337f8, std::_List_nod<CvTalkingHeadMessage,std::allocator<CvTalkingHeadMessage> >::_Node * _Prev=0xd4f9d9f0, const CvTalkingHeadMessage & _Val={...}) Line 926	C++
 	CvGameCoreDLL.dll!CvPlayer::addMessage(const CvTalkingHeadMessage & message={...}) Line 20445	C++
 	Civ4BeyondSword.exe!00508343()	Unknown
 	Civ4BeyondSword.exe!00507efc()	Unknown
 	Civ4BeyondSword.exe!004d8bce()	Unknown
 	CvGameCoreDLL.dll!AddDLLMessage(PlayerTypes ePlayer=59, bool bForce=63, int iLength=91879344, CvWString szString={...}, const char * pszSound=0x0018f680, InterfaceMessageTypes eType=91389024, const char * pszIcon=0x00000000, ColorTypes eFlashColor=88800156, int iFlashX=28, int iFlashY=0, bool bShowOffScreenArrows=10, bool bShowOnScreenArrows=82) Line 5285	C++
 	CvGameCoreDLL.dll!FVariableSystem::GetValue(const char * szVariable=0x4f01b4a8, const char * & pszValue=0x0575ffff) Line 320	C++
 	CvGameCoreDLL.dll!CvUnit::killUnconditional(bool bDelay=255, PlayerTypes ePlayer=88379020, bool bMessaged=46) Line 1296	C++
 	CvGameCoreDLL.dll!_MiniDumpWriteDump@28()	C++
 	python24.dll!1e026472()	Unknown
 	python24.dll!1e02766c()	Unknown
 	python24.dll!1e029a88()	Unknown
 	python24.dll!1e02a3dd()	Unknown
 	python24.dll!1e05f62f()	Unknown
 	python24.dll!1e098bd7()	Unknown
 	kernel32.dll!750214dd()	Unknown
 	msvcr71.dll!7c34218a()	Unknown
 	CvGameCoreDLL.dll!FFreeListTrashArray<CvArea>::getAt(int iID=2) Line 329	C++
 	CvGameCoreDLL.dll!CvPlayerAI::AI_unitUpdate() Line 1890	C++

This a near crash
Code:
>	Civ4BeyondSword.exe!006832ab()	Unknown
 	[Frames below may be incorrect and/or missing, no symbols loaded for Civ4BeyondSword.exe]	
 	Civ4BeyondSword.exe!00682fb0()	Unknown
 	Civ4BeyondSword.exe!004e05e6()	Unknown
 	Civ4BeyondSword.exe!004e00e5()	Unknown
 	Civ4BeyondSword.exe!004df960()	Unknown
 	Civ4BeyondSword.exe!00435e93()	Unknown
 	CvGameCoreDLL.dll!CvUnit::bombardRanged(int iX=1635800, int iY=1635828, bool sAttack=true) Line 26198	C++
 	CvGameCoreDLL.dll!CvSelectionGroup::groupStackAttack(int iX=46, int iY=14, int iFlags=16, bool & bFailedAlreadyFighting=false) Line 7739	C++
 	CvGameCoreDLL.dll!CvSelectionGroup::groupAttack(int iX=46, int iY=14, int iFlags=16, bool & bFailedAlreadyFighting=false) Line 4939	C++
 	CvGameCoreDLL.dll!CvSelectionGroupAI::AI_update() Line 279	C++
 	CvGameCoreDLL.dll!CvPlayerAI::AI_unitUpdate() Line 1890	C++
 
@Koshling.

OK i figured out how to crash it, it wont do it by itself you got to induce it by using a "spy" in the city, and select "Assassinate", doesnt matter which one, the unit will go back to the main city but thats where it CTD's. As soon as you try to click on anything after that . . . SO
 

Attachments

Nat. Wonder after latest SVN PINK just the hover over stuff

Yep, as I said, I couldn't find the art for the Wonders. DH said they are already done so it's simply the changing of the art-path that will solve the problem, which I hope DH will do soon.
 
thx. somehow i missed your immediate reply :crazyeye:

Anyways.. I was using the pached dll then and I tried the new one yesterday. Still CTD. Attached the new dump and the crashing savegame.

Cheers

Minidump is definitely a smoking gun, and (joy of joys!) I can reproduce the crash from your save. Will look into it and post a fix later today hopefully.
 
This is a repeatable CTD that is blocking my ability to progress in the game.

Save can be downloaded from:

http://96.8.120.190/files/civ4/

Mini.dmp is included in the directory above. There was no error log from Civ 4.

To repeat CTD, just press end of turn and wait until Civ 4 crashes to desktop with a MAF.

This is from C2C v31, CoreDLL is from August 7th update. I haven't modded or edited any files otherwise. I am running Win 7, 64-bit.

Also, in this same game, I lost the ability to open World Builder about a dozen turns previously - trying to open WB results in a crash to desktop. This wasn't the case previously.

Zerli
 
Status
Not open for further replies.
Back
Top Bottom