Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2003:
[Freeciv-Dev] Re: (PR#6500) server crash in kill_dying_players
Home

[Freeciv-Dev] Re: (PR#6500) server crash in kill_dying_players

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#6500) server crash in kill_dying_players
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Mon, 13 Oct 2003 00:26:35 -0700
Reply-to: rt@xxxxxxxxxxxxxx

On Mon, 13 Oct 2003, Jason Short wrote:
> I started a game with aifill 5 and one human player.
>
> Before the nation selection dialog even activated, there was a server
> segfault.

Oooops... sorry. Fix below, will commit:

diff -u -r1.141 srv_main.c
--- server/srv_main.c   13 Oct 2003 06:55:22 -0000      1.141
+++ server/srv_main.c   13 Oct 2003 07:25:36 -0000
@@ -968,7 +968,9 @@
            type, conn_description(pconn));
   }

-  kill_dying_players();
+  if (server_state == RUN_GAME_STATE) {
+    kill_dying_players();
+  }

  - Per




[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: (PR#6500) server crash in kill_dying_players, Per I. Mathisen <=