Skip to content
This repository has been archived by the owner on Nov 18, 2023. It is now read-only.

Infinite Tick duration after world load #114

Open
ZiphonOfficial opened this issue May 11, 2022 · 0 comments
Open

Infinite Tick duration after world load #114

ZiphonOfficial opened this issue May 11, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@ZiphonOfficial
Copy link

Describe the bug

I believe the issue to be world save related. I can create a perfectly new world with absolutely no corruption. After running the server for a day or so I will eventually restart the server. If I have no machinery setups built, the server will restart properly, and successfully complete /stop. If I have machinery built the server will successfully stop the first time, but after rebooting the server and loading the world the server's first tick will last an infinite amount of time thus causing a crash.

The only machinery I have built in my world every time this bug has happened has been an ME system, Refined Pipes (for energy, items, and liquid), and Magmatic Dynamo's from the Thermal Expansion mod. Crashlog includes AstralSorcery, Refined Pipes, Better Nether (reforged), Better End (Forge). I will submit the crash-log to each developer.

How can we reproduce this bug or crash?

Create new world
Build make a generator or storage medium to transfer items to and from
Shutdown server
Start Server
Wait for world to load
Ta-daa! First tick lasts infinitely (until server crash or manual bash abort)

My Minecraft version isn't listed, but the mod's most recent file is for 1.16 (not 1.18). I am running latest version.
I wouldn't create this issue if it wasn't latest release

What Minecraft version is this happening on?

Minecraft 1.18.2

What Forge version is this happening on?

Forge-1.16.5-36.2.34

What Refined Pipes version is this happening on?

0.5.2

Relevant log output

java.lang.Error: ServerHangWatchdog detected that a single server tick took 90.00 seconds (should be max 0.05)
at jdk.internal.misc.Unsafe.park(Native Method) ~[?:?] {re:classloading,re:classloading,re:classloading}
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:234) ~[?:?] {}
at net.minecraft.util.concurrent.ThreadTaskExecutor.func_223705_bi(SourceFile:139) ~[?:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}
at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213161_c(SourceFile:129) ~[?:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}
at net.minecraft.world.server.ServerChunkProvider.func_212849_a_(ServerChunkProvider.java:135) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.world.World.func_217353_a(World.java:167) ~[?:?] {re:mixin,pl:accesstransformer:B,xf:fml:observerlib:coremodmethod,xf:fml:astralsorcery:sun_brightness_server,xf:fml:twilightforest:hitbox,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,xf:fml:observerlib:coremodmethod,xf:fml:astralsorcery:sun_brightness_server,xf:fml:twilightforest:hitbox,pl:runtimedistcleaner:A}
at net.minecraft.world.IWorldReader.func_217348_a(IWorldReader.java:112) ~[?:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:runtimedistcleaner:A}
at net.minecraft.world.World.func_212866_a_(World.java:163) ~[?:?] {re:mixin,pl:accesstransformer:B,xf:fml:observerlib:coremodmethod,xf:fml:astralsorcery:sun_brightness_server,xf:fml:twilightforest:hitbox,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,xf:fml:observerlib:coremodmethod,xf:fml:astralsorcery:sun_brightness_server,xf:fml:twilightforest:hitbox,pl:runtimedistcleaner:A}
at net.minecraft.world.World.func_175726_f(World.java:159) ~[?:?] {re:mixin,pl:accesstransformer:B,xf:fml:observerlib:coremodmethod,xf:fml:astralsorcery:sun_brightness_server,xf:fml:twilightforest:hitbox,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,xf:fml:observerlib:coremodmethod,xf:fml:astralsorcery:sun_brightness_server,xf:fml:twilightforest:hitbox,pl:runtimedistcleaner:A}
at net.minecraft.world.World.func_175625_s(World.java:598) ~[?:?] {re:mixin,pl:accesstransformer:B,xf:fml:observerlib:coremodmethod,xf:fml:astralsorcery:sun_brightness_server,xf:fml:twilightforest:hitbox,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,xf:fml:observerlib:coremodmethod,xf:fml:astralsorcery:sun_brightness_server,xf:fml:twilightforest:hitbox,pl:runtimedistcleaner:A}
at com.refinedmods.refinedpipes.network.graph.NetworkGraphScanner.singleScanAt(NetworkGraphScanner.java:88) ~[refinedpipes:0.5.2] {re:classloading}
at com.refinedmods.refinedpipes.network.graph.NetworkGraphScanner.scanAt(NetworkGraphScanner.java:41) ~[refinedpipes:0.5.2] {re:classloading}
at com.refinedmods.refinedpipes.network.graph.NetworkGraph.scan(NetworkGraph.java:25) ~[refinedpipes:0.5.2] {re:classloading}
at com.refinedmods.refinedpipes.network.Network.scanGraph(Network.java:36) ~[refinedpipes:0.5.2] {re:classloading}
at com.refinedmods.refinedpipes.network.fluid.FluidNetwork.scanGraph(FluidNetwork.java:39) ~[refinedpipes:0.5.2] {re:classloading}
at com.refinedmods.refinedpipes.network.NetworkManager.formNetworkAt(NetworkManager.java:76) ~[refinedpipes:0.5.2] {re:classloading}
at com.refinedmods.refinedpipes.network.NetworkManager.addPipe(NetworkManager.java:132) ~[refinedpipes:0.5.2] {re:classloading}
at com.refinedmods.refinedpipes.tile.PipeTileEntity.func_145829_t(PipeTileEntity.java:53) ~[refinedpipes:0.5.2] {re:classloading}
at net.minecraft.world.chunk.Chunk.func_177426_a(Chunk.java:409) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.world.chunk.Chunk.func_150813_a(Chunk.java:399) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.world.chunk.storage.ChunkSerializer.func_222650_a(ChunkSerializer.java:402) ~[?:?] {re:mixin,re:classloading,pl:mixin:APP:betternether.mixins.json:ChunkSerializerMixin,pl:mixin:APP:architectury.mixins.json:MixinChunkSerializer,pl:mixin:APP:ferritecore.chunknbt.mixin.json:ChunkSerializerMixin,pl:mixin:A}
at net.minecraft.world.chunk.storage.ChunkSerializer.md39ea81$lambda$replacePostLoad$0$0(ChunkSerializer.java:1582) ~[?:?] {re:mixin,re:classloading,pl:mixin:APP:betternether.mixins.json:ChunkSerializerMixin,pl:mixin:APP:architectury.mixins.json:MixinChunkSerializer,pl:mixin:APP:ferritecore.chunknbt.mixin.json:ChunkSerializerMixin,pl:mixin:A}
at net.minecraft.world.chunk.storage.ChunkSerializer$$Lambda$27964/0x0000000844579440.accept(Unknown Source) ~[?:?] {}
at net.minecraft.world.chunk.Chunk.func_217318_w(Chunk.java:457) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.world.server.ChunkManager.func_219237_a_(ChunkManager.java:582) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:ftbchunks-common.mixins.json:ChunkMapMixin,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.world.server.ChunkManager$$Lambda$28126/0x00000008445bb440.apply(Unknown Source) ~[?:?] {}
at com.mojang.datafixers.util.Either.lambda$mapLeft$0(Either.java:162) ~[?:?] {re:classloading}
at com.mojang.datafixers.util.Either$$Lambda$28048/0x000000084459f040.apply(Unknown Source) ~[?:?] {}
at com.mojang.datafixers.util.Either$Left.map(Either.java:38) ~[?:?] {re:classloading}
at com.mojang.datafixers.util.Either.mapLeft(Either.java:162) ~[?:?] {re:classloading}
at net.minecraft.world.server.ChunkManager.func_219193_a_(ChunkManager.java:569) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:ftbchunks-common.mixins.json:ChunkMapMixin,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.world.server.ChunkManager$$Lambda$28123/0x00000008445ba840.apply(Unknown Source) ~[?:?] {}
at java.util.concurrent.CompletableFuture$UniApply.tryFire(CompletableFuture.java:642) ~[?:?] {}
at java.util.concurrent.CompletableFuture$Completion.run(CompletableFuture.java:478) ~[?:?] {}
at net.minecraft.world.chunk.ChunkTaskPriorityQueueSorter.func_219083_b(SourceFile:58) ~[?:?] {re:classloading}
at net.minecraft.world.chunk.ChunkTaskPriorityQueueSorter$$Lambda$27919/0x000000084456d040.run(Unknown Source) ~[?:?] {}
at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213166_h(SourceFile:144) ~[?:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}
at net.minecraft.world.server.ServerChunkProvider$ChunkExecutor.func_213166_h(ServerChunkProvider.java:519) ~[?:?] {re:classloading}
at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213168_p(SourceFile:118) ~[?:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}
at net.minecraft.world.server.ServerChunkProvider$ChunkExecutor.func_213168_p(ServerChunkProvider.java:527) ~[?:?] {re:classloading}
at net.minecraft.util.concurrent.ThreadTaskExecutor.func_213161_c(SourceFile:127) ~[?:?] {re:mixin,pl:accesstransformer:B,re:computing_frames,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B}
at net.minecraft.world.server.ServerChunkProvider.func_212849_a_(ServerChunkProvider.java:135) ~[?:?] {re:classloading,pl:accesstransformer:B,pl:runtimedistcleaner:A}
at net.minecraft.world.World.func_217353_a(World.java:167) ~[?:?] {re:mixin,pl:accesstransformer:B,xf:fml:observerlib:coremodmethod,xf:fml:astralsorcery:sun_brightness_server,xf:fml:twilightforest:hitbox,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,xf:fml:observerlib:coremodmethod,xf:fml:astralsorcery:sun_brightness_server,xf:fml:twilightforest:hitbox,pl:runtimedistcleaner:A}
at net.minecraft.world.IWorldReader.func_217348_a(IWorldReader.java:112) ~[?:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:runtimedistcleaner:A}
at net.minecraft.world.World.func_212866_a_(World.java:163) ~[?:?] {re:mixin,pl:accesstransformer:B,xf:fml:observerlib:coremodmethod,xf:fml:astralsorcery:sun_brightness_server,xf:fml:twilightforest:hitbox,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,xf:fml:observerlib:coremodmethod,xf:fml:astralsorcery:sun_brightness_server,xf:fml:twilightforest:hitbox,pl:runtimedistcleaner:A}
at net.minecraft.world.World.func_175726_f(World.java:159) ~[?:?] {re:mixin,pl:accesstransformer:B,xf:fml:observerlib:coremodmethod,xf:fml:astralsorcery:sun_brightness_server,xf:fml:twilightforest:hitbox,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,xf:fml:observerlib:coremodmethod,xf:fml:astralsorcery:sun_brightness_server,xf:fml:twilightforest:hitbox,pl:runtimedistcleaner:A}
at net.minecraft.world.World.func_175625_s(World.java:598) ~[?:?] {re:mixin,pl:accesstransformer:B,xf:fml:observerlib:coremodmethod,xf:fml:astralsorcery:sun_brightness_server,xf:fml:twilightforest:hitbox,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,xf:fml:observerlib:coremodmethod,xf:fml:astralsorcery:sun_brightness_server,xf:fml:twilightforest:hitbox,pl:runtimedistcleaner:A}
at com.refinedmods.refinedpipes.network.graph.NetworkGraphScanner.singleScanAt(NetworkGraphScanner.java:88) ~[refinedpipes:0.5.2] {re:classloading}
at com.refinedmods.refinedpipes.network.graph.NetworkGraphScanner.scanAt(NetworkGraphScanner.java:41) ~[refinedpipes:0.5.2] {re:classloading}
at com.refinedmods.refinedpipes.network.graph.NetworkGraph.scan(NetworkGraph.java:25) ~[refinedpipes:0.5.2] {re:classloading}
at com.refinedmods.refinedpipes.network.Network.scanGraph(Network.java:36) ~[refinedpipes:0.5.2] {re:classloading}
at com.refinedmods.refinedpipes.network.energy.EnergyNetwork.scanGraph(EnergyNetwork.java:32) ~[refinedpipes:0.5.2] {re:classloading}
at com.refinedmods.refinedpipes.network.Network.update(Network.java:54) ~[refinedpipes:0.5.2] {re:classloading}
at com.refinedmods.refinedpipes.network.energy.EnergyNetwork.update(EnergyNetwork.java:55) ~[refinedpipes:0.5.2] {re:classloading}
at com.refinedmods.refinedpipes.setup.CommonSetup.lambda$onWorldTick$13(CommonSetup.java:151) ~[refinedpipes:0.5.2] {re:classloading}
at com.refinedmods.refinedpipes.setup.CommonSetup$$Lambda$28640/0x0000000844697840.accept(Unknown Source) ~[?:?] {}
at java.util.HashMap$Values.forEach(HashMap.java:977) ~[?:?] {}
at com.refinedmods.refinedpipes.setup.CommonSetup.onWorldTick(CommonSetup.java:151) ~[refinedpipes:0.5.2] {re:classloading}
at com.refinedmods.refinedpipes.RefinedPipes$$Lambda$3827/0x000000084067bc40.accept(Unknown Source) ~[?:?] {}
at net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:247) ~[eventbus-4.0.0.jar:?] {}
at net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:239) ~[eventbus-4.0.0.jar:?] {}
at net.minecraftforge.eventbus.EventBus$$Lambda$2926/0x0000000840ca5840.invoke(Unknown Source) ~[?:?] {}
at net.minecraftforge.eventbus.EventBus$$Lambda$3762/0x000000084069f840.invoke(Unknown Source) ~[?:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-4.0.0.jar:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-4.0.0.jar:?] {}
at net.minecraftforge.fml.hooks.BasicEventHooks.onPostWorldTick(BasicEventHooks.java:100) ~[forge:?] {re:classloading}
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:857) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:betterendforge.mixins.json:MinecraftServerMixin,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.server.dedicated.DedicatedServer.func_71190_q(DedicatedServer.java:291) ~[?:?] {re:classloading,pl:accesstransformer:B}
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:787) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:betterendforge.mixins.json:MinecraftServerMixin,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:642) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:betterendforge.mixins.json:MinecraftServerMixin,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.server.MinecraftServer.func_240783_a_(MinecraftServer.java:232) ~[?:?] {re:mixin,pl:accesstransformer:B,pl:runtimedistcleaner:A,re:classloading,pl:accesstransformer:B,pl:mixin:APP:betterendforge.mixins.json:MinecraftServerMixin,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.server.MinecraftServer$$Lambda$27472/0x000000084445b840.run(Unknown Source) ~[?:?] {}
at java.lang.Thread.run(Thread.java:829) [?:?] {}
@ZiphonOfficial ZiphonOfficial added the bug Something isn't working label May 11, 2022
@ZiphonOfficial ZiphonOfficial changed the title Infinite Tick duratiom after world load Infinite Tick duration after world load May 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant