1
Bug Reports & Support (modded) / [0.8.1a RC8] occasional hang while saving modded game
« on: June 07, 2017, 11:22:27 AM »
Not sure what mod/mods are doing it. I increased my vmparams to -Xms1536m -Xmx4096m -Xss1024k so I don't think it's memory, but who knows. I have 6gb of memory on this system.
I've snipped some noninformative stuff from the log and replaced it with ...
2277793 [Thread-4] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Saving to ..\\saves/save_FaYingDeimos_1690678237848135608...
2277794 [Thread-4] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Saving stage 1
2277830 [Thread-15] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Saving progress: 0.0
...
2279424 [Thread-15] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Saving progress: 0.0
2279431 [Thread-4] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Saving stage 2
2280142 [Thread-15] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Saving progress: 0.0
...
2280185 [Thread-15] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Saving progress: 0.0
2280201 [Thread-15] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Saving progress: 0.0018263967
...
2284724 [Thread-15] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Saving progress: 0.36288723
2284740 [Thread-4] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Error saving game
2284741 [Thread-15] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Saving progress: 0.36288723
...
2285324 [Thread-15] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Saving progress: 0.36288723
2285331 [Thread-4] ERROR com.fs.starfarer.campaign.save.CampaignGameManager -
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(Unknown Source)
at java.util.HashMap$EntryIterator.next(Unknown Source)
at java.util.HashMap$EntryIterator.next(Unknown Source)
at com.thoughtworks.xstream.converters.collections.MapConverter.marshal(MapConverter.java:75)
at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.mars hallField(AbstractReflectionConverter.java:256)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:232)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.<init>(AbstractReflectionConverter.java:195)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMa rshal(AbstractReflectionConverter.java:141)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.mars hal(AbstractReflectionConverter.java:89)
at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
... lots more like this
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMa rshal(AbstractReflectionConverter.java:141)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.mars hal(AbstractReflectionConverter.java:89)
at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)
at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:88)
at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.wri teItem(AbstractCollectionConverter.java:64)
at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:74)
2285341 [Thread-15] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Saving progress: 0.36288723
2285371 [Thread-4] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Loading stage 9 (exception)
2285371 [Thread-4] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Loading stage 10 (exception)
2285381 [Thread-15] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Saving progress: 0.0
... then saving progress 0.0 forever, and I need to manually end the task.
modlist:
lightshow without ship and weapon pack 1.32
autosave 1.0f
combat chatter 1.7.1
common radar 2.4c
console commands 3.0 wip 2
lazylib 2.2
Nexerelin 0.8b
omnifactory 2.1.4 (the reboot)
portrait pack v1.2.3
save transfer 1.11.0
tore up plenty 0.8.0a
unknown skies 0.21
upgraded rotary weapons 1.31
version checker 1.7c
zz graphicslib 1.2.0
I played a nexerelin game without any other mods except lazylib for an hour or so to see if I could trigger it but didn't get anything.
I've snipped some noninformative stuff from the log and replaced it with ...
2277793 [Thread-4] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Saving to ..\\saves/save_FaYingDeimos_1690678237848135608...
2277794 [Thread-4] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Saving stage 1
2277830 [Thread-15] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Saving progress: 0.0
...
2279424 [Thread-15] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Saving progress: 0.0
2279431 [Thread-4] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Saving stage 2
2280142 [Thread-15] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Saving progress: 0.0
...
2280185 [Thread-15] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Saving progress: 0.0
2280201 [Thread-15] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Saving progress: 0.0018263967
...
2284724 [Thread-15] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Saving progress: 0.36288723
2284740 [Thread-4] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Error saving game
2284741 [Thread-15] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Saving progress: 0.36288723
...
2285324 [Thread-15] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Saving progress: 0.36288723
2285331 [Thread-4] ERROR com.fs.starfarer.campaign.save.CampaignGameManager -
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextEntry(Unknown Source)
at java.util.HashMap$EntryIterator.next(Unknown Source)
at java.util.HashMap$EntryIterator.next(Unknown Source)
at com.thoughtworks.xstream.converters.collections.MapConverter.marshal(MapConverter.java:75)
at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.mars hallField(AbstractReflectionConverter.java:256)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.writeField(AbstractReflectionConverter.java:232)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter$2.<init>(AbstractReflectionConverter.java:195)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMa rshal(AbstractReflectionConverter.java:141)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.mars hal(AbstractReflectionConverter.java:89)
at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84)
... lots more like this
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.doMa rshal(AbstractReflectionConverter.java:141)
at com.thoughtworks.xstream.converters.reflection.AbstractReflectionConverter.mars hal(AbstractReflectionConverter.java:89)
at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)
at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:88)
at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.wri teItem(AbstractCollectionConverter.java:64)
at com.thoughtworks.xstream.converters.collections.CollectionConverter.marshal(CollectionConverter.java:74)
2285341 [Thread-15] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Saving progress: 0.36288723
2285371 [Thread-4] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Loading stage 9 (exception)
2285371 [Thread-4] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Loading stage 10 (exception)
2285381 [Thread-15] INFO com.fs.starfarer.campaign.save.CampaignGameManager - Saving progress: 0.0
... then saving progress 0.0 forever, and I need to manually end the task.
modlist:
lightshow without ship and weapon pack 1.32
autosave 1.0f
combat chatter 1.7.1
common radar 2.4c
console commands 3.0 wip 2
lazylib 2.2
Nexerelin 0.8b
omnifactory 2.1.4 (the reboot)
portrait pack v1.2.3
save transfer 1.11.0
tore up plenty 0.8.0a
unknown skies 0.21
upgraded rotary weapons 1.31
version checker 1.7c
zz graphicslib 1.2.0
I played a nexerelin game without any other mods except lazylib for an hour or so to see if I could trigger it but didn't get anything.