Chicken-Bones / ChickenChunks

MIT License
27 stars 25 forks source link

Stackoverflow (maybe connected to CustomOregen) (1.7.10) #48

Open Savallator opened 7 years ago

Savallator commented 7 years ago

Hi, i have a large modpack, and after running fine for a while, the server crashed with a Stackoverflow after restarting. The only solution is removing Chickenchunks, after which the world loads fine. I can add it the again and it will start, and newly placed chunkloaders work, but it will crash again at the next Server restart. This is totally reproducable. THere seems to be a loop between this calls until stackspace runs out:

at net.minecraft.world.gen.ChunkProviderServer.loadChunk(ChunkProviderServer.java:126) at net.minecraft.world.gen.ChunkProviderServer.func_73158_c(ChunkProviderServer.java:101) at net.minecraft.world.gen.ChunkProviderServer.func_73154_d(ChunkProviderServer.java:199) at net.minecraft.world.World.func_72964_e(World.java:419) at CustomOreGen.Server.ServerState.chunkForced(ServerState.java:402) at CustomOreGen.ForgeInterface.onForceChunk(ForgeInterface.java:67) at cpw.mods.fml.common.eventhandler.ASMEventHandler_470_ForgeInterface_onForceChunk_ForceChunkEvent.invoke(.dynamic) at cpw.mods.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:54) at cpw.mods.fml.common.eventhandler.EventBus.post(EventBus.java:140) at net.minecraftforge.common.ForgeChunkManager.forceChunk(ForgeChunkManager.java:741) at codechicken.chunkloader.ChunkLoaderManager$TicketManager.addChunk(ChunkLoaderManager.java:101) at codechicken.chunkloader.ChunkLoaderManager$ChunkLoaderOrganiser.forceChunks(ChunkLoaderManager.java:214) at codechicken.chunkloader.ChunkLoaderManager$ChunkLoaderOrganiser.addChunkLoader(ChunkLoaderManager.java:168) at codechicken.chunkloader.ChunkLoaderManager.addChunkLoader(ChunkLoaderManager.java:631) at codechicken.chunkloader.TileChunkLoaderBase.activate(TileChunkLoaderBase.java:108) at codechicken.chunkloader.TileChunkLoader.activate(TileChunkLoader.java:114) at codechicken.chunkloader.TileChunkLoaderBase.func_145829_t(TileChunkLoaderBase.java:35) at net.minecraft.world.chunk.Chunk.func_150812_a(Chunk.java:886) at net.minecraft.world.chunk.Chunk.func_150813_a(Chunk.java:862) at net.minecraft.world.chunk.storage.AnvilChunkLoader.loadEntities(AnvilChunkLoader.java:500) at net.minecraftforge.common.chunkio.ChunkIOProvider.callStage2(ChunkIOProvider.java:41) at net.minecraftforge.common.chunkio.ChunkIOProvider.callStage2(ChunkIOProvider.java:12) at net.minecraftforge.common.util.AsynchronousExecutor.skipQueue(AsynchronousExecutor.java:344) at net.minecraftforge.common.util.AsynchronousExecutor.getSkipQueue(AsynchronousExecutor.java:302) at net.minecraftforge.common.chunkio.ChunkIOExecutor.syncChunkLoad(ChunkIOExecutor.java:12)

Full stacktrace here: https://pastebin.com/1yTZ3h57