# examining core.32343 in /games/557736/. ... # using $FREECIV_PATH :/home/freeciv/.freeciv/code/installed/cvs/S2_0/2006-01-08_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-08_16.00+mintimeout+auth/share/freeciv/../../bin/civserver core.32343 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-08_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=0xbfffe9c0) at savegame.c:3821 pplayer = (struct player *) 0x0 PI_p_itr = 0 file = (struct section_file *) 0xbfffe9c0 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\0\0\0\0\0s ", '\0' , "mAs \0\0\0\0ÿÿÿÿdýÿÿ", '\0' , " \037\025\b\n\0\0\0\235\002\0\0\0\0\0\0wêÿ¿\0\0\0\0\0\0\0\0\205 \021\b\230åÿ¿ìëÿ¿\0\0\0\0\005\0\0\0hêÿ¿\0\0\0\03" #2 0x0804e2b0 in save_game (orig_filename=0xbfffec70 "civgame-4000.sav") at srv_main.c:722 orig_filename = 0x0 filename = "civgame-4000\0sav", '\0' , "jU\017@\fc\032@àÁ\023\b8êÿ¿²`\017@Pêÿ¿àÁ\023\bßÃ\023\b\0\0\0\0\026\0\0\0\227êÿ¿èëÿ¿\027£\025@Pìÿ¿\201êÿ¿\026\0\0\0éÿÿÿLinux\0\0\0\0\0\0\0jU\017@\fc\032@ ÿ\024\b\210êÿ¿²`\017@ êÿ¿ 669\037\037\025\b\0\0\0\0 êÿ¿ ÿ\024\b\230ëÿ¿\fc\032@ êÿ¿ ÿ\024\b\230ëÿ¿ù\017\017@ êÿ¿\200 \021\b\0ìÿ¿ ÿ\024\b\001\200­û ÿ\024\b ÿ"... file = {filename = 0x0, num_entries = 103, sections = 0x82fc438, hashd = 0x0, sb = 0x82fc8c8} timer_cpu = (struct timer *) 0x82d6610 timer_user = (struct timer *) 0x82f9680 #3 0x0804e44d in save_game_auto () at srv_main.c:769 filename = "civgame-4000.sav\0\0\0\0@íÿ¿\0\0\0\0Àìÿ¿¸ìÿ¿", '\0' , "À`\025\bÀ`\025\bhîÿ¿¶8\017@À`\025\bÀ`\025\b\0\0\0\0\fc\032@\0;\032@\0\0\0\08îÿ¿A¤\016@\0;\032@\210o$\b\001\0\0\0Â<\t\b\030îÿ¿\0\0\0\0Hîÿ¿\0\0\0\0\0\205\023\b,\0\0\0\201îÀC\020K\v\0\0\205\023\bp\025(\bHîÿ¿°=\t\bp\025(\b\0\0\0\0Xîÿ¿àðÿ¿à\032\0\0\001\0\0\0hîÿ¿Uÿ\006\bp\025(\b\020¬\001\0\003\0"... #4 0x08087091 in sniff_packets () at sernet.c:406 last_noplayers = 1136717380 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 = 2 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=0xbffff464) at civserver.c:208 argc = 16 argv = (char **) 0xbffff464 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 ...]