Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

game crash attack_prediction.cpp:1734 #1808

Closed
vn971 opened this issue Jun 21, 2017 · 2 comments
Closed

game crash attack_prediction.cpp:1734 #1808

vn971 opened this issue Jun 21, 2017 · 2 comments
Assignees
Labels
AI Issues with the AI engine, including micro AIs. Bug Issues involving unexpected behavior.
Milestone

Comments

@vn971
Copy link
Contributor

vn971 commented Jun 21, 2017

wesnoth crashes with the following message in the logs:

wesnoth: src/attack_prediction.cpp:1734: double {anonymous}::calculate_probability_of_debuff(double, bool, double, double, bool, double): Assertion `prob_kill >= 0.0 && prob_kill <= 1.0' failed.

Savegame: https://pointsgame.net/vn971/temp/2017.06.21_17:47:12_f5d47a0.bz2
The crash happens at AI turn, after you press "end turn" (immediately after loading the game).
It's not deterministic. I had to do about 5 "reload ->end turn" cycles before it crashed last time.

@vn971
Copy link
Contributor Author

vn971 commented Jun 21, 2017

UPD: it happens after red player gets his turn.

@jyrkive
Copy link
Member

jyrkive commented Jun 21, 2017

Regression from commit 93be148. I'll investigate ASAP.

@jyrkive jyrkive self-assigned this Jun 21, 2017
@CelticMinstrel CelticMinstrel added the Bug Issues involving unexpected behavior. label Jun 22, 2017
@jyrkive jyrkive added this to the 1.13.9 milestone Jun 22, 2017
@CelticMinstrel CelticMinstrel added the AI Issues with the AI engine, including micro AIs. label Jun 24, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AI Issues with the AI engine, including micro AIs. Bug Issues involving unexpected behavior.
Projects
None yet
Development

No branches or pull requests

3 participants