Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2005:
[Freeciv-Dev] (PR#13194) Failed sanity check: punit->transported_by != -
Home

[Freeciv-Dev] (PR#13194) Failed sanity check: punit->transported_by != -

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: marko.lindqvist@xxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#13194) Failed sanity check: punit->transported_by != -1
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 4 Jun 2005 20:22:14 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=13194 >

It looks to me like something has caused the city to become landlocked.
 Sailing units trapped in the city are not bounced, and trigger the
assertion since they aren't allowed to "exist" at the tile.  The terrain
around the city is all forest, grassland, or desert.

Another possibility is that the sailing unit is erronously bounced into
the city.

For future debuggers:

(gdb) p punit->id
$30 = 2350
(gdb) p punit->tile->index
$31 = 633
(gdb) p punit->tile->city
$32 = (struct city *) 0x85a18d8
(gdb) p punit->tile->x
$33 = 9
(gdb) p punit->tile->y
$34 = 8
(gdb) p unit_types[punit->type].name
$35 = 0x8254da4 "Sail"

-jason




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