Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2004:
[Freeciv-Dev] (PR#11317) Beta4 crashes on SPARC/Solaris
Home

[Freeciv-Dev] (PR#11317) Beta4 crashes on SPARC/Solaris

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#11317) Beta4 crashes on SPARC/Solaris
From: "Jan Tobias Muehlberg" <muehlber@xxxxxxxxxxxxxxxx>
Date: Fri, 3 Dec 2004 02:00:25 -0800
Reply-to: rt@xxxxxxxxxxx

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


Hi Friends,

I am getting frequent crashes of the freeciv server
on SPARC/Solaris 5.8 after the first turn is finished.

Here is what GDB says:

(gdb) run
Starting program: /usr/local.stud/bin/civserver 
sect_index_data not initialized...
sect_index_data not initialized...
sect_index_data not initialized...
sect_index_data not initialized...
sect_index_data not initialized...
sect_index_data not initialized...
sect_index_data not initialized...
sect_index_data not initialized...
sect_index_data not initialized...
sect_index_data not initialized...
sect_index_data not initialized...
sect_index_data not initialized...
sect_index_data not initialized...
sect_index_data not initialized...
sect_index_data not initialized...
sect_index_data not initialized...
sect_index_data not initialized...
sect_index_data not initialized...
sect_index_data not initialized...
sect_index_data not initialized...
sect_index_data not initialized...
sect_index_data not initialized...
sect_index_data not initialized...
sect_index_data not initialized...
sect_index_data not initialized...
sect_index_data not initialized...
sect_index_data not initialized...
This is the server for Freeciv version 2.0.0-beta4 (beta version)
You can learn a lot about Freeciv at http://www.freeciv.org/

THIS IS A BETA VERSION
Freeciv 2.0.0 will be released in
November, at http://www.freeciv.org/

2: Now accepting new client connections.

For introductory help, type 'help'.
> 
2: Connection request from muehlber from
hrungnir.fh-brandenburg.de
2: c1 has client version 2.0.0-beta4
2: muehlber has connected from hrungnir.fh-brandenburg.de.
> 
muehlber: '/set startunits ccccccccxxxx'
> 
muehlber: '/set aifill 10'
muehlber: '/set huts 500'
muehlber: '/set specials 500'
muehlber: '/set size 10'
> 
muehlber: '/set endyear 5000'
> 
muehlber: '/set cityfactor 100'
muehlber: '/set unhappysize 6'
muehlber: '/set techlevel 5'
> 
muehlber: '/start'
Starting game.
2: Loading rulesets
> 
2: Cyrus has been added as an AI-controlled player.
2: AI is controlling the Persians ruled by Cyrus.
Player 'Cyrus' now has AI skill level 'easy'.
2: Piet Retief has been added as an AI-controlled player.
2: AI is controlling the Boers ruled by Piet Retief.
Player 'Piet Retief' now has AI skill level 'easy'.
2: Tiglat Pileser III has been added as an AI-controlled player.
2: AI is controlling the Assyrians ruled by Tiglat Pileser III.
Player 'Tiglat Pileser III' now has AI skill level 'easy'.
2: Thutmose has been added as an AI-controlled player.
2: AI is controlling the Egyptians ruled by Thutmose.
Player 'Thutmose' now has AI skill level 'easy'.
2: Henryk Pobożny has been added as an AI-controlled player.
2: AI is controlling the Silesians ruled by Henryk Pobożny.
Player 'Henryk Pobożny' now has AI skill level 'easy'.
2: Leonidas has been added as an AI-controlled player.
2: AI is controlling the Greeks ruled by Leonidas.
Player 'Leonidas' now has AI skill level 'easy'.
2: Ramon Berenguer IV has been added as an AI-controlled player.
2: AI is controlling the Catalans ruled by Ramon Berenguer IV.
Player 'Ramon Berenguer IV' now has AI skill level 'easy'.
2: Udinuzulu has been added as an AI-controlled player.
2: AI is controlling the Zulus ruled by Udinuzulu.
Player 'Udinuzulu' now has AI skill level 'easy'.
2: Axayacatl has been added as an AI-controlled player.
2: AI is controlling the Aztecs ruled by Axayacatl.
Player 'Axayacatl' now has AI skill level 'easy'.
> 
Program received signal SIGSEGV, Segmentation fault.
0xff033218 in strlen () from /usr/lib/libc.so.1
(gdb) where
#0  0xff033218 in strlen () from /usr/lib/libc.so.1
#1  0xff086520 in _doprnt () from /usr/lib/libc.so.1
#2  0xff0886f8 in vsnprintf () from /usr/lib/libc.so.1
#3  0x00015404 in my_vsnprintf (str=0xffbeee20 "Game: Technology goal is ", 
    n=1536, format=0xee1a8 "Game: Technology goal is %s.", ap=0xffbef4fc)
    at support.c:341
#4  0x00041d48 in vnotify_conn_ex (dest=0x1b8d50, ptile=0x0, event=E_NOEVENT, 
    format=0xee1a8 "Game: Technology goal is %s.", vargs=0xffbef4fc)
    at plrhand.c:1295
#5  0x00041f6c in notify_player (pplayer=0x1b6680, 
    format=0xee1a8 "Game: Technology goal is %s.") at plrhand.c:1378
#6  0x00040b38 in choose_tech_goal (plr=0x1b6680, tech=199) at plrhand.c:634
#7  0x000cb120 in ai_manage_tech (pplayer=0x1b6680) at aitech.c:302
#8  0x000c7fd8 in ai_do_last_activities (pplayer=0x21fc90) at aihand.c:385
#9  0x00016e28 in end_phase () at srv_main.c:579
#10 0x000187b0 in main_loop () at srv_main.c:1571
#11 0x0001891c in srv_main () at srv_main.c:1648
#12 0x00012160 in main (argc=0, argv=0xffbef85c) at civserver.c:188
(gdb)

If you need some more information, ask me.

Happy hacking,
J. Tobias


-- 
"[...] please note that even laws carry no automatic moral authority;
they have to earn it.  It is often morally justified  for individuals
to break laws."                                   -- Richard Stallman

Attachment: pgpdVpYNyfe8x.pgp
Description: PGP signature


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#11317) Beta4 crashes on SPARC/Solaris, Jan Tobias Muehlberg <=