Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2005:
[Freeciv-Dev] (PR#13745) savegame crash
Home

[Freeciv-Dev] (PR#13745) savegame crash

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: per@xxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#13745) savegame crash
From: "Mateusz Stefek" <mstefek@xxxxxxxxx>
Date: Tue, 23 Aug 2005 01:18:23 -0700
Reply-to: bugs@xxxxxxxxxxx

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

> [per - Tue Aug 23 08:03:43 2005]:
> 
> On Tue, 23 Aug 2005, Per I. Mathisen wrote:
> > Forwarding from pubserver crash reports. Got several of these. No idea
> > why. - Per
> 
> The problem seems to be that game.default_government is G_MAGIC, an
> illegal government, when players are initialized in common/player.c, and
> trying to save this results in an error. This could happen when creating
> new players through barbarian uprising or civil war.
> 
> The attached patch should fix it. Committed immediately.
> 
>   - Per

Actually the real problem is in common/player.c - before PR#13740 and
PR#13723 it was zero and this was ok. Now it is set to G_MAGIC and
nothing changes that later. The game crashes always, not only when
barbarians are created.
(And forget about my patch)
--
mateusz




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