Concurrent Chunk Management Engine

Concurrent Chunk Management Engine

2M Downloads

Console Spamming IllegalStateException: No such item

arvitus opened this issue ยท 10 comments

commented

Describe the bug
I don't know why or how it happened but it spammed the console so fast that I got a log file of over 20GB in just 59 Minutes. It began a few seconds after someone (I) joined the server. I didn't load any new chunks, though, as I was at the spawn.
I also didn't really notice it in the tick time. A few tps less than normal but nothing out of the ordinary. I wouldn't even have noticed it, if I hadn't looked into the console.
It never happened before on this server (6 days old) and was gone after a restart (I had to kill the server though).

To Reproduce
Steps to reproduce the behavior:
I don't know. I looked at the console and there it was, spamming a lot. And I really mean A LOT!
But it began a few seconds after I joined the server.

Expected behavior
Don't do that I guess. I don't need 20 GB huge log files.

Runtime info (please complete the following information):

  • OS: Debian 12 with Pelican Panel default Fabric Egg
  • Minecraft version: Fabric 1.21.8
  • Mod version: mc1.21.8-0.3.4.0.0

Crash reports / logs
First, this was thrown exactly 2 times:

[19:07:14] [c2me-worker-5/INFO]: [STDERR]: java.lang.AssertionError
[19:07:14] [c2me-worker-5/INFO]: [STDERR]: 	at knot//com.ishland.flowsched.util.Assertions.assertTrue(Assertions.java:23)
[19:07:14] [c2me-worker-5/INFO]: [STDERR]: 	at knot//com.ishland.flowsched.scheduler.ItemHolder.assertOpen(ItemHolder.java:455)
[19:07:14] [c2me-worker-5/INFO]: [STDERR]: 	at knot//com.ishland.flowsched.scheduler.ItemHolder.markDirty(ItemHolder.java:229)
[19:07:14] [c2me-worker-5/INFO]: [STDERR]: 	at knot//com.ishland.flowsched.scheduler.StatusAdvancingScheduler.removeTicket(StatusAdvancingScheduler.java:475)
[19:07:14] [c2me-worker-5/INFO]: [STDERR]: 	at knot//com.ishland.flowsched.scheduler.ItemHolder.cleanupDependencies(ItemHolder.java:441)
[19:07:14] [c2me-worker-5/INFO]: [STDERR]: 	at knot//com.ishland.flowsched.scheduler.StatusAdvancingScheduler.lambda$tickHolder0$2(StatusAdvancingScheduler.java:142)
[19:07:14] [c2me-worker-5/INFO]: [STDERR]: 	at knot//com.ishland.flowsched.scheduler.ItemHolder.lambda$executeCriticalSectionAndBusy$0(ItemHolder.java:221)
[19:07:14] [c2me-worker-5/INFO]: [STDERR]: 	at knot//com.ishland.flowsched.structs.OneTaskAtATimeExecutor.run0(OneTaskAtATimeExecutor.java:28)
[19:07:14] [c2me-worker-5/INFO]: [STDERR]: 	at knot//com.ishland.c2me.rewrites.chunksystem.common.structs.ChunkSystemExecutors.lambda$consolidatingRoot$0(ChunkSystemExecutors.java:46)
[19:07:14] [c2me-worker-5/INFO]: [STDERR]: 	at knot//com.ishland.flowsched.executor.SimpleTask.run(SimpleTask.java:18)
[19:07:14] [c2me-worker-5/INFO]: [STDERR]: 	at knot//com.ishland.flowsched.executor.WorkerThread.pollTasks(WorkerThread.java:57)
[19:07:14] [c2me-worker-5/INFO]: [STDERR]: 	at knot//com.ishland.flowsched.executor.WorkerThread.run(WorkerThread.java:27)

Then, just this over and over and over and over and over and over... 15,127,866 times to be exact, before I killed the server. Funny enough, that was exactly 59 Minutes.

[20:06:14] [c2me-worker-4/INFO]: [STDERR]: java.lang.IllegalStateException: No such item
[20:06:14] [c2me-worker-4/INFO]: [STDERR]:      at knot//com.ishland.flowsched.scheduler.StatusAdvancingScheduler.removeTicket(StatusAdvancingScheduler.java:472)
[20:06:14] [c2me-worker-4/INFO]: [STDERR]:      at knot//com.ishland.flowsched.scheduler.ItemHolder.cleanupDependencies(ItemHolder.java:441)
[20:06:14] [c2me-worker-4/INFO]: [STDERR]:      at knot//com.ishland.flowsched.scheduler.StatusAdvancingScheduler.lambda$tickHolder0$1(StatusAdvancingScheduler.java:120)
[20:06:14] [c2me-worker-4/INFO]: [STDERR]:      at knot//com.ishland.flowsched.scheduler.ItemHolder.lambda$executeCriticalSectionAndBusy$0(ItemHolder.java:221)
[20:06:14] [c2me-worker-4/INFO]: [STDERR]:      at knot//com.ishland.flowsched.structs.OneTaskAtATimeExecutor.run0(OneTaskAtATimeExecutor.java:28)
[20:06:14] [c2me-worker-4/INFO]: [STDERR]:      at knot//com.ishland.c2me.rewrites.chunksystem.common.structs.ChunkSystemExecutors.lambda$consolidatingRoot$0(ChunkSystemExecutors.java:46)
[20:06:14] [c2me-worker-4/INFO]: [STDERR]:      at knot//com.ishland.flowsched.executor.SimpleTask.run(SimpleTask.java:18)
[20:06:14] [c2me-worker-4/INFO]: [STDERR]:      at knot//com.ishland.flowsched.executor.WorkerThread.pollTasks(WorkerThread.java:57)
[20:06:14] [c2me-worker-4/INFO]: [STDERR]:      at knot//com.ishland.flowsched.executor.WorkerThread.run(WorkerThread.java:27)

Other mods

ChromaAnvils-1.0.6+1.21.6.jar
cloth-config-19.0.147-fabric.jar
owo-lib-0.12.21+1.21.6.jar
Chunky-Fabric-1.4.40.jar
collective-1.21.8-8.4.jar
placeholder-api-2.7.1+1.21.6.jar
Clumps-fabric-1.21.8-26.0.0.1.jar
saveandloadinventories-1.21.8-3.5.jar
Fabric2Discord-3.1.2+1.21.jar
dragonegggame-1.0.2-1.21.6.jar
servercore-fabric-1.5.13+1.21.6.jar
ForgeConfigAPIPort-v21.8.0-1.21.8-Fabric.jar
entity-view-distance-1.5.0+1.21.6.jar
servermessages-1.0.0-1.21.6.jar
InvView-1.4.17-1.21.6+.jar
fabric-api-0.131.0+1.21.8.jar
silk-all-1.11.2.jar
LuckPerms-Fabric-5.5.10.jar
fabric-carpet-1.21.7-1.4.177+v250630.jar
spark-1.10.142-fabric.jar
LuckPerms-Fabric-PlaceholderAPI-Hook.jar
fabric-essentials-1.4.4+1.21.6-rc1.jar
stickyenchantinglapis-1.21.8-1.5.jar
NoChatReports-FABRIC-1.21.7-v2.14.0.jar
fabric-language-kotlin-1.13.4+kotlin.2.2.0.jar
styled-chat-2.9.0+1.21.6.jar
NoSpawnerChange-1.2.0-1.21.5.jar
ferritecore-8.0.0-fabric.jar
styledplayerlist-3.8.0+1.21.6.jar
OfflineCommands-1.0.2+1.21.6-rc1.jar
fsit-2.7.12+mc1.21.6.jar
survival-debug-mod-1.2.3_1.21.5.jar
ScalableLux-0.1.5+fabric.e4acdcb-all.jar
inventorysorter-fabric-2.0.11+mc1.21.6.jar
timeoutout-1.0.4+1.20.2.jar
Slime-1.21.8.jar
krypton-0.2.9.jar
vanilla-permissions-0.3.0+1.21.8.jar
alternate-current-mc1.21.5-1.9.0.jar
lithium-fabric-0.18.0+mc1.21.8.jar
vanish-1.5.20+1.21.7.jar
antixray-fabric-1.4.10+1.21.6.jar
logbegone-fabric-1.21.1-1.0.3.jar
viewdistancefix-fabric-1.21.8-1.0.2.jar
badpackets-fabric-0.9.0.jar
voicechat-fabric-1.21.8-2.5.35.jar
banhammer-0.14.1+1.21.8.jar
melius-commands-2.1.0+1.21.6.jar
votelistener-1.1.0+1.21.6-rc1.jar
bluemap-5.11-fabric.jar
minimotd-fabric-mc1.21.8-2.1.8.jar
worldedit-mod-7.3.16.jar
bmm-fabric-2.1.11.jar
noend-fabric-1.0.0.jar
yawp-1.21.8-fabric-0.6.1-beta1.jar
c2me-fabric-mc1.21.8-0.3.4.0.0.jar
nuvotifier-fabric-1.0.2+1.21.6-rc1.jar

Checklist

  • I am using the official version of the mod.
  • I tried the latest development version but the issue persists.
  • I searched for similar open issues and could not find an existing bug report on this.
commented

Hey, thanks for reporting. Could you more logs of the server initialisation so we can see if there are warnings etc ? Thx in advance

commented

I did update the original post a few minutes ago.
Had to anonymize the players but this is the full log. It stops where the spam starts: https://pastebin.com/mncGpC8J

commented

Try reproduce with only c2me.

commented

I don't have time for that tbh. Unless it happens again, I don't really care and just wanted to let you know that this exists. Sorry for being a bit selfish there but it's really just a matter of time for me...

commented

But I will let you know, IF it happens again :)

commented

I encountered the same problem, I'll try to reproduce with only c2me. With my current modpack it happens always after couple of hours of generating chunks

commented

I was able to reproduce only with c2me and distant horizons (for chunk generation). Full log: https://gist.github.com/guzlewski/b5a3c1a48383b32ebb4cbcd98f4ada1c

commented

I was able to reproduce only with c2me and distant horizons (for chunk generation). Full log: https://gist.github.com/guzlewski/b5a3c1a48383b32ebb4cbcd98f4ada1c

Try reproduce with this version:
https://modrinth.com/mod/c2me-fabric/version/0.3.5+alpha.0.8+1.21.8

commented

Sure, I started test with new version, I'll let you know in couple of hours

commented

So far no errors, looks like it's fixed