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@xxxxxxxxxxxxxxxxxxxxx, freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: core file on civserver, http://civserver.freeciv.org/games/10478
From: Thue <thue@xxxxxxx>
Date: Sun, 15 Apr 2001 19:24:38 +0200

Real backtrace:

(gdb) backtrace
#0  find_genlist_position (pgenlist=0x555f6e95, pos=0) at genlist.c:188
#1  0x808e64d in genlist_iterator_init (iter=0xbfffe008, pgenlist=0x555f6e95, 
    pos=0) at genlist.c:172
#2  0x8073e59 in vnotify_conn_ex (dest=0x555f6e95, x=-1, y=-1, event=-1, 
    format=0x80b2280 "Game: Connection %s from %s has joined as player %s.", 
    vargs=0xbfffe678) at plrhand.c:867
#3  0x8073f37 in notify_conn (dest=0x555f6e95, 
    format=0x80b2280 "Game: Connection %s from %s has joined as player %s.")
    at plrhand.c:901
#4  0x804de16 in join_game_accept (pconn=0x810b334, rejoin=0)
    at srv_main.c:1337
#5  0x804e003 in accept_new_player (name=0x81a4eb8 "sdek", pconn=0x810b334)
    at srv_main.c:1417
#6  0x804e948 in handle_request_join_game (pconn=0x810b334, req=0x81a4ca0)
    at srv_main.c:1688
#7  0x804d470 in handle_packet_input (pconn=0x810b334, 
    packet=0x81a4ca0 "sdek", type=0) at srv_main.c:928
#8  0x8085454 in sniff_packets () at sernet.c:492
#9  0x804c455 in srv_main () at srv_main.c:271
#10 0x8049b15 in main (argc=8, argv=0xbffffa54) at civserver.c:147
#11 0x40046f31 in __libc_start_main (main=0x80495fc <main>, argc=8, 
    ubp_av=0xbffffa54, init=0x8049014 <_init>, fini=0x80b077c <_fini>, 
    rtld_fini=0x4000e274 <_dl_fini>, stack_end=0xbffffa4c)
---Type <return> to continue, or q <return> to quit---
    at ../sysdeps/generic/libc-start.c:129
(gdb)

On Sunday 15 April 2001 18:33, 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 11,
> Segmentation fault.
> #0  0x808e666 in receive_packet_ruleset_government (pc=0x555f6e95)
>     at packets.c:3236
> 3236    iget_uint8(&iter, &packet->corruption_distance_factor);
> (gdb) #0  0x808e666 in receive_packet_ruleset_government (pc=0x555f6e95)
>     at packets.c:3236
> #1  0x808e64d in receive_packet_ruleset_government (pc=0xbfffe008)
>     at packets.c:3234
> #2  0x8073e59 in create_ai_player (caller=0x555f6e95,
>     arg=0xffffffff <Address 0xffffffff out of bounds>) at stdinhand.c:1489
> #3  0x8073f37 in create_ai_player (caller=0x555f6e95,
>     arg=0x80b2280 "City size before people become unhappy") at
> stdinhand.c:1516 #4  0x804de16 in find_closest_owned_city
> (pplayer=0x810b334, x=0, y=32, sea_required=823547680, pexclcity=0x3) at
> citytools.c:706
> #5  0x804e003 in split_player (pplayer=0x81a4eb8) at citytools.c:775
> #6  0x804e948 in set_tax_income (pcity=0x810b334) at cityturn.c:118
> #7  0x804d470 in eval_buildings (pcity=0x810b334, values=0x81a4ca0)
>     at citytools.c:407
> #8  0x8085454 in game_advance_year () at game.c:883
> #9  0x804c455 in package_dumb_city (pplayer=0x0, x=0, y=8,
> packet=0x4014ee4c) at cityhand.c:1052
> #10 0x8049b15 in rand_neighbour (x0=8, y0=-1073743276, x=0xbffffa78,
>     y=0x804902a) at barbarian.c:101
> #11 0x40046f31 in ?? ()
> (gdb)



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