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

[Freeciv-Dev] (PR#13350) pubserver 2.0 call in send_player_info_c

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#13350) pubserver 2.0 call in send_player_info_c
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 27 Jun 2005 10:01:37 -0700
Reply-to: bugs@xxxxxxxxxxx

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

This could relate to PR#13217, which recently changed this function.


-------- Original Message --------
Subject: [Freeciv-Dev] civserver crashed:
http://pubserver.freeciv.org/games/442867
Date: Mon, 27 Jun 2005 09:19:16 -0700
From: freeciv@xxxxxxxxxxxxxxxxxxxxx
To: freeciv-dev@xxxxxxxxxxx



# examining core.23866 in /games/442867/. ...
# using $FREECIV_PATH 
:/home/freeciv/.freeciv/code/installed/cvs/S2_0/2005-06-27_09.00+mintimeout+original_gamelog/share/freeciv
# running: (echo bt full; echo quit; exec yes '') | gdb  
/home/freeciv/.freeciv/code/installed/cvs/S2_0/2005-06-27_09.00+mintimeout+original_gamelog/share/freeciv/../../bin/civserver
 core.23866
GNU gdb Red Hat Linux (5.2-2)
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
Core was generated by 
`/home/freeciv/.freeciv/code/installed/cvs/S2_0/2005-06-27_09.00+mintimeout+orig'.
Program terminated with signal 6, Aborted.
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/gconv/ISO8859-1.so...done.
Loaded symbols for /usr/lib/gconv/ISO8859-1.so
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /lib/libnss_nisplus.so.2...done.
Loaded symbols for /lib/libnss_nisplus.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libnss_dns.so.2...done.
Loaded symbols for /lib/libnss_dns.so.2
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
#0  0x400760a1 in kill () from /lib/libc.so.6
(gdb) #0  0x400760a1 in kill () from /lib/libc.so.6
No symbol table info available.
#1  0x40075e99 in raise () from /lib/libc.so.6
No symbol table info available.
#2  0x40077364 in abort () from /lib/libc.so.6
No symbol table info available.
#3  0x4007015d in __assert_fail () from /lib/libc.so.6
No symbol table info available.
#4  0x080717d5 in send_player_info_c (src=0x81f5d3c, dest=0x81f847c)
    at plrhand.c:1459
        myiter = (struct genlist_link *) 0x0
        pconn = (struct connection *) 0x817df90
        info = {playerno = 0, 
  name = "Sitek\0ÿ¿^¾\t\b\0\0\0\0\001\0\0\0\214ô\037\b¨\215\213\bÈ\0\0", 
  username = 
"sitek\0ÿ¿\005N\t\b\002\0\0\0\002\0\0\0\210Ìÿ¿\225Î\004\b\001\215\213\b", 
is_male = true, government = 4, target_government = 4, embassy = 4, 
  city_style = 0, nation = 21, team = 255, turn_done = false, nturns_idle = 0, 
  is_alive = true, reputation = 1000, diplstates = {{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_ALLIANCE, turns_left = 0, 
      has_reason_to_cancel = 0, contact_turns_left = 15}, {
      type = DS_NO_CONTACT, turns_left = 0, has_reason_to_cancel = 0, 
      contact_turns_left = 0} <repeats 29 times>}, gold = 196, tax = 20, 
  science = 80, luxury = 0, bulbs_last_turn = 190, bulbs_researched = 275, 
  techs_researched = 35, researching = 5, future_tech = 0, tech_goal = 0, 
  is_connected = true, revolution_finishes = -1, ai = false, 
  barbarian_type = 0, gives_shared_vision = 4, 
  inventions = 
"10101201211011000001121001000100000210110001011101200010110011021000000001002000011011111\0F\b\0\0\0\0\\Õ\004@\001\0\0\0PÏÿ¿¨Ïÿ¿\005\034\004@PÏÿ¿\004\0\0\0`\235\004@8\0\0\0ðì\027\b\006\0\0\0\210Ïÿ¿¼\224\t\b°\216\200\b\bP$@\006\0\0\0ðì\027\b\020k\004@@k\004@\0\0\0\0ðì\027\b\006\0\0\0\bP$@¸Ïÿ¿\025\225\t\bðì\027\b"...,
 love = {1 <repeats 32 times>}}
        pplayer = (struct player *) 0x81f5d3c
        PI_p_itr = 0
#5  0x08070c55 in handle_player_tech_goal (pplayer=0x81f5d3c, tech=0)
    at plrhand.c:861
        pplayer = (struct player *) 0x81f5d3c
        tech = 0
        aplayer = (struct player *) 0x89cd750
        PI_p_itr = 0
#6  0x0806ab0b in server_handle_packet (type=PACKET_PLAYER_TECH_GOAL, 
    packet=0x8311300, pplayer=0x81f5d3c, pconn=0x817df90) at hand_gen.c:130
        packet = (void *) 0x89cd750
        pplayer = (struct player *) 0x6
        pconn = (struct connection *) 0x817df90
#7  0x0804ed7e in handle_packet_input (pconn=0x817df90, packet=0x8311300, 
    type=45) at srv_main.c:1014
        packet = (void *) 0x8311300
        type = 45
        pplayer = (struct player *) 0x81f5d3c
#8  0x080868d2 in sniff_packets () at sernet.c:627
        command_ok = 135782288
        packet = (void *) 0x8311300
        type = PACKET_PLAYER_TECH_GOAL
        result = true
        i = 62
        max_desc = 135782288
        readfs = {__fds_bits = {64, 0 <repeats 31 times>}}
        writefs = {__fds_bits = {0 <repeats 32 times>}}
        exceptfs = {__fds_bits = {0 <repeats 32 times>}}
        tv = {tv_sec = 0, tv_usec = 480000}
        year = 1
#9  0x0804f8fd in main_loop () at srv_main.c:1577
        eot_timer = (struct timer *) 0x82c90a0
        save_counter = 1
        is_new_turn = true
#10 0x0804fa81 in srv_main () at srv_main.c:1670
No locals.
#11 0x0804a5f0 in main (argc=14, argv=0xbfffe6d4) at civserver.c:200
        argc = 14
        argv = (char **) 0xbfffe6d4
        inx = 14
        showhelp = false
        showvers = false
[... 4 lines skipped ...]
        option = 0x0
#12 0x400651c4 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
(gdb) 


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#13350) pubserver 2.0 call in send_player_info_c, Jason Short <=