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

[Freeciv-Dev] (PR#13343) pubserver 2.0 crash in handle_nation_select_req

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#13343) pubserver 2.0 crash in handle_nation_select_req
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 26 Jun 2005 05:36:23 -0700
Reply-to: bugs@xxxxxxxxxxx

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



-------- Original Message --------
Subject: [Freeciv-Dev] civserver crashed:
http://pubserver.freeciv.org/games/441674
Date: Sat, 25 Jun 2005 10:12:59 -0700
From: freeciv@xxxxxxxxxxxxxxxxxxxxx
To: freeciv-dev@xxxxxxxxxxx



# examining core.4689 in /games/441674/. ...
# using $FREECIV_PATH 
:/home/freeciv/.freeciv/code/installed/cvs/S2_0/2005-06-25_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-25_09.00+mintimeout+original_gamelog/share/freeciv/../../bin/civserver
 core.4689
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-25_09.00+mintimeout+orig'.
Program terminated with signal 11, Segmentation fault.
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  0x0804ef72 in is_allowed_player_name (pplayer=0x81fc13c, nation=21, 
    name=0x83ffe00 "Samur Aselów", error_buf=0xbfffc3c0 "\034", bufsz=1024)
    at srv_main.c:1124
1124      if (!is_ascii_name(name)
(gdb) #0  0x0804ef72 in is_allowed_player_name (pplayer=0x81fc13c, nation=21, 
    name=0x83ffe00 "Samur Aselów", error_buf=0xbfffc3c0 "\034", bufsz=1024)
    at srv_main.c:1124
        name = 0x83ffe00 "Samur Aselów"
        error_buf = 0xbfffc3c0 "\034"
        other_player = (struct player *) 0xe
        PI_p_itr = 6
#1  0x0804f05e in handle_nation_select_req (pplayer=0x81fc13c, nation_no=21, 
    is_male=true, name=0x83ffe00 "Samur Aselów", city_style=0)
    at srv_main.c:1162
        pplayer = (struct player *) 0x81fc13c
        nation_no = 21
        is_male = false
        nation_used_count = 136298812
        message = "\034\0\0\0\0\0\0\0èÃÿ¿\0\223\t\b 
\0\030\b\030t-\b\0\0\0\0x¥7\bx¥7\b\034\0\0\0xÄÿ¿­\027\n\b 
\0\030\bðÄÿ¿\034\0\0\0\034\0\0\0\004\001ÅþTurlough 
O'CW\0\0\0\0\0\0\0HÄÿ¿+5\t\b0õ6\b0õ6\b\035\0\0\0\0\0\0\0\025\0\0\0\0\0\0\0[Îúö°¸-\b0õ6\b\0\0\0\0xÄÿ¿Å5\t\b°¸-\b0õ6\bxÄÿ¿¦\235\t\bÐÄÿ¿\002\0\0\0\001\0\0\0ÐÄÿ¿\034\0\0\0ÐÄÿ¿\bÕÿ¿Îy\f\b
 \0\030\bðÄÿ¿"...
#2  0x0806a98d in server_handle_packet (type=PACKET_NATION_SELECT_REQ, 
    packet=0x83ffdf8, pplayer=0x81fc13c, pconn=0x817deb0) at hand_gen.c:24
        packet = (void *) 0xe
        pplayer = (struct player *) 0x81fc160
        pconn = (struct connection *) 0x817deb0
#3  0x0804ed7e in handle_packet_input (pconn=0x817deb0, packet=0x83ffdf8, 
    type=10) at srv_main.c:1014
        packet = (void *) 0x83ffdf8
        type = 10
        pplayer = (struct player *) 0x81fc13c
#4  0x08086836 in sniff_packets () at sernet.c:627
        command_ok = 135782064
        packet = (void *) 0x83ffdf8
        type = PACKET_NATION_SELECT_REQ
        result = true
        i = 62
        max_desc = 135782064
        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 = 430000}
        year = 0
#5  0x0804fd2b in srv_loop () at srv_main.c:1783
        pplayer = (struct player *) 0x0
        PI_p_itr = 1
        flag = false
        i = 138411512
        start_nations = 136298848
#6  0x0804fa81 in srv_main () at srv_main.c:1670
No locals.
#7  0x0804a5f0 in main (argc=14, argv=0xbfffde54) at civserver.c:200
        argc = 14
        argv = (char **) 0xbfffde54
        inx = 14
        showhelp = false
        showvers = false
        option = 0x0
#8  0x400651c4 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
(gdb) [... 0 lines skipped ...]



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