Recurrent Complex

Recurrent Complex

35M Downloads

Timeout crashes while generating some structures in OTG worlds

Curunir opened this issue ยท 4 comments

commented

Let't get the specs out of the way first:

OS: Linux Mint 19.1 Cinnamon 64bit
Java: openjdk-8-jre custom package using the OpenJ9 JVM (but the issue also happens with vanilla openjdk using the regular HotSpot JVM)
Minecraft: 1.12.2
Forge: 14.23.5.2838
Recurrent Complex: 1.4.8.2
Server type: dedicated (all of the above are true for both client and server)
Issue type: server crash on chunk generation; generator takes so long that ServerHangWatchdog detects timeout and quits the server
Issue frequency: low, occurred twice in several hours of world exploration
Probable cause: Since the world generator is OTG with Biome Bundle, at least one Recurrent Complex structure likely clashes with an unexpected worldgen feature, but that is just my educated guess.
Steps to reproduce: Put Recurrent Complex in a pack with OTG/BiomeBundle worldgen, then generate a lot of chunks in there until all possible structures have been triggered (I guess).
Mod list: https://hastebin.com/oxiqipovam.bash
Crash log: https://hastebin.com/wuyixaqelo.rb

From where I stand, this could either be a bug in Recurrent Complex, a bug in OTG/BiomeBundle, a weird corner case, or bad luck on my part. If it's anything out of your jurisdiction, it would still be nice if the offending structure(s) could be identified, so I had a chance to remove them from my modpack config.
Thank you for your time.

commented

I think it's well-known, but anyway, this is OTG:
https://www.curseforge.com/minecraft/mc-mods/open-terrain-generator
https://www.curseforge.com/minecraft/mc-mods/biome-bundle
Using the latest 1.12.2 builds of both.

commented

I can confirm this crash with Biomes O' Plenty as well.
Log: https://pastebin.com/vbS0TCr8
Same Forge & mod versions.

commented

I understand if you consider this somebody else's problem, but if you are not going to look into it, please say so.

commented

Having the same issue, noticed when i removed this mod that things went all smooth

[Server Watchdog/FATAL] [minecraft/ServerHangWatchdog]: Considering it to be crashed, server will forcibly shutdown.
[Server Watchdog/INFO] [packcrashinfo]: No manfiest present, attempting to load the minecraftinstance.json file.
[Server Watchdog/WARN] [org.dimdev.utils.ModIdentifier]: Failed to identify ivorius.reccomplex.world.gen.feature.structure.generic.placement.GenericPlacer$$Lambda$3568/1332753874 (untransformed name: ivorius.reccomplex.world.gen.feature.structure.generic.placement.GenericPlacer$$Lambda$3568.1332753874)
[Server Watchdog/WARN] [org.dimdev.utils.ModIdentifier]: Failed to identify net.minecraftforge.fml.common.eventhandler.ASMEventHandler_1402_RCTerrainGenEventHandler_onDecoration_Decorate (untransformed name: net.minecraftforge.fml.common.eventhandler.ASMEventHandler_1402_RCTerrainGenEventHandler_onDecoration_Decorate)
[Server Watchdog/WARN] [org.dimdev.utils.ModIdentifier]: Failed to identify ivorius.reccomplex.world.gen.feature.structure.generic.placement.FactorMatch$$Lambda$3584/31107966 (untransformed name: ivorius.reccomplex.world.gen.feature.structure.generic.placement.FactorMatch$$Lambda$3584.31107966)
[Server Watchdog/WARN] [org.dimdev.utils.ModIdentifier]: Failed to identify ivorius.reccomplex.utils.expression.PositionedBlockExpression$IsVariableType$$Lambda$3084/1587311705 (untransformed name: ivorius.reccomplex.utils.expression.PositionedBlockExpression$IsVariableType$$Lambda$3084.1587311705)
[Server Watchdog/WARN] [org.dimdev.utils.ModIdentifier]: Failed to identify ivorius.reccomplex.utils.algebra.FunctionExpressionCache$$Lambda$3103/1833890997 (untransformed name: ivorius.reccomplex.utils.algebra.FunctionExpressionCache$$Lambda$3103.1833890997)
[Server Watchdog/WARN] [org.dimdev.utils.ModIdentifier]: Failed to identify ivorius.reccomplex.world.gen.feature.structure.generic.placement.rays.RayAverageMatcher$$Lambda$3573/2122120100 (untransformed name: ivorius.reccomplex.world.gen.feature.structure.generic.placement.rays.RayAverageMatcher$$Lambda$3573.2122120100)
[Server Watchdog/WARN] [org.dimdev.utils.ModIdentifier]: Failed to identify ivorius.reccomplex.utils.expression.PositionedBlockExpression$BlocksVariableType$$Lambda$3082/257582247 (untransformed name: ivorius.reccomplex.utils.expression.PositionedBlockExpression$BlocksVariableType$$Lambda$3082.257582247)
[Server Watchdog/WARN] [org.dimdev.utils.ModIdentifier]: Failed to identify ivorius.reccomplex.world.gen.feature.structure.generic.placement.rays.RayAverageMatcher$$Lambda$3572/2071255352 (untransformed name: ivorius.reccomplex.world.gen.feature.structure.generic.placement.rays.RayAverageMatcher$$Lambda$3572.2071255352)
[Server Watchdog/WARN] [org.dimdev.utils.ModIdentifier]: Failed to identify ivorius.reccomplex.world.gen.feature.WorldGenStructures$$Lambda$3560/1202269071 (untransformed name: ivorius.reccomplex.world.gen.feature.WorldGenStructures$$Lambda$3560.1202269071)
[Server Watchdog/WARN] [org.dimdev.utils.ModIdentifier]: Failed to identify net.minecraftforge.fml.common.eventhandler.ASMEventHandler_1397_RCForgeEventHandler_onPreChunkDecoration_Pre (untransformed name: net.minecraftforge.fml.common.eventhandler.ASMEventHandler_1397_RCForgeEventHandler_onPreChunkDecoration_Pre)
[Server Watchdog/WARN] [org.dimdev.utils.ModIdentifier]: Failed to identify net.minecraftforge.fml.common.eventhandler.ASMEventHandler_866_VariedDungeons_onDungeonSpawn_Populate (untransformed name: net.minecraftforge.fml.common.eventhandler.ASMEventHandler_866_VariedDungeons_onDungeonSpawn_Populate)
[Server Watchdog/ERROR] [minecraft/ServerHangWatchdog]: This crash report has been saved to: /home/macley/WOEE/./crash-reports/crash-2020-07-23_12.23.54-server.txt
[Server Shutdown Thread/INFO] [minecraft/MinecraftServer]: Stopping server

above is the crash log i could find. I believe it has smth to do with not being able to handle smth, probably from Biomes O plenty.

UPDATE:
i have found a workaround, that seems to hold up after a little bit of testing (rendering as much chunks and stressing my modpack/server out)
Add these to the config file

    # Resource Expression that will be applied to each loading structure, determining if it should be set to 'active'. [default: ]
    S:structureGenerationMatcher=VillageChurch | VillageForgeLarge | VillageGuardTower | VillageHouseRich | VillageHouseRich1 | VillageInn | VillageMarketplace | VillageSavannaChandlery | VillageSavannaGlasswork | VillageSavannaKitchen | VillageSavannaLibrary | VillageSavannaStonemason | VillageSavannaTannery | VillageTriplets | VillageWoodMill | ElvenPond

It will only allow the village stuff to spawn, but it's beter then nothing in my eyes.