Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2002:
[Freeciv-Dev] Re: assert failure (worklists?)
Home

[Freeciv-Dev] Re: assert failure (worklists?)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: "Per I. Mathisen" <Per.Inge.Mathisen@xxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: assert failure (worklists?)
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 3 Mar 2002 10:52:36 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Sun, Mar 03, 2002 at 10:10:31AM +0100, Raimar Falke wrote:
> On Sun, Mar 03, 2002 at 12:39:15AM +0100, Per I. Mathisen wrote:
> > On Sat, 2 Mar 2002, Gregory Berkolaiko wrote:
> > > mmm, I tried reproducing it... if the first turn you build a city and then
> > > immediately hit save, enter name, press ok then you get "lost connection
> > > to server".
> > 
> > I get this failure too, with latest freeciv cvs. I think maybe the
> > worklists aren't updated yet and cause a failure.
> > 
> > To reproduce: save after building your first city on your first turn.
> > 
> > Here is what I get:
> >     > save test
> >     civserver: registry.c:833: secfile_insert_bool: Assertion `val == (1) ||
> >     val == (0)' failed.
> >     Aborted
> 
> Known problem: did_sell is not really a boolean. I will provide a
> patch.

Wrong. It was a simple missing initialization.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "This is Linux Country. On a quiet night, you can hear Windows reboot."


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