Join GitHub today
Segfault on second session in hostless mode #1897
At some turn in second or later game happens segmentation fault:
Successful turn execution.
Steps to reproduce
referenced this issue
Dec 8, 2017
Got it again after 3 game with 100 turns in generation universe:
Latest save from previous game: save.zip
It's looks like it could happen in the middle a game too:
Looks like old objects aren't cleared from
What should be done with
I don't have time just now to dig into this too much to try helping sort it out, but I'm glad to hear you are having some success with your latest attempt and I do have a couple comments.
I don't think that's the right approach, and for example would not be good for the use in ObjectMap::CopyObjectsToSpecializedMaps()
Either of those sound fine to me.