Placing Mechanical Harvester causes stack overflow error
wild-gooseberry opened this issue ยท 11 comments
Describe the Bug
Placing Mechanical Harvester on a Linear Chasis causes stack overflow error.
Updated: the chunk containing the placed harvester becomes corrupted.
Reproduction Steps
- Start sever
- Log in
- Place Mechanical Harvester on Linear Chasis
- stackOverflow error
Expected Result
Remove stack overflow after placing Mechanical Harvester
Screenshots and Videos
No response
Crash Report or Log
Operating System
Windows 10
Mod Version
0.4.0c
Minecraft Version
1.18.1
Forge Version
39.0.59
Other Mods
Server-side:
AdHooks-1.18.1-7.0.0.0-build.0041.jar
advancednetherite-1.10.0-1.18.1.jar
AI-Improvements-1.18-0.4.0.jar
alexsmobs-1.16.0.jar
Amplified%20Nether%201.0.1%20~%20Forge.jar
appleskin-forge-mc1.18-2.2.0.jar
Aquaculture-1.18.1-2.3.2.jar
AttributeFix-Forge-1.18.1-13.0.3.jar
AutoRegLib-1.7-52.jar
awesomedungeon-2.0.3.jar
AwesomeDungeonOcean-Forge-1.18-2.0.2.jar
balm-2.4.0%2B0.jar
bambooeverything-1.2.4-build.10%2Bmc1.18.1.jar
beenfo-1.18.1-forge39.0.9-1.2.jar
BetterCompatibilityChecker-1.1.10-build.21%2Bmc1.18.1.jar
BiomesOPlenty-1.18.1-15.0.0.95-universal.jar
citadel-1.10.8-1.18.jar
Clumps-forge-1.18.1-8.0.4.jar
collective-1.18.1-3.8.jar
comforts-forge-1.18-5.0.0.1.jar
Companion-1.18-forge-1.1.1.jar
ConfigMenusForge-v3.1.0-1.18.1-Forge.jar
corpse-1.18.1-1.0.2.jar
Craftable%20Horse%20Armour%20%20Saddle-1.18-1.8-Forge.jar
create-mc1.18.1_v0.4c.jar
creeperoverhaul-1.18.1-0.2.0-forge.jar
Croptopia-1.18-FORGE-1.8.0.jar
curios-forge-1.18.1-5.0.5.1.jar
Customized-Dungeon-Loot-1.17.x-%28v.2.1.0%29.jar
DoggyTalents-1.18.1-2.4.0.jar
dynview-1.18-2.3.jar
FastLeafDecay-27.2.jar
ferritecore-4.0.0-forge.jar
flywheel-forge-1.18-0.5.1.jar
ForgeEndertech-1.18.1-8.0.0.0-build.0040.jar
geckolib-1.18-forge-3.0.5.jar
guardvillagers-1.18.1.4.0.jar
jei-1.18.1-9.2.1.69.jar
Kiwi-1.18-forge-5.2.3.jar
LibraryFerret-Forge-1.18.1-1.0.3.jar
netherportalfix-forge-1.18-9.0.0.jar
netherportalspread_1.18.1-5.7.jar
Patchouli-1.18.1-64.jar
Ping-1.18-1.8.0.jar
PuzzlesLib-v3.1.3-1.18.1-Forge.jar
Quark-3.0-334.jar
RapidLeafDecay-1.18.1-2.0.0.jar
SereneSeasons-1.18.1-6.0.0.8-universal.jar
sophisticatedbackpacks-1.18.1-3.15.1.505.jar
spark-forge.jar
TerraBlender-forge-1.18.1-1.1.0.39.jar
The_Graveyard_1.1_%28FORGE%29_for_1.18.1.jar
TinySkeletons-v3.1.0-1.18.1-Forge.jar
villagernames_1.18.1-3.5.jar
voidtotem-forge-1.18.1-1.1.0.jar
Xaeros_Minimap_21.23.0_Forge_1.18.jar
XaerosWorldMap_1.19.0_Forge_1.18.jar
Additional Context
No response
I think this broke with Forge 39.0.45
Downgrading before that, including any other mods dependent on a newer version, will also prevent the crash and save the world
How to find block coordinates in logs? I don't have world backups and wouldn't want to lose it.
How to find block coordinates in logs? I don't have world backups and wouldn't want to lose it.
I was mistaken before - the crash logs don't contain the harvester coordinates. But they do contain the player coordinates (in section All players:
. You probably weren't far away from the harvester when you placed it.
You could try using fill
command. I think this would work by replacing all harvesters in a cube around you with air:
/fill ~10 ~10 ~10 ~-10 ~-10 ~-10 minecraft:air replace create:mechanical_harvester
In your save folder there should be a folder called serverconfig
If you open up forge-server.toml and change it to set removeErroringBlockEntities = true the server should automatically remove the erroring harvester(s) when it crashes again.
Thanks for reporting. Fixed in Patch D
I have had the same crash, same way but its wherever the mechanical harvester is placed. The save is forever broken so make a backup :P
I have had the same crash, same way but its wherever the mechanical harvester is placed. The save is forever broken so make a backup :P
Yes, that is correct, unfortunately - I've investigated my problem further and the chunk that contained my contraption became corrupted and I wasn't able to restore it - other than loading a backup.
You can still harvest crops and replant though, its more expensive. Ploughs and placers
To save the corrupted world get rid of the "Ticked block" in the chunk and replace with air
Yes, that is correct, unfortunately - I've investigated my problem further and the chunk that contained my contraption became corrupted and I wasn't able to restore it - other than loading a backup
You can delete the placed harvester directly via /fill command. Reload the game and the chunk is back
To save the corrupted world get rid of the "Ticked block" in the chunk and replace with air
You can delete the placed harvester directly via /fill command. Reload the game and the chunk is back
Thanks for the suggestion - it didn't occur to me. I do have the exact coordinates of the offending Harvester in my crash log, don't I? Luckily, I have backups of both pre- and post-crash world, so I can experiment.