Complete.Org: Mailing Lists: Archives: freeciv-dev: October 2003:
[Freeciv-Dev] Re: (PR#6260) CM server bug: "Minas Anor is illegal"
Home

[Freeciv-Dev] Re: (PR#6260) CM server bug: "Minas Anor is illegal"

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: paul@xxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#6260) CM server bug: "Minas Anor is illegal"
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 6 Oct 2003 12:38:13 -0700
Reply-to: rt@xxxxxxxxxxxxxx

Jason Short wrote:
> Jason Short wrote:
> 
>>See also PR#3546, which is practically the same bug for the old
>>auto_arrange_workers, AFAICT.

Even more clarification:

Here's a backtrace of Chris's example of the original bug:

#3  0x401ae695 in __assert_fail () from /lib/libc.so.6
#4  0x080687f9 in worker_loop (pcity=0x8367918, foodneed=0xbffff564,
     prodneed=0xbffff568, workers=0xbffff56c) at cityturn.c:206
#5  0x08068b95 in auto_arrange_workers (pcity=0x8367918) at cityturn.c:297
#6  0x08060bf8 in handle_unit_move_consequences (punit=0x84188e8, src_x=10,
     src_y=24, dest_x=10, dest_y=23) at unittools.c:2874
#7  0x08061257 in move_unit (punit=0x84188e8, dest_x=10, dest_y=23,
     transport_units=true, take_from_land=true, move_cost=1) at 
unittools.c:3032
#8  0x08058e82 in handle_unit_move_request (punit=0x84188e8, dest_x=10,
     dest_y=23, igzoc=false, move_diplomat_city=false) at unithand.c:1085
#9  0x08057cb6 in handle_move_unit (pplayer=0x0, pmove=0xbffff740)
     at unithand.c:659
#10 0x080cbbe9 in ai_unit_move (punit=0x84188e8, x=10, y=23) at 
aitools.c:403
#11 0x08073d77 in do_unit_goto (punit=0x84188e8, restriction=GOTO_MOVE_ANY,
     trigger_special_ability=false) at gotohand.c:1348
#12 0x080cb208 in ai_unit_goto (punit=0x84188e8, x=0, y=0) at aitools.c:172
#13 0x080cfb40 in ai_military_gothere (pplayer=0x814cfb8, punit=0x84188e8,
     dest_x=11, dest_y=22) at aiunit.c:1442
#14 0x080d234c in ai_military_attack (pplayer=0x814cfb8, punit=0x84188e8)
     at aiunit.c:2356
#15 0x080d32cc in ai_manage_military (pplayer=0x814cfb8, punit=0x84188e8)
     at aiunit.c:2686
#16 0x080d378a in ai_manage_unit (pplayer=0x814cfb8, punit=0x84188e8)
     at aiunit.c:2806
#17 0x080d386f in ai_manage_units (pplayer=0x814cfb8) at aiunit.c:2822
#18 0x080c9f87 in ai_do_first_activities (pplayer=0x0) at aihand.c:433
#19 0x0804e0af in ai_start_turn () at srv_main.c:433
#20 0x08050432 in main_loop () at srv_main.c:1781
#21 0x08050dd9 in srv_loop () at srv_main.c:2137
#22 0x08050874 in srv_main () at srv_main.c:1927

jason




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