Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2004:
[Freeciv-Dev] Re: (PR#10715) observing causes a crash
Home

[Freeciv-Dev] Re: (PR#10715) observing causes a crash

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: kaufman@xxxxxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#10715) observing causes a crash
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 24 Oct 2004 20:07:32 -0700
Reply-to: rt@xxxxxxxxxxx

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

Mike Kaufman wrote:
> <URL: http://rt.freeciv.org/Ticket/Display.html?id=10715 >
> 
> load the game attached as a comment.
> set timeout 0
> connect a client and /observe
> st.
> 
> civserver: plrhand.c:1598: package_player_info: Assertion `server_state !=
> RUN_GAME_STATE || ((tech_exists(plr->research.researching) &&
> plr->research.researching != 0) ||
> is_future_tech(plr->research.researching) || plr->research.researching ==
> (200-1))' failed.
> Aborted (core dumped)
> 
> core is garbage for me.

The observer player is researching tech A_NONE.

(gdb) p server_state
$1 = RUN_GAME_STATE
(gdb) p plr->research.researching
$2 = 0
(gdb) p advances[0].name
$3 = "None", '\0' <repeats 27 times>
(gdb) p pplayer->player_no
No symbol "pplayer" in current context.
(gdb) p plr->player_no
$4 = 10
(gdb) p plr->name
$5 = "Observer", '\0' <repeats 23 times>

jason




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