# examining core.8067 in /games/556827/. ... # using $FREECIV_PATH :/home/freeciv/.freeciv/code/installed/cvs/S2_0/2006-01-03_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-03_16.00+mintimeout+auth/share/freeciv/../../bin/civserver core.8067 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-03_16.00+mintimeout+auth'. 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 calc_unit_ordering () at savegame.c:2969 2969 unit_list_iterate(ptile->units, punit) { (gdb) #0 calc_unit_ordering () at savegame.c:2969 myiter = (struct genlist_link *) 0x0 ptile = (struct tile *) 0x0 _index = 0 j = 136606672 #1 0x08085d44 in game_save (file=0xbfffd440) at savegame.c:3821 pplayer = (struct player *) 0x0 PI_p_itr = 0 file = (struct section_file *) 0xbfffd440 i = 136606672 options = "startoptions spacerace2 rulesets diplchance_percent worklists2 map_editor known32fix turn attributes watchtower rulesetdir client_worklists orders startunits turn_last_built improvement_order technolo"... temp = '0' , "\0\0\0\0þÿÿÿ\0\0s ", '\0' , "mAs \0\0\0\0ÿÿÿÿãýÿÿ", '\0' , " \037\025\b\n\0\0\0\036\002\0\0\0\0\0\0÷Ôÿ¿\0\0\0\0\0\0\0\0\205 \021\b\030Ðÿ¿lÖÿ¿\0\0\0\0\005\0\0\0èÔÿ¿\0\0\0\0´" #2 0x0804e2b0 in save_game (orig_filename=0xbfffd6f0 "civgame-4000.sav") at srv_main.c:722 orig_filename = 0x0 filename = "civgame-4000\0sav\0Ôÿ¿àÃ\023\b\210Õÿ¿jU\017@\fc\032@àÁ\023\b¸Ôÿ¿²`\017@ÐÔÿ¿àÁ\023\bßÃ\023\b\0\0\0\0\026\0\0\0\027Õÿ¿hÖÿ¿\027£\025@ÐÖÿ¿\001Õÿ¿\026\0\0\0éÿÿÿLinux\0\0\0\0\0\0\0jU\017@\fc\032@ ÿ\024\b\bÕÿ¿²`\017@ Õÿ¿ 542\037\037\025\b\0\0\0\0 Õÿ¿ ÿ\024\b\030Öÿ¿\fc\032@ Õÿ¿ ÿ\024\b\030Öÿ¿ù\017\017@ Õÿ¿\200 \021\b\200Öÿ¿ ÿ\024\b\001\200­û ÿ\024\b"... file = {filename = 0x0, num_entries = 103, sections = 0x82f0660, hashd = 0x0, sb = 0x83432a8} timer_cpu = (struct timer *) 0x82d6ee8 timer_user = (struct timer *) 0x836f5b8 #3 0x0804e44d in save_game_auto () at srv_main.c:769 filename = "civgame-4000.sav\0\0\0\0À×ÿ¿\0\0\0\0@×ÿ¿8×ÿ¿|\\\022\b\200Øÿ¿9ÿ\026\b\001\200­û9ÿ\026\b9ÿ\026\b9ÿ\026\b9ÿ\026\bEÿ\026\b", '\0' , "°L\025\b°L\025\bèØÿ¿¶8\017@°L\025\b°L\025\b¨Z\0\0\fc\032@\0;\032@\0\0\0\0¸Øÿ¿A¤\016@\0;\032@\0\0\0\0\200 \036\bÂ<\t\b\230Øÿ¿\0\0\0\0ÈØÿ¿\0\0\0\0\0\205\023\b,\0\0\0ùæ¼CG'\0\0\0\205\023\bp\025(\bÈØÿ¿°=\t\bp\025(\b\0\0"... #4 0x08087091 in sniff_packets () at sernet.c:406 last_noplayers = 1136453308 i = -1 max_desc = 1 readfs = {__fds_bits = {0 }} writefs = {__fds_bits = {0 }} exceptfs = {__fds_bits = {0 }} tv = {tv_sec = 0, tv_usec = 0} year = 0 #5 0x0804f807 in srv_loop () at srv_main.c:1771 pplayer = (struct player *) 0x0 PI_p_itr = 0 flag = false i = 0 start_nations = false #6 0x0804f555 in srv_main () at srv_main.c:1657 No locals. #7 0x0804a18c in main (argc=16, argv=0xbfffdee4) at civserver.c:208 argc = 16 argv = (char **) 0xbfffdee4 inx = 16 showhelp = false showvers = false option = 0x0 #8 0x4009b1c4 in __libc_start_main () from /lib/libc.so.6 No symbol table info available. (gdb) [... 0 lines skipped ...]