LoneGazebo / Community-Patch-DLL

Community Patch for Civilization V - Brave New World
Other
285 stars 158 forks source link

crash #11094

Closed ilteroi closed 3 months ago

ilteroi commented 3 months ago

v4.11 dirty (200f72c5b337ee755da2a764ee42a73d667ec155)

Unhandled exception at 0x79FF6FE4 (CvGameCore_Expansion2.dll) in CvMiniDump.dmp: 0xC000001D: Illegal Instruction.

    // Any valid possibilities?
    if (vePotentialDemandTargets.size() > 0)
    {
        // If we already have a valid demand target, don't assign a new one
        // Otherwise, start the demand process against the player with the highest weight
        if (!bExistingValidTarget)
        {
-->         SetDemandTargetPlayer(vePotentialDemandTargets.GetElement(0));
        }
    }

this is weird, no idea what's wrong ...

callstack

>   CvGameCore_Expansion2.dll!CvDiplomacyAI::DoUpdateDemands() Line 27859   C++
    CvGameCore_Expansion2.dll!CvDiplomacyAI::DoTurn(DiplomacyMode eDiploMode, PlayerTypes ePlayer) Line 9375    C++
    CvGameCore_Expansion2.dll!CvPlayer::doTurn() Line 10148 C++
RecursiveVision commented 3 months ago

Savegame / mod list?

ilteroi commented 3 months ago

cannot reproduce in a debug build. strange.

AutoSave_0107 BC-0200.zip

image

RecursiveVision commented 3 months ago

Are you using a clang debug build? VS debug builds are dysfunctional and not always savegame compatible because they're missing something, IanE9 and I discovered that a while back.

RecursiveVision commented 3 months ago

Can't reproduce it either.

ilteroi commented 3 months ago

yes it said "illegal instruction", never had that before ... let's hope it was a fluke