# examining core.6019 in /games/1747545/. ... # using $FREECIV_PATH :/home/freeciv/.freeciv/code/installed/web/beta/freeciv-2.1.0-beta1+auth+min25/share/freeciv # running: (echo bt full; echo quit; exec yes '') | gdb /home/freeciv/.freeciv/code/installed/web/beta/freeciv-2.1.0-beta1+auth+min25/share/freeciv/../../bin/civserver core.6019 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/web/beta/freeciv-2.1.0-beta1+auth+min25/s'. Program terminated with signal 11, Segmentation fault. 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 save_ppm () at score.c:421 421 if (ptile->city) { (gdb) #0 save_ppm () at score.c:421 ptile = (struct tile *) 0x0 color = (int *) 0x0 filename = "civgame-4000.int.ppm\0O\026\b(Úÿ¿\fc\032@0Ùÿ¿\200O\026\b(Úÿ¿jU\017@\fc\032@\200M\026\bXÙÿ¿²`\017@pÙÿ¿\200M\026\b\177O\026\b\0\0\0\0\026\0\0\0·Ùÿ¿\bÛÿ¿\027£\025@pÛÿ¿¡Ùÿ¿\026\0\0\0éÿÿÿLinux\0\0\0\0\0\0\0jU\017@\fc\032@ b\027\b¨Ùÿ¿²`\017@ÀÙÿ¿ 396\037\202\027\b\0\0\0\0ÀÙÿ¿ b\027\b¸Úÿ¿\fc\032@ÀÙÿ¿ b\027\b¸Úÿ¿ù\017\017@ÀÙÿ¿ O\023\b"... tmpname = "civgame-4000.int.ppm\0Ýÿ¿\002\0\0\0\001\0\0\0\bÜÿ¿\0\0\0\0,\0\0\0ÿÿÿÿ\0\0\0\0.\0om the game!\0vis from 221.202.20.240 (player devis).\0\0\0\0\0\0\003\0\0\0\0\0\0\0«[ÛD\210Ö\035\025\0Øÿ¿À$\001@\006\0\0\0c\0\0\0®[ÛD\210Ö\035\025\0\0\0\0ÈK\005@Ìà\023\b\210r\0@\0\0\0\0\0\0\0\0\006\0\0\0\rl\0@«[ÛDåg\005\0\002\0\05Ï\2361\202"... fp = (FILE *) 0x843c670 i = 0 j = 0 col = {{255, 0, 0}, {0, 128, 0}, {255, 255, 255}, {255, 255, 0}, {138, 43, 226}, {255, 140, 0}, {0, 255, 255}, {139, 69, 19}, {211, 211, 211}, { 255, 215, 0}, {255, 20, 147}, {124, 252, 0}, {218, 112, 214}, {30, 144, 255}, {250, 128, 114}, {154, 205, 50}, {25, 25, 112}, {0, 255, 127}, {139, 0, 0}, {100, 149, 237}, {0, 128, 128}, {255, 192, 203}, {255, 250, 205}, { 119, 136, 153}, {255, 127, 80}, {255, 0, 255}, {128, 128, 0}, {245, 222, 179}, {184, 134, 11}, {173, 216, 230}, {102, 205, 170}, {255, 165, 0}} watercol = {0, 0, 255} landcol = {0, 0, 0} #1 0x0804f7f9 in save_game_auto (save_reason=0x813ddbf "Lost all connections") at srv_main.c:845 filename = "civgame-4000.sav\0Üÿ¿àÛÿ¿ØÛÿ¿T½\b\b\005\0\0\0`Üÿ¿\0\0\0\0àÛÿ¿ØÛÿ¿½r\024\bèÛÿ¿h\025H\b5\0\0\0P\003\0\0øÛÿ¿¯\177\t\b°nE\b ç\230\b", '\0' , "\220\020F\b\\\036%\b\bÝÿ¿¶8\017@\\\036%\b ª\027\b\210Ýÿ¿\fc\032@\0;\032@\0\0\0\0XÝÿ¿A¤\016@\0;\032@\0\0\0\0b\0\0\0ÆÙ\004\b8Ýÿ¿\0\0\0\0hÝÿ¿\0\0\0\0 \005\026\b,\0\0\0\032\\ÛD¯ï\a\0 \005\026\b\030\026"... #2 0x0808ad65 in sniff_packets () at sernet.c:494 myiter = (struct genlist_link *) 0x44db5bdd pconn = (struct connection *) 0x0 last_noplayers = 1155226589 connections = 1 i = 0 max_desc = 1155226589 readfs = {__fds_bits = {0 }} writefs = {__fds_bits = {0 }} exceptfs = {__fds_bits = {0 }} tv = {tv_sec = 0, tv_usec = 0} year = 0 #3 0x08050afd in srv_loop () at srv_main.c:1813 pplayer = (struct player *) 0x0 PI_p_itr = 0 PI_p_itr = -1073749240 PI_p_itr = -1073749084 #4 0x0805098b in srv_main () at srv_main.c:1745 pplayer = (struct player *) 0x0 PI_p_itr = 0 #5 0x0804a87c in main (argc=16, argv=0xbfffe3a4) at civserver.c:263 argv = (char **) 0xbfffe3a4 inx = 16 showhelp = 0 showvers = 0 option = 0x0 #6 0x4009b1c4 in __libc_start_main () from /lib/libc.so.6 No symbol table info available. (gdb) [... 0 lines skipped ...]