Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2005:
[Freeciv-Dev] Re: (PR#14551) client crash when moving unit
Home

[Freeciv-Dev] Re: (PR#14551) client crash when moving unit

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#14551) client crash when moving unit
From: "Mateusz Stefek" <mstefek@xxxxxxxxx>
Date: Tue, 8 Nov 2005 00:16:29 -0800
Reply-to: bugs@xxxxxxxxxxx

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

Dnia 2005-11-06 07:39:39, Jason Short napisał(a):
> 
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=14551 >
> 
> jdorje@devon:~/src/freeciv/freeciv$ ./civ
> 1: 0x8e0ff18 Settlers at (65,40) Perak
> civclient: packhand.c:1993: handle_tile_info: Assertion
> `unit_list_size(ptile->units) == 0' failed.
> Aborted (core dumped)
> 
> It happened when I moved my Legion.  There is an enemy city (just
> founded) right next to the old position.

I guess this is the immortal bug with vision of units in foreign  
cities. Please check your vision code if it correctly handles:
- Enemy unit entering a city when your unit is next to it.
- Creation of enemy unit.
- _Not_ sending info about units in a city if you are not allied with  
the owner. (I guess this is the case since the client practically  
always crashes when I autoexplore)

--
mateusz






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