Asaf
Sleep Deprived
- Joined
- Mar 22, 2010
- Messages
- 1,326
Code:Unhandled exception at 0x029da749 (CvGameCoreDLL.dll) in Civ4BeyondSword.exe: 0xC00000FD: [B]Stack overflow[/B].
A stack overflow is usually a result of an infinite recursion. Meaning function A calls function B, which calls function C (etc.) and then calling function A inside it, and continuing this without ever quitting, until the space on the stack (the area in memory which holds all these calls) is over.
Do you use the Visual Studio debugger catch your crash (as was suggested by LyTning94 and Tholal)? If so - did you compile the dll yourself? if not, it won't be able to show you the source code. When you do - it will show you two important things: one - You'll see the exact line in which the crash happened and the variables values. two - you'll see the call stack, which is basically which function called which. If you'll see there something like (and I'm just making stuff up here):
Code:
AI_yieldValue(...)
AI_isEmphasizeCommerce(...)
AI_yieldValue(...)
AI_isEmphasizeCommerce(...)
AI_yieldValue(...)
AI_isEmphasizeCommerce(...)
AI_yieldValue(...)
AI_isEmphasizeCommerce(...)
AI_yieldValue(...)
AI_isEmphasizeCommerce(...)
...
Then you can see what the problem is.
You can double click any of these to see the calling code and its variables.