BenLubar / df-ai

Dwarf Fortress + Artificial Intelligence
https://benlubar.github.io/df-ai/
zlib License
248 stars 26 forks source link

Segmentation fault #40

Closed Unesty closed 6 years ago

Unesty commented 6 years ago

[DFHack]# enable df-ai AI: ?????-??-??:???? choosing "New World" AI: ?????-??-??:???? leaving world gen disclaimer AI: ?????-??-??:???? choosing "Generate World" Could not load script: onLoad.init-example AI: removed onupdate [DFHack]#

/home/unesty/.dwarffortress/dfhack: line 68: 15106 Segmentation fault (core dumped) setarch "$setarch_arch" -R env LD_PRELOAD="$PRELOAD_LIB" ./libs/Dwarf_Fortress "$@"

BenLubar commented 6 years ago

@Unesty Do you have the core dump? (You can enable writing one by running ulimit -c unlimited before running DFHack.)

Is there a specific sequence of actions that causes this to happen?

Unesty commented 6 years ago

@BenLubar core dump https://github.com/Unesty/MyProject5/blob/master/core.1929 another core dump https://drive.google.com/open?id=1usUAKBYv9ZomDiAb1M7Vd15mEQOWiQV5

Unesty commented 6 years ago

entity_default.txt and creature_standard.txt was modified

BenLubar commented 6 years ago

Where did you download DFHack from? The core dump doesn't seem to match any version of 0.44.05-r1 that I can find.

Unesty commented 6 years ago

From https://github.com/DFHack/dfhack

BenLubar commented 6 years ago

I'm going to close this assuming it was one of the crash bugs I fixed since 0.44.12-r1. If it's not, feel free to re-open this issue or file a new one.