# examining core.20669 in /games/488163/. ... # using $FREECIV_PATH :/home/freeciv/.freeciv/code/installed/cvs/S2_0/2005-09-27_16.00+mintimeout+original_gamelog/share/freeciv # running: (echo bt full; echo quit; exec yes '') | gdb /home/freeciv/.freeciv/code/installed/cvs/S2_0/2005-09-27_16.00+mintimeout+original_gamelog/share/freeciv/../../bin/civserver core.20669 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/2005-09-27_16.00+mintimeout+orig'. 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 map_has_special (ptile=0x40, special=S_HUT) at map.c:1313 1313 return contains_special(ptile->special, special); (gdb) #0 map_has_special (ptile=0x40, special=S_HUT) at map.c:1313 ptile = (struct tile *) 0x40 special = 139712656 #1 0x080f0449 in ai_rampage_want (punit=0x401f86e8, ptile=0x40) at aiunit.c:651 pcity = (struct city *) 0x40 pplayer = (struct player *) 0x821bc24 pdef = (struct unit *) 0x0 #2 0x080f0449 in ai_rampage_want (punit=0x853d890, ptile=0x401f86e8) at aiunit.c:651 pcity = (struct city *) 0x40 pplayer = (struct player *) 0x821bc24 pdef = (struct unit *) 0x89e4180 #3 0x080f0505 in find_rampage_target (punit=0x853d890, thresh_adj=1, thresh_move=1) at aiunit.c:698 pos = {tile = 0x401f86e8, turn = -1, moves_left = -1, total_MC = 8, total_EC = 0, dir_to_next_pos = 4294967295, dir_to_here = DIR8_SOUTHEAST} want = 0 move_needed = true thresh = 64 tgt_map = (struct pf_map *) 0x89e4180 path = (struct pf_path *) 0x0 parameter = {start_tile = 0x40201928, moves_left_initially = 9, move_rate = 9, owner = 0x821bc24, unit_flags = {vec = "\0\0\0\0\0\0\0"}, omniscience = true, turn_mode = TM_CAPPED, get_MC = 0x80f76e8 , get_TB = 0, get_EC = 0, get_zoc = 0x80dec60 , is_pos_dangerous = 0, get_costs = 0, data = 0xbfffe538} ptile = (struct tile *) 0x40201928 max_want = 0 pplayer = (struct player *) 0x821bc24 #4 0x080f066e in ai_military_rampage (punit=0x853d890, thresh_adj=1, thresh_move=1) at aiunit.c:753 punit = (struct unit *) 0x853d890 thresh_adj = 1 count = 9 path = (struct pf_path *) 0x0 #5 0x080f28ec in ai_military_attack (pplayer=0x821bc24, punit=0x853d890) at aiunit.c:1769 punit = (struct unit *) 0x853d890 dest_tile = (struct tile *) 0x0 id = 1814 ct = 136428580 pcity = (struct city *) 0x821bc24 #6 0x080f3006 in ai_manage_military (pplayer=0x821bc24, punit=0x853d890) at aiunit.c:2048 pplayer = (struct player *) 0x821bc24 punit = (struct unit *) 0x853d890 id = 1814 #7 0x080f3646 in ai_manage_units (pplayer=0x821bc24) at aiunit.c:2213 _size = 198 #8 0x0804e1d3 in ai_start_turn () at srv_main.c:464 pplayer = (struct player *) 0x40 i = 2 #9 0x0804e35e in begin_phase (is_new_phase=true) at srv_main.c:545 is_new_phase = false pplayer = (struct player *) 0x822538c PI_p_itr = 11 #10 0x0804f8b3 in main_loop () at srv_main.c:1554 eot_timer = (struct timer *) 0x8451d98 save_counter = 1 is_new_turn = true #11 0x0804fa8d in srv_main () at srv_main.c:1673 No locals. #12 0x0804a5f0 in main (argc=14, argv=0xbfffea54) at civserver.c:200 argc = 14 argv = (char **) 0xbfffea54 inx = 14 showhelp = false [... 5 lines skipped ...] showvers = false option = 0x40
#13 0x400651c4 in __libc_start_main () from /lib/libc.so.6 No symbol table info available. (gdb)