# examining core.3767 in /games/1776018/. ... # using $FREECIV_PATH :/home/freeciv/.freeciv/code/installed/web/stable/freeciv-1.14.2+mintimeout-1.14.2+newdead2/share/freeciv # running: (echo bt full; echo quit; exec yes '') | gdb /home/freeciv/.freeciv/code/installed/web/stable/freeciv-1.14.2+mintimeout-1.14.2+newdead2/share/freeciv/../../bin/civserver core.3767 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.2+mintimeout-1.14'. 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 /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 update_dumb_city (pplayer=0x0, pcity=0x0) at citytools.c:1667 1667 struct player_tile *plrtile = map_get_player_tile(pcity->x, pcity->y, (gdb) #0 update_dumb_city (pplayer=0x0, pcity=0x0) at citytools.c:1667 pcity = (struct city *) 0x0 plrtile = (struct player_tile *) 0x0 #1 0x08060924 in send_city_info_at_tile (pviewer=0x0, dest=0x80ff518, pcity=0x0, x=0, y=0) at citytools.c:1551 pviewer = (struct player *) 0x0 pcity = (struct city *) 0x0 powner = (struct player *) 0x0 packet = {id = 1074911123, owner = -1073748352, x = -1073748072, y = 134799115, name = "èô\017\b\200æÿ¿\230çÿ¿çÞ\b\bxæÿ¿", '\0' , size = 0, ppl_happy = {0, 0, 0, 0, 0}, ppl_content = {0, 0, 0, 0, 0}, ppl_unhappy = {0, 0, 0, 0, 0}, ppl_angry = {0, 0, 0, 0, 0}, ppl_elvis = 0, ppl_scientist = 0, ppl_taxman = 0, food_prod = 0, food_surplus = 0, shield_prod = 0, shield_surplus = 0, trade_prod = 0, tile_trade = 0, corruption = 0, trade = {0, 8192, 0, 0}, trade_value = {0, 0, 0, 0}, luxury_total = 0, tax_total = 0, science_total = 0, food_stock = 0, shield_stock = 0, pollution = 0, is_building_unit = 0, currently_building = 0, turn_last_built = 0, turn_changed_target = 0, changed_from_id = 0, changed_from_is_unit = 0, before_change_shields = 0, disbanded_shields = 0, caravan_shields = 0, worklist = {is_valid = 0, name = '\0' , wlefs = {WEF_END, WEF_END, WEF_END, WEF_END, 135263464, 7, 6440, 3221219256, 134799272, 135263464, 137851632, WEF_END, 13, 13, 135263464, 3221219608}, wlids = {134759818, 0, 0, 0, 0, 0, 0, 0, -1073747968, 0, -1073747984, 0, 0, 4, 0, 0}}, improvements = "\214{)E", '\0' , city_map = '\0' , "\030éÿ¿øèÿ¿¹\024\t", did_buy = 135263512, did_sell = 0, was_happy = 0, airlift = 0, diplomat_investigate = 0, city_options = -1073747688, turn_founded = -1073747672} sc_pack = {id = 137851648, owner = 24, x = 1075240864, y = 1075249932, name = "èr7\b ß\026@8æÿ¿H%\f@°\201<\b\200æÿ¿a81-èô\017\b", size = 0, happy = -1, capital = -1073748392, walls = 134759589, tile_trade = 137851632} #2 0x0806077f in send_all_known_cities (dest=0x80ff518) at citytools.c:1465 x = 0 y = 0 pplayer = (struct player *) 0x0 myiter = {list = 0x80ff518, link = 0x80ff51c} pconn = (struct connection *) 0x80ff4e8 #3 0x0804c932 in send_all_info (dest=0x80ff518) at srv_main.c:295 dest = (struct conn_list *) 0x80ff518 myiter = {list = 0x80ff518, link = 0x80ff51c} pconn = (struct connection *) 0x82d9338 #4 0x0804e3c9 in handle_request_join_game (pconn=0x80ff4e8, req=0x83b6428) at srv_main.c:1432 pplayer = (struct player *) 0x8131788 msg = "\001\0\0\0Ú\201<\b\210êÿ¿®c\032@\001\0\0\0lö\032@\210êÿ¿fX\023@\016\0\0\0\0\0\0\0\230êÿ¿þW\023@@J\027@°\201<\b\003\0\0\0lö\032@\200J\027@\0\0\0\0\230êÿ¿»\224\032@@J\027@\0\0\0\0\0êÿ¿\236\221\032@w\bþ?\f\0\0\0Ü\001\0\0\200J\027@èêÿ¿\004ðÿ¿\0\0\0\0\226%\f@@ã\026@TJ\027@\002\0\0\0Ð\0\0\0°\201=\bXÎ\001\0 ß\026@\f\003\027@¨\201<\b ß\026@¨êÿ¿H%\f@,\0\0\0°\201<\bØêÿ¿\226%\f@Ð\0\0\0°\201<\b"... orig_name = "xulochavez\0E¤ë\006\0\002\0\05Ï\2361\202\0\0\0\0\0\0\0" allow = 0x80ff518 "\001" #5 0x0804d301 in handle_packet_input (pconn=0x80ff4e8, packet=0x83b6428, type=0) at srv_main.c:696 result = 138109992 pconn = (struct connection *) 0x82d9338 packet = (void *) 0x83b6428 type = 0 pplayer = (struct player *) 0x83b6428 #6 0x08084d9c in sniff_packets () at sernet.c:573 command_ok = 138109992 packet = (void *) 0x83b6428 type = PACKET_REQUEST_JOIN_GAME result = 1 i = 24 max_desc = 6440 readfs = {__fds_bits = {8192, 0 }} writefs = {__fds_bits = {0 }} exceptfs = {__fds_bits = {0 }} tv = {tv_sec = 1, tv_usec = 0} year = -225 #7 0x0804ebb9 in main_loop () at srv_main.c:1798 [... 14 lines skipped ...] eot_timer = (struct timer *) 0x81c9d80 save_counter = 1 #8 0x0804f1e0 in srv_main () at srv_main.c:2090 i = 137204536 #9 0x08049b31 in main (argc=8, argv=0xbffff4e4) at civserver.c:153 argc = 8 argv = (char **) 0xbffff4e4 inx = 8 showhelp = 0 showvers = 0 option = 0x0 #10 0x400651c4 in __libc_start_main () from /lib/libc.so.6 No symbol table info available. (gdb)