Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: random very hard to avoid crash making the game almost unplayable.  (Read 164 times)


  • Commander
  • ***
  • Posts: 103
    • View Profile

hello all, for a while now I have been getting this crash. its a crash that happens seemingly at random. the only way to avoid it is to go back to a save a few in game months ago, and move very far in a direction you were not going before, and -hope- that the crash does not happen when the in game time reaches the point it crashed last time (and if it does go even farther back). no clue what triggers it or why, but it has made my game almost unplayable the past 2 days. I think its a mod issue, but I have no clue what mod it could possibly be. it is more likely to happen outside of the core worlds, but it can still happen in the core worlds.

the primary issue that stops me from finding out what mod is causing this issue myself is the nature of the crash itself. I can go 10 or more hours without getting it, or it can happen so mush it feels like I'm swimming through landmines to not get a hard crash.

I do have a few dozen saves just about 10 - 15 mins before the crash shows up as well if anyone wants to take a look at them. although finding most of them would be difficult,  I make a lot of extra saves because of this. (I do know were 2 are though).
the crash
434040 [Thread-10] INFO  sound.OooO  - Playing music with id [miscallenous_corvus_campaign_music.ogg]
434464 [Thread-3] ERROR com.fs.starfarer.combat.CombatMain  - java.util.ConcurrentModificationException
   at java.util.ArrayList$Itr.checkForComodification(
   at java.util.ArrayList$
   at com.fs.starfarer.campaign.econ.Market.reapplyConditions(Unknown Source)
   at com.fs.starfarer.campaign.econ.Market.advance(Unknown Source)
   at com.fs.starfarer.campaign.econ.Economy.advance(Unknown Source)
   at com.fs.starfarer.campaign.CampaignEngine.advance(Unknown Source)
   at com.fs.starfarer.campaign.CampaignState.advance(Unknown Source)
   at com.fs.starfarer.BaseGameState.traverse(Unknown Source)
   at com.fs.state.AppDriver.begin(Unknown Source)
   at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher.o00000(Unknown Source)
   at com.fs.starfarer.StarfarerLauncher$ Source)
{"enabledMods": [
  "Adjusted Sector",
  "Mayasuran Navy",
  "Terraforming & Station Construction",


  • Administrator
  • Admiral
  • *****
  • Posts: 22127
    • View Profile
Re: random very hard to avoid crash making the game almost unplayable.
« Reply #1 on: March 21, 2023, 08:45:49 PM »

(This would be really tough to debug for anyone - the cause is some market condition removing a market condition in its apply() method, but what it is isn't going to show up in a stack trace because the error pops after the modification is made.

I've just changed vanilla to iterate over a copy of the conditions, though, which should make it possible to do what that condition is attempting to do, whatever it is, without a crash.)


  • Commander
  • ***
  • Posts: 103
    • View Profile
Re: random very hard to avoid crash making the game almost unplayable.
« Reply #2 on: March 21, 2023, 09:15:36 PM »

yay fixes. thank you very mush. ill need to get myself a new mod set for now though.