# examining core.32746 in /games/486504/. ... # using $FREECIV_PATH :/home/freeciv/.freeciv/code/installed/cvs/S2_0/2005-09-23_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-23_16.00+mintimeout+original_gamelog/share/freeciv/../../bin/civserver core.32746 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-23_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 0x080dfb98 in unit_name (id=151958392) at unittype.c:240 240 return (unit_types[id].name); (gdb) #0 0x080dfb98 in unit_name (id=151958392) at unittype.c:240 id = -432884632 #1 0x080576a3 in player_restore_units (pplayer=0x820f244) at unittools.c:379 punit = (struct unit *) 0x891a180 _ids = (int (*)[0]) 0xbfffdef0 _i = 66 _size = 251 #2 0x0804e43f in end_phase () at srv_main.c:593 pplayer = (struct player *) 0x820f244 PI_p_itr = 2 #3 0x0804f932 in main_loop () at srv_main.c:1596 eot_timer = (struct timer *) 0x8441cc8 save_counter = 1 is_new_turn = true #4 0x0804fa8d in srv_main () at srv_main.c:1673 No locals. #5 0x0804a5f0 in main (argc=14, argv=0xbfffe454) at civserver.c:200 argc = 14 argv = (char **) 0xbfffe454 inx = 14 showhelp = false showvers = false option = 0xe632b468
#6 0x400651c4 in __libc_start_main () from /lib/libc.so.6 No symbol table info available. (gdb) [... 0 lines skipped ...]