# examining core.23867 in /games/557441/. ... # using $FREECIV_PATH :/home/freeciv/.freeciv/code/installed/cvs/S2_0/2006-01-03_16.00+mintimeout/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/share/freeciv/../../bin/civserver core.23867 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/shar'. 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 calc_unit_ordering () at savegame.c:2969 in savegame.c (gdb) #0 calc_unit_ordering () at savegame.c:2969 myiter = (struct genlist_link *) 0x0 ptile = (struct tile *) 0x0 _index = 0 j = 136598224 #1 0x08085584 in game_save (file=0xbfffe490) at savegame.c:3821 pplayer = (struct player *) 0x0 PI_p_itr = 0 file = (struct section_file *) 0xbfffe490 i = 136598224 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\002\0\0\0\002\0s ", '\0' , "Í+s \0\0\0\0ÿÿÿÿ\0þÿÿ", '\0' , " þ\024\b\n\0\0\0\001\002\0\0\0\0\0\0Gåÿ¿\0\0\0\0\0\0\0\0e\a\021\bhàÿ¿¼æÿ¿\002\0\0\0\005\0\0\08åÿ¿\0\0\0\0\227" #2 0x0804df68 in save_game (orig_filename=0xbfffe740 "civgame-4000.sav") at srv_main.c:722 orig_filename = 0x0 filename = "civgame-4000\0sav\0åÿ¿à¢\0232ߤ\023\bjõ\v@\f\003\027@à \023\b\båÿ¿²\0\f@ åÿ¿à \023\bߢ\023\b\0\0\0\0\026\0\0\0gåÿ¿¸æÿ¿\027C\022@ çÿ¿Qåÿ¿\026\0\0\0éÿÿÿLinux\0\0\0\0\0\0\0jõ\v@\f\003\027@ Þ\024\bXåÿ¿²\0\f@påÿ¿ 513\037þ\024\b\0\0\0\0påÿ¿ Þ\024\bhæÿ¿\f\003\027@påÿ¿ Þ\024\bhæÿ¿ù¯\v@påÿ¿`\a\021\bÐæÿ¿ Þ\024\b\001\200­û Þ\024\b"... file = {filename = 0x0, num_entries = 103, sections = 0x84559b0, hashd = 0x0, sb = 0x8281550} timer_cpu = (struct timer *) 0x8484bf0 timer_user = (struct timer *) 0x83eebc0 #3 0x0804e105 in save_game_auto () at srv_main.c:769 filename = "civgame-4000.sav\0\0\0\0\020èÿ¿\0\0\0\0\220çÿ¿\210çÿ¿øB\022\bÄèÿ¿ Þ\026\b\001\200­û Þ\026\b Þ\026\b Þ\026\b Þ\026\b_Þ\026\b", '\0' , "`2\025\b`2\025\b8éÿ¿¶Ø\v@`2\025\b`2\025\bØèÿ¿\f\003\027@\0Û\026@\0\0\0\0\béÿ¿AD\v@\0Û\026@cÓ\020\bèèÿ¿\0025\t\bèèÿ¿\0\0\0\0\030éÿ¿\0\0\0\0@d\023\b,\0\0\0­\234¿C\203=\b\0@d\023\bpô'\b\030éÿ¿ð5\t\bpô'\b\0\0"... #4 0x080868d1 in sniff_packets () at sernet.c:406 last_noplayers = 1136630896 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 0x0804f4bf in srv_loop () at srv_main.c:1771 pplayer = (struct player *) 0x0 PI_p_itr = 0 flag = false i = 0 start_nations = false #6 0x0804f20d in srv_main () at srv_main.c:1657 No locals. #7 0x08049e44 in main (argc=13, argv=0xbfffef34) at civserver.c:208 argc = 13 argv = (char **) 0xbfffef34 inx = 13 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 ...]