Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2004:
[Freeciv-Dev] (PR#7254) 20040116 win32 client crashes windows2000
Home

[Freeciv-Dev] (PR#7254) 20040116 win32 client crashes windows2000

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: nathan@xxxxxxxxxx
Subject: [Freeciv-Dev] (PR#7254) 20040116 win32 client crashes windows2000
From: "James Canete" <use_less@xxxxxxxxxxx>
Date: Thu, 29 Jan 2004 02:24:00 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=7254 >

well, i got my build to crash...by adding an assert.  :)

to the function is_ground_unittype(Unit_Type_id id) in
common/unittype.c, I added the line:
assert(id >= 0 && id < U_LAST && id < game.num_unit_types);

Loading the save, setting timeout to -1, and starting the server
triggers this assert.

I found this by disassembling the CVS win32 server executable,
disassembling my own mingw build, and comparing the two with a
fine-toothed comb.

-James Canete


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