Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2005:
[Freeciv-Dev] Re: [FreeCiv-Cvs] jdorje: Use pointer values for governmen
Home

[Freeciv-Dev] Re: [FreeCiv-Cvs] jdorje: Use pointer values for governmen

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [FreeCiv-Cvs] jdorje: Use pointer values for governments (rather t...
From: mateusz <mstefek@xxxxxxxxx>
Date: Thu, 18 Aug 2005 17:05:04 +0000

Dnia 2005-08-18 08:51:03, freeciv@xxxxxxxxxxxxxxxxxxx napisał(a):
This is an automated notification of a change to freeciv cvs,
on Wed Aug 17 23:44:27 PDT 2005 = Thu Aug 18 06:44:27 2005 (GMT)
by Jason Dorje Short <jdorje@xxxxxxxxxxxxxxxxxxxxx>
[...]
---- Log message:
      Tag: HEAD

Use pointer values for governments (rather than index values).

Patch by me in PR#13678.


The server crashes just after starting a game:

cr a
st
Startuję grę.

2: Rob Muldoon rządzi Nowozelandzczycy.

Program received signal SIGSEGV, Segmentation fault.
0x080cc64a in get_government_name (gov=0x0) at government.c:131
131       CHECK_GOVERNMENT(gov);
(gdb) bt full
#0  0x080cc64a in get_government_name (gov=0x0) at government.c:131
No locals.
#1  0x08087644 in update_revolution (pplayer=0x82b52ac) at plrhand.c:398
No locals.
#2  0x080513b8 in begin_phase (is_new_phase=true) at srv_main.c:561
        pplayer = (struct player *) 0x82b52ac
        i = 0
#3  0x0805343e in main_loop () at srv_main.c:1588
        eot_timer = (struct timer *) 0x84b9fc8
        save_counter = 0
        is_new_turn = true
#4  0x08053cc4 in srv_loop () at srv_main.c:1898
No locals.
#5  0x080536dd in srv_main () at srv_main.c:1718
No locals.
#6  0x0804b021 in main (argc=1, argv=0xbfb87854) at civserver.c:242
        inx = 1
        showhelp = false
        showvers = false
        option = 0x0
--
mateusz



----------------------------------------------------------------------
Najwiekszy MOTO-serwis w Polsce >>> http://link.interia.pl/f18a9




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