Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2004:
[Freeciv-Dev] (PR#9153) Win32: assertion while loading savegame
Home

[Freeciv-Dev] (PR#9153) Win32: assertion while loading savegame

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: admerik@xxxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#9153) Win32: assertion while loading savegame
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 30 Jun 2004 21:23:28 -0700
Reply-to: rt@xxxxxxxxxxx

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

> [use_less - Wed Jun 30 22:53:04 2004]:

> I see you were using Kyzentun's largepox mod.  Did you upgrade it to the
> version without paratroopers, then load an old save?  Because this save
> game references unit type 56, while there are only 0-55 unit types.

Any segfault is a bug.  But freeciv doesn't vigorously check the input
from rulesets, tilesets, and savegames.  So there is a large possibility
for bugs in there; often we die() or assert() or even just assume that
things are correct.  What should happen is that we give a good
(translated) output message and exit, rather than crash.  A full audit
of the code may help, but I think at this point it would be more
productive (faster) just to find problems and fix them.

jason



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