Segmentation Fault When Asking NPC to Farm #70371
Labels
<Crash / Freeze>
Fatal bug that results in hangs or crashes.
(S2 - Confirmed)
Bug that's been confirmed to exist
Describe the bug
I was trying to get my NPC follower to harvest the corn in a pre-genned farm field. I set up a fairly large farming zone, but was holding no seeds so the zone was set to "No Seed". After making this zone, I saved it and told my NPC to do some farming work. After waiting a couple of turns an error pops up about an invalid recipe, and after telling the game to ignore the error, the client segfaults. The error before the segfault is as follows:
DEBUG : invalid recipe id ""
FUNCTION : obj
FILE : D:\a\Cataclysm-DDA\Cataclysm-DDA\src\recipe_dictionary.cpp
LINE : 68
VERSION : c6f6397
Attach save file
Lilymoor-trimmed.tar.gz
Steps to reproduce
Expected behavior
The NPC should proceed to harvest the corn instead of crashing the game.
Screenshots
It's hard to make out, but you should be able to see the farming zone encompassing the bottom 5 rows of the corn field.
Versions and configuration
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food],
Portal Storms Ignore NPCs [personal_portal_storms],
Slowdown Fungal Growth [no_fungal_growth],
Blaze Industries [blazeindustries],
sees-player, run, crouch, bleed icons, retrodays [sees_player_retro],
Voidmod [VoidMod]
]
Additional context
debug - Copy.log
crash - Copy.log
The text was updated successfully, but these errors were encountered: