building capture crash (error in soldier list)

Bug #1264778 reported by Ikhar Beq
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Return To The Roots
Fix Committed
Undecided
Marcus

Bug Description

replay should be compatible with rev9053 29.12.2013 (aipoc2 9054)
gf ~214000 the tower at 100/48 has for some reason a carrier in it's active soldier list which crashes the game upon capture at this point:
nobMilitary.cpp
line 868
 // Soldaten, die auf Mission sind, Bescheid sagen
 for(list<nofActiveSoldier*>::iterator it = troops_on_mission.begin();it.valid();++it)
  (*it)->HomeDestroyed();

*it seems to be a carrier from what vs is telling me

Revision history for this message
Ikhar Beq (parasiteofchar) wrote :
Revision history for this message
Ikhar Beq (parasiteofchar) wrote :

pre crash save added - replay desyncs in 9022 at gf ~60.2k so this one will be a bit difficult to find until I get a better replay :/

Revision history for this message
Ikhar Beq (parasiteofchar) wrote :

might be related - sea attack from a sea with only 1 harbor point results in a bugged list (and the attack never happens)

Revision history for this message
Ikhar Beq (parasiteofchar) wrote :

as far as I can tell by now this has something to do with repeated sea attacks (the 1 harbor only bug is close but not the same probably)
when the veteran sea attackers enter the harbor for another attack they leave the harbor for other destinations as "new" soldiers, visible soldier count turns negative in the harbor and the milbuilding active soldier list is bugged.

Revision history for this message
Marcus (marcus) wrote :

Fixed in r9093 (AIpoc r9061)

Changed in s25rttr:
assignee: nobody → Marcus (marcus)
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.