BtS crashes in CvGameCoreDLL.dll

Thanny

Warlord
Joined
Dec 10, 2006
Messages
265
I have two saves which consistently crash when pressing the turn button.

The first is an access violation in cvgamecoredll.dll at address 0x01ef48b0, where the module load address is 0x01ef0000 (so the offset is 0x000048b0).

This crash occurs in the stock BtS 3.13 version of this DLL, and also Bhruic's version, but at different offsets.

The second is also an AV in cvgamecoredll.dll, at address 0x02085454 with a module load address of 0x01ef0000 (offset = 0x00195454).

I've attempted to debug these crashes with a custom-compiled version of the DLL using the SDK sources with Bhruic's sources on top. For the first crash, the failing function is CvSelectionGroup::getID(). For the second, the function is CvUnit::baseMoves(). The second also has an assertion failure before the crash for the expression "pUnit != NULL". I expect that the selection group object is also NULL, which is the only explanation I can think of for why a simple getter method would crash.

The attachment system here is kind of wonky, so I've put the saves in an archive here.
 
Back
Top Bottom