This was in the console:
wesnoth: /build/wesnoth/src/wesnoth/src/attack_prediction.cpp:1668: static void {anonymous}::monte_carlo_combat_matrix::scale_probabilities(const std::vector<double>&, std::vector<double>&, double, unsigned int): Assertion `std::abs(std::accumulate(target.begin(), target.end(), 0.0) - 1.0) < 0.001' failed.
wesnoth version 1.14.7
CC @jyrkive
It happen in CreepWars, leaders had about 200-300 HP at that moment and about 30-10 damage-strikes.
I'm afraid that's not enough data for me to really figure out anything. I'd need a save file as near as possible before the crash.
I wasn't sure it'll be needed so didn't attach from the beginning. Fixing the mistake, here's the savegame:
Creep Wars snow 1.5.1-Auto-Save36.zip
Crash happens if you load the savegame and end the turn.
Thanks. I plan to investigate the issue tomorrow.
For possible future reference: to repro you must also have Ageless installed, and Monte Carlo AI algorithm enabled in Preferences.
Thanks!