# examining core.4827 in /games/258508/. ... # using $FREECIV_PATH /home/freeciv/.freeciv/code/installed/web/stable/freeciv-1.14.1+ourown+newdead+slowai+gen6v11+endyear/share/freeciv # running: (echo bt; echo quit; exec yes '') | gdb /home/freeciv/.freeciv/code/installed/web/stable/freeciv-1.14.1+ourown+newdead+slowai+gen6v11+endyear/share/freeciv/../../bin/civserver core.4827 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-1.14.1+ourown+newdead+'. Program terminated with signal 8, Arithmetic exception. 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 /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 Reading symbols from /usr/lib/gconv/ISO8859-1.so...done. Loaded symbols for /usr/lib/gconv/ISO8859-1.so #0 0x0808240c in player_save (plr=0x8133ccc, plrno=1, file=0xbfffd6b0) at savegame.c:1391 1391 index = (index + 1) % pgr->length; (gdb) #0 0x0808240c in player_save (plr=0x8133ccc, plrno=1, file=0xbfffd6b0) at savegame.c:1391 #1 0x080853ba in game_save (file=0xbfffd6b0) at savegame.c:2296 #2 0x0804cfa8 in save_game (orig_filename=0xbfffd960 "civgame-1950.sav") at srv_main.c:557 #3 0x0804d105 in save_game_auto () at srv_main.c:590 #4 0x0804ebb8 in main_loop () at srv_main.c:1793 #5 0x0804f1e8 in srv_main () at srv_main.c:2090 #6 0x08049b31 in main (argc=9, argv=0xbfffdc34) at civserver.c:153 #7 0x400641c4 in __libc_start_main () from /lib/libc.so.6 (gdb)