Complete.Org: Mailing Lists: Archives: freeciv-dev: November 2005:
[Freeciv-Dev] (PR#14617) civserver: advdiplomacy.c:1126: war_countdown:
Home

[Freeciv-Dev] (PR#14617) civserver: advdiplomacy.c:1126: war_countdown:

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#14617) civserver: advdiplomacy.c:1126: war_countdown: assertion "adip->countdown == -1" failed.
From: "Guillaume Melquiond" <guillaume.melquiond@xxxxxxxxx>
Date: Tue, 15 Nov 2005 14:10:20 -0800
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=14617 >

This transaction appears to have no content
Near the end of the game, I have launched a spaceship. Eight turns sooner,
my allies have threatened to kill me for that. (Note that the diplomatic
messages are quite strange: "We will be launching an all-out war against you
in 8 turns [...] Your aid in this matter will be expected. Long live our
glorious alliance!"). And the server fails an assertion, since the AI
launches the same countdown again instead of declaring war as previously
announced.

civserver: advdiplomacy.c:1126: war_countdown: assertion "adip->countdown ==
-1" failed.

#4 0x080f88e5 in war_countdown (pplayer=0x82690e0, target=0x8267b28,
countdown=8, reason=WAR_REASON_SPACE) at advdiplomacy.c:1126
#5 0x080f9ae2 in ai_diplomacy_actions (pplayer=0x82690e0)
at advdiplomacy.c:1256
#6 0x0805101c in main_loop () at srv_main.c:565
#7 0x08051c90 in srv_main () at srv_main.c:1887
#8 0x0804aa76 in main (argc=1, argv=0xbf932084) at civserver.c:242

This is with Freeciv head (revision 11234) on Linux. A savegame is attached,
just end your turn for the server to crash.
Near the end of the game, I have launched a spaceship. Eight turns sooner, my allies have threatened to kill me for that. (Note that the diplomatic messages are quite strange: "We will be launching an all-out war against you in 8 turns [...] Your aid in this matter will be expected. Long live our glorious alliance!"). And the server fails an assertion, since the AI launches the same countdown again instead of declaring war as previously announced.

civserver: advdiplomacy.c:1126: war_countdown:  assertion "adip->countdown == -1" failed.

#4  0x080f88e5 in war_countdown (pplayer=0x82690e0, target=0x8267b28,
    countdown=8, reason=WAR_REASON_SPACE) at advdiplomacy.c:1126
#5  0x080f9ae2 in ai_diplomacy_actions (pplayer=0x82690e0)
    at advdiplomacy.c:1256
#6  0x0805101c in main_loop () at srv_main.c:565
#7  0x08051c90 in srv_main () at srv_main.c:1887
#8  0x0804aa76 in main (argc=1, argv=0xbf932084) at civserver.c:242

This is with Freeciv head (revision 11234) on Linux. A savegame is attached, just end your turn for the server to crash.

Attachment: civgame+1965m.sav.gz
Description: GNU Zip compressed data


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#14617) civserver: advdiplomacy.c:1126: war_countdown: assertion "adip->countdown == -1" failed., Guillaume Melquiond <=