[Freeciv-Dev] Re: core file on civserver, http://civserver.freeciv.org/g
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
This one makes a bit more sense, but not much. It seems that the packet
contained uninitialised values.
I can not see how this could happen, and so I cannot debug it.
-Thue
bash-2.04$ gdb server/civserver /home/freeciv/httpd/htdocs/games/8924/core
GNU gdb 5.0
Copyright 2000 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"...
warning: exec file is newer than core file.
Core was generated by `/home/freeciv/src/freeciv/server/civserver --gamelog
gamelog -p 5570 -m -r /hom'.
Program terminated with signal 11, Segmentation fault.
#0 find_genlist_position (pgenlist=0x722d24c0, pos=0) at genlist.c:203
203 }
(gdb) backtrace
#0 find_genlist_position (pgenlist=0x722d24c0, pos=0) at genlist.c:203
#1 0x808d3b5 in find_genlist_position (pgenlist=0xbffff6b0, pos=1915561152)
at genlist.c:195
#2 0x80652da in handle_diplomacy_create_clause (pplayer=0x8124654,
packet=0x8283668) at diplhand.c:416
#3 0x804d7a6 in handle_packet_input (pconn=0x8109688,
packet=0x8283668 "\210", type=44) at srv_main.c:1094
#4 0x8084200 in sniff_packets () at sernet.c:505
#5 0x804c881 in srv_main () at srv_main.c:445
#6 0x8049b15 in main (argc=8, argv=0xbffffbc4) at civserver.c:147
#7 0x40046f31 in ?? ()
(gdb) up 2
#2 0x80652da in handle_diplomacy_create_clause (pplayer=0x8124654,
packet=0x8283668) at diplhand.c:416
416 conn_list_iterate(plr1->connections, pconn) {
(gdb) print packet->plrno0
$1 = 1078132872
(gdb) print packet->plrno1
$2 = 1078132872
(gdb) print packet->plrno_from
$3 = 1078132872
(gdb) print packet->clause_type
$4 = 2
(gdb)
On Monday 26 March 2001 19:01, freeciv@xxxxxxxxxxxxxxxxxxxxx wrote:
[...]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] Re: core file on civserver, http://civserver.freeciv.org/games/8924,
Thue <=
|
|