Scenario Loading CtD Stack Trace

Vehem

Modmod Monkey
Joined
Nov 22, 2005
Messages
3,219
I pulled the following from the crash dump for the scenario loading - I'm not sure if it has been seen before, but it points nicely to a specific area of the code as potentially being the problem, namely CvPlot::getX(), being the only item on the stack at the time. As it's an AccessViolation, it looks as if the memory assigned for storing the requested plot (or possibly all plots) has already been released (map array unloaded), but is being called on for some reason.

Code:
FAULTING_IP: 
CvGameCoreDLL!CvPlot::getX+0
0202f220 0fbf4104        movsx   eax,word ptr [ecx+4]

EXCEPTION_RECORD:  ffffffff -- (.exr 0xffffffffffffffff)
ExceptionAddress: 0202f220 (CvGameCoreDLL!CvPlot::getX)
   ExceptionCode: c0000005 (Access violation)
  ExceptionFlags: 00000000
NumberParameters: 2
   Parameter[0]: 00000000
   Parameter[1]: 39eef568
Attempt to read from address 39eef568

DEFAULT_BUCKET_ID:  APPLICATION_FAULT

PROCESS_NAME:  Civ4BeyondSword.exe

ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at "0x%08lx" referenced memory at "0x%08lx". The memory could not be "%s".

READ_ADDRESS:  39eef568 

BUGCHECK_STR:  ACCESS_VIOLATION

NTGLOBALFLAG:  0

APPLICATION_VERIFIER_FLAGS:  0

LAST_CONTROL_TRANSFER:  from 004981fc to 0202f220

STACK_TEXT:  
WARNING: Stack unwind information not available. Following frames may be wrong.
0013fd98 004981fc 3c8b4396 0ee1ec30 0013ff08 CvGameCoreDLL!CvPlot::getX
00000000 00000000 00000000 00000000 00000000 Civ4BeyondSword+0x981fc


STACK_COMMAND:  ~0s; .ecxr ; kb

FAULTING_THREAD:  000000f0

FOLLOWUP_IP: 
CvGameCoreDLL!CvPlot::getX+0
0202f220 0fbf4104        movsx   eax,word ptr [ecx+4]

SYMBOL_STACK_INDEX:  0

SYMBOL_NAME:  CvGameCoreDLL!CvPlot::getX+0

Might help - might not, but the stack traces have been handy when Xien has been poking at DLL problems previously, so I figured it couldn't hurt...
 
Top Bottom