Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2005:
[Freeciv-Dev] (PR#13276) assert (punit->activity_target < S_LAST) fails
Home

[Freeciv-Dev] (PR#13276) assert (punit->activity_target < S_LAST) fails

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#13276) assert (punit->activity_target < S_LAST) fails
From: "Marko Lindqvist" <marko.lindqvist@xxxxxxxxxxx>
Date: Thu, 16 Jun 2005 11:46:05 -0700
Reply-to: bugs@xxxxxxxxxxx

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


  #1  0x004bb978 in get_unit_tile_pillage_set (ptile=0x1047a700)
     at ../../freeciv-patch/common/unit.c:969
         myiter = (struct genlist_link *) 0x0
         punit = (struct unit *) 0x10b81670
         tgt_ret = {vec = "\000"}
         ptile = (const struct tile *) 0x0
#2  0x004bbf35 in can_unit_do_activity_targeted_at (punit=0x10b81670, 
activity=ACTIVITY_PILLAGE,
     target=S_LAST, ptile=0x1047a700) at 
../../freeciv-patch/common/unit.c:866
         psworking = {vec = "\000"}
         i = 2288736
         numpresent = 1
         pspresent = {vec = "\002"}
         pplayer = (struct player *) 0x5cc4b8
         type = (struct tile_type *) 0x5ec990
         punit = (const struct unit *) 0x10b81670
         activity = ACTIVITY_PILLAGE
         target = S_LAST
#3  0x004bc2f6 in can_unit_do_activity_targeted (punit=0x10b81670, 
activity=ACTIVITY_PILLAGE,
     target=S_LAST) at ../../freeciv-patch/common/unit.c:718
         punit = (const struct unit *) 0x61110798
         activity = ACTIVITY_IDLE
         target = S_SPECIAL_1
#4  0x004bc321 in can_unit_do_activity (punit=0x10b81670, 
activity=ACTIVITY_PILLAGE)
     at ../../freeciv-patch/common/unit.c:707
         punit = (const struct unit *) 0x0
         activity = ACTIVITY_IDLE
#5  0x004dbd66 in ai_manage_military (pplayer=0x5cc4b8, punit=0x10b81670)
     at ../../freeciv-patch/ai/aiunit.c:940
         punittype = (struct unit_type *) 0x607ac8
         id = 392
         punit = (struct unit *) 0x10b81670
#6  0x004dcf7f in ai_manage_unit (pplayer=0x5cc4b8, punit=0x10b81670)
     at ../../freeciv-patch/ai/aiunit.c:2149
         bodyguard = (struct unit *) 0x0
         punit = (struct unit *) 0x10b81670
#7  0x004ddd0e in ai_manage_units (pplayer=0x5cc4b8) at 
../../freeciv-patch/ai/aiunit.c:2248
         most_needed = (struct city *) 0x0
         comparison = 0
         transported = (struct unit *) 0x0
         myiter = (struct genlist_link *) 0x0
         myiter = (struct genlist_link *) 0x0
         myiter = (struct genlist_link *) 0x0
         myiter = (struct genlist_link *) 0x0
         myiter = (struct genlist_link *) 0x0
#8  0x004d0b0e in ai_do_first_activities (pplayer=0x5cc4b8)
     at ../../freeciv-patch/ai/aihand.c:426
         pplayer = (struct player *) 0x5cc4b8
#9  0x00408892 in main_loop () at ../../freeciv-patch/server/srv_main.c:452
         pplayer = (struct player *) 0x5cc4b8
         i = 9
         eot_timer = (struct timer *) 0x10367500
         save_counter = 1
         is_new_turn = true
#10 0x00409406 in srv_main () at ../../freeciv-patch/server/srv_main.c:1956
         i = 6079672
         player_name = 
"H¯\020aù¹Q\000\220çT\000 ÆT\000 ÆT\000\003\000\000\000\030ï\"\000å4@"
         player_name = 
"H¯\020aù¹Q\000\220çT\000 ÆT\000 ÆT\000\003\000\000\000\030ï\"\000å4@"
         PI_p_itr = 0
         PI_p_itr = 10
         player_name = 
"H¯\020aù¹Q\000\220çT\000 ÆT\000 ÆT\000\003\000\000\000\030ï\"\000å4@"
         PI_p_itr = 0
         player_name = 
"H¯\020aù¹Q\000\220çT\000 ÆT\000 ÆT\000\003\000\000\000\030ï\"\000å4@"
         player_name = 
"H¯\020aù¹Q\000\220çT\000 ÆT\000 ÆT\000\003\000\000\000\030ï\"\000å4@"
#11 0x00401569 in main (argc=3, argv=0x10101878) at 
../../freeciv-patch/server/civserver.c:242
         inx = 3
         showhelp = false
         showvers = false
         option = 0x51a4dc "freeciv_server"
         argc = 3
         argv = (char **) 0x10101878



  - ML





[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#13276) assert (punit->activity_target < S_LAST) fails, Marko Lindqvist <=