View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0005397 | Spring engine | General | public | 2016-11-19 01:18 | 2016-11-19 17:32 | ||||
Reporter | lamer | ||||||||
Assigned To | hokomoko | ||||||||
Priority | normal | Severity | crash | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 103.0 +git | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0005397: Spring.Reload doesn't reset losHandler | ||||||||
Description | Playing in chobby on small map then on large map results in crash related to reading losMap out of bounds. | ||||||||
Steps To Reproduce | 1) 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 Information | The 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 | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
hokomoko (developer) 2016-11-19 17:12 |
huh? https://github.com/spring/spring/blob/develop/rts/Game/Game.cpp#L514 |
hokomoko (developer) 2016-11-19 17:32 |
Fix ddbb5ca71effc9128ea6cac154314d416d8c1e87 committed to develop branch: fix 0005397, repo: spring changeset id: 7595 |
![]() |
|||
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 |