SuperMartijn642's Config Lib

SuperMartijn642's Config Lib

80M Downloads

[Crash] The game freeze

Closed this issue ยท 1 comments

commented

Version Info

  • 1.20.1
  • Config Lib 1.1.8+a

Steps to Reproduce

  • I fly around the world and get crashed

Crash report (~/logs/latest.log)
https://mclo.gs/F4nGNZp

There's an error like this in the log, I don't know if that was because ConfigLib

"Config Lib config file watcher" daemon prio=5 Id=62 WAITING on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@3a45610e
at [email protected]/jdk.internal.misc.Unsafe.park(Native Method)
- waiting on java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject@3a45610e
at [email protected]/java.util.concurrent.locks.LockSupport.park(LockSupport.java:341)
at [email protected]/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionNode.block(AbstractQueuedSynchronizer.java:506)
at [email protected]/java.util.concurrent.ForkJoinPool.unmanagedBlock(ForkJoinPool.java:3465)
at [email protected]/java.util.concurrent.ForkJoinPool.managedBlock(ForkJoinPool.java:3436)
at [email protected]/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:1623)
at [email protected]/java.util.concurrent.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:485)
at [email protected]/java.util.concurrent.LinkedBlockingDeque.take(LinkedBlockingDeque.java:673)
at [email protected]/sun.nio.fs.AbstractWatchService.take(AbstractWatchService.java:118)
at knot//com.supermartijn642.configlib.toml.TomlConfigFile.lambda$startTrackingFile$0(TomlConfigFile.java:134)
at knot//com.supermartijn642.configlib.toml.TomlConfigFile$$Lambda$6849/0x0000000801434470.run(Unknown Source)
at [email protected]/java.lang.Thread.run(Thread.java:833)

commented

Whenever a tick takes too long, Minecraft just crashes and logs all the threads that were active. My config library just has threads that watch for changed files. These have nothing to do with the crash.

The only thing I can see is that the render thread was in net.minecraft.class_1937.handler$lag000$sodiumdynamiclights$onBlockEntityTick when the crash occurred. That is mixin from some mod with modid 'sodiumdynamiclights'. Whether that's coincidence or that mod caused some kind of deadlock, I don't know

Anyways, it is unrelated to my config library, so I'll close the issue.