Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2000:
[Freeciv-Dev] civserver: seg fault
Home

[Freeciv-Dev] civserver: seg fault

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] civserver: seg fault
From: Tuomas Airaksinen <tuma@xxxxxxxxxxxx>
Date: Tue, 25 Apr 2000 19:06:28 +0300

Civserver committed a SEGMENTATION FAULT:

1) one client logged in
 
following options changed:
ysize=80
landmass=45
forests=40
seed=1005832257
randseed=1005832257
techpenalty=60
saveturns=1
scorelog=1
 
Added 8 AI players and set them easy
 
and "start" -command dumps core
(http://tumasites.cjb.net/files/civserver-core.bz2).   

gdb gives following info:  
#0  package_dumb_city (pplayer=0x8220094, x=0, y=50, packet=0xbffff820) at 
cityhand.c:980
#1  0x804ba3a in send_city_info_at_tile (dest=0x8220094, x=0, y=50) at 
cityhand.c:770
#2  0x804c4a9 in send_all_known_cities (dest=0x0) at cityhand.c:1117
#3  0x8052cab in send_all_info (dest=0x0) at civserver.c:683
#4  0x80526a1 in main (argc=1, argv=0xbffffaa4) at civserver.c:471
 
Version were CVS 23.4.
 
I'm not sure if this is reproduceable, but when I updated to cvs 24.4,
I didn't have this problem. But there weren't any updates in cityhand.c
those days.
 
Other "bug", hmm... if not bug, at least strange thing:
 
When maximum player limit exceeds, server launches automatically
"start" -command, although there might have been something that user(s) still
would have liked to change.

-- 
kirjoitti:  Tuomas Airaksinen              linux
kotisivu:   http://tumasites.cjb.net        is
sähköposti: tuma@xxxxxxxxxxxx                all we
icq:        11870110, ircnet: tuma            need



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