Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2002:
[Freeciv-Dev] Re: (PR#2518) ai reading from raw memory?
Home

[Freeciv-Dev] Re: (PR#2518) ai reading from raw memory?

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: kaufman@xxxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#2518) ai reading from raw memory?
From: "Raimar Falke via RT" <rt@xxxxxxxxxxxxxx>
Date: Sun, 8 Dec 2002 15:13:54 -0800
Reply-to: rt@xxxxxxxxxxxxxx

On Sun, Dec 08, 2002 at 02:41:54PM -0800, Mike Kaufman via RT wrote:
> 
> while testing my general effects patch, I noticed that I was getting
> diverging savegames. Because I am fairly sure I wasn't touching any code
> that would cause such a thing, I did a bit of investigation (but not too
> much, otherwise you guys wouldn't get to have any fun...)
> 
> it seems that somewhere, the ai is looking at raw memory and making
> calculations based on this.
> 
> Procedure:
> 
> 1. compile two trees with debugging
> 2. apply this diff to one tree:

Sounds like a nice job for valgrind.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Your mail could not be delivered to the following Address:
  VTCMC.VTLPR@xxxxxxxxxxxxx        ** Unassigned error message **"




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