Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2002:
[Freeciv-Dev] Re: gtk client core dump
Home

[Freeciv-Dev] Re: gtk client core dump

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Daniel L Speyer <dspeyer@xxxxxxxxxxx>
Cc: Andrey Kotrekhov <kota@xxxxxxxxx>, freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: gtk client core dump
From: Raimar Falke <hawk@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 4 Mar 2002 17:03:22 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Mon, Mar 04, 2002 at 09:25:54AM -0500, Daniel L Speyer wrote:
> On Mon, 4 Mar 2002, Raimar Falke wrote:
> 
> > On Mon, Mar 04, 2002 at 12:38:50PM +0200, Andrey Kotrekhov wrote:
> > > Last 2 weeks periodically I get freeciv from cvs.
> > > But when I start client and connect to the server and type /start.
> > > I choose nation and client exit with assertion:
> > > 
> > > assertion "frozen_level >= 0" failed: file "agents.c", line 249
> > > 
> > > The map on the server is Europe.
> > > What am I doing wrong?
> > > Server which I use is 1.12.0. I got it from cvs near month ago.
> > 
> > Starting a 1.12.0 server with europe-200x100-v2.sav and a CVS client
> > doesn't produce any errors. Can you describe in more detail please
> > what you have done?
> > 
> 
> I get the same error when connecting a March 2nd client to a January 26th
> server.  If I use matching client & server, the problem goes away.

MMhh this may be related with this one:
#########
This is an automated notification of a change to freeciv cvs,
on Wed Jan 23 00:58:30 PST 2002 = Wed Jan 23 08:58:30 2002 (GMT)
by Raimar Falke <rf13@xxxxxxxxxxxxxxxxxxxxxx>

---- Files affected:

freeciv/server srv_main.c

---- Log message:

Send PACKET_START_TURN for every reconnect. This ensures that there is
a PACKET_START_TURN for every PACKET_GAME_STATE packet which contains
CLIENT_GAME_RUNNING_STATE as its value.

One PACKET_START_TURN is also sent for every new turn
(PACKET_BEFORE_NEW_YEAR or PACKET_NEW_YEAR are indicators for this).
#########

However this change was made 23 Jan. Odd.

> Can someone explaing what frozen_level is/does and why it exists in the
> first place?

During certain time spans (at the new turn or between
PACKET_PROCESSING_STARTED and PACKET_PROCESSING_FINISHED) the client
gets inconsistent data. During these time spans new data doesn't cause
callbacks but is queued. The agents are froozen during these time
spans.

        Raimar 

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "How about the new language C&? No, that's not 'c ampersand', 'c reference', 
  'reference to c' or 'c and'. It's pronounced 'campersand', to confuse the 
  hell out of people who are unfamiliar with it, and it will, of course, 
  have no pointers."
    -- Xazziri in comp.lang.c++ about C#


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