Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2003:
[Freeciv-Dev] (PR#6999) possible send_all_known_cities/send_city_info_at
Home

[Freeciv-Dev] (PR#6999) possible send_all_known_cities/send_city_info_at

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#6999) possible send_all_known_cities/send_city_info_at_tile bug
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Sun, 30 Nov 2003 10:45:32 -0800
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=6999 >

I think this core needs to be properly investigated by whoever wrote this
piece of code. - Per

---------- Forwarded message ----------
Date: Sun, 30 Nov 2003 06:11:45 -0800
From: freeciv@xxxxxxxxxxxxxxxxxxxxx
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] core file on civserver,
     http://civserver.freeciv.org/games/218095

# examining core.31382 in /games/218095/. ...
# using $FREECIV_PATH 
/home/freeciv/.freeciv/code/installed/web/beta/freeciv-1.14.0-beta2+ourown-post-1.14.0+cmd_reply+teamslite13+teamslite13fixes+newdead+responsetime+3648+slowai/share/freeciv
# running: (echo bt; echo quit; exec yes '') | gdb  
/home/freeciv/.freeciv/code/installed/web/beta/freeciv-1.14.0-beta2+ourown-post-1.14.0+cmd_reply+teamslite13+teamslite13fixes+newdead+responsetime+3648+slowai/share/freeciv/../../bin/civserver
 core.31382
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/beta/freeciv-1.14.0-beta2+ourown-post'.
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
#0  0x08068e3f in 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  0x08068e3f in update_dumb_city (pplayer=0x0, pcity=0x0) at 
citytools.c:1667
#1  0x08068840 in send_city_info_at_tile (pviewer=0x0, dest=0x812c380,
    pcity=0x0, x=0, y=0) at citytools.c:1551
#2  0x08068686 in send_all_known_cities (dest=0x812c380) at citytools.c:1465
#3  0x0804da6c in send_all_info (dest=0x812c380) at srv_main.c:287
#4  0x0804fe8f in handle_request_join_game (pconn=0x812c350, req=0x84c1e28)
    at srv_main.c:1416
#5  0x0804e77c in handle_packet_input (pconn=0x812c350, packet=0x84c1e28,
    type=0) at srv_main.c:686
#6  0x0809a8bd in sniff_packets () at sernet.c:572
#7  0x080508f5 in main_loop () at srv_main.c:1782
#8  0x080510c3 in srv_main () at srv_main.c:2074
#9  0x08049d55 in main (argc=9, argv=0xbffff9c4) at civserver.c:153
#10 0x400641c4 in __libc_start_main () from /lib/libc.so.6
(gdb)





[Prev in Thread] Current Thread [Next in Thread]