[Freeciv-Dev] (PR#11824) Crashing bug
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=11824 >
Well, this bug is a lot more complicated than it looks. :)
Basically, the function ai_manage_explorer() is going into an infinite
recursive loop, which eventually crashes the server. This is caused by
the fact that the unit exploring tries to get to its exploration
destination, but its goto fails without using all its moves. This
causes the function to try to explore again, but it runs into the same
situation again, and loops around.
I talked about it with Jason on IRC and he suggested this patch, and
also to ask Greg about it. Greg?
Description: Binary data