Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2002:
[Freeciv-Dev] Re: Crash after in a local game after ping timeout (PR#154
Home

[Freeciv-Dev] Re: Crash after in a local game after ping timeout (PR#154

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Christian Knoke <chrisk@xxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Crash after in a local game after ping timeout (PR#1547)
From: Raimar Falke <rf13@xxxxxxxxxxxxxxxxx>
Date: Sun, 9 Jun 2002 10:33:42 +0200

On Sat, Jun 08, 2002 at 01:26:06PM -0700, Christian Knoke wrote:
> On Sat, Jun 08, 2002 at 05:50:46PM +0200, Raimar Falke wrote:
> > On Sat, Jun 08, 2002 at 08:17:16AM -0700, chrisk@xxxxxxxx wrote:
> > > I buyed improvements in many cities, then clicked turn done.
> > > Game messages started to come in, and after a while:
> > > 
> > > 2: cut connection chris von localhost (Spieler Caesar) due to ping timeout
> > > >
> > > 2: Verbindung verloren: chris von localhost (Spieler Caesar).
> > > 
> > > and then:
> > > 
> > 
> > > chris@max:~> civclient -t trident
> > 
> > So you restarted the client.
> > 
> > > 2: Plugin 'esd' ausgewählt
> > 
> > > 2: lost connection to server
> > 
> > And got disconnected a second time?
> 
> Nope. I got it as follows:
> 
>       1. civserver doesn't get ping response from client
>       2. civserver cuts connection
>       3. civclient's CMA comes in trouble
>       4. civclient crashes
> 
> > 
> > > civclient: cma_core.c:582: get_current_as_result: Zusicherung »worker +
> > > result->entertainers + result->scientists + result->taxmen == pcity->size«
> > > nicht erfüllt.
> > > Abgebrochen (core dumped)
> > > chris@max:~> 
> > 
> > > Sponsors for a new machine > 200 MHz welcome.
> > 
> > We just have to teach the GTK GUI to be a bit faster.
> 
> I'm not sure with this conclusion, because the GUI hasn't had so much
> work in this situation. I.e. city report was *not* open. Something's 
> behind the scene that is slow. Too many CMA calls?

Too many generic_city_refresh calls.

Please try attached patch.

        Raimar

-- 
 email: rf13@xxxxxxxxxxxxxxxxx
 "We've all heard that a million monkeys banging on a million typewriters
  will eventually reproduce the entire works of Shakespeare.
  Now, thanks to the Internet, we know this is not true."

Attachment: restrict_refresh1.diff
Description: Text document


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