[Freeciv-Dev] Re: (PR#10404) Infinite recursion in ai_manage_explorer()
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: |
undisclosed-recipients: ; |
Subject: |
[Freeciv-Dev] Re: (PR#10404) Infinite recursion in ai_manage_explorer() |
From: |
"Marko Lindqvist" <marko.lindqvist@xxxxxxxxxxx> |
Date: |
Fri, 1 Oct 2004 12:58:49 -0700 |
Reply-to: |
rt@xxxxxxxxxxx |
<URL: http://rt.freeciv.org/Ticket/Display.html?id=10404 >
Marko Lindqvist wrote:
> Backtrace shows recursive ai_manage_explorer() call in
> aiexplorer.c:324 some 10000+ times.
(gdb) p *punit
$2 = {type = 10, id = 4533, owner = 4, tile = 0x102005a0, homecity = 0,
moves_left = 2, hp = 20,
veteran = 0, unhappiness = 0, upkeep = 0, upkeep_food = 0,
upkeep_gold = 0, fuel = 0,
bribe_cost = -1, ai = {control = false, ai_role = AIUNIT_ATTACK,
ferryboat = 0, passenger = 0,
bodyguard = -1, charge = 0, prev_struct = 0x0, cur_struct = 0x0,
prev_pos = 0x0,
cur_pos = 0x0, target = 0, hunted = 1}, activity = ACTIVITY_IDLE,
goto_tile = 0x101fbb90,
activity_count = 0, activity_target = S_NO_SPECIAL, focus_status =
FOCUS_AVAIL, ord_map = 0,
ord_city = 0, foul = false, debug = false, moved = true, paradropped
= false,
done_moving = false, transported_by = -1, occupy = 0, client = {color
= 0},
has_orders = false, orders = {length = 0, index = 0, repeat = false,
vigilant = false,
list = 0x0}}
(gdb) p get_unit_name(punit->type)
$3 = 0x51bd80 "Partisan [4/4/1]"
- Caz
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] Re: (PR#10404) Infinite recursion in ai_manage_explorer(),
Marko Lindqvist <=
|
|