Complete.Org: Mailing Lists: Archives: freeciv-dev: April 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
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: core file on civserver, http://civserver.freeciv.org/games/10211 (PR#744)
From: Thue <thue@xxxxxxx>
Date: Fri, 13 Apr 2001 15:50:06 -0700 (PDT)

And the real backtrace. It is kind of hard to guess why that game made that 
assert fail.
I seem not to be able to access the variables in the core dumb.
There is no savegame in the dir given by civserver.

-Thue

Loaded symbols for /lib/libresolv.so.2
#0  0x40057dd1 in __kill () from /lib/libc.so.6
(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  0x807e358 in check_cities () at sanitycheck.c:154
#5  0x807e777 in sanity_check () at sanitycheck.c:233
#6  0x804c8a4 in srv_main () at srv_main.c:458
#7  0x8049b15 in main (argc=8, argv=0xbffffa54) at civserver.c:147
#8  0x40046f31 in __libc_start_main (main=0x80495fc <main>, argc=8, 
    ubp_av=0xbffffa54, init=0x8049014 <_init>, fini=0x80afedc <_fini>, 
    rtld_fini=0x4000e274 <_dl_fini>, stack_end=0xbffffa4c)
    at ../sysdeps/generic/libc-start.c:129
(gdb) up 4
#4  0x807e358 in check_cities () at sanitycheck.c:154
154                        || !map_get_known(map_x, map_y, pplayer));
(gdb) print map_x
No symbol "map_x" in current context.
(gdb)

On Thursday 12 April 2001 20:27, 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 5571 -m -r /hom'. Program terminated with signal 6, Aborted.
> #0  0x40057dd1 in ?? ()
> (gdb) #0  0x40057dd1 in ?? ()
> #1  0x40059352 in ?? ()
> #2  0x400517fa in ?? ()
> #3  0x807e358 in handle_unit_build_city (pplayer=0x3c, req=0x8190860)
>     at unithand.c:365
> #4  0x807e777 in handle_unit_attack_request (pplayer=0x814c764,
>     punit=0x8257270, pdefender=0xbffff9c8) at unithand.c:514
> #5  0x804c8a4 in content_citizens (pplayer=0x0) at citytools.c:95
> #6  0x8049b15 in rand_neighbour (x0=8, y0=-1073743276, x=0xbffffa78,
>     y=0x804902a) at barbarian.c:101
> #7  0x40046f31 in ?? ()
> (gdb)




[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] Re: core file on civserver, http://civserver.freeciv.org/games/10211 (PR#744), Thue <=