Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2002:
[Freeciv-Dev] Re: core file on civserver, http://civserver.freeciv.org/g
Home

[Freeciv-Dev] Re: core file on civserver, http://civserver.freeciv.org/g

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: core file on civserver, http://civserver.freeciv.org/games/83147
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Wed, 18 Dec 2002 15:18:27 +0000 (GMT)

On Fri, 13 Dec 2002 freeciv@xxxxxxxxxxxxxxxxxxxxx wrote:
> # examining core.1397 in /home/freeciv/.freeciv/games/83147/. ...
> # using $FREECIV_PATH 
> /home/freeciv/.freeciv/code/installed/web/beta/freeciv-1.14.0-beta2+ourown-post-1.14.0+newdead+cmd_reply+teamslite13/share/freeciv
> # running: (echo bt; echo quit; exec yes '') | 
> gdb/home/freeciv/.freeciv/code/installed/web/beta/freeciv-1.14.0-beta2+ourown-post-1.14.0+newdead+cmd_reply+teamslite13/share/freeciv/../../bin/civserver
>  core.1397
...
> #00x08071947 in gamelog_save () at gamelog.c:160
> 160     team_score = floor(team_score / team_members);
> (gdb) #00x08071947 in gamelog_save () at gamelog.c:160
> #10x0804e4aa in save_game_auto () at srv_main.c:583

Attached is a fix for this problem. Since this is a rather simple fix for
a rather stupid bug, I intend to commit it myself soon unless someone
beat me to it.

  - Per

Attachment: gamelogfix1.diff
Description: Text document


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