[Fabric 1.20.1] creating world hangs [FIXED]
meadowsjared opened this issue ยท 8 comments
with Minecraft 1.20.1[Fabric 1.20.1] and only the following mods:
chisels-and-bits-fabric-1.4.144.jar
fabric-api-0.88.1+1.20.1.jar
note: this is using the latest build as of 9-29-23
if you try to create a new world it hangs at 0%
But if you load it with a preexisting world, it loads fine.
Below is the only log I could find for this freeze:
logs/latest.log
[19:21:47] [main/INFO]: Loading Minecraft 1.20.1 with Fabric Loader 0.14.22
[19:21:47] [main/INFO]: Loading 59 mods:
- chiselsandbits 1.4.144
|-- org_lz4_lz4-pure-java 1.8.0
|-- saeculariacaudices 1.0.22
\-- scena 1.0.102
- fabric-api 0.88.1+1.20.1
|-- fabric-api-base 0.4.30+7abfd51577
|-- fabric-api-lookup-api-v1 1.6.35+4d8536c977
|-- fabric-biome-api-v1 13.0.10+b3afc78b77
|-- fabric-block-api-v1 1.0.10+92a0d36777
|-- fabric-block-view-api-v2 1.0.0+92a0d36777
|-- fabric-blockrenderlayer-v1 1.1.40+b3afc78b77
|-- fabric-client-tags-api-v1 1.1.1+97bb207577
|-- fabric-command-api-v1 1.2.33+f71b366f77
|-- fabric-command-api-v2 2.2.12+b3afc78b77
|-- fabric-commands-v0 0.2.50+df3654b377
|-- fabric-containers-v0 0.1.63+df3654b377
|-- fabric-content-registries-v0 4.0.9+b3afc78b77
|-- fabric-convention-tags-v1 1.5.4+a1a980da77
|-- fabric-crash-report-info-v1 0.2.18+aeb40ebe77
|-- fabric-data-generation-api-v1 12.2.2+1e61dba177
|-- fabric-dimensions-v1 2.1.53+8536527b77
|-- fabric-entity-events-v1 1.5.22+b3afc78b77
|-- fabric-events-interaction-v0 0.6.1+e91849a877
|-- fabric-events-lifecycle-v0 0.2.62+df3654b377
|-- fabric-game-rule-api-v1 1.0.38+b04edc7a77
|-- fabric-item-api-v1 2.1.27+b3afc78b77
|-- fabric-item-group-api-v1 4.0.10+23d9108177
|-- fabric-key-binding-api-v1 1.0.36+fb8d95da77
|-- fabric-keybindings-v0 0.2.34+df3654b377
|-- fabric-lifecycle-events-v1 2.2.21+b3afc78b77
|-- fabric-loot-api-v2 1.1.39+b3afc78b77
|-- fabric-loot-tables-v1 1.1.43+9e7660c677
|-- fabric-message-api-v1 5.1.7+3265161977
|-- fabric-mining-level-api-v1 2.1.49+b3afc78b77
|-- fabric-model-loading-api-v1 1.0.2+709a987177
|-- fabric-models-v0 0.4.1+9386d8a777
|-- fabric-networking-api-v1 1.3.10+eeb8eb3677
|-- fabric-networking-v0 0.3.50+df3654b377
|-- fabric-object-builder-api-v1 11.1.1+6beca84877
|-- fabric-particles-v1 1.1.1+201a23a077
|-- fabric-recipe-api-v1 1.0.20+b3afc78b77
|-- fabric-registry-sync-v0 2.3.2+4df89eb277
|-- fabric-renderer-api-v1 3.1.3+92a0d36777
|-- fabric-renderer-indigo 1.4.3+6bdb2ed077
|-- fabric-renderer-registries-v1 3.2.45+df3654b377
|-- fabric-rendering-data-attachment-v1 0.3.36+92a0d36777
|-- fabric-rendering-fluids-v1 3.0.27+b3afc78b77
|-- fabric-rendering-v0 1.1.48+df3654b377
|-- fabric-rendering-v1 3.0.7+b3afc78b77
|-- fabric-resource-conditions-api-v1 2.3.5+ea08f9d877
|-- fabric-resource-loader-v0 0.11.9+132c48c177
|-- fabric-screen-api-v1 2.0.7+b3afc78b77
|-- fabric-screen-handler-api-v1 1.3.29+b3afc78b77
|-- fabric-sound-api-v1 1.0.12+b3afc78b77
|-- fabric-transfer-api-v1 3.3.1+195226a777
\-- fabric-transitive-access-wideners-v1 4.3.0+6c31357e77
- fabricloader 0.14.22
- java 17
- minecraft 1.20.1
[19:21:47] [main/INFO]: SpongePowered MIXIN Subsystem Version=0.8.5 Source=file:/C:/Users/meado/AppData/Roaming/.minecraft/libraries/net/fabricmc/sponge-mixin/0.12.5+mixin.0.8.5/sponge-mixin-0.12.5+mixin.0.8.5.jar Service=Knot/Fabric Env=CLIENT
[19:21:47] [main/INFO]: Compatibility level set to JAVA_16
[19:21:47] [main/INFO]: Compatibility level set to JAVA_17
[19:21:48] [main/WARN]: Reference map 'chisels-and-bits-fabric-refmap.json' for chiselsandbits.mixins.json could not be read. If this is a development environment you can ignore this message
[19:21:58] [Datafixer Bootstrap/INFO]: 188 Datafixer optimizations took 395 milliseconds
[19:22:02] [Render thread/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', servicesHost='https://api.minecraftservices.com', name='PROD'
[19:22:03] [Render thread/INFO]: Setting user: Bandayd
[19:22:03] [Render thread/INFO]: Initialized chisels-and-bits for Fabric
[19:22:03] [Render thread/INFO]: Initialized Saecularia-Caudices
[19:22:04] [Render thread/INFO]: Loaded block entity configuration.
[19:22:04] [Render thread/INFO]: Loaded block configuration.
[19:22:04] [Render thread/INFO]: Loaded chisel mode group configuration.
[19:22:04] [Render thread/INFO]: Loaded chisel mode configuration.
[19:22:04] [Render thread/INFO]: Loaded container type configuration.
[19:22:04] [Render thread/INFO]: Loaded item group configuration.
[19:22:05] [Render thread/INFO]: Loaded item configuration.
[19:22:05] [Render thread/INFO]: Loaded metadata key configuration.
[19:22:05] [Render thread/INFO]: Loaded model property configuration.
[19:22:05] [Render thread/INFO]: Loaded modification operation configuration.
[19:22:05] [Render thread/INFO]: Loaded modification operation group configuration.
[19:22:05] [Render thread/INFO]: Loaded pattern placement type configuration.
[19:22:05] [Render thread/INFO]: Loaded recipe serializer configuration.
[19:22:05] [Render thread/INFO]: Loaded tag configuration.
[19:22:05] [Render thread/INFO]: Registering recipe types.
[19:22:05] [Render thread/INFO]: Registering event handlers
[19:22:06] [Render thread/INFO]: Initialized scena-fabric
[19:22:06] [Render thread/INFO]: Initialized chisels-and-bits for Fabric client module
[19:22:07] [Render thread/INFO]: [Indigo] Registering Indigo renderer!
[19:22:07] [Render thread/INFO]: Initialized Saecularia-Caudices Client systems
[19:22:07] [Render thread/INFO]: Backend library: LWJGL version 3.3.1 SNAPSHOT
[19:22:08] [Render thread/INFO]: Setting up client reloading resource manager.
[19:22:09] [Render thread/INFO]: Reloading ResourceManager: vanilla, fabric (chiselsandbits, fabric-api, fabric-api-base, fabric-api-lookup-api-v1, fabric-biome-api-v1, fabric-block-api-v1, fabric-block-view-api-v2, fabric-blockrenderlayer-v1, fabric-client-tags-api-v1, fabric-command-api-v1, fabric-command-api-v2, fabric-commands-v0, fabric-containers-v0, fabric-content-registries-v0, fabric-convention-tags-v1, fabric-crash-report-info-v1, fabric-data-generation-api-v1, fabric-dimensions-v1, fabric-entity-events-v1, fabric-events-interaction-v0, fabric-events-lifecycle-v0, fabric-game-rule-api-v1, fabric-item-api-v1, fabric-item-group-api-v1, fabric-key-binding-api-v1, fabric-keybindings-v0, fabric-lifecycle-events-v1, fabric-loot-api-v2, fabric-loot-tables-v1, fabric-message-api-v1, fabric-mining-level-api-v1, fabric-model-loading-api-v1, fabric-models-v0, fabric-networking-api-v1, fabric-networking-v0, fabric-object-builder-api-v1, fabric-particles-v1, fabric-recipe-api-v1, fabric-registry-sync-v0, fabric-renderer-api-v1, fabric-renderer-indigo, fabric-renderer-registries-v1, fabric-rendering-data-attachment-v1, fabric-rendering-fluids-v1, fabric-rendering-v0, fabric-rendering-v1, fabric-resource-conditions-api-v1, fabric-resource-loader-v0, fabric-screen-api-v1, fabric-screen-handler-api-v1, fabric-sound-api-v1, fabric-transfer-api-v1, fabric-transitive-access-wideners-v1, fabricloader, scena)
[19:22:09] [Worker-Main-1/INFO]: Found unifont_all_no_pua-15.0.06.hex, loading
[19:22:14] [Render thread/WARN]: Missing sound for event: minecraft:item.goat_horn.play
[19:22:14] [Render thread/WARN]: Missing sound for event: minecraft:entity.goat.screaming.horn_break
[19:22:14] [Render thread/INFO]: OpenAL initialized on device OpenAL Soft on Bluetooth Headphones (ATH-M20xBT )
[19:22:14] [Render thread/INFO]: Sound engine started
[19:22:14] [Render thread/INFO]: Created: 1024x512x4 minecraft:textures/atlas/blocks.png-atlas
[19:22:14] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/signs.png-atlas
[19:22:14] [Render thread/INFO]: Created: 512x512x4 minecraft:textures/atlas/banner_patterns.png-atlas
[19:22:14] [Render thread/INFO]: Created: 512x512x4 minecraft:textures/atlas/shield_patterns.png-atlas
[19:22:14] [Render thread/INFO]: Created: 1024x1024x4 minecraft:textures/atlas/armor_trims.png-atlas
[19:22:14] [Render thread/INFO]: Created: 256x256x4 minecraft:textures/atlas/chest.png-atlas
[19:22:14] [Render thread/INFO]: Created: 128x64x4 minecraft:textures/atlas/decorated_pot.png-atlas
[19:22:14] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/beds.png-atlas
[19:22:14] [Render thread/INFO]: Created: 512x256x4 minecraft:textures/atlas/shulker_boxes.png-atlas
[19:22:15] [Render thread/WARN]: Shader rendertype_entity_translucent_emissive could not find sampler named Sampler2 in the specified shader program.
[19:22:15] [Render thread/INFO]: Created: 256x256x0 minecraft:textures/atlas/particles.png-atlas
[19:22:15] [Render thread/INFO]: Resetting client caches
[19:22:15] [Render thread/INFO]: Resetting common caches
[19:22:15] [Render thread/INFO]: Created: 128x128x0 chiselsandbits:textures/atlases/icons.png-atlas
[19:22:15] [Render thread/INFO]: Created: 256x256x0 minecraft:textures/atlas/paintings.png-atlas
[19:22:15] [Render thread/INFO]: Created: 128x128x0 minecraft:textures/atlas/mob_effects.png-atlas
[19:22:27] [Render thread/INFO]: Loaded 8 recipes
[19:22:27] [Render thread/INFO]: Loaded 1290 advancements
[19:23:27] [Render thread/INFO]: Applied 0 biome modifications to 0 of 64 new biomes in 2.760 ms
[19:23:27] [Server thread/INFO]: Starting integrated minecraft server version 1.20.1
[19:23:27] [Server thread/INFO]: Generating keypair
here is a video of me demonstrating it, in case it helps ๐
https://www.youtube.com/watch?v=Hn5_r8H7-dw
After some slight testing (joining an already created world), it seems that the game enters a hanging state whenever creating a new chunk.
It's as if ticks no longer happened. It also gets stuck on saving the world.
After some slight testing (joining an already created world), it seems that the game enters a hanging state whenever creating a new chunk. It's as if ticks no longer happened. It also gets stuck on saving the world.
Thank you for finding that out, I only tried loading the world initially, and interacting with chiseled blocks etc...
I didn't even think to test out chunk creation. ๐คฆโโ๏ธ
I'm sure that helps to narrow down what's going on here. ๐
Thank you!!!
I took a stack trace of the process when it hangs, I am not too familiar with Java, so I couldn't find anything strange.
I am attaching it here.
trace.txt
I took a stack trace of the process when it hangs, I am not too familiar with Java, so I couldn't find anything strange. I am attaching it here. trace.txt
On further inspection it seems that both the server thread and main thread are stuck on waiting for Minecraft's ServerChunkCache.getChunk()
to stop blocking, but it doesn't stop blocking when it tries to get a chunk that hasn't been generated yet. Still unsure why.
I took a stack trace of the process when it hangs, I am not too familiar with Java, so I couldn't find anything strange. I am attaching it here. trace.txt
As see now that helps massively.
Let me debug this.
Okey, new build is being published as we speak that should fix this.
Thanks for the log @Buwwet that helped a lot. I could not reproduce this, because it was a threading issue, and it simply did not happen on my machine.
Okey, new build is being published as we speak that should fix this. Thanks for the log @Buwwet that helped a lot. I could not reproduce this, because it was a threading issue, and it simply did not happen on my machine.
Thank you @marchermans I can confirm that build 1.4.145
https://www.curseforge.com/minecraft/mc-mods/chisels-bits-for-fabric/files/4787441
fixes the issues nicely, awesome ๐ thank you so much! โค๏ธ
Also thank you @Buwwet for your testing and providing the trace.txt
that helped resolve this issue ๐