AbsintheRed
Deity
I'm struggling with a CTD in RFC Europe for some time now, and it is a strange one. I'm running out of ideas where to look.
If anyone could point me in the right direction, all the RFCE community would be very grateful.
Here is the thread for the latest version of the mod, you will find dl links for version 1.3 and the 1.3.1 patch there: http://forums.civfanatics.com/showthread.php?t=564554
Alternatively you can use the latest SVN version (revision 1193 or revision 1194, check this thread for SVN).
1.3.1 and revision 1193-94 use the same .dll.
Source files are included in the mod, and I also uploaded the debug .dll for this version: https://sourceforge.net/projects/rfceurope/files/CvGameCoreDLL.dll/download
The CTD in question always occurs on conquering a city. The call stack points to isDead in CvUnit.cpp, and to the getDamage function.
To be more precise, the end of it is in CvUnit::canMove() -> CvUnit::isDead() -> CvUnit::getDamage(), in every CTD dump file I have checked.
The CTD itself is a memory access failure: "0xC0000005: Access violation reading location 0x00000038."
The strangest thing in it that it doesn't appear on all systems. There are differences how often does it come up on Windows 7, 8.1, and 10.
Attached a savegame with the corresponding version of the mod. It crashes after hitting end turn.
If anyone could point me in the right direction, all the RFCE community would be very grateful.
Here is the thread for the latest version of the mod, you will find dl links for version 1.3 and the 1.3.1 patch there: http://forums.civfanatics.com/showthread.php?t=564554
Alternatively you can use the latest SVN version (revision 1193 or revision 1194, check this thread for SVN).
1.3.1 and revision 1193-94 use the same .dll.
Source files are included in the mod, and I also uploaded the debug .dll for this version: https://sourceforge.net/projects/rfceurope/files/CvGameCoreDLL.dll/download
The CTD in question always occurs on conquering a city. The call stack points to isDead in CvUnit.cpp, and to the getDamage function.
To be more precise, the end of it is in CvUnit::canMove() -> CvUnit::isDead() -> CvUnit::getDamage(), in every CTD dump file I have checked.
The CTD itself is a memory access failure: "0xC0000005: Access violation reading location 0x00000038."
The strangest thing in it that it doesn't appear on all systems. There are differences how often does it come up on Windows 7, 8.1, and 10.
Attached a savegame with the corresponding version of the mod. It crashes after hitting end turn.