Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2004:
[Freeciv-Dev] Re: civserver crashed: http://pubserver.freeciv.org/games/
Home

[Freeciv-Dev] Re: civserver crashed: http://pubserver.freeciv.org/games/

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: civserver crashed: http://pubserver.freeciv.org/games/275432
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Thu, 18 Mar 2004 15:44:25 +0000 (GMT)

On Sat, 13 Mar 2004 freeciv@xxxxxxxxxxxxxxxxxxxxx wrote:
#3  0x4006f15d in __assert_fail () from /lib/libc.so.6
#4  0x080e7a21 in ai_unit_new_role (punit=0x8a90d10, task=AIUNIT_NONE, x=-1,
    y=-1) at aitools.c:438
#5  0x080573a5 in server_remove_unit (punit=0x8a90d10) at unittools.c:1618
#6  0x0805764a in wipe_unit_spec_safe (punit=0x8a90d10, wipe_cargo=false)
    at unittools.c:1691
#7  0x08057e37 in kill_unit (pkiller=0x892f080, punit=0x8a90d10)
    at unittools.c:1861
#8  0x0808f245 in handle_unit_attack_request (punit=0x892f080,
    pdefender=0x8a90d10) at unithand.c:820
#9  0x0808f732 in handle_unit_move_request (punit=0x892f080, x=73, y=23,
    igzoc=false, move_diplomat_city=false) at unithand.c:1041
#10 0x0808eabf in handle_unit_move (pplayer=0x8287aa8, unit_id=1186, x=73,
    y=23) at unithand.c:600
#11 0x080e7e4c in ai_unit_attack (punit=0x892f080, x=73, y=23) at
aitools.c:577
#12 0x080e7131 in ai_unit_execute_path (punit=0x892f080, path=0x8633790)
    at aitools.c:118
#13 0x080e9d90 in ai_military_rampage (punit=0x892f080, thresh_adj=1,
    thresh_move=1) at aiunit.c:1069

The offending line is
  /* If the unit is under (human) orders we shouldn't control it. */
  assert(!unit_has_orders(punit));

Perhaps we shold reconsider this assert and make it fail more softly?

  - Per



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