quiqueck / BetterEnd

Better End MC Mod
https://modrinth.com/mod/betterend
Other
29 stars 39 forks source link

World generation freezes worker threads, unable to save or move/teleport from broken area [Bug] #63

Closed Gredys closed 1 year ago

Gredys commented 2 years ago

What happened?

While moving thrue the end with Better End mod installed I managed to get invisible chunks. Didn't managed to get thru them further and decided to move back, where terrain were still loaded.

But to my supriprise it also bugged and was invisible.

After checking if server is alive (looking at mobs and writing something in chat) I found that it wasn't. There wasn't any crash, no any error. Just a constant load of 50% CPU (on Ryzen 9 3950X).

Any attempts to teleport out of end or quit a game (save) is leading to stuck on Saving world screen.

The game itself is not frozen and working like a normal, just not passing anywhere from Saving world screen.

Cos there is no any crash or log that can definetly tell what is happening - I decided to go and view threads and stacks.

What I found inside of them:

BetterEnd

1.1.1

BCLib

1.4.7

Fabric API

0.58.0

Fabric Loader

0.14.9

Minecraft

1.18.2

Relevant log output

Thread dump is not fitting here. Uploaded it here - https://pastebin.com/vu7m45we

Other Mods

Loading 251 mods:
    - additionaladditions 4.0.5
    - advanced_runtime_resource_pack 0.5.5 via carrier
    - advancementplaques 1.4.5
    - adventurez 1.4.11
    - ae2 11.1.5
    - ae2things 1.1.0-beta.8
    - alloy_forgery 2.0.13+1.18
    - appleskin 2.4.1+mc1.18.2
    - architectury 4.9.83
    - archon 0.3.2
    - armorrenderlib 0.1.1 via relicex
    - balm-fabric 3.2.0+0
    - bclib 1.4.7
    - beo 1.18.2-2.1.0-Fabric
    - betteranimalsplus 1.18.2-11.0.5
    - betterend 1.1.1
    - betterf3 1.2.5
    - betternether 6.1.2
    - betterpingdisplay 1.1.1
    - blossom 1.18.2-1.0.4
    - blue_endless_jankson 1.2.1 via kyrptconfig
    - blur 2.4.1
    - bno 1.18.2-7.2.0-Fabric
    - bookshelf 13.2.47
    - bosses_of_mass_destruction 1.3.8-1.18.2
    - botania 1.18.2-435-FABRIC
    - bowinfinityfix rv11
    - caffeineconfig 1.0.0+1.17 via sodium-extra
    - cardinal-components 4.2.0
    - cardinal-components-base 4.2.0 via cardinal-components
    - cardinal-components-block 4.2.0 via cardinal-components
    - cardinal-components-chunk 4.2.0 via cardinal-components
    - cardinal-components-entity 4.2.0 via cardinal-components
    - cardinal-components-item 4.2.0 via cardinal-components
    - cardinal-components-level 4.2.0 via cardinal-components
    - cardinal-components-scoreboard 4.2.0 via cardinal-components
    - cardinal-components-world 4.2.0 via cardinal-components
    - carrier 1.10.0
    - charm 4.2.0
    - charmonium 4.1.0
    - cleancut 1.18.2-5.0-fabric
    - cloth-basic-math 0.6.1 via cloth-config
    - cloth-config 6.2.62
    - clumps 8.0.0+15
    - com_electronwill_night-config_core 3.6.5 via couplings
    - com_electronwill_night-config_toml 3.6.5 via couplings
    - com_eliotlash_mclib_mclib 18 via geckolib3
    - com_eliotlash_molang_molang 18 via geckolib3
    - com_fasterxml_jackson_dataformat_jackson-dataformat-yaml 2.13.0 via essential_commands
    - com_github_llamalad7_mixinextras 0.0.11 via registrate-fabric
    - com_google_code_findbugs_jsr305 3.0.2 via create
    - com_moandjiezana_toml_toml4j 0.7.2 via charm
    - comforts 1.1.2-1.18.2
    - compact_storage 5.0.2-1.18.2
    - compactstatuseffects 2.1.2
    - continuity 2.0.1+1.18.2
    - controlling 9.0+21
    - couplings 1.8.0+1.18.2
    - craftingtweaks 14.0.3
    - crawl 0.10.6
    - create 0.5.0c-708
    - createaddition ${version}
    - createplus 1.0
    - creativecore 2.6.12
    - cullleaves 2.3.2
    - dataattributes 1.1.11
    - dawn 3.3.2
    - deepslatecutting 1.3.4
    - dripstone_fluid_lib 1.2.0 via milk
    - dungeons_arise 2.1.50
    - dynview 1.18.2-2.1
    - eatinganimationid 1.8
    - ec-core 1.0.1-mc1.18.2 via essential_commands
    - eldritch_mobs 1.11.6
    - enchant_giver 1.2.1 via mcdw
    - enchdesc 10.0.4
    - enhancedvisuals 1.5.5
    - entityculling 1.5.1
    - error_notifier 1.0.9 via roughlyenoughitems
    - essential_commands 0.24.5-mc1.18.2
    - extended_armor_bars 1.2.1
    - fabric 0.58.0+1.18.2
    - fabric-api-base 0.4.4+d7c144a860 via fabric
    - fabric-api-lookup-api-v1 1.6.2+2373a54560 via fabric
    - fabric-biome-api-v1 8.0.6+651bcc5960 via fabric
    - fabric-blockrenderlayer-v1 1.1.12+3ac43d9560 via fabric
    - fabric-command-api-v1 1.1.9+d7c144a860 via fabric
    - fabric-commands-v0 0.2.8+b4f4f6cd60 via fabric
    - fabric-containers-v0 0.1.23+d7c144a860 via fabric
    - fabric-content-registries-v0 3.1.1+c85f2e3860 via fabric
    - fabric-convention-tags-v1 1.0.1+474e4f7960 via fabric
    - fabric-crash-report-info-v1 0.2.1+ee261a3e60 via fabric
    - fabric-data-generation-api-v1 3.0.1+9fcb91d260 via fabric
    - fabric-dimensions-v1 2.1.20+489d6f8260 via fabric
    - fabric-entity-events-v1 1.4.8+d7c144a860 via fabric
    - fabric-events-interaction-v0 0.4.19+d7c144a860 via fabric
    - fabric-events-lifecycle-v0 0.2.19+d7c144a860 via fabric
    - fabric-game-rule-api-v1 1.0.13+d7c144a860 via fabric
    - fabric-item-api-v1 1.5.2+17cbbd4360 via fabric
    - fabric-item-groups-v0 0.3.14+91896a4960 via fabric
    - fabric-key-binding-api-v1 1.0.12+54e5b2ec60 via fabric
    - fabric-keybindings-v0 0.2.10+b4f4f6cd60 via fabric
    - fabric-language-kotlin 1.8.2+kotlin.1.7.10
    - fabric-lifecycle-events-v1 2.1.0+cc71601c60 via fabric
    - fabric-loot-api-v2 1.1.0+1997ad1260 via fabric
    - fabric-loot-tables-v1 1.1.2+e747827960 via fabric
    - fabric-mining-level-api-v1 2.1.4+cc71601c60 via fabric
    - fabric-models-v0 0.3.6+d7c144a860 via fabric
    - fabric-networking-api-v1 1.0.23+2d30af4b60 via fabric
    - fabric-networking-v0 0.3.10+b4f4f6cd60 via fabric
    - fabric-object-builder-api-v1 2.1.3+032c981d60 via fabric
    - fabric-particles-v1 0.2.12+526dc1ac60 via fabric
    - fabric-permissions-api-v0 0.1-SNAPSHOT via essential_commands
    - fabric-registry-sync-v0 0.9.10+0d9ab37260 via fabric
    - fabric-renderer-api-v1 0.4.13+d882b91560 via fabric
    - fabric-renderer-indigo 0.5.3+41a02c8a60 via fabric
    - fabric-renderer-registries-v1 3.2.11+b4f4f6cd60 via fabric
    - fabric-rendering-data-attachment-v1 0.3.7+d7c144a860 via fabric
    - fabric-rendering-fluids-v1 2.0.2+54e5b2ec60 via fabric
    - fabric-rendering-v0 1.1.13+b4f4f6cd60 via fabric
    - fabric-rendering-v1 1.10.7+54e5b2ec60 via fabric
    - fabric-resource-conditions-api-v1 2.0.3+91b7aa6660 via fabric
    - fabric-resource-loader-v0 0.5.2+446e059560 via fabric
    - fabric-screen-api-v1 1.0.10+d882b91560 via fabric
    - fabric-screen-handler-api-v1 1.2.2+1f6558e860 via fabric
    - fabric-textures-v0 1.0.12+3ac43d9560 via fabric
    - fabric-transfer-api-v1 1.6.3+f4563ac860 via fabric
    - fabric-transitive-access-wideners-v1 1.1.0+e747827960 via fabric
    - fabricloader 0.14.9
    - fake-player-api 0.3.0 via create
    - fallingleaves 1.11.1+1.18.2
    - fallingtree 3.5.3
    - ferritecore 4.2.1
    - fiber 0.23.0-2 via botania
    - firstperson 2.1.2
    - flywheel 0.6.4-30 via create
    - forge_tags 2.1 via create
    - forgeconfigapiport 3.2.3
    - geckolib3 3.0.56
    - gobber2 2.5.80
    - goosik-config 0.2.0 via visuality
    - healthoverlay 6.3.4
    - highlighter 1.1.2
    - iceberg 1.0.38
    - illuminations 1.10.4
    - immersive_weathering 2.5.6
    - indium 1.0.7+mc1.18.2
    - infusion_table 1.1.0
    - inventorysorter 1.8.8-1.18
    - iris 1.2.6
    - itemborders 1.1.5
    - itemmodelfix 1.0.3+1.18
    - jade 5.99.9
    - jankson 4.0.0+j1.2.0 via libgui
    - java 17
    - journeymap-api-fabric 1.18.2-1.8-fabric-SNAPSHOT via journeymap-fabric
    - journeymap-fabric 5.8.5
    - kyrptconfig 1.4.6-1.18 via inventorysorter
    - lambdynlights 2.1.0+1.17
    - legendarytooltips 1.2.5
    - libgui 5.1.0+1.18 via additionaladditions
    - libninepatch 1.1.0 via libgui
    - lithium 0.7.10
    - maelstrom_library 1.2.4-1.18.2 via bosses_of_mass_destruction
    - magna 1.7.1-1.18-pre1 via mythicmetals
    - malilib 0.12.1
    - maybe-data 1.3.1-1.18.2 via deepslatecutting
    - mcda 2.0.7
    - mcdw 4.4.1
    - medievalmusic 1.18-1.3
    - memoryleakfix 1.18.2-0.7.0
    - midnightlib 0.3.1 via blur
    - milk 0.3.2 via create
    - minecraft 1.18.2
    - mm 2.3 via crawl
    - modern_industrialization 1.2.2
    - modmenu 3.2.3
    - more_babies 0.5.2
    - moreachievements 1.0.8
    - mousetweaks 2.22
    - multipart_entities 1.1.5-1.18.2 via bosses_of_mass_destruction
    - mythicmetals 0.14.3
    - naturalist 1.1.1
    - naturescompass 1.18.2-2.0.3-fabric
    - net_objecthunter_exp4j 0.4.8 via playerex
    - noindium 1.0.2+1.18.2 via ae2
    - notenoughanimations 1.6.0
    - notenoughcrashes 4.1.6+1.18.2
    - omega-config 1.2.3-1.18.1 via archon
    - opc 0.5.1 via playerex
    - org_anarres_jcpp 1.4.14 via iris
    - org_aperlambda_lambdajcommon 1.8.1 via spruceui
    - org_jetbrains_kotlin_kotlin-reflect 1.7.10 via fabric-language-kotlin
    - org_jetbrains_kotlin_kotlin-stdlib 1.7.10 via fabric-language-kotlin
    - org_jetbrains_kotlin_kotlin-stdlib-jdk7 1.7.10 via fabric-language-kotlin
    - org_jetbrains_kotlin_kotlin-stdlib-jdk8 1.7.10 via fabric-language-kotlin
    - org_jetbrains_kotlinx_atomicfu-jvm 0.18.2 via fabric-language-kotlin
    - org_jetbrains_kotlinx_kotlinx-coroutines-core-jvm 1.6.4 via fabric-language-kotlin
    - org_jetbrains_kotlinx_kotlinx-coroutines-jdk8 1.6.4 via fabric-language-kotlin
    - org_jetbrains_kotlinx_kotlinx-datetime-jvm 0.4.0 via fabric-language-kotlin
    - org_jetbrains_kotlinx_kotlinx-serialization-cbor-jvm 1.3.3 via fabric-language-kotlin
    - org_jetbrains_kotlinx_kotlinx-serialization-core-jvm 1.3.3 via fabric-language-kotlin
    - org_jetbrains_kotlinx_kotlinx-serialization-json-jvm 1.3.3 via fabric-language-kotlin
    - org_joml_joml 1.10.2 via sodium
    - owo 0.7.2-no-cme+1.18
    - patchouli 1.18.2-71.1-FABRIC
    - phosphor 0.8.1
    - placeholder-api 1.1.3+1.17.1 via essential_commands
    - playerabilitylib 1.5.0 via modern_industrialization
    - playerex 3.2.6
    - polymorph 0.0.21-1.18.2
    - porting_lib 1.2.421-beta+1.18.2-dev.b8d195a via create
    - pride 1.1.0+1.17 via lambdynlights
    - probablychests 0.5.3-1.18.2
    - publicguiannouncement 3.2.0.1
    - pugh_lib 1.3.2 via gobber2
    - pugh_tools 1.2.7 via gobber2
    - ratsmischief 1.3.7
    - reach-entity-attributes 2.1.1 via botania
    - reeses-sodium-options 1.4.6+mc1.18.2-build.54
    - registrate-fabric MC1.18.2-1.1.3 via create
    - relicex 3.1.2
    - roughlyenoughitems 8.3.527
    - roughlyenoughprofessions 1.0.1
    - roughlyenoughresources 2.5.0
    - satin 1.7.0 via blur
    - seedfix 1.0.1
    - serialization_hooks 0.3.21 via porting_lib
    - skinlayers 1.4.6-mc1.18.2
    - sodium 0.4.1+build.15
    - sodium-extra 0.4.6+mc1.18.2-build.46
    - spruceui 3.3.0+1.17 via lambdynlights
    - step-height-entity-attribute 1.0.0 via botania
    - subterrestrial 1.0.2
    - t_and_t 1.6
    - team_reborn_energy 2.2.0 via createaddition
    - terrablender 1.1.0.102
    - things 0.2.18+1.18
    - tipthescales 5.0.6
    - tlcosmetica 0.4.0 via visuality
    - toms_storage 1.3.4
    - tooltipfix 1.0.4-1.18
    - torohealth 1.18-fabric-2
    - trashslot 11.0.2
    - trinkets 3.3.1
    - trulytreasures fabric-1.18.1-2.0.1
    - universal_ores 1.3.1
    - veinmining 0.0.13-1.18.2
    - visuality 0.4.2
    - voidz 1.0.7
    - yigd 1.3.8
quiqueck commented 2 years ago

Tanks for reporting. Unfortunately this is a know bug. But so far I could not reliably reproduce it to find out what is triggering the Deadlock...

Gredys commented 2 years ago

Tanks for reporting. Unfortunately this is a know bug. But so far I could not reliably reproduce it to find out what is triggering the Deadlock...

I tried many times to clear the saves from End dimension and it is 100% times starting to freeze at same location. I can pack all mods with partial save and send you. It could help to locate this deadlock problem, at least tell which block is doing that and dig from that point up the stack.

P.S. Only would if any java debug ide would work with running game without a problem - I would help to locate the problem.

alerikaisattera commented 1 year ago

A little extra information on this bug: