Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2005:
[Freeciv-Dev] (PR#13342) pubserver 2.0 crash in found_new_tech
Home

[Freeciv-Dev] (PR#13342) pubserver 2.0 crash in found_new_tech

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] (PR#13342) pubserver 2.0 crash in found_new_tech
From: "Mateusz Stefek" <mstefek@xxxxxxxxx>
Date: Mon, 27 Jun 2005 01:05:38 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=13342 >

(gdb) back
#0  0x400760a1 in catclose () from /lib/libc.so.6
#1  0x40077364 in siglongjmp () from /lib/libc.so.6
#2  0x4007015d in newlocale () from /lib/libc.so.6
                                  vvvvvvvvvvvvv
#3  0x0806fc09 in found_new_tech (plr=0x820598c, tech_found=199, 
                                  ^^^^^^^^^^^^^
was_discovery=true, saving_bulbs=true, next_tech=0) at plrhand.c:287
#4  0x080635cf in city_build_building (pplayer=0x820598c,
pcity=0x8466df8) at cityturn.c:1001
#5  0x08063dfd in update_city_activity (pplayer=0x820598c,
pcity=0x8466df8) at cityturn.c:1333
#6  0x080623ca in update_city_activities (pplayer=0x820598c) at
cityturn.c:389
#7  0x0804e447 in end_phase () at srv_main.c:595
#8  0x0804f926 in main_loop () at srv_main.c:1593
#9  0x0804fa81 in srv_main () at srv_main.c:1670
#10 0x0804a5f0 in main (argc=14, argv=0xbfffe554) at civserver.c:200
(gdb) sel 3
(gdb) print plr
                       vvvvvvvvv
$1 = (struct player *) 0x8208bfc
                       ^^^^^^^^^
(gdb) print plr->name
$2 = "Observer", '\0' <repeats 23 times>
(gdb) print plr->is_observer

I'm not so good at gdb.
Can anyone tell me why these values differ?
--
mateusz



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