General Info
Loader version
Fabric 0.15.11
Minecraft version
1.21
Mod version
2.0.2
Java version
openjdk version "21.0.3" 2024-04-16
Issue Description
Sending the "stop" command to the server initiates the shutdown process, saves all the world data, etc. but then the process fails to exit/terminate and must be forcibly terminated (Ctrl-C) in the console.
The last message shown in the server/console log is "ThreadedAnvilChunkStorage: All dimensions are saved". Just to be sure, I waited around 5 minutes (to rule out the possibility that it might've just been taking an excessively long time, for whatever reason) before forcing the process to close.
This occurs with no other mods than the Fabric API (v0.100.7), Cloth Config (v15.0.127), and Daily Dad - Server (v2.0.2) installed on a Fabric 1.21 server.
This behavior makes it difficult to e.g. write startup/service scripts on *nix platforms, as the process never exits when shutting said service down.
Technically it's not a "crash," but I'll include the latest.log in the "Additional Information" field all the same.
Additional Information
[12:22:05] [main/INFO]: Loading Minecraft 1.21 with Fabric Loader 0.15.11
[12:22:05] [main/INFO]: Loading 44 mods:
- cloth-config 15.0.127
-- cloth-basic-math 0.6.1
- dailydad_server 2.0.2
- fabric-api 0.100.7+1.21
|-- fabric-api-base 0.4.42+6573ed8cd1
|-- fabric-api-lookup-api-v1 1.6.67+b5597344d1
|-- fabric-biome-api-v1 13.0.29+5bd9f1bcd1
|-- fabric-block-api-v1 1.0.22+0af3f5a7d1
|-- fabric-block-view-api-v2 1.0.10+6573ed8cd1
|-- fabric-blockrenderlayer-v1 1.1.52+0af3f5a7d1
|-- fabric-client-tags-api-v1 1.1.15+6573ed8cd1
|-- fabric-command-api-v1 1.2.49+f71b366fd1
|-- fabric-command-api-v2 2.2.28+6ced4dd9d1
|-- fabric-commands-v0 0.2.66+df3654b3d1
|-- fabric-content-registries-v0 8.0.15+b5597344d1
|-- fabric-convention-tags-v1 2.0.18+7f945d5bd1
|-- fabric-convention-tags-v2 2.4.2+c111832ad1
|-- fabric-crash-report-info-v1 0.2.29+0af3f5a7d1
|-- fabric-data-attachment-api-v1 1.1.25+6a6dfa19d1
|-- fabric-data-generation-api-v1 20.2.12+16c4ae25d1
|-- fabric-dimensions-v1 4.0.0+6fc22b99d1
|-- fabric-entity-events-v1 1.6.12+6fc22b99d1
|-- fabric-events-interaction-v0 0.7.10+e633f883d1
|-- fabric-game-rule-api-v1 1.0.53+6ced4dd9d1
|-- fabric-item-api-v1 11.0.0+afdfc921d1
|-- fabric-item-group-api-v1 4.1.3+78017270d1
|-- fabric-key-binding-api-v1 1.0.47+0af3f5a7d1
|-- fabric-keybindings-v0 0.2.45+df3654b3d1
|-- fabric-lifecycle-events-v1 2.3.11+8f3583aed1
|-- fabric-loot-api-v2 3.0.13+3f89f5a5d1
|-- fabric-loot-api-v3 1.0.1+3f89f5a5d1
|-- fabric-message-api-v1 6.0.13+6573ed8cd1
|-- fabric-model-loading-api-v1 2.0.0+fe474d6bd1
|-- fabric-networking-api-v1 4.2.0+ab7edbacd1
|-- fabric-object-builder-api-v1 15.1.13+d1321076d1
|-- fabric-particles-v1 4.0.2+6573ed8cd1
|-- fabric-recipe-api-v1 5.0.10+65089712d1
|-- fabric-registry-sync-v0 5.0.25+5bd9f1bcd1
|-- fabric-renderer-api-v1 3.3.0+0ae0b97dd1
|-- fabric-renderer-indigo 1.6.5+48fb1586d1
|-- fabric-renderer-registries-v1 3.2.68+df3654b3d1
|-- fabric-rendering-data-attachment-v1 0.3.48+73761d2ed1
|-- fabric-rendering-fluids-v1 3.1.6+b5597344d1
|-- fabric-rendering-v0 1.1.71+df3654b3d1
|-- fabric-rendering-v1 5.0.5+df16efd0d1
|-- fabric-resource-conditions-api-v1 4.2.1+d153f344d1
|-- fabric-resource-loader-v0 1.2.0+7e687b32d1
|-- fabric-screen-api-v1 2.0.24+b5597344d1
|-- fabric-screen-handler-api-v1 1.3.82+b5597344d1
|-- fabric-sound-api-v1 1.0.23+6573ed8cd1
|-- fabric-transfer-api-v1 5.1.15+3dccd343d1
-- fabric-transitive-access-wideners-v1 6.0.12+6573ed8cd1
- fabricloader 0.15.11
-- mixinextras 0.3.5
- java 21
- minecraft 1.21
[12:22:05] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=file:/opt/minecraft/001/libraries/net/fabricmc/sponge-mixin/0.13.3+mixin.0.8.5/sponge-mixin-0.13.3+mixin.0.8.5.jar Service=Knot/Fabric Env=SERVER
[12:22:06] [main/INFO]: Compatibility level set to JAVA_21
[12:22:06] [main/INFO]: Initializing MixinExtras via com.llamalad7.mixinextras.service.MixinExtrasServiceImpl(version=0.3.5).
[12:22:14] [main/INFO]: Environment: Environment[sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, name=PROD]
[12:22:14] [main/INFO]: Found new data pack fabric-convention-tags-v2, loading it automatically
[12:22:15] [main/INFO]: No existing world data, creating new world
[12:22:16] [main/INFO]: Loaded 1290 recipes
[12:22:16] [main/INFO]: Loaded 1399 advancements
[12:22:16] [main/INFO]: Applied 0 biome modifications to 0 of 64 new biomes in 1.716 ms
[12:22:16] [Server thread/INFO]: Starting minecraft server version 1.21
[12:22:16] [Server thread/INFO]: Loading properties
[12:22:16] [Server thread/INFO]: Default game type: SURVIVAL
[12:22:16] [Server thread/INFO]: Generating keypair
[12:22:16] [Server thread/INFO]: Starting Minecraft server on *:25565
[12:22:17] [Server thread/INFO]: Using epoll channel type
[12:22:17] [Server thread/INFO]: Preparing level "world"
[12:22:23] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[12:22:23] [Worker-Main-1/INFO]: Preparing spawn area: 2%
[12:22:24] [Worker-Main-1/INFO]: Preparing spawn area: 2%
[12:22:24] [Worker-Main-3/INFO]: Preparing spawn area: 2%
[12:22:25] [Worker-Main-1/INFO]: Preparing spawn area: 2%
[12:22:25] [Worker-Main-2/INFO]: Preparing spawn area: 18%
[12:22:26] [Worker-Main-2/INFO]: Preparing spawn area: 18%
[12:22:26] [Worker-Main-2/INFO]: Preparing spawn area: 18%
[12:22:27] [Worker-Main-1/INFO]: Preparing spawn area: 51%
[12:22:27] [Worker-Main-1/INFO]: Preparing spawn area: 51%
[12:22:28] [Worker-Main-3/INFO]: Preparing spawn area: 51%
[12:22:28] [Server thread/INFO]: Time elapsed: 5058 ms
[12:22:28] [Server thread/INFO]: Done (11.416s)! For help, type "help"
[12:22:32] [Server thread/INFO]: Stopping the server
[12:22:32] [Server thread/INFO]: Stopping server
[12:22:32] [Server thread/INFO]: Saving players
[12:22:32] [Server thread/INFO]: Saving worlds
[12:22:33] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:overworld
[12:22:35] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_nether
[12:22:35] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_end
[12:22:35] [Server thread/INFO]: ThreadedAnvilChunkStorage (world): All chunks are saved
[12:22:35] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[12:22:35] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[12:22:35] [Server thread/INFO]: ThreadedAnvilChunkStorage: All dimensions are saved
General Info
Loader version
Fabric 0.15.11
Minecraft version
1.21
Mod version
2.0.2
Java version
openjdk version "21.0.3" 2024-04-16
Issue Description
Sending the "stop" command to the server initiates the shutdown process, saves all the world data, etc. but then the process fails to exit/terminate and must be forcibly terminated (Ctrl-C) in the console.
The last message shown in the server/console log is "ThreadedAnvilChunkStorage: All dimensions are saved". Just to be sure, I waited around 5 minutes (to rule out the possibility that it might've just been taking an excessively long time, for whatever reason) before forcing the process to close.
This occurs with no other mods than the Fabric API (v0.100.7), Cloth Config (v15.0.127), and Daily Dad - Server (v2.0.2) installed on a Fabric 1.21 server.
This behavior makes it difficult to e.g. write startup/service scripts on *nix platforms, as the process never exits when shutting said service down.
Technically it's not a "crash," but I'll include the latest.log in the "Additional Information" field all the same.
Additional Information
[12:22:05] [main/INFO]: Loading Minecraft 1.21 with Fabric Loader 0.15.11
[12:22:05] [main/INFO]: Loading 44 mods:
- cloth-config 15.0.127
-- cloth-basic-math 0.6.1
- dailydad_server 2.0.2
- fabric-api 0.100.7+1.21
|-- fabric-api-base 0.4.42+6573ed8cd1
|-- fabric-api-lookup-api-v1 1.6.67+b5597344d1
|-- fabric-biome-api-v1 13.0.29+5bd9f1bcd1
|-- fabric-block-api-v1 1.0.22+0af3f5a7d1
|-- fabric-block-view-api-v2 1.0.10+6573ed8cd1
|-- fabric-blockrenderlayer-v1 1.1.52+0af3f5a7d1
|-- fabric-client-tags-api-v1 1.1.15+6573ed8cd1
|-- fabric-command-api-v1 1.2.49+f71b366fd1
|-- fabric-command-api-v2 2.2.28+6ced4dd9d1
|-- fabric-commands-v0 0.2.66+df3654b3d1
|-- fabric-content-registries-v0 8.0.15+b5597344d1
|-- fabric-convention-tags-v1 2.0.18+7f945d5bd1
|-- fabric-convention-tags-v2 2.4.2+c111832ad1
|-- fabric-crash-report-info-v1 0.2.29+0af3f5a7d1
|-- fabric-data-attachment-api-v1 1.1.25+6a6dfa19d1
|-- fabric-data-generation-api-v1 20.2.12+16c4ae25d1
|-- fabric-dimensions-v1 4.0.0+6fc22b99d1
|-- fabric-entity-events-v1 1.6.12+6fc22b99d1
|-- fabric-events-interaction-v0 0.7.10+e633f883d1
|-- fabric-game-rule-api-v1 1.0.53+6ced4dd9d1
|-- fabric-item-api-v1 11.0.0+afdfc921d1
|-- fabric-item-group-api-v1 4.1.3+78017270d1
|-- fabric-key-binding-api-v1 1.0.47+0af3f5a7d1
|-- fabric-keybindings-v0 0.2.45+df3654b3d1
|-- fabric-lifecycle-events-v1 2.3.11+8f3583aed1
|-- fabric-loot-api-v2 3.0.13+3f89f5a5d1
|-- fabric-loot-api-v3 1.0.1+3f89f5a5d1
|-- fabric-message-api-v1 6.0.13+6573ed8cd1
|-- fabric-model-loading-api-v1 2.0.0+fe474d6bd1
|-- fabric-networking-api-v1 4.2.0+ab7edbacd1
|-- fabric-object-builder-api-v1 15.1.13+d1321076d1
|-- fabric-particles-v1 4.0.2+6573ed8cd1
|-- fabric-recipe-api-v1 5.0.10+65089712d1
|-- fabric-registry-sync-v0 5.0.25+5bd9f1bcd1
|-- fabric-renderer-api-v1 3.3.0+0ae0b97dd1
|-- fabric-renderer-indigo 1.6.5+48fb1586d1
|-- fabric-renderer-registries-v1 3.2.68+df3654b3d1
|-- fabric-rendering-data-attachment-v1 0.3.48+73761d2ed1
|-- fabric-rendering-fluids-v1 3.1.6+b5597344d1
|-- fabric-rendering-v0 1.1.71+df3654b3d1
|-- fabric-rendering-v1 5.0.5+df16efd0d1
|-- fabric-resource-conditions-api-v1 4.2.1+d153f344d1
|-- fabric-resource-loader-v0 1.2.0+7e687b32d1
|-- fabric-screen-api-v1 2.0.24+b5597344d1
|-- fabric-screen-handler-api-v1 1.3.82+b5597344d1
|-- fabric-sound-api-v1 1.0.23+6573ed8cd1
|-- fabric-transfer-api-v1 5.1.15+3dccd343d1
-- fabric-transitive-access-wideners-v1 6.0.12+6573ed8cd1
- fabricloader 0.15.11
-- mixinextras 0.3.5
- java 21
- minecraft 1.21
[12:22:05] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=file:/opt/minecraft/001/libraries/net/fabricmc/sponge-mixin/0.13.3+mixin.0.8.5/sponge-mixin-0.13.3+mixin.0.8.5.jar Service=Knot/Fabric Env=SERVER
[12:22:06] [main/INFO]: Compatibility level set to JAVA_21
[12:22:06] [main/INFO]: Initializing MixinExtras via com.llamalad7.mixinextras.service.MixinExtrasServiceImpl(version=0.3.5).
[12:22:14] [main/INFO]: Environment: Environment[sessionHost=https://sessionserver.mojang.com, servicesHost=https://api.minecraftservices.com, name=PROD]
[12:22:14] [main/INFO]: Found new data pack fabric-convention-tags-v2, loading it automatically
[12:22:15] [main/INFO]: No existing world data, creating new world
[12:22:16] [main/INFO]: Loaded 1290 recipes
[12:22:16] [main/INFO]: Loaded 1399 advancements
[12:22:16] [main/INFO]: Applied 0 biome modifications to 0 of 64 new biomes in 1.716 ms
[12:22:16] [Server thread/INFO]: Starting minecraft server version 1.21
[12:22:16] [Server thread/INFO]: Loading properties
[12:22:16] [Server thread/INFO]: Default game type: SURVIVAL
[12:22:16] [Server thread/INFO]: Generating keypair
[12:22:16] [Server thread/INFO]: Starting Minecraft server on *:25565
[12:22:17] [Server thread/INFO]: Using epoll channel type
[12:22:17] [Server thread/INFO]: Preparing level "world"
[12:22:23] [Server thread/INFO]: Preparing start region for dimension minecraft:overworld
[12:22:23] [Worker-Main-1/INFO]: Preparing spawn area: 2%
[12:22:24] [Worker-Main-1/INFO]: Preparing spawn area: 2%
[12:22:24] [Worker-Main-3/INFO]: Preparing spawn area: 2%
[12:22:25] [Worker-Main-1/INFO]: Preparing spawn area: 2%
[12:22:25] [Worker-Main-2/INFO]: Preparing spawn area: 18%
[12:22:26] [Worker-Main-2/INFO]: Preparing spawn area: 18%
[12:22:26] [Worker-Main-2/INFO]: Preparing spawn area: 18%
[12:22:27] [Worker-Main-1/INFO]: Preparing spawn area: 51%
[12:22:27] [Worker-Main-1/INFO]: Preparing spawn area: 51%
[12:22:28] [Worker-Main-3/INFO]: Preparing spawn area: 51%
[12:22:28] [Server thread/INFO]: Time elapsed: 5058 ms
[12:22:28] [Server thread/INFO]: Done (11.416s)! For help, type "help"
[12:22:32] [Server thread/INFO]: Stopping the server
[12:22:32] [Server thread/INFO]: Stopping server
[12:22:32] [Server thread/INFO]: Saving players
[12:22:32] [Server thread/INFO]: Saving worlds
[12:22:33] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:overworld
[12:22:35] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_nether
[12:22:35] [Server thread/INFO]: Saving chunks for level 'ServerLevel[world]'/minecraft:the_end
[12:22:35] [Server thread/INFO]: ThreadedAnvilChunkStorage (world): All chunks are saved
[12:22:35] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM-1): All chunks are saved
[12:22:35] [Server thread/INFO]: ThreadedAnvilChunkStorage (DIM1): All chunks are saved
[12:22:35] [Server thread/INFO]: ThreadedAnvilChunkStorage: All dimensions are saved