Complete.Org: Mailing Lists: Archives: freeciv-ai: January 2003:
[freeciv-ai] aiair infinite loop
Home

[freeciv-ai] aiair infinite loop

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-ai@xxxxxxxxxxx
Subject: [freeciv-ai] aiair infinite loop
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Thu, 2 Jan 2003 17:13:36 +0000 (GMT)

I got this infinite loop in ai/airair.c today:

#0  0x080ace7e in map_distance_vector (dx=0xbff9a994, dy=0xbff9a998,
x0=48,
    y0=3, x1=49, y1=3) at map.c:1311
#1  0x080ac79a in real_map_distance (x0=48, y0=3, x1=49, y1=3) at
map.c:364
#2  0x08075d19 in air_can_move_between (moves=14, src_x=39, src_y=10,
    dest_x=49, dest_y=3, pplayer=0x8146e94) at gotohand.c:1530
#3  0x0809f0ae in refuel_iterate_process (rp_list=0x8238020,
pfrom=0x8313500)
    at airgoto.c:468
#4  0x0809f414 in find_air_first_destination (punit=0x82354a0,
    dest_x=0xbff9aad4, dest_y=0xbff9aad8) at airgoto.c:570
#5  0x08075575 in do_unit_goto (punit=0x82354a0,
restriction=GOTO_MOVE_ANY,
    trigger_special_ability=false) at gotohand.c:1288
#6  0x080d1054 in ai_unit_goto (punit=0x82354a0, x=0, y=0) at
aitools.c:170
#7  0x080cab2e in ai_manage_airunit (pplayer=0x8146e94, punit=0x82354a0)
    at aiair.c:343
#8  0x080cab9f in ai_manage_airunit (pplayer=0x8146e94, punit=0x82354a0)
    at aiair.c:362
#9  0x080cab9f in ai_manage_airunit (pplayer=0x8146e94, punit=0x82354a0)
    at aiair.c:362
#10 0x080cab9f in ai_manage_airunit (pplayer=0x8146e94, punit=0x82354a0)
    at aiair.c:362
#11 0x080cab9f in ai_manage_airunit (pplayer=0x8146e94, punit=0x82354a0)
    at aiair.c:362
#12 0x080cab9f in ai_manage_airunit (pplayer=0x8146e94, punit=0x82354a0)
ad infinitum

Not sure what the problem is.

  - Per



[Prev in Thread] Current Thread [Next in Thread]
  • [freeciv-ai] aiair infinite loop, Per I. Mathisen <=