Refined Storage

Refined Storage

109M Downloads

Server hangs after booting

evhub opened this issue · 1 comments

commented

Describe the bug

Upon booting up the server, it hangs indefinitely. This is a new issue that appeared without changing any mods; it was previously working fine. Using jstack I have identified the hang as likely due to Refined Storage, though I am not 100% confident. Included log output is jstack output for the main server thread during the hang.

How can we reproduce this bug or crash?

I don't know the exact conditions under which this triggers generally, but currently for me it triggers whenever the server is booted.

What Minecraft version is this happening on?

Minecraft 1.20.1

What Forge version is this happening on?

47.3.0

What Refined Storage version is this happening on?

1.12.4

Relevant log output

"Server thread" #386 [36724] prio=8 os_prio=2 cpu=2296.88ms elapsed=61.55s tid=0x0000028826279130 nid=36724 runnable  [0x000000f1cfcfe000]
   java.lang.Thread.State: TIMED_WAITING (parking)
        at jdk.internal.misc.Unsafe.park([email protected]/Native Method)
        - parking to wait for  <0x00000004d2a1a1b0> (a java.lang.String)
        at java.util.concurrent.locks.LockSupport.parkNanos([email protected]/LockSupport.java:269)
        at net.minecraft.util.thread.BlockableEventLoop.m_5667_([email protected]/BlockableEventLoop.java:521)
        at net.minecraft.util.thread.BlockableEventLoop.m_18701_([email protected]/BlockableEventLoop.java:141)
        at net.minecraft.server.level.ServerChunkCache.getChunkBlocking([email protected]/ServerChunkCache.java:2272)
        at net.minecraft.server.level.ServerChunkCache.m_7587_([email protected]/ServerChunkCache.java:2164)
        at net.minecraft.server.level.ServerChunkCache.md2df3bb$lambda$getChunkOffThread$0$0([email protected]/ServerChunkCache.java:2176)
        at net.minecraft.server.level.ServerChunkCache$$Lambda/0x000002888d89bbf8.get([email protected]/Unknown Source)
        at java.util.concurrent.CompletableFuture$AsyncSupply.run([email protected]/CompletableFuture.java:1768)
        at net.minecraft.util.thread.BlockableEventLoop.m_6367_([email protected]/BlockableEventLoop.java:156)
        at net.minecraft.server.level.ServerChunkCache$MainThreadExecutor.m_6367_([email protected]/ServerChunkCache.java:541)
        at net.minecraft.util.thread.BlockableEventLoop.m_7245_([email protected]/BlockableEventLoop.java:130)
        at net.minecraft.server.level.ServerChunkCache$MainThreadExecutor.m_7245_([email protected]/ServerChunkCache.java:549)
        at net.minecraft.util.thread.BlockableEventLoop.m_18701_([email protected]/BlockableEventLoop.java:139)
        at net.minecraft.server.level.ServerChunkCache.getChunkBlocking([email protected]/ServerChunkCache.java:2272)
        at net.minecraft.server.level.ServerChunkCache.m_7587_([email protected]/ServerChunkCache.java:2164)
        at net.minecraft.world.level.Level.m_6522_([email protected]/Level.java:187)
        at net.minecraft.world.level.Level.m_6325_([email protected]/Level.java:6051)
        at net.minecraft.world.level.Level.m_8055_([email protected]/Level.java:6543)
        at net.minecraft.world.level.SignalGetter.m_277185_([email protected]/SignalGetter.java:66)
        at net.minecraft.world.level.SignalGetter.m_276867_([email protected]/SignalGetter.java:72)
        at com.refinedmods.refinedstorage.apiimpl.network.node.NetworkNode.update([email protected]/NetworkNode.java:147)
        at com.refinedmods.refinedstorage.apiimpl.network.NetworkListener.onLevelTick([email protected]/NetworkListener.java:25)
        at com.refinedmods.refinedstorage.apiimpl.network.__NetworkListener_onLevelTick_LevelTickEvent.invoke([email protected]/.dynamic)
        at net.minecraftforge.eventbus.ASMEventHandler.invoke(net.minecraftforge.eventbus/ASMEventHandler.java:73)
        at net.minecraftforge.eventbus.EventBus$$Lambda/0x0000028881d92b28.invoke(net.minecraftforge.eventbus/Unknown Source)
        at net.minecraftforge.eventbus.EventBus.post(net.minecraftforge.eventbus/EventBus.java:315)
        at net.minecraftforge.eventbus.EventBus.post(net.minecraftforge.eventbus/EventBus.java:296)
        at net.minecraftforge.event.ForgeEventFactory.onPostLevelTick([email protected]/ForgeEventFactory.java:930)
        at net.minecraft.server.MinecraftServer.m_5703_([email protected]/MinecraftServer.java:899)
        at net.minecraft.server.dedicated.DedicatedServer.m_5703_([email protected]/DedicatedServer.java:283)
        at net.minecraft.server.MinecraftServer.m_5705_([email protected]/MinecraftServer.java:814)
        at net.minecraft.server.MinecraftServer.m_130011_([email protected]/MinecraftServer.java:661)
        at net.minecraft.server.MinecraftServer.m_206580_([email protected]/MinecraftServer.java:251)
        at net.minecraft.server.MinecraftServer$$Lambda/0x000002888d339800.run([email protected]/Unknown Source)
        at java.lang.Thread.runWith([email protected]/Thread.java:1596)
        at java.lang.Thread.run([email protected]/Thread.java:1583)
commented

Nevermind—for future reference, it turns out this was an issue with Starlight, weirdly enough.