Skip to content

TickNextTick list out of synch bug #116

@nepphhh

Description

@nepphhh

As mentioned in #115, tracked down originally over in the EnderCore git issues (link), and in several threads on CurseForge (here is one), TickNextTick list out of synch is a bug that RandomPatches attempts to fix but has some difficulty doing in 1.16.1. This thread may serve as a superthread for its debugging & reporting, as #115 is written to be Enigmatica-specfic. If so desired by the contributors I'll remove this report & put it as a comment into #115.

Exceptions tend to look like the following:

[27Jul2020 03:16:30.570] [Server thread/ERROR] [net.minecraft.s
erver.MinecraftServer/]: Encountered an unexpected exception
net.minecraft.crash.ReportedException: Exception ticking world
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:856) ~[?:?]
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:788) ~[?:?]
at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:81) ~[?:?]
at net.minecraft.server.MinecraftServer.func_240802_v_(MinecraftServer.java:643) [?:?]
at net.minecraft.server.MinecraftServer.lambda$func_240784_a_$0(MinecraftServer.java:230) [?:?]
at net.minecraft.server.MinecraftServer$$Lambda$6550/1020321556.run(Unknown Source) [?:?]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_51]
Caused by: java.lang.IllegalStateException: TickNextTick list out of synch
at net.minecraft.world.server.ServerTickList.func_205365_a(SourceFile:54) ~[?:?]
at net.minecraft.world.server.ServerWorld.func_72835_b(ServerWorld.java:329) ~[?:?]
at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:852) ~[?:?]
... 6 more

Exceptions are accompanied by a brief freeze (sub-1-second) and a crash-to-launcher.

In my experience, it is more frequent when chunk generation/loading is backlogging server ticks. Examples include fast travel in creative, using /tp commands, and when entering/exiting the Nether in previously ungenerated areas.

Prior to recent commits (faef98 and a5563c) it seemed to me to arise most frequently in the presence of multiple hostile mobs/mob spawners. Since those commits this behavior is absent and crashes are far less frequent (occur on an hourly basis, not minutely basis).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions