# examining core.8845 in /games/626208/. ... # using $FREECIV_PATH :/home/freeciv/.freeciv/code/installed/web/stable/freeciv-2.0.8+yaroserver+auth/share/freeciv # running: (echo bt full; echo quit; exec yes '') | gdb /home/freeciv/.freeciv/code/installed/web/stable/freeciv-2.0.8+yaroserver+auth/share/freeciv/../../bin/civserver core.8845 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+yaroserver+auth/'. Program terminated with signal 6, Aborted. 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 0x400ac0a1 in kill () from /lib/libc.so.6 (gdb) #0 0x400ac0a1 in kill () from /lib/libc.so.6 No symbol table info available. #1 0x400abe99 in raise () from /lib/libc.so.6 No symbol table info available. #2 0x400ad364 in abort () from /lib/libc.so.6 No symbol table info available. #3 0x400a615d in __assert_fail () from /lib/libc.so.6 No symbol table info available. #4 0x0804ba1a in real_die () at shared.c:675 format = 0x81242a0 "Illegal diplstate in maybe_cause_incident." #5 0x08090961 in maybe_cause_incident (action=DIPLOMAT_STEAL, offender=0x81e88ac, victim_unit=0x0, victim_city=0x82cb890) at diplomats.c:1381 ds = DS_TEAM punishment = 0 offender = (struct player *) 0x81e88ac victim_city = (struct city *) 0x82cb890 victim_player = (struct player *) 0x81e5634 victim_tile = (struct tile *) 0x847e7f8 #6 0x0808f723 in diplomat_get_tech (pplayer=0x81e88ac, pdiplomat=0x8418638, pcity=0x82cb890, technology=89) at diplomats.c:577 pplayer = (struct player *) 0x81e88ac pdiplomat = (struct unit *) 0x8418638 pcity = (struct city *) 0x82cb890 technology = 89 cplayer = (struct player *) 0x81e5634 count = 47 which = 0 target = -1073749528 #7 0x0808bbbc in handle_unit_diplomat_action (pplayer=0x81e88ac, diplomat_id=185, action_type=DIPLOMAT_STEAL, target_id=147, value=0) at unithand.c:267 target_id = 137148560 pdiplomat = (struct unit *) 0x8418638 pvictim = (struct unit *) 0x0 pcity = (struct city *) 0x82cb890 #8 0x0806b8c8 in server_handle_packet (type=PACKET_UNIT_DIPLOMAT_ACTION, packet=0x82e7b00, pplayer=0x81e88ac, pconn=0x81556a0) at hand_gen.c:238 packet = (void *) 0x8499f38 pplayer = (struct player *) 0x6 pconn = (struct connection *) 0x81556a0 #9 0x0804e84a in handle_packet_input (pconn=0x81556a0, packet=0x82e7b00, type=70) at srv_main.c:997 packet = (void *) 0x82e7b00 type = 70 pplayer = (struct player *) 0x81e88ac #10 0x08087696 in sniff_packets () at sernet.c:634 command_ok = 135616160 packet = (void *) 0x82e7b00 type = PACKET_UNIT_DIPLOMAT_ACTION result = true i = 61 max_desc = 135616160 readfs = {__fds_bits = {128, 0 }} writefs = {__fds_bits = {0 }} exceptfs = {__fds_bits = {0 }} tv = {tv_sec = 0, tv_usec = 890000} year = -950 #11 0x0804f3d5 in main_loop () at srv_main.c:1564 eot_timer = (struct timer *) 0x845c7d8 save_counter = 1 is_new_turn = true #12 0x0804f555 in srv_main () at srv_main.c:1657 No locals. #13 0x0804a18c in main (argc=16, argv=0xbffff894) at civserver.c:208 argc = 16 [... 8 lines skipped ...] argv = (char **) 0xbffff894 inx = 16 showhelp = false showvers = false option = 0x0 #14 0x4009b1c4 in __libc_start_main () from /lib/libc.so.6 No symbol table info available. (gdb)