Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2003:
[Freeciv-Dev] Re: decrement_pending_seen
Home

[Freeciv-Dev] Re: decrement_pending_seen

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Christian Knoke <chrisk@xxxxxxxxx>
Cc: Freeciv Developers <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: decrement_pending_seen
From: Jason Short <jshort@xxxxxxxxxxxxxx>
Date: Thu, 14 Aug 2003 20:32:44 -0400
Reply-to: jdorje@xxxxxxxxxxxxxxxxxxxxx

This is a known problem; see PR#4757.

We need an easy way to reproduce it. The problem is it's not usually reproducable from saved games, since the random number generator is changed when you load a saved game (PR#4773). I have a 30-AI autogame that will trigger the assert in the year 1850AD :-(.

jason



Christian Knoke wrote:
CVS 14 AUG 2003 GTK 1

server crash at turn done

#0  0x400b1861 in kill () from /lib/libc.so.6
#1  0x400b1665 in raise () from /lib/libc.so.6
#2  0x400b2c81 in abort () from /lib/libc.so.6
#3  0x400aba52 in Letext () from /lib/libc.so.6
#4  0x08078bbf in decrement_pending_seen (pplayer=0x81853ec, x=30, y=33) at
maphand.c:450
#5  0x0807939a in fog_area (pplayer=0x81853ec, x=31, y=34, len=1) at
maphand.c:597
#6  0x08079751 in remove_unit_sight_points (punit=0x82d4d48) at
maphand.c:708
#7  0x0805ddca in server_remove_unit (punit=0x82d4d48) at unittools.c:1580
#8  0x0805e2d6 in wipe_unit_spec_safe (punit=0x82d4d48, iter=0x0,
wipe_cargo=false)
    at unittools.c:1691
#9  0x0805e85d in kill_unit (pkiller=0x8370fe8, punit=0x82d4d48) at
unittools.c:1797
#10 0x08058ad7 in handle_unit_attack_request (punit=0x8370fe8,
pdefender=0x82d4d48)
    at unithand.c:829
#11 0x0805918e in handle_unit_move_request (punit=0x8370fe8, dest_x=31,
dest_y=34, igzoc=false, move_diplomat_city=false) at unithand.c:1058
#12 0x08058426 in handle_move_unit (pplayer=0x816f5ec, pmove=0xbffff380) at
unithand.c:661
#13 0x080c8295 in ai_unit_attack (punit=0x8370fe8, x=31, y=34) at
aitools.c:291
#14 0x080caad6 in ai_military_rampage (punit=0x8370fe8, threshold=2) at
aiunit.c:1192
#15 0x080cbf93 in ai_military_gohome (pplayer=0x816f5ec, punit=0x8370fe8) at
aiunit.c:1769
#16 0x080ce02c in ai_manage_military (pplayer=0x816f5ec, punit=0x8370fe8) at
aiunit.c:2769
#17 0x080ce430 in ai_manage_unit (pplayer=0x816f5ec, punit=0x8370fe8) at
aiunit.c:2889
#18 0x080ce504 in ai_manage_units (pplayer=0x816f5ec) at aiunit.c:2905
#19 0x080c7072 in ai_do_first_activities (pplayer=0x816f5ec) at aihand.c:302
#20 0x0804e2df in ai_start_turn () at srv_main.c:434
#21 0x0804fd0f in main_loop () at srv_main.c:1535
#22 0x08050450 in srv_loop () at srv_main.c:1836
#23 0x0804fec5 in srv_main () at srv_main.c:1622
#24 0x0804a297 in main (argc=5, argv=0xbffff604) at civserver.c:154
#25 0x400a07ee in __libc_start_main () from /lib/libc.so.6

FWIW

Christian





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