Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2002:
[Freeciv-Dev] Re: core file on civserver, http://civserver.freeciv.org/g
Home

[Freeciv-Dev] Re: core file on civserver, http://civserver.freeciv.org/g

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: core file on civserver, http://civserver.freeciv.org/games/44610
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Thu, 24 Oct 2002 15:39:31 +0000 (GMT)

On Wed, 23 Oct 2002 freeciv@xxxxxxxxxxxxxxxxxxxxx wrote:
> #30x42022ecb in __assert_fail () from /lib/i686/libc.so.6
> #40x08068e97 in do_unit_goto (punit=0x8218ce8, restriction=GOTO_MOVE_ANY,
>   trigger_special_ability=1) at gotohand.c:1326
> #50x08056afe in update_unit_activity (punit=0x8218ce8) at unittools.c:995
> #60x08055b93 in update_unit_activities (pplayer=0x81353a8) at unittools.c:597
> #70x08071995 in update_player_activities (pplayer=0x81353a8) at plrhand.c:180
> #80x0804c534 in end_turn () at srv_main.c:421

The assert came from here:

      is_real = MAPSTEP(x, y, punit->x, punit->y, dir);
      assert(is_real);

as is_real=0, where x=27, y=35, punit->x=27, punit->y=34, dir=0,
*punit={type = 43, id = 770, owner = 3, x = 27, y = 34, veteran = 0,
  homecity = 239, moves_left = 3, hp = 30, unhappiness = 0, upkeep = 1,
  upkeep_food = 0, upkeep_gold = 0, foul = 0, fuel = 0, bribe_cost = -1,
  ai = {...} , activity = ACTIVITY_GOTO, goto_dest_x = 23,
  goto_dest_y = 32, activity_count = 0, activity_target = S_NO_SPECIAL,
  focus_status = FOCUS_AVAIL, ord_map = 0, ord_city = 0, moved = 1,
  paradropped = 0, connecting = 0, transported_by = -1, pgr = 0x0}

But I don't know why.

  - Per



[Prev in Thread] Current Thread [Next in Thread]