The logs indicate that you're playing on Huge unit settings, and that you've played multiple battles during your game session of 40+ minutes. You've also apparently during that session multiple battles with around 3000 friendly units alone, not counting the enemies. Unfortunately, fighting consecutive large battles increases the chances of a post-battle CTD. Next time, save and restart M2TW when your play session exceeds 30 minutes, or after you fight one huge battle. It's definitely annoying to do so, but it drastically reduces the chances of a post-battle CTD.
As for an actual fix, well, there has been reports for EB1 that some trait triggers for post-battle traits may be the cause behind these CTDs. EB2 might have a few faulty trait triggers as well. Your logs indicate that the crash occurred right as some post-battle trait calculations began. The line
Code:
17:43:42.756 [game.script.trigger] [trace] Trigger <general_gains_command_experience_from_battle> fired
Implies that one of the PostBattle trait triggers caused the crash. After all, the logs abruptly stop after general_gains_command_experience_from_battle whereas previous instances of general_gains_command_experience_from_battle include a bunch of PostBattle triggers.
Since you're playing as Rome, the following Rome-specific trait triggers might be occasionally causing CTDs
Code:
Trigger Roman_wins_battle_Confidens_Fidens
WhenToTest PostBattle
Condition IsGeneral
and FactionType f_rome
and Trait Confidens = 1
and WonBattle
and Trait BattlePoints > 2
Affects Confidens 1 Chance 50
Trigger General_Securus_PostBattle
WhenToTest PostBattle
Condition FactionType f_rome
and WasAttacker
and IsGeneral
and PercentageOfArmyKilled > 40
and PercentageEnemyKilled < 25
and Trait Temperament > 3
Affects Securus 1 Chance 20
Trigger General_VeryHardBattle_Constans
WhenToTest PostBattle
Condition IsGeneral
and FactionType f_rome
and Trait RecentBattleDifficulty = 4
and not Routs
and GeneralFoughtInCombat
and PercentageEnemyKilled > 10
Affects Constans 1 Chance 20
Trigger GeneralModestus_Patrician_PostBattle1
WhenToTest CharacterTurnStart
Condition FactionType f_rome
and Trait RecentDefeat > 0
and Trait Selflessness > 3
and Trait Modestus < 1
and AgentType = family
Affects Modestus 3 Chance 5
Trigger General_Victorious_Continentia_PostBattle
WhenToTest PostBattle
Condition FactionType f_rome
and IsGeneral
and WonBattle
and Trait Selflessness > 3
and Attribute Loyalty > 4
Affects Continentia 1 Chance 50
Trigger General_Victorious_Corona_Obsidionalis_PostBattle_SallyBesieger
WhenToTest PostBattle
Condition FactionType f_rome
and IsGeneral
and WasAttacker
and WonBattle
and I_ConflictType SallyBesieger
Affects CoronaObsidionalis 1 Chance 100
Trigger Admiral_wins_Corona_Rostrata
WhenToTest PostBattle
Condition FactionType f_rome
and AgentType = admiral
and I_ConflictType Naval
and WonBattle
and Trait Sailor > 3
and I_TurnNumber > 400
and PercentageEnemyKilled > 35
Affects CoronaRostrata 1 Chance 10
Trigger General_Victorious_Corona_Ovalis_PostBattle
WhenToTest PostBattle
Condition FactionType f_rome
and IsGeneral
and WasAttacker
and WonBattle
and I_ConflictType Normal
and GeneralFoughtFaction slave
and Trait BattlePoints > 3
Affects CoronaOvalis 1 Chance 10
Trigger Imperator_granted_PostBattle_Attacker
WhenToTest PostBattle
Condition IsGeneral
and WonBattle
and WasAttacker
and FactionType f_rome
and Trait BattlePoints > 3
and Trait Imperator < 1
and Trait CelebratedTriumphator < 1
Affects Imperator 1 Chance 100
Affects Triumphator 1 Chance 100
;------------------------------------------
Trigger Imperator_granted_PostBattle_Defender
WhenToTest PostBattle
Condition IsGeneral
and WonBattle
and not WasAttacker
and FactionType f_rome
and Trait BattlePoints > 3
and Trait Imperator < 1
and Trait CelebratedTriumphator < 1
Affects Imperator 1 Chance 100
Affects Triumphator 1 Chance 100
Either that, or the Spoils of Victory script is causing this
Code:
; Phase 0 - Spoils of Victory - Large Battle Counter
Since log lines like "AH11a_Battle_Victory_Huge" tend to follow right after general_gains_command_experience_from_battle. May I ask if the crash-inducing battle was a large one where you killed most of the enemy? If so, then it's likely that you triggered one of the Spoils of War scripts and that caused the crash