View Issue Details

IDProjectCategoryView StatusLast Update
0005397Spring engineGeneralpublic2016-11-19 17:32
Reporterlamer Assigned Tohokomoko  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Product Version103.0 +git 
Summary0005397: Spring.Reload doesn't reset losHandler
DescriptionPlaying in chobby on small map then on large map results in crash related to reading losMap out of bounds.

Steps To Reproduce1) Run chobby (ZK)
2) SP or MP (host own room)
3) !map Small Divide
4) Add 1 Circuit 0.9.10 as enemy and 1 as ally.
5) Play a game.
6) Change map to Nuclear Winter.
7) Play again (force-rush scouts into enemy) -> crash (access violation)
Additional InformationThe crash is due AI reading losMap out of bounds. But log shows that losMap.size() is from previous small map. I assume the cause of wrong losMap size is that Spring.Reload not working on losHandler. Could be cache related.

Related: http://zero-k.info/Forum/Thread/23253
TagsNo tags attached.
Checked infolog.txt for Errors

Activities

hokomoko

2016-11-19 17:12

developer   ~0016880

huh? https://github.com/spring/spring/blob/develop/rts/Game/Game.cpp#L514

hokomoko

2016-11-19 17:32

developer   ~0016881

Fix ddbb5ca71effc9128ea6cac154314d416d8c1e87 committed to develop branch: fix 0005397, repo: spring changeset id: 7595

Issue History

Date Modified Username Field Change
2016-11-19 01:18 lamer New Issue
2016-11-19 17:12 hokomoko Note Added: 0016880
2016-11-19 17:32 hokomoko Changeset attached => spring develop ddbb5ca7
2016-11-19 17:32 hokomoko Note Added: 0016881
2016-11-19 17:32 hokomoko Assigned To => hokomoko
2016-11-19 17:32 hokomoko Status new => resolved
2016-11-19 17:32 hokomoko Resolution open => fixed