Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2001:
[Freeciv-Dev] Re: core file on civserver, http://civserver.freeciv.org/g
Home

[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]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: core file on civserver, http://civserver.freeciv.org/games/6315
From: Thue <thue@xxxxxxx>
Date: Tue, 27 Feb 2001 17:44:31 +0100

And now for the real backtrace using correct binary (namely the CVS one 
instead of 1.11.4)

bash-2.04$ gdb server/civserver ../../httpd/htdocs/games/6315/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"...
Core was generated by `/home/freeciv/src/freeciv/server/civserver --gamelog 
gamelog -p 5570 -m -r /hom'.
Program terminated with signal 6, Aborted.
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_nis.so.2...done.
Loaded symbols for /lib/libnss_nis.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  0x40057dd1 in __kill () from /lib/libc.so.6
(gdb) 
(gdb) 
(gdb) backtrace 
#0  0x40057dd1 in __kill () from /lib/libc.so.6
#1  0x40057baa in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2  0x40059352 in abort () at ../sysdeps/generic/abort.c:88
#3  0x400517fa in __assert_fail () at assert.c:60
#4  0x8099532 in myrand (size=5) at rand.c:80
#5  0x8073869 in handle_player_revolution (pplayer=0x8121a74) at plrhand.c:651
#6  0x804d5e5 in handle_packet_input (pconn=0x8108ee0, 
    packet=0x817a830 "\002", type=25) at srv_main.c:1008
#7  0x80840e0 in sniff_packets () at sernet.c:492
#8  0x804c455 in srv_main () at srv_main.c:270
#9  0x8049b15 in main (argc=8, argv=0xbffffa34) at civserver.c:147
#10 0x40046f31 in __libc_start_main (main=0x80495fc <main>, argc=8, 
    ubp_av=0xbffffa34, init=0x8049014 <_init>, fini=0x80af48c <_fini>, 
    rtld_fini=0x4000e274 <_dl_fini>, stack_end=0xbffffa2c)
    at ../sysdeps/generic/libc-start.c:129
(gdb) 


On Tuesday 27 February 2001 17:18, freeciv@xxxxxxxxxxxxxxxxxxxxx wrote:
> # using $FREECIV_PATH /home/freeciv/freeciv-1.11.4/data
> # running: (echo bt; echo quit; exec yes '') | gdb -d
> /home/freeciv/freeciv-1.11.4/intl -d /home/freeciv/freeciv-1.11.4/common -d
> /home/freeciv/freeciv-1.11.4/ai -d /home/freeciv/freeciv-1.11.4/server -d
> /home/freeciv/freeciv-1.11.4/client -d
> /home/freeciv/freeciv-1.11.4/client/gui-gtk -d
> /home/freeciv/freeciv-1.11.4/client/gui-xaw -d
> /home/freeciv/freeciv-1.11.4/client/gui-stub -d
> /home/freeciv/freeciv-1.11.4/po
> /home/freeciv/freeciv-1.11.4/server/civserver 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"...
> Core was generated by `/home/freeciv/src/freeciv/server/civserver --gamelog
> gamelog -p 5570 -m -r /hom'. Program terminated with signal 6, Aborted.
> #0  0x40057dd1 in ?? ()
> (gdb) #0  0x40057dd1 in ?? ()
> #1  0x40059352 in ?? ()
> #2  0x400517fa in ?? ()
> #3  0x8099532 in ai_eval_buildings (pcity=0x5) at advdomestic.c:396
> #4  0x8073869 in close_metaserver_connection (caller=0x8121a74)
>     at stdinhand.c:1258
> #5  0x804d5e5 in eval_buildings (pcity=0x8108ee0, values=0x817a830)
>     at citytools.c:438
> #6  0x80840e0 in init_treaty (ptreaty=0x80b0340, plr0=0x80d08c0, plr1=0x0)
>     at diptreaty.c:30
> #7  0x804c455 in package_dumb_city (pplayer=0x0, x=0, y=8,
> packet=0x4014ee4c) at cityhand.c:1052
> #8  0x8049b15 in rand_neighbour (x0=8, y0=-1073743308, x=0xbffffa58,
>     y=0x804902a) at barbarian.c:101
> #9  0x40046f31 in ?? ()
> (gdb)



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