Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2003:
[Freeciv-Dev] (PR#5106) assertion in get_defender
Home

[Freeciv-Dev] (PR#5106) assertion in get_defender

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#5106) assertion in get_defender
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 15 Aug 2003 07:51:54 -0700
Reply-to: rt@xxxxxxxxxxxxxx

This autogame was originally the one used to reproduce the pending_seen bug.

Now it crashes earlier:

1: get_defender bug: b's Battleship vs Palmiro Togliatti's Transport 
(total 2 units) on Ocean at (29,39).
 > civserver: combat.c:626: get_defender: Assertion `0' failed.
Aborted (core dumped)


#3  0x401ae695 in __assert_fail () from /lib/libc.so.6
#4  0x080a6fc6 in get_defender (attacker=0x89799e0, x=29, y=39) at 
combat.c:626
#5  0x080d971d in find_something_to_kill (pplayer=0x8178cec, 
punit=0x89799e0,
     x=0xbffff8a0, y=0xbffff8a4) at aiunit.c:2233
#6  0x080c9fe7 in kill_something_with (pplayer=0x8178cec, pcity=0x83401e0,
     myunit=0x89799e0, choice=0x8340870) at advmilitary.c:982
#7  0x080caaa2 in military_advisor_choose_build (pplayer=0x8178cec,
     pcity=0x83401e0, choice=0x8340870) at advmilitary.c:1323
#8  0x080cf57b in ai_manage_cities (pplayer=0x8178cec) at aicity.c:522
#9  0x080d1998 in ai_do_last_activities (pplayer=0x8178cec) at aihand.c:312
#10 0x0804e2d6 in end_turn () at srv_main.c:493


jason




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