Complete.Org: Mailing Lists: Archives: freeciv-dev: July 2004:
[Freeciv-Dev] (PR#9422) Re: more server crashes in cvs-Jul-17
Home

[Freeciv-Dev] (PR#9422) Re: more server crashes in cvs-Jul-17

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#9422) Re: more server crashes in cvs-Jul-17
From: "nikodimka" <nikodimka@xxxxxxxxx>
Date: Sun, 18 Jul 2004 17:19:08 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=9422 >

--- Jason Dorje Short <jdorje@xxxxxxxxxxxx> wrote:
> nikodimka wrote:
> > Hi,
> > 
> > I experience strange server crashes with freeciv-cvs-Jul-17
> > 
> > config options are: --prefix=/export/local/ --enable-client=gtk 
> > --enable-debug=yes
> --with-readline
> > or all the same: --prefix=/export/local/ --enable-client=gtk
> > 
> > uname -a
> > Linux love 2.4.22-ck2 #15 Wed Nov 5 02:11:08 MST 2003 i686 unknown
> > 
> > 
> > gdb  ./server/civserver 
> > (gdb) run
> > Starting program: /export1/freeciv/freeciv-cvs-Jul-17.mod/server/civserver 
> > This is the server for Freeciv version 1.14.99-devel
> > You can learn a lot about Freeciv at http://www.freeciv.org/
> > 1: setsockopt failed: No such device
> > 2: Now accepting new client connections.
> > 
> > For introductory help, type 'help'.
> > 
> > 2: Connection request from horsh from love
> > 2: c1 has client version 1.14.99-devel
> > 2: horsh has connected from love.
> > 
> >>start
> > 
> > Starting game.
> > 
> > 2: Loading rulesets
> > 
> > Program received signal SIGSEGV, Segmentation fault.
> > make_rivers () at mapgen.c:1001
> > 1001            whole_map_iterate(x1, y1) {
> > (gdb) where
> > #0  make_rivers () at mapgen.c:1001
> > Cannot access memory at address 0x0
> > (gdb) list
> > 996                   " Starting to make it.",
> > 997                   x, y);
> > 998
> > 999           /* Try to make a river. If it is OK, apply it to the map. */
> > 1000          if (make_river(x, y)) {
> > 1001            whole_map_iterate(x1, y1) {
> > 1002              if (TEST_BIT(rmap(x1, y1), RS_RIVER)) {
> > 1003                enum tile_terrain_type t = map_get_terrain(x1, y1);
> > 1004
> > 1005                if (!terrain_has_flag(t, TER_CAN_HAVE_RIVER)) {
> > (gdb)
> > 
> > I have seen some "server crash" messages on freeciv-dev recently, so this 
> > could be connected.
> > But this time I do not use saved game. I just connect a user, "start",  et 
> > voila.

Oh yeah and after start the user choses a nation.

> 
> In gdb, do "p game.rand_seed" and "p map.seed".  This, along with the 
> server options you use, should let it be reproduced.

(gdb) p map.seed
$1 = 1781678802
(gdb) p game.randseed
$2 = 1090235907





                
__________________________________
Do you Yahoo!?
Vote for the stars of Yahoo!'s next ad campaign!
http://advision.webevents.yahoo.com/yahoo/votelifeengine/




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