Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2004:
[Freeciv-Dev] Re: (PR#10394) cvs version: civserver crashes
Home

[Freeciv-Dev] Re: (PR#10394) cvs version: civserver crashes

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: lukasz@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#10394) cvs version: civserver crashes
From: "Mike Kaufman" <kaufman@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 30 Sep 2004 07:22:14 -0700
Reply-to: rt@xxxxxxxxxxx

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

On Thu, Sep 30, 2004 at 05:46:42AM -0700, maHo wrote:
> 

#0  0xb7e5fcd1 in kill () from /lib/libc.so.6
#1  0xb7e5fa75 in raise () from /lib/libc.so.6
#2  0xb7e60e80 in abort () from /lib/libc.so.6
#3  0xb7e5921d in __assert_fail () from /lib/libc.so.6
#4  0x0808f28a in check_players () at sanitycheck.c:359
#5  0x0808f44c in sanity_check () at sanitycheck.c:407
#6  0x0804fb9f in begin_phase (is_new_phase=true) at srv_main.c:547
#7  0x08051768 in main_loop () at srv_main.c:1509
#8  0x08052042 in srv_loop () at srv_main.c:1877
#9  0x08051988 in srv_main () at srv_main.c:1628
#10 0x0804a94a in main (argc=3, argv=0xbffff894) at civserver.c:170
(gdb) fr 4
#4  0x0808f28a in check_players () at sanitycheck.c:359
359             assert(pplayer_can_ally(pplayer, pplayer2));
(gdb) p pplayer2
$1 = (struct player *) 0x82042bc
(gdb) p pplayer2->player_no
$2 = 5
(gdb) p pplayer->player_no
$3 = 7


$5 = {player_no = 5, name = "Jiri z Podebrad", '\0' <repeats 16 times>, 
  username = "Unassigned", '\0' <repeats 21 times>, is_male = true, 
  government = 3, target_government = 3, nation = 31, team = 255, 
  turn_done = false, nturns_idle = 1, is_alive = true, is_observer = false, 
  is_dying = false, got_tech = false, revolution_finishes = -1, 
  capital = true, embassy = 198, reputation = 1000, diplstates = {{
      type = DS_WAR, turns_left = 16, has_reason_to_cancel = 0, 
      contact_turns_left = 10}, {type = DS_ALLIANCE, turns_left = 16, 
      has_reason_to_cancel = 0, contact_turns_left = 19}, {
      type = DS_CEASEFIRE, turns_left = 14, has_reason_to_cancel = 0, 
      contact_turns_left = 19}, {type = DS_WAR, turns_left = 16, 
      has_reason_to_cancel = 0, contact_turns_left = 20}, {type = DS_WAR, 
      turns_left = 16, has_reason_to_cancel = 0, contact_turns_left = 0}, {
      type = DS_NO_CONTACT, turns_left = 0, has_reason_to_cancel = 0, 
      contact_turns_left = 0}, {type = DS_WAR, turns_left = 16, 
      has_reason_to_cancel = 0, contact_turns_left = 20}, {type =
DS_ALLIANCE, 
      turns_left = 0, has_reason_to_cancel = 0, contact_turns_left = 0}, {
      type = DS_WAR, turns_left = 16, has_reason_to_cancel = 0, 
      contact_turns_left = 0}, {type = DS_NO_CONTACT, turns_left = 0, 
      has_reason_to_cancel = 0, contact_turns_left = 0}, {type = DS_WAR, 
      turns_left = 16, has_reason_to_cancel = 0, contact_turns_left = 20},
{
      type = DS_WAR, turns_left = 0, has_reason_to_cancel = 0, 
      contact_turns_left = 0}, {type = DS_WAR, turns_left = 0, 
      has_reason_to_cancel = 0, contact_turns_left = 0}, {
      type = DS_NO_CONTACT, turns_left = 0, has_reason_to_cancel = 0, 
      contact_turns_left = 0} <repeats 19 times>}, city_style = 0, units =
{
    list = {nelements = 17, head_link = 0x82ec2b0, tail_link = 0x8cf5948}}, 
  cities = {list = {nelements = 4, head_link = 0x8cf3090, 
      tail_link = 0x8cf4998}}, score = {happy = 0, content = 20, unhappy =
0, 
    angry = 0, taxmen = 0, scientists = 0, elvis = 0, wonders = 0, techs =
54, 
    techout = 22, landarea = 35000, settledarea = 31000, population = 630, 
    cities = 4, units = 16, pollution = 0, literacy = 0, bnp = 28, mfg =
28, 
    spaceship = 0}, economic = {gold = 8, tax = 20, science = 80, luxury =
0}, 
  research = {bulbs_last_turn = 22, bulbs_researched = 1973, 
    techs_researched = 54, researching = 53, changed_from = -1, 


$6 = {player_no = 7, name = "Zahir Shah", '\0' <repeats 21 times>, 
  username = "Unassigned", '\0' <repeats 21 times>, is_male = true, 
  government = 2, target_government = 2, nation = 63, team = 255, 
  turn_done = false, nturns_idle = 1, is_alive = false, is_observer =
false, 
  is_dying = false, got_tech = false, revolution_finishes = -1, 
  capital = true, embassy = 40, reputation = 1000, diplstates = {{
      type = DS_WAR, turns_left = 16, has_reason_to_cancel = 0, 
      contact_turns_left = 0}, {type = DS_WAR, turns_left = 16, 
      has_reason_to_cancel = 0, contact_turns_left = 0}, {type = DS_WAR, 
      turns_left = 16, has_reason_to_cancel = 0, contact_turns_left = 1}, {
      type = DS_WAR, turns_left = 16, has_reason_to_cancel = 0, 
      contact_turns_left = 16}, {type = DS_WAR, turns_left = 16, 
      has_reason_to_cancel = 0, contact_turns_left = 0}, {type =
DS_ALLIANCE, 
      turns_left = 0, has_reason_to_cancel = 0, contact_turns_left = 0}, {
      type = DS_NO_CONTACT, turns_left = 0, has_reason_to_cancel = 0, 
      contact_turns_left = 0}, {type = DS_NO_CONTACT, turns_left = 0, 
      has_reason_to_cancel = 0, contact_turns_left = 0}, {type = DS_WAR, 
      turns_left = 16, has_reason_to_cancel = 0, contact_turns_left = 0}, {
      type = DS_NO_CONTACT, turns_left = 0, has_reason_to_cancel = 0, 
      contact_turns_left = 0}, {type = DS_WAR, turns_left = 16, 
      has_reason_to_cancel = 0, contact_turns_left = 0}, {type = DS_WAR, 
      turns_left = 0, has_reason_to_cancel = 0, contact_turns_left = 0}, {
      type = DS_WAR, turns_left = 0, has_reason_to_cancel = 0, 
      contact_turns_left = 0}, {type = DS_NO_CONTACT, turns_left = 0, 
      has_reason_to_cancel = 0, contact_turns_left = 0} <repeats 19
times>}, 
  city_style = 0, units = {list = {nelements = 0, head_link = 0x0, 
      tail_link = 0x0}}, cities = {list = {nelements = 0, head_link = 0x0, 
      tail_link = 0x0}}, score = {happy = 0, content = 0, unhappy = 0, 
    angry = 0, taxmen = 0, scientists = 0, elvis = 0, wonders = 0, techs =
33, 
    techout = 0, landarea = 0, settledarea = 0, population = 0, cities = 0, 
    units = 0, pollution = 0, literacy = 0, bnp = 0, mfg = 0, spaceship =
0}, 
  economic = {gold = 9, tax = 0, science = 100, luxury = 0}, research = {
    bulbs_last_turn = 0, bulbs_researched = 720, techs_researched = 33, 
    researching = 16, changed_from = -1, bulbs_researched_before = 0, 
    inventions = {{state = TECH_KNOWN, required_techs = {
          vec = '\0' <repeats 24 times>}, num_required_techs = 0, 
        bulbs_required = 0}, {state = TECH_UNKNOWN, required_techs = {
          vec = "\202\210¤P\0004\f \022 Q", '\0' <repeats 13 times>}, 
        num_required_techs = 22, bulbs_required = 17622}, {state =
TECH_KNOWN,

-mike




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