Quantem bridge crashes the game/server on load
myrddraall opened this issue ยท 2 comments
Describe the bug
When loading in an area with a quantum bridge the game will sometimes crash.
When downloading the world and running it in single player the world will eventually load if the game is given at least 25GB of ram
Test 1:
Server with any amount of ram
java.lang.Error: ServerHangWatchdog detected that a single server tick took 60.00 seconds (should be max 0.05)
Test 2:
Single Player with 6 GB of ram
Time: 2023-08-15 07:40:41
Description: Readying AE2 block entity
java.lang.OutOfMemoryError: Java heap space
A detailed walkthrough of the error, its code path and all known details is as follows:
---------------------------------------------------------------------------------------
-- Head --
Thread: Server thread
Stacktrace:
at appeng.hooks.ticking.TickHandler.readyBlockEntities(TickHandler.java:412) ~[appliedenergistics2-forge-15.0.9-beta.jar%23283!/:15.0.9-beta] {re:classloading}
-- Block entity being readied --
Details:
World: ae2:spatial_storage
Name: ae2:quantum_ring // appeng.blockentity.qnb.QuantumBridgeBlockEntity
Block: QuantumRingBlock[quantum_ring][formed=false,waterlogged=false]
Block location: World: (204,73,-305), Section: (at 12,9,15 in 12,4,-20; chunk contains blocks 192,0,-320 to 207,255,-305), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
Block: QuantumRingBlock[quantum_ring][formed=false,waterlogged=false]
Block location: World: (204,73,-305), Section: (at 12,9,15 in 12,4,-20; chunk contains blocks 192,0,-320 to 207,255,-305), Region: (0,-1; contains chunks 0,-32 to 31,-1, blocks 0,0,-512 to 511,255,-1)
Stacktrace:
at appeng.hooks.ticking.TickHandler.readyBlockEntities(TickHandler.java:412) ~[appliedenergistics2-forge-15.0.9-beta.jar%23283!/:15.0.9-beta] {re:classloading}
at appeng.hooks.ticking.TickHandler.onServerLevelTickEnd(TickHandler.java:277) ~[appliedenergistics2-forge-15.0.9-beta.jar%23283!/:15.0.9-beta] {re:classloading}
at appeng.hooks.ticking.TickHandler.onLevelTick(TickHandler.java:248) ~[appliedenergistics2-forge-15.0.9-beta.jar%23283!/:15.0.9-beta] {re:classloading}
at net.minecraftforge.eventbus.EventBus.doCastFilter(EventBus.java:260) ~[eventbus-6.0.5.jar%2387!/:?] {}
at net.minecraftforge.eventbus.EventBus.lambda$addListener$11(EventBus.java:252) ~[eventbus-6.0.5.jar%2387!/:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:315) ~[eventbus-6.0.5.jar%2387!/:?] {}
at net.minecraftforge.eventbus.EventBus.post(EventBus.java:296) ~[eventbus-6.0.5.jar%2387!/:?] {}
at net.minecraftforge.event.ForgeEventFactory.onPostLevelTick(ForgeEventFactory.java:908) ~[forge-1.20.1-47.1.3-universal.jar%23405!/:?] {re:classloading}
at net.minecraft.server.MinecraftServer.m_5703_(MinecraftServer.java:899) ~[client-1.20.1-20230612.114412-srg.jar%23400!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:citadel.mixins.json:MinecraftServerMixin,pl:mixin:APP:modernfix-common.mixins.json:perf.dedicated_reload_executor.MinecraftServerMixin,pl:mixin:APP:balm.mixins.json:MinecraftServerMixin,pl:mixin:APP:ae2.mixins.json:spatial.MinecraftServerMixin,pl:mixin:APP:crafttweaker.mixins.json:common.access.server.AccessMinecraftServer,pl:mixin:A}
at net.minecraft.server.MinecraftServer.m_5705_(MinecraftServer.java:814) ~[client-1.20.1-20230612.114412-srg.jar%23400!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:citadel.mixins.json:MinecraftServerMixin,pl:mixin:APP:modernfix-common.mixins.json:perf.dedicated_reload_executor.MinecraftServerMixin,pl:mixin:APP:balm.mixins.json:MinecraftServerMixin,pl:mixin:APP:ae2.mixins.json:spatial.MinecraftServerMixin,pl:mixin:APP:crafttweaker.mixins.json:common.access.server.AccessMinecraftServer,pl:mixin:A}
at net.minecraft.client.server.IntegratedServer.m_5705_(IntegratedServer.java:89) ~[client-1.20.1-20230612.114412-srg.jar%23400!/:?] {re:mixin,pl:runtimedistcleaner:A,re:classloading,pl:mixin:APP:modernfix-common.mixins.json:perf.thread_priorities.IntegratedServerMixin,pl:mixin:A,pl:runtimedistcleaner:A}
at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:661) ~[client-1.20.1-20230612.114412-srg.jar%23400!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:citadel.mixins.json:MinecraftServerMixin,pl:mixin:APP:modernfix-common.mixins.json:perf.dedicated_reload_executor.MinecraftServerMixin,pl:mixin:APP:balm.mixins.json:MinecraftServerMixin,pl:mixin:APP:ae2.mixins.json:spatial.MinecraftServerMixin,pl:mixin:APP:crafttweaker.mixins.json:common.access.server.AccessMinecraftServer,pl:mixin:A}
at net.minecraft.server.MinecraftServer.m_206580_(MinecraftServer.java:251) ~[client-1.20.1-20230612.114412-srg.jar%23400!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:citadel.mixins.json:MinecraftServerMixin,pl:mixin:APP:modernfix-common.mixins.json:perf.dedicated_reload_executor.MinecraftServerMixin,pl:mixin:APP:balm.mixins.json:MinecraftServerMixin,pl:mixin:APP:ae2.mixins.json:spatial.MinecraftServerMixin,pl:mixin:APP:crafttweaker.mixins.json:common.access.server.AccessMinecraftServer,pl:mixin:A}
at java.lang.Thread.run(Thread.java:833) ~[?:?] {re:mixin}
Test 3:
Single player 32gb of ram
Multiple [Server thread/ERROR] Too many chained neighbor updates. Skipping the rest.
and A single server tick has taken 81248, more than 40000 milliseconds
messages but eventually the world loads
How to reproduce the bug
Not 100% sure, it might be related to #7337 as I also see the '[Server thread/ERROR]: Too many chained neighbor updates. Skipping the rest. First skipped position: x, x, x' message, but it seems to also occur when the QB is next to a chunk boundary as well
Expected behavior
The server not to crash
Additional details
The Quantum link is cross dimensional (overworld/nether) with an anchor on both sides
Which minecraft version are you using?
1.20
On which mod loaders does it happen?
Forge