Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2005:
[Freeciv-Dev] (PR#13182) bug: unithand.c:332: failed assertion `unit_own
Home

[Freeciv-Dev] (PR#13182) bug: unithand.c:332: failed assertion `unit_own

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#13182) bug: unithand.c:332: failed assertion `unit_owner(punit) == city_owner(new_pcity)'
From: "Benoit Hudson" <bh@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 27 May 2005 10:54:47 -0700
Reply-to: bugs@xxxxxxxxxxx

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

backtrace (ignoring assert function calls) -- appears to be a bug in 
transfering 
ownership of units in civil war.

#3  0x0005175c in real_unit_change_homecity (punit=0xbfffef84, 
new_pcity=0x18c2a00) at 
unithand.c:332
#4  0x0000e7bc in transfer_city_units (pplayer=0x1a945c, pvictim=0xbffff094, 
units=0x1, 
pcity=0x18c2a00, exclude_city=0x0, kill_outside=-1, verbose=false) at 
citytools.c:596
#5  0x0000ef4c in transfer_city (ptaker=0xbffff094, pcity=0x0, 
kill_outside=25963020, 
transfer_unit_verbose=3221221488, resolve_stack=false, raze=4294967295) at 
citytools.c:
809
#6  0x00016ef8 in civil_war (pplayer=0x0) at plrhand.c:2257
#7  0x00045e24 in handle_unit_move_consequences (punit=0x11ce250, src_tile=0x0, 
dst_tile=0x1) at unittools.c:2683
#8  0x00046728 in move_unit (punit=0x11aa520, pdesttile=0x18c2a0c, 
move_cost=1695840) at unittools.c:2948
#9  0x00053208 in handle_unit_move_request (punit=0x11aa520, 
pdesttile=0x78fe18, 
igzoc=false, move_diplomat_city=false) at unithand.c:1178
#10 0x000ba430 in ai_unit_attack (punit=0x11aa520, ptile=0x78fe18) at 
aitools.c:921




[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#13182) bug: unithand.c:332: failed assertion `unit_owner(punit) == city_owner(new_pcity)', Benoit Hudson <=