FerriteCore (Fabric)

FerriteCore (Fabric)

30M Downloads

Crash with Terraqueous

WenXin20 opened this issue ยท 8 comments

commented

Minecraft v1.18.1
Forge v39.0.79
FerriteCore v4.1.2
ShetiPhian Core v3.10.13
Terraqueous v1.9.4

Sometimes my server crashes during the placement of clouds from Terraqueous.

latest.log

Already reported at ShetiPhian/Localizations-and-Issues#327

commented

@WenXin20 can you still reproduce the crash with the new Terraqueous build from the other issue (and ideally also the FC build I posted there)?

commented

I'll see if the new terraqueous update fixes this

commented

I got this server crash while exploring, although it seems unrelated to Terraqueous.
Crash Report

commented

I think I may just have to remove the feature for now, or at least disable it by default and put a big warning on it. I don't see how this can happen at all, outside of some really stupid scheduling decisions that might be theoretically legal, but not reasonable in practice (threads waiting for >10 seconds when they have work to do).

commented

I haven't had this crash in quite a while

commented

That's the real problem here, it's impossible to reproduce. I managed to reproduce it a couple of times in the original setting, but it went away completely as soon as I added any amount of debugging code; and I never managed to reproduce it at all after the first fix in Terraqueous. What I'd really need here would be a Java equivalent of clang's TSAN, but that doesn't really seem to exist. At one point I seriously considered renting a cheap VPS and just having it run worldgen overnight until it crashed. But the memory savings from the threading detectors really aren't worth that kind of effort.

I'll try to get a new release disabling it by default out tomorrow.

commented

According to Terraqueous's developer they said the following about this issue:

"I'm convinced the FerriteCore 'SmallThreadingDetector' is just broken.
(to be fair its likely working and its another optimization triggering the crashes)

A month ago it was causing crashes with my cloud generation, they looked over the generator and couldn't see exactly why the crash was happening. A potential extra chunk generation issue was discovered though, so it was rewritten to use the vanilla ore generator, and I closed the issue as it was no longer possible to be my code.

Your reports show its now crashing with my trees.
So I looked at their issue tracker, intending to see what the fix ended up being, but found the old issue still open and WenXin20 has posted another log showing the SmallThreadingDetector crashing with the vanilla tree generator.

I wonder if the issue is with the chunk optimizations, try disabling reducedChunkNBT in the FerriteCore mixin config."

commented

Getting a crash with Terraqueous as well.

[02:52:04] [Server thread/ERROR]: Error executing task on Chunk source main thread executor for minecraft:overworld
net.minecraft.ReportedException: Feature placement
at net.minecraft.server.level.ChunkMap.m_203056_(ChunkMap.java:602) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:157) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.server.level.ServerChunkCache$MainThreadExecutor.m_6367_(ServerChunkCache.java:532) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:131) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.server.level.ServerChunkCache$MainThreadExecutor.m_7245_(ServerChunkCache.java:540) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.server.level.ServerChunkCache.m_8466_(ServerChunkCache.java:266) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.server.MinecraftServer.m_129961_(MinecraftServer.java:787) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.server.MinecraftServer.m_7245_(MinecraftServer.java:776) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.util.thread.BlockableEventLoop.m_18701_(BlockableEventLoop.java:140) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.server.MinecraftServer.m_130012_(MinecraftServer.java:762) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:689) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.server.MinecraftServer.m_177918_(MinecraftServer.java:261) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at java.lang.Thread.run(Thread.java:833) [?:?]
Caused by: java.lang.RuntimeException: Threading detector crash did not find other thread, missing release call?
at malte0811.ferritecore.util.SmallThreadingDetector$CrashingState.waitUntilOrCrash(SmallThreadingDetector.java:151) ~[ferritecore-4.2.0-forge.jar%23145!/:?]
at malte0811.ferritecore.util.SmallThreadingDetector$CrashingState.waitUntilReady(SmallThreadingDetector.java:131) ~[ferritecore-4.2.0-forge.jar%23145!/:?]
at malte0811.ferritecore.util.SmallThreadingDetector$GlobalCrashHandler.getAndWait(SmallThreadingDetector.java:102) ~[ferritecore-4.2.0-forge.jar%23145!/:?]
at malte0811.ferritecore.util.SmallThreadingDetector$GlobalCrashHandler.crashAcquire(SmallThreadingDetector.java:76) ~[ferritecore-4.2.0-forge.jar%23145!/:?]
at malte0811.ferritecore.util.SmallThreadingDetector.acquire(SmallThreadingDetector.java:34) ~[ferritecore-4.2.0-forge.jar%23145!/:?]
at net.minecraft.world.level.chunk.PalettedContainer.m_63084_(PalettedContainer.java:539) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.world.level.chunk.PalettedContainer.m_63091_(PalettedContainer.java:88) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.world.level.chunk.LevelChunkSection.m_62991_(LevelChunkSection.java:73) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.world.level.chunk.LevelChunkSection.m_62986_(LevelChunkSection.java:67) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.world.level.chunk.ProtoChunk.m_6978_(ProtoChunk.java:131) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.server.level.WorldGenRegion.m_6933_(WorldGenRegion.java:271) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.world.level.LevelWriter.m_7731_(LevelWriter.java:15) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate.m_74488_(StructureTemplate.java:359) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.world.phys.shapes.DiscreteVoxelShape.m_82812_(DiscreteVoxelShape.java:233) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.world.phys.shapes.DiscreteVoxelShape.m_82810_(DiscreteVoxelShape.java:202) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate.m_74510_(StructureTemplate.java:347) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at shetiphian.terraqueous.common.worldgen.feature.AbstractTreeFeature.place(AbstractTreeFeature.java:211) ~[terraqueous-1.18-1.9.9.jar%23241!/:1.9.9]
at shetiphian.terraqueous.common.worldgen.feature.AbstractTreeFeature.m_142674_(AbstractTreeFeature.java:126) ~[terraqueous-1.18-1.9.9.jar%23241!/:1.9.9]
at net.minecraft.world.level.levelgen.feature.Feature.m_204740_(Feature.java:153) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.world.level.levelgen.feature.ConfiguredFeature.m_65385_(ConfiguredFeature.java:27) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.world.level.levelgen.placement.PlacedFeature.m_191789_(PlacedFeature.java:56) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) ~[?:?]
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) ~[?:?]
at java.util.stream.IntPipeline$1$1.accept(IntPipeline.java:180) ~[?:?]
at java.util.stream.IntPipeline$10$1.accept(IntPipeline.java:393) ~[?:?]
at java.util.stream.Streams$RangeIntSpliterator.forEachRemaining(Streams.java:104) ~[?:?]
at java.util.Spliterator$OfInt.forEachRemaining(Spliterator.java:711) ~[?:?]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?]
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) ~[?:?]
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) ~[?:?]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596) ~[?:?]
at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:276) ~[?:?]
at java.util.stream.Streams$StreamBuilderImpl.forEachRemaining(Streams.java:411) ~[?:?]
at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) ~[?:?]
at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:276) ~[?:?]
at java.util.stream.Streams$StreamBuilderImpl.forEachRemaining(Streams.java:411) ~[?:?]
at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) ~[?:?]
at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:276) ~[?:?]
at java.util.stream.Streams$StreamBuilderImpl.forEachRemaining(Streams.java:411) ~[?:?]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?]
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) ~[?:?]
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) ~[?:?]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596) ~[?:?]
at net.minecraft.world.level.levelgen.placement.PlacedFeature.m_191797_(PlacedFeature.java:55) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.world.level.levelgen.placement.PlacedFeature.m_191806_(PlacedFeature.java:44) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.world.level.chunk.ChunkGenerator.m_183372_(ChunkGenerator.java:475) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.world.level.chunk.ChunkStatus.m_187807_(ChunkStatus.java:135) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.world.level.chunk.ChunkStatus.md1f29e0$lambda$injectLightmapSetup$1$4(ChunkStatus.java:546) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.world.level.chunk.ChunkStatus.m_187788_(ChunkStatus.java:262) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.server.level.ChunkMap.lambda$scheduleChunkGeneration$22(ChunkMap.java:589) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at com.mojang.datafixers.util.Either$Left.map(Either.java:38) ~[datafixerupper-4.1.27.jar%2333!/:?]
at net.minecraft.server.level.ChunkMap.lambda$scheduleChunkGeneration$24(ChunkMap.java:587) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1150) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
at net.minecraft.server.level.ChunkTaskPriorityQueueSorter.m_143188_(ChunkTaskPriorityQueueSorter.java:62) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.util.thread.ProcessorMailbox.m_18759_(ProcessorMailbox.java:91) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.util.thread.ProcessorMailbox.m_18747_(ProcessorMailbox.java:146) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.util.thread.ProcessorMailbox.run(ProcessorMailbox.java:102) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1395) ~[?:?]
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?]
at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?]
at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?]
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?]
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?]
Suppressed: java.lang.RuntimeException: Threading detector crash did not find other thread, missing release call?
at malte0811.ferritecore.util.SmallThreadingDetector$CrashingState.waitUntilOrCrash(SmallThreadingDetector.java:151) ~[ferritecore-4.2.0-forge.jar%23145!/:?]
at malte0811.ferritecore.util.SmallThreadingDetector$CrashingState.waitUntilReady(SmallThreadingDetector.java:136) ~[ferritecore-4.2.0-forge.jar%23145!/:?]
at malte0811.ferritecore.util.SmallThreadingDetector$GlobalCrashHandler.getAndWait(SmallThreadingDetector.java:102) ~[ferritecore-4.2.0-forge.jar%23145!/:?]
at malte0811.ferritecore.util.SmallThreadingDetector$GlobalCrashHandler.crashRelease(SmallThreadingDetector.java:81) ~[ferritecore-4.2.0-forge.jar%23145!/:?]
at malte0811.ferritecore.util.SmallThreadingDetector.release(SmallThreadingDetector.java:55) ~[ferritecore-4.2.0-forge.jar%23145!/:?]
at net.minecraft.world.level.chunk.PalettedContainer.m_63120_(PalettedContainer.java:548) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.world.level.chunk.LevelChunkSection.m_63006_(LevelChunkSection.java:63) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.world.level.chunk.BulkSectionAccess.close(BulkSectionAccess.java:58) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at shetiphian.terraqueous.common.worldgen.feature.AbstractTreeFeature.m_142674_(AbstractTreeFeature.java:129) ~[terraqueous-1.18-1.9.9.jar%23241!/:1.9.9]
at net.minecraft.world.level.levelgen.feature.Feature.m_204740_(Feature.java:153) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.world.level.levelgen.feature.ConfiguredFeature.m_65385_(ConfiguredFeature.java:27) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.world.level.levelgen.placement.PlacedFeature.m_191789_(PlacedFeature.java:56) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) ~[?:?]
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) ~[?:?]
at java.util.stream.IntPipeline$1$1.accept(IntPipeline.java:180) ~[?:?]
at java.util.stream.IntPipeline$10$1.accept(IntPipeline.java:393) ~[?:?]
at java.util.stream.Streams$RangeIntSpliterator.forEachRemaining(Streams.java:104) ~[?:?]
at java.util.Spliterator$OfInt.forEachRemaining(Spliterator.java:711) ~[?:?]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?]
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) ~[?:?]
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) ~[?:?]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596) ~[?:?]
at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:276) ~[?:?]
at java.util.stream.Streams$StreamBuilderImpl.forEachRemaining(Streams.java:411) ~[?:?]
at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) ~[?:?]
at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:276) ~[?:?]
at java.util.stream.Streams$StreamBuilderImpl.forEachRemaining(Streams.java:411) ~[?:?]
at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) ~[?:?]
at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:276) ~[?:?]
at java.util.stream.Streams$StreamBuilderImpl.forEachRemaining(Streams.java:411) ~[?:?]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?]
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) ~[?:?]
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) ~[?:?]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596) ~[?:?]
at net.minecraft.world.level.levelgen.placement.PlacedFeature.m_191797_(PlacedFeature.java:55) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.world.level.levelgen.placement.PlacedFeature.m_191806_(PlacedFeature.java:44) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.world.level.chunk.ChunkGenerator.m_183372_(ChunkGenerator.java:475) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.world.level.chunk.ChunkStatus.m_187807_(ChunkStatus.java:135) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.world.level.chunk.ChunkStatus.md1f29e0$lambda$injectLightmapSetup$1$4(ChunkStatus.java:546) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.world.level.chunk.ChunkStatus.m_187788_(ChunkStatus.java:262) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.server.level.ChunkMap.lambda$scheduleChunkGeneration$22(ChunkMap.java:589) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at com.mojang.datafixers.util.Either$Left.map(Either.java:38) ~[datafixerupper-4.1.27.jar%2333!/:?]
at net.minecraft.server.level.ChunkMap.lambda$scheduleChunkGeneration$24(ChunkMap.java:587) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1150) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
at net.minecraft.server.level.ChunkTaskPriorityQueueSorter.m_143188_(ChunkTaskPriorityQueueSorter.java:62) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.util.thread.ProcessorMailbox.m_18759_(ProcessorMailbox.java:91) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.util.thread.ProcessorMailbox.m_18747_(ProcessorMailbox.java:146) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.util.thread.ProcessorMailbox.run(ProcessorMailbox.java:102) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1395) ~[?:?]
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?]
at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?]
at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?]
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?]
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?]
[02:52:24] [Server thread/ERROR]: Error executing task on Chunk source main thread executor for minecraft:overworld
net.minecraft.ReportedException: Feature placement
at net.minecraft.server.level.ChunkMap.m_203056_(ChunkMap.java:602) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.util.thread.BlockableEventLoop.m_6367_(BlockableEventLoop.java:157) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.server.level.ServerChunkCache$MainThreadExecutor.m_6367_(ServerChunkCache.java:532) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.util.thread.BlockableEventLoop.m_7245_(BlockableEventLoop.java:131) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.server.level.ServerChunkCache$MainThreadExecutor.m_7245_(ServerChunkCache.java:540) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.server.level.ServerChunkCache.m_8466_(ServerChunkCache.java:266) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.server.MinecraftServer.m_129961_(MinecraftServer.java:787) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.server.MinecraftServer.m_7245_(MinecraftServer.java:776) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.util.thread.BlockableEventLoop.m_18701_(BlockableEventLoop.java:140) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.server.MinecraftServer.m_130012_(MinecraftServer.java:762) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:689) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.server.MinecraftServer.m_177918_(MinecraftServer.java:261) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at java.lang.Thread.run(Thread.java:833) [?:?]
Caused by: java.lang.RuntimeException: Threading detector crash did not find other thread, missing release call?
at malte0811.ferritecore.util.SmallThreadingDetector$CrashingState.waitUntilOrCrash(SmallThreadingDetector.java:151) ~[ferritecore-4.2.0-forge.jar%23145!/:?]
at malte0811.ferritecore.util.SmallThreadingDetector$CrashingState.waitUntilReady(SmallThreadingDetector.java:136) ~[ferritecore-4.2.0-forge.jar%23145!/:?]
at malte0811.ferritecore.util.SmallThreadingDetector$GlobalCrashHandler.getAndWait(SmallThreadingDetector.java:102) ~[ferritecore-4.2.0-forge.jar%23145!/:?]
at malte0811.ferritecore.util.SmallThreadingDetector$GlobalCrashHandler.crashBystander(SmallThreadingDetector.java:86) ~[ferritecore-4.2.0-forge.jar%23145!/:?]
at malte0811.ferritecore.util.SmallThreadingDetector.acquire(SmallThreadingDetector.java:39) ~[ferritecore-4.2.0-forge.jar%23145!/:?]
at net.minecraft.world.level.chunk.PalettedContainer.m_63084_(PalettedContainer.java:539) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.world.level.chunk.PalettedContainer.m_63091_(PalettedContainer.java:88) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.world.level.chunk.LevelChunkSection.m_62991_(LevelChunkSection.java:73) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.world.level.chunk.LevelChunkSection.m_62986_(LevelChunkSection.java:67) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.world.level.chunk.ProtoChunk.m_6978_(ProtoChunk.java:131) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.server.level.WorldGenRegion.m_6933_(WorldGenRegion.java:271) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.world.level.LevelWriter.m_7731_(LevelWriter.java:15) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.world.level.levelgen.feature.SimpleBlockFeature.m_142674_(SimpleBlockFeature.java:31) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.world.level.levelgen.feature.Feature.m_204740_(Feature.java:153) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.world.level.levelgen.feature.ConfiguredFeature.m_65385_(ConfiguredFeature.java:27) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.world.level.levelgen.placement.PlacedFeature.m_191789_(PlacedFeature.java:56) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) ~[?:?]
at java.util.stream.Streams$StreamBuilderImpl.forEachRemaining(Streams.java:411) ~[?:?]
at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) ~[?:?]
at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:276) ~[?:?]
at java.util.stream.Streams$StreamBuilderImpl.forEachRemaining(Streams.java:411) ~[?:?]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?]
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) ~[?:?]
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) ~[?:?]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596) ~[?:?]
at net.minecraft.world.level.levelgen.placement.PlacedFeature.m_191797_(PlacedFeature.java:55) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.world.level.levelgen.placement.PlacedFeature.m_191782_(PlacedFeature.java:40) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.world.level.levelgen.feature.RandomPatchFeature.m_142674_(RandomPatchFeature.java:29) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.world.level.levelgen.feature.Feature.m_204740_(Feature.java:153) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.world.level.levelgen.feature.ConfiguredFeature.m_65385_(ConfiguredFeature.java:27) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.world.level.levelgen.placement.PlacedFeature.m_191789_(PlacedFeature.java:56) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) ~[?:?]
at java.util.stream.Streams$StreamBuilderImpl.forEachRemaining(Streams.java:411) ~[?:?]
at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) ~[?:?]
at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:276) ~[?:?]
at java.util.stream.Streams$StreamBuilderImpl.forEachRemaining(Streams.java:411) ~[?:?]
at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) ~[?:?]
at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:276) ~[?:?]
at java.util.stream.Streams$StreamBuilderImpl.forEachRemaining(Streams.java:411) ~[?:?]
at java.util.stream.ReferencePipeline$Head.forEach(ReferencePipeline.java:762) ~[?:?]
at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:276) ~[?:?]
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:183) ~[?:?]
at java.util.stream.IntPipeline$1$1.accept(IntPipeline.java:180) ~[?:?]
at java.util.stream.Streams$RangeIntSpliterator.forEachRemaining(Streams.java:104) ~[?:?]
at java.util.Spliterator$OfInt.forEachRemaining(Spliterator.java:711) ~[?:?]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?]
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) ~[?:?]
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) ~[?:?]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596) ~[?:?]
at java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:276) ~[?:?]
at java.util.stream.Streams$StreamBuilderImpl.forEachRemaining(Streams.java:411) ~[?:?]
at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509) ~[?:?]
at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499) ~[?:?]
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:150) ~[?:?]
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:173) ~[?:?]
at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) ~[?:?]
at java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:596) ~[?:?]
at net.minecraft.world.level.levelgen.placement.PlacedFeature.m_191797_(PlacedFeature.java:55) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.world.level.levelgen.placement.PlacedFeature.m_191806_(PlacedFeature.java:44) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.world.level.chunk.ChunkGenerator.m_183372_(ChunkGenerator.java:475) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.world.level.chunk.ChunkStatus.m_187807_(ChunkStatus.java:135) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.world.level.chunk.ChunkStatus.md1f29e0$lambda$injectLightmapSetup$1$4(ChunkStatus.java:546) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.world.level.chunk.ChunkStatus.m_187788_(ChunkStatus.java:262) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.server.level.ChunkMap.lambda$scheduleChunkGeneration$22(ChunkMap.java:589) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at com.mojang.datafixers.util.Either$Left.map(Either.java:38) ~[datafixerupper-4.1.27.jar%2333!/:?]
at net.minecraft.server.level.ChunkMap.lambda$scheduleChunkGeneration$24(ChunkMap.java:587) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1150) ~[?:?]
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:482) ~[?:?]
at net.minecraft.server.level.ChunkTaskPriorityQueueSorter.m_143188_(ChunkTaskPriorityQueueSorter.java:62) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.util.thread.ProcessorMailbox.m_18759_(ProcessorMailbox.java:91) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.util.thread.ProcessorMailbox.m_18747_(ProcessorMailbox.java:146) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at net.minecraft.util.thread.ProcessorMailbox.run(ProcessorMailbox.java:102) ~[client-1.18.2-20220404.173914-srg.jar%23269!/:?]
at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1395) ~[?:?]
at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?]
at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?]
at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?]
at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?]
at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?]