Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2005:
[Freeciv-Dev] (PR#12022) duplicate free when destroying or taking over a
Home

[Freeciv-Dev] (PR#12022) duplicate free when destroying or taking over a

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: bh@xxxxxxxxxxxxxxxxxxx, xbertje@xxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#12022) duplicate free when destroying or taking over a city
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 28 Jan 2005 13:17:59 -0800
Reply-to: bugs@xxxxxxxxxxx

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

The problem (taken in the civ_1.sav.gz with the attached rc file) is
that player 3 and player 4 have the same dumb_city in their playermap.

2: Freeing city for player 3 (1cd69010 - 1c79c2d0), tile 62,8.
2: Freeing city for player 4 (1c9c7590 - 1c79c2d0), tile 62,8.

The first pointer is pplayer->private_map, the second pointer is pdcity.

Figuring out why this happens will take more digging.  But this explains
why the "impossible" happens inside reality_check_city.

-jason

Attachment: civ_1.rc
Description: Binary data


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