# examining core.2590 in /games/484377/. ... # using $FREECIV_PATH :/home/freeciv/.freeciv/code/installed/cvs/S2_0/2005-09-19_16.00+mintimeout+original_gamelog/share/freeciv # running: (echo bt full; echo quit; exec yes '') | gdb /home/freeciv/.freeciv/code/installed/cvs/S2_0/2005-09-19_16.00+mintimeout+original_gamelog/share/freeciv/../../bin/civserver core.2590 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-09-19_16.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 0x0805359f in debug_command (caller=0x0, str=0xbfffd420 "", check=false) at stdinhand.c:2257 2257 if (strcmp(arg[0], "player") == 0) { (gdb) #0 0x0805359f in debug_command (caller=0x0, str=0xbfffd420 "", check=false) at stdinhand.c:2257 str = 0xbfffcde0 "" buf = "\0\0\0\0\004\0\0\0ج\035@Zielona Góra", '\0' , "\005\0\0\0\0\0\0\0\001\0\0\0\001\0\0\0\001\0\0\0\001\0\0\0\001", '\0' , "\002\0\0\0\002\0\0\0\002\0\0\0\002\0\0\0\002", '\0' , "\001\0\0\0\0\0\0\0\001", '\0' , "\n\0\0\0\0\0\0\0\005", '\0' , "\004\0\0\0\0\0\0\0\004\0\0\0d\0\0\0d\0\0\0d\0\0\0È\0\0\0\002", '\0' , "\222\0\0\0\0\0\0\0\035\005õá\0\0\0\0(", '\0' ... arg = {0x0, 0x1
, 0x27
} ntokens = 0 i = 0 #1 0x08055a63 in handle_stdin_input (caller=0x0, str=0x8160680 "d", check=false) at stdinhand.c:3476 str = 0xffffffff
command = "d", '\0' , "\004\0\0\0\001\0\0\0\006", '\0' , "(\0\0\0\0\0\0\0J\0\0\0(\0\0\0\0\0\0\0jõ\v@\f\003\027@\200÷\025\b\230Öÿ¿²\0\f@°Öÿ¿\200÷25\237÷\025\b\0\0\0\0°Öÿ¿\200÷\025\b¨×ÿ¿\f\003\027@°Öÿ¿\200÷\025\b¨×ÿ¿ù¯\v@°Öÿ¿éò\020\b\0Øÿ¿\200÷\025\b\001\200­û\200÷\025\b\200÷\025\b\200÷\025\b\200÷\025\b\205÷\025\b\237÷\025\b\200÷\025\b\237÷\025\b", '\0' , "\b×ÿ¿£Ø\t\b\210F*\b\0\0\0¿\0\0\0\0"... arg = "\0\0\0\0/\0\0\09\0\0\0(\r3\b\214\0\0\0\003\0\0\0\002\0\0\0\0\0\0\0\210F*\b`Ôÿ¿¼$!\b\0%E\b(\r3\b\220U}\b\210Ôÿ¿¢À\t\b\0\0\0\0\001\0\0\0¼$!\b(\r3\bÈ\0\0\0\0\0\0\0\230Ôÿ¿IP\t\b\002\0\0\0\002\0\0\0¸Ôÿ¿\225Î\004\b\001\r3\bC\0\0\0¸Ôÿ¿\204X\t\bC\0\0\0\004\0\0\0øÔÿ¿4\r3\bÐ\"#\200\0\0ÿ¿ØÔÿ¿´Ó\n\b \233\027\bC\0\0\0\004\0\0\0\0\0\0\0`Õÿ¿`Õÿ¿øÔÿ¿*Ô\n\b \233\027\b`Õÿ¿"... allargs = '\0' , "·×ÿ¿\n\0\0\0\001\0\0\0ú", '\0' , "[ê\021\bèÒÿ¿\bØÿ¿\0\0\0\0\004\0\0\0¸×ÿ¿\0\0\0\0\017\0\0\0ÿÿÿÿ", '\0' , "gê\021\b", '\0' , "3\0\0\0\a\0\0\0\030Óÿ¿\204X\t\b\a\0\0\0/\0\0\08Óÿ¿Ìº\t\bÜZ \b/\0\0\08Óÿ¿\204X\t\b\0\0\0\0È\0\0\0HÓÿ¿ëÛ\t\b3\0\0\0\a\0\0\0XÓÿ¿\204X\t\b\a\0\0\0/\0\0\0xÓÿ¿Ìº\t\b¼$!\b/\0\0\0xÓÿ"... full_command = "d\0ÿ¿pÑÿ¿8Ñÿ¿ù¯\v@@Ðÿ¿}d\021\bè×ÿ¿pÑÿ¿\001\200­ûpÑÿ¿pÑÿ¿jõ\v@\f\003\027@ÐÑÿ¿\210Ðÿ¿²\0\f@ Ðÿ¿ÐÑÿ4Ï×ÿ¿\0\0\0\0 Ðÿ¿ÐÑÿ¿\230Ñÿ¿\f\003\027@ Ðÿ¿ÐÑÿ¿\230Ñÿ¿ù¯\v@ Ðÿ¿\0\025\021\bHØÿ¿ÐÑÿ¿\001\200­ûÐÑÿ¿ÐÑÿ¿ÐÑÿ¿ÐÑÿ¿ýÑÿ¿Ï×ÿ¿ÐÑÿ¿Ï×ÿ¿", '\0' , ":Þ\v@", '\0' , "gê\021\bÿÿÿÿ\001\0\0\0"... cptr_s = 0x8160681 "" cptr_d = 0xffffffff
i = -1 cmd = CMD_DEBUG #2 0x08050338 in check_vote (vote=0x8160680) at stdinhand.c:242 i = -1 num_voters = 4 #3 0x08050391 in stdinhand_turn () at stdinhand.c:262 i = 25 #4 0x0804e69f in end_turn () at srv_main.c:666 pplayer = (struct player *) 0x8447a68 PI_p_itr = 134600330 #5 0x0804f937 in main_loop () at srv_main.c:1597 eot_timer = (struct timer *) 0x8447a68 save_counter = 1 is_new_turn = true #6 0x0804fa8d in srv_main () at srv_main.c:1673 No locals. #7 0x0804a5f0 in main (argc=14, argv=0xbfffd9d4) at civserver.c:200 argc = 14 argv = (char **) 0xbfffd9d4 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 ...]