# examining core.2792 in /games/607416/. ... # using $FREECIV_PATH :/home/freeciv/.freeciv/code/installed/web/stable/freeciv-2.0.8+mintimeout-S2_0+auth/share/freeciv # running: (echo bt full; echo quit; exec yes '') | gdb /home/freeciv/.freeciv/code/installed/web/stable/freeciv-2.0.8+mintimeout-S2_0+auth/share/freeciv/../../bin/civserver core.2792 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/web/stable/freeciv-2.0.8+mintimeout-S2_0+'. 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 improvement_redundant (pplayer=0x81f8644, pcity=0x84bd170, id=37, want_to_build=true) at improvement.c:317 317 Impr_Status stat = equiv_list[i][*ept]; (gdb) #0 improvement_redundant (pplayer=0x81f8644, pcity=0x84bd170, id=37, want_to_build=true) at improvement.c:317 stat = 112 'p' id = 37 i = IR_CITY equiv_list = {0x0, 0x84bd270 "", 0x84ce7f4 "", 0x81fb7dc "", 0x8247a60 ""} ept = (Impr_Type_id *) 0x83bd0b4 #1 0x08096f0e in can_build_improvement_direct (pcity=0x84bd170, id=37) at city.c:371 pcity = (struct city *) 0x84bd170 id = 37 building = (struct impr_type *) 0x8249fe0 #2 0x08096f39 in can_build_improvement (pcity=0x84bd170, id=37) at city.c:380 pcity = (struct city *) 0x84bd170 id = 37 #3 0x080e849a in ai_manage_buildings (pplayer=0x81f8644) at aicity.c:537 myiter = (struct genlist_link *) 0x8325040 pcity = (struct city *) 0x84bd170 id = 37 ai = (struct ai_data *) 0x81b868c #4 0x0804de5f in begin_phase (is_new_phase=true) at srv_main.c:521 is_new_phase = true pplayer = (struct player *) 0x81f8644 PI_p_itr = 7 #5 0x0804f37f in main_loop () at srv_main.c:1538 eot_timer = (struct timer *) 0x8283ca8 save_counter = 1 is_new_turn = true #6 0x0804f555 in srv_main () at srv_main.c:1657 No locals. #7 0x0804a18c in main (argc=16, argv=0xbffff704) at civserver.c:208 argc = 16 argv = (char **) 0xbffff704 inx = 16 showhelp = false showvers = false option = 0x401a42c0 "¸B\032@¸B\032@ÀB\032@ÀB\032@ÈB\032@ÈB\032@ÐB\032@ÐB\032@ØB\032@ØB\032@àB\032@àB\032@èB\032@èB\032@ðB\032@ðB\032@8|O\b`NL\b\030\2176\bȺ\225\b\210s\223\bР0\b\020C\032@\020C\032@@\211\225\b@\211\225\b¸\002¡\bø¨\222\bX\0309\bX\0309\bxë6\b\bÃ\214\b\bUM\bP±¢\b@C\032@@C\032@HC\032@HC\032@PC\032@PC\032@XC\032@XC\032@`C\032@`C\032@hC\032@hC\032@pC\032@pC\032@xC\032@xC\032@"... #8 0x4009b1c4 in __libc_start_main () from /lib/libc.so.6 No symbol table info available. (gdb) [... 0 lines skipped ...]