Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.97a is out! (02/02/24); New blog post: Simulator Enhancements (03/13/24)

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

alaricdragon

  • Commander
  • ***
  • Posts: 145
    • 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
java.util.ConcurrentModificationException
   at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:911)
   at java.util.ArrayList$Itr.next(ArrayList.java:861)
   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$1.run(Unknown Source)
   at java.lang.Thread.run(Thread.java:748)
[close]
enabledMods
{"enabledMods": [
  "$$$_lightshow",
  "$$$_trailermoments",
  "AI-Retrofits",
  "Adjusted Sector",
  "AAIPP",
  "all_the_domain_drones+NewDrones",
  "all_the_domain_drones+Vanilla",
  "anotherportraitpack",
  "ApproLight",
  "ApproLightPlus",
  "arthrspiratesbutepic",
  "lw_autosave",
  "timid_admins",
  "bountiesexpanded",
  "ORK",
  "CaptainsLog",
  "Csp",
  "chatter",
  "cmutils",
  "lw_radar",
  "timid_commissioned_hull_mods",
  "lw_console",
  "aaacrew_replacer",
  "DetailedCombatResults",
  "diableavionics",
  "dronelib",
  "edshipyard",
  "seven_nexus",
  "pt_exiledSpace",
  "XLU",
  "fleethistory",
  "fleetsizebydp",
  "forge_production",
  "sun_fuel_siphoning",
  "fp",
  "GrandColonies",
  "HMI",
  "HexShields",
  "hte",
  "IndEvo",
  "JYD",
  "kadur_remnant",
  "keruvim_shipyards",
  "kingdomofterra",
  "kyeltziv",
  "lw_lazylib",
  "ArkLeg",
  "logisticsNotifications",
  "lunalib",
  "exshippack",
  "MagicLib",
  "Mayasuran Navy",
  "missingships",
  "niko_moreCombatTerrainEffects",
  "more_hullmods",
  "ness_saw",
  "nexerelin",
  "kayse_phaseships",
  "sun_nomadic_survival",
  "OcuA",
  "oas",
  "ORA",
  "pn",
  "pearson_exotronics",
  "wisp_perseanchronicles",
  "Polaris_Prime",
  "PulseIndustry",
  "QualityCaptains",
  "reactiveui",
  "rotcesrats",
  "sv",
  "sikr",
  "tahlan_scalartech",
  "SCY",
  "SEEKER",
  "PT_ShipDirectionMarker",
  "stardustventures",
  "sun_starship_legends",
  "superweapons",
  "timid_supply_forging",
  "supportships",
  "tahlan",
  "presmattdamon_takenoprisoners",
  "Terraforming & Station Construction",
  "exalted",
  "star_federation",
  "TORCHSHIPS",
  "transfer_all_items",
  "underworld",
  "uaf",
  "US",
  "ungp",
  "URW",
  "vanidad",
  "XhanEmpire",
  "astroidships",
  "aaamarketRetrofits",
  "prv",
  "shaderLib"
]}
[close]
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 23986
    • 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.)
Logged

alaricdragon

  • Commander
  • ***
  • Posts: 145
    • 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.
Logged