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: Ben Webb <ben@xxxxxxxxxxxxxxxxxxxxxx>
Cc: Daniel L Speyer <dspeyer@xxxxxxxxxxx>, 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:12:39 +0100
Reply-to: rf13@xxxxxxxxxxxxxxxxxxxxxx

On Mon, Mar 04, 2002 at 03:56:01PM +0000, Ben Webb wrote:
> On Mon, 4 Mar 2002, 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.
> 
> This is PR#1259, which has been erroneously marked as "fixed". See 
> http://www.freeciv.org/cgi-bin/bugs/fixed?id=1259;user=guest;selectid=1259#followup2
>  
> for my explanation of the problem (which I can only assume was ignored at 
> the time ;)
> 
> To reproduce:
> 
> 1. Start a CVS server normally.
> 2. Start a CVS client with differing capabilities to the server. e.g.
>    FREECIV_CAPS="+1.11.6 conn_info pop_cost turn (etc.)" ./civ
> 3. Oh dear...
> 
>       The fix: rewrite the agents code so that it doesn't render 
> capabilities completely useless.

Can you try the attached patch?

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "Are you saying that you actually used the Classpath Java AWT classes in 
  addition to the GTK peers and got them to display something?
  Wow.  That's way better than I did and I wrote the code!"
    -- Aaron M. Renn in the classpath mailing list

Attachment: agents_game_joined1.diff
Description: Text document


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