# examining core.30847 in /games/558666/. ... # using $FREECIV_PATH :/home/freeciv/.freeciv/code/installed/cvs/S2_0/2006-01-10_16.00+mintimeout+auth/share/freeciv # running: (echo bt full; echo quit; exec yes '') | gdb /home/freeciv/.freeciv/code/installed/cvs/S2_0/2006-01-10_16.00+mintimeout+auth/share/freeciv/../../bin/civserver core.30847 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/2006-01-10_16.00+mintimeout+auth'. Program terminated with signal 6, Aborted. Reading symbols from /usr/lib/mysql/libmysqlclient.so.10...done. Loaded symbols for /usr/lib/mysql/libmysqlclient.so.10 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/libcrypt.so.1...done. Loaded symbols for /lib/libcrypt.so.1 Reading symbols from /lib/libnsl.so.1...done. Loaded symbols for /lib/libnsl.so.1 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/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 0x400ac0a1 in kill () from /lib/libc.so.6 (gdb) #0 0x400ac0a1 in kill () from /lib/libc.so.6 No symbol table info available. #1 0x400abe99 in raise () from /lib/libc.so.6 No symbol table info available. #2 0x400ad364 in abort () from /lib/libc.so.6 No symbol table info available. #3 0x400a615d in __assert_fail () from /lib/libc.so.6 No symbol table info available. #4 0x0804ba1a in real_die () at shared.c:675 format = 0x81133e0 "player had a connection attached that didn't belong to it!" #5 0x08072a09 in server_remove_player (pplayer=0x81f1cd4) at plrhand.c:1807 pplayer = (struct player *) 0x81f1cd4 myiter = (struct genlist_link *) 0x0 #6 0x08050d67 in remove_player (caller=0x0, arg=0xbfffbf00 "d00", check=false) at stdinhand.c:976 caller = (struct connection *) 0x0 arg = 0xbfffbaa0 "d00758721" match_result = M_PRE_ONLY pplayer = (struct player *) 0x81f1cd4 name = "d00758721\0ÿÿ\005W\020\bغÿ¿\004Æ\023\b\003\0\0\0\004\0\0" #7 0x080554bb in handle_stdin_input (caller=0x0, str=0x813c600 "rem d00", check=false) at stdinhand.c:3445 str = 0x0 command = "rem\0\200Ãÿ¿8Áÿ¿\004\220\023\b\b\0\0\0\200Ãÿ¿HÁÿ¿\224\002\005\b\006\0\0\0pg\025\b\0\0\0\064\020\bÀX\020\b`Áÿ¿\230Åÿ¿\004\220\023\b\b\0\0\0\200Ãÿ¿\230Åÿ¿à*\005\b\006\0\0\0pg\025\b\0\0\0\0ÀX\020\b Human, Ð\026\0\0T¤\023\b\0\0\0\0\0\0\0\0%\0\0\0I\0\0\0d00", '\0' , "\t\n", '\0' , " ", '\0' , ",", '\0' , 'ÿ' , '\0' , "ÿÿÿÿ\003"... arg = "d00\0\0\006\0\0ØV\020\bÐt\025\b\0\0\0\0\0\0\0\0XÅÿ¿b!\a\bÐt\025\b0¿ÿ¿ØV\020\b\230Åÿ¿New vote, no. 1, by Turbo: rem d×V\020\b", '\0' , "jU\017@d00\0PÃÿ¿¸¿ÿ¿²`\017@пÿ¿PÃÿ¿OÅÿ¿jU\017@\fc\032@\235Ãÿ¿Ø¿ÿ¿²`\017@ð¿ÿ¿\235Ãÿ¿\177Åÿ¿\0\0\0\0ð¿ÿ¿\235Ãÿ¿èÀÿ¿\fc\032@ð¿ÿ¿\235Ãÿ¿èÀÿ¿ù\017\017@ð¿ÿ¿IS"... allargs = "d00\0À`\025\bÈ\0\0\064\020\b\200½ÿ¿@½ÿ¿\230Åÿ¿\200½ÿ¿\001\0\0\0Ä\201\037\b\230Åÿ¿µ?\005\b\025\0\0\0À`\025\bÈ\0\0\0\200½ÿ¿X½ÿ¿T½ÿ¿\0\0\0\0À`\025\b\0\0\0\0\200Áÿ¿\230Åÿ¿ÆL\017@\0F\025\b\200Áÿ¿\0\0\0\0\fc\032@\001\0\0\0ÖV\020\bHÄÿ¿\232\021\r@`Äÿ¿ÖV\020\b\001\0\0\0ÕV\020\b observe globally in this game.\0à=\r@0¿ÿ¿è½ÿ¿²`\017@\0¾ÿ¿0¿ÿ1"... full_command = "rem d00", '\0' , "jU\017@\fc\032@°¼ÿ¿h»ÿ¿²`\017@\200»ÿ¿°¼ÿ3¯Âÿ¿\0\0\0\0\200»ÿ¿°¼ÿ¿x¼ÿ¿\fc\032@\200»ÿ¿°¼ÿ¿x¼ÿ¿ù\017\017@\200»ÿ¿`Z\020\b(Ãÿ¿°¼ÿ¿\001\200­û°¼ÿ¿°¼ÿ¿°¼ÿ¿°¼ÿ¿ã¼ÿ¿¯Âÿ¿°¼ÿ¿¯Âÿ¿", '\0' , "ÿÿÿÿ", '\0' , "\t\n", '\0' , " \0\0\0\0\0\0\0à6\032@", '\0' , "\006\0\0°¼"... cptr_s = 0x0 cptr_d = 0x0 i = 0 cmd = CMD_REMOVE #8 0x0804ff08 in check_vote (vote=0x813c600) at stdinhand.c:242 i = -1 num_voters = 3 #9 0x08053085 in vote_command (caller=0x81574d0, str=0xbfffc9c0 "yes", check=false) at stdinhand.c:2223 str = 0x84acbf8 "è?\032@è?\032@r: shared.c:675: real_die: Assertion `false' failed.\n" buf = "yes\0mass 20 (15,85) Percentage of the map that is land", '\0' , "jU\017@\fc\032@àÃ\023\bHÄÿ¿²`\017@`Äÿ¿àÃ\023\bßÅ\023\b\0\0\0\0`Äÿ¿àÃ\023\bXÅÿ¿\fc\032@`Äÿ¿àÃ\023\bXÅÿ¿ù\017\017@`Äÿ¿ÏV\020\b°Åÿ¿àÃ\023\b\001\200­ûàÃ\023\bàÃ\023\bàÃ\023\bàÃ\023\bïÃ\023\bßÅ\023\bàÃ\023\bßÅ\023"... arg = {0x84b95a0 "yes", 0x296461
, 0x6d6d6f63
} ntokens = 1 i = -1 res = false #10 0x080557a7 in handle_stdin_input (caller=0x81574d0, str=0x83683b8 "/vo yes", check=false) at stdinhand.c:3518 str = 0x2
command = "vo", '\0' , "jU\017@\fc\032@°Ôÿ¿XÌÿ¿²`\017@pÌÿ¿°Ôÿ¿ùÔÿ¿jU\017@\fc\032@°Îÿ¿xÌÿ¿²`\017@\220Ìÿ¿°Îÿ¿¯Ôÿ¿\0\0\0\0\220Ìÿ¿°Îÿ¿\210Íÿ¿ÆL\017@\220Ìÿ¿°Îÿ¿\0\0\0\0\fc\032@\0\0\0\0uN\020\bXÓÿ¿\232\021\r@pÓÿ¿uN\020\b\0\0\0\0tN\020\b°Îÿ¿ÊÎÿ¿¯Ôÿ¿°Îÿ¿¯Ôÿ¿", '\0' , "à=\r@\0\0\0\0\0\0\0\0ÿÿÿÿ", '\0' ... arg = "yes", '\0' allargs = "yes\0", '?' , '\0' full_command = "vo yes", '\0' , "à=\r@", '\0' , "s \0\0\0\0ÿÿÿÿïÿÿÿ", '\0' , "s \0\0\0\0ÿÿÿÿúÿÿÿ", '\0' , "\210²B\b¼Íÿ¿\0\0\0\0\001\0\0\08Ìÿ¿\0\0\0\0\0\0\0\0d\023\021\b\210Çÿ¿ÜÍÿ¿\0\0\0\0\002\0\0\0XÌÿ¿\0\0\0\0\032\0\0\0ÿÿÿÿ", '\0' , "hÇÿ¿ÑÄ\n\bÐt\025\b\032\0\0\0\210Çÿ¿\0\0\0\0 Çÿ¿ Çÿ¿\210Çÿ¿JÅ\n\bÐt\025\b Çÿ¿"... cptr_s = 0x0 cptr_d = 0x2
i = 2 cmd = CMD_VOTE #11 0x0806affb in handle_chat_msg_req (pconn=0x81574d0, message=0x83683b8 "/vo yes") at handchat.c:175 sender_name = "\0\0\0\0\0\0\0\0¢¬\023\b\fc\032@\0;\032@\0\0\0\0\030Õÿ¿A¤\016@\0;\032@ ¬\023\bøÔÿ¿ú¸\t\b\020Õÿ¿\002\0\0\0\001\0\0\0\020Õÿ¿\003\0\0\00Õÿ¿Hå" chat = " start \0", '?' , "\"-\023\b????\0\0\0\0\0\0\0\0??\0\b@Ïÿ¿÷\001\0\0ú¸\t\b°Ôÿ¿\002\0\0\0øÔÿ¿°Ôÿ¿°Ôÿ¿°Ôÿ¿øÔÿ¿y3\n\b\0F\025\b@Ïÿ¿÷\001\0\0÷\001\0\0x\234µ\224ÝkÛ0\024ÅUú´×>ïá¾¥\201Xµ\022;q2\n\vi¡\203\225\225\2222(Û\203b)Î]lÉHrJöÀÏÿ¿@Ðÿ¿@Ðÿ¿\002­\t\b\034\0\0\0\034\0\0\0ØÐÿ¿\034®\t\bðt\025"... cp = 0x83683bf "" #12 0x0804e77d in handle_packet_input (pconn=0x81574d0, packet=0x83683b8, type=19) at srv_main.c:949 packet = (void *) 0x84acbf8 type = 19 pplayer = (struct player *) 0x81574d0 #13 0x0808770e in sniff_packets () at sernet.c:634 command_ok = 135623888 [... 28 lines skipped ...] packet = (void *) 0x83683b8 type = PACKET_CHAT_MSG_REQ result = true i = 56 max_desc = 135623888 readfs = {__fds_bits = {4096, 0 }} writefs = {__fds_bits = {0 }} exceptfs = {__fds_bits = {0 }} tv = {tv_sec = 0, tv_usec = 800000} year = 0 #14 0x0804f807 in srv_loop () at srv_main.c:1771 pplayer = (struct player *) 0x0 PI_p_itr = 5 flag = false i = 139119608 start_nations = 6 #15 0x0804f555 in srv_main () at srv_main.c:1657 No locals. #16 0x0804a18c in main (argc=16, argv=0xbfffeb64) at civserver.c:208 argc = 16 argv = (char **) 0xbfffeb64 inx = 16 showhelp = false showvers = false option = 0x0 #17 0x4009b1c4 in __libc_start_main () from /lib/libc.so.6 No symbol table info available. (gdb)