KubeJS

KubeJS

69M Downloads

[Issue] KubeJS causes server to freeze on server stop.

BastionNtB opened this issue ยท 3 comments

commented

The behavior is like so.
Load up the server with KubeJS and dependencies.
Server runs fine.
type "stop"

[19:45:50] [Server thread/INFO] [minecraft/DedicatedServer]: Stopping the server
[19:45:50] [Server thread/INFO] [minecraft/MinecraftServer]: Stopping server
[19:45:50] [Server thread/INFO] [minecraft/MinecraftServer]: Saving players
[19:45:50] [Server thread/INFO] [minecraft/MinecraftServer]: Saving worlds
[19:45:50] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'ServerLevel[world]'/minecraft:overworld
[19:45:50] [Server thread/INFO] [minecraft/ChunkManager]: ThreadedAnvilChunkStorage (world): All chunks are saved
[19:45:50] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_nether
[19:45:50] [Server thread/INFO] [minecraft/ChunkManager]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[19:45:50] [Server thread/INFO] [minecraft/MinecraftServer]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_end
[19:45:50] [Server thread/INFO] [minecraft/ChunkManager]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[19:45:50] [Server thread/INFO] [minecraft/ChunkManager]: ThreadedAnvilChunkStorage (world): All chunks are saved
[19:45:50] [Server thread/INFO] [minecraft/ChunkManager]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[19:45:50] [Server thread/INFO] [minecraft/ChunkManager]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved

This is all that reports in the console. No error. No notice. It just never unloads. java server is still running, taking up resources, etc.

I then have to use ctrl+c to forcefully stop it.

I've isolated it to the latest version of kubejs, this doesn't happen without it being present.

The following are the only mods installed at the time of reporting. (On a new world)

architectury-1.2.68-forge.jar
Bookshelf-1.16.4-9.3.18.jar
ftb-gui-library-1604.1.1.26.jar
GameStages-1.16.4-6.0.1.jar
jei-1.16.4-7.6.1.63.jar
kubejs-1604.3.4.136-forge.jar
rhino-1.7.13.9.jar

forge 35.1.28
MC 1.16.4

commented

This issue is not present with kubejs-1604.3.4.132-forge.jar, but it seems to be present on every version after this one.

Also to note, I started with a fresh kubejs folder. Deleted it completely as if it was a new install. Issue still there.

commented

I have the same issue in my singleplayer and server instances.