Sorry, I will try to look at this later. Right now playing Beyond Earth with most free time. I would note that in testing I had series desync problems with the communitas map (just the map) for some reason, so it's not surprising there might be other issues. The question is why this occurs. (You have malloc(k); at the end of your post.