# examining core.7927 in /games/1772676/. ... # 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.7927 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òÿ¿h\0\0\0\001\0\0\0\bñÿ¿\0\0\0\0,\0\0\0ÿÿÿÿ\0\0\0\0me.\0 the game!\0rtoff from bas3-sherbrooke40-1177645880.dsl.bell.ca (player Xartoff).\0\0\0\0£\0\0\0tìÿ¿&\0\0\0Xìÿ¿ÝÓ\004\btìÿ¿@Ö\022\bXìÿ¿M\202\n\bÌ°\027\b\001\0\001\0¨\213 Epìÿ¿Ì°\027\b!\214 E"... 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àðÿ¿Øðÿ¿\0\0\0\0/\001\0\0\206{\017@\0\0\0\0È\036F\bèðÿ¿÷×\004\bÈ\036F\b\001", '\0' , "ÆÙ\004\b8òÿ¿\0\0\0\0 ?\032@\0\0\0\0Ì°\027\bpòÿ¿^\214 E\003#\002\0Ì°\027\b\030\0269\bhòÿ¿´Ú\004\b\030\0269\b\001\0\0\0\210òÿ¿\201¬\b\b\177P\005\0\001\0\0\0\210òÿ¿i\030\a\b\030\0269\bÿÿÿÿ\006\0\0\0.±\b" #2 0x0808ad65 in sniff_packets () at sernet.c:494 myiter = (struct genlist_link *) 0x45208c21 pconn = (struct connection *) 0x0 last_noplayers = 1159760929 connections = 1 i = 0 max_desc = 1159760929 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 = -1073743864 PI_p_itr = -1073743708 #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=0xbffff8a4) at civserver.c:263 argv = (char **) 0xbffff8a4 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 ...]