I notice an issue under Linux, it happened to DwarfTherapist in the same way.
It appears that the tools are reading the save data instead of the variable memory.
When I load a map, all the tools work fine. It's enough for me to build something or dig into something and most tools will fail with memory read errors.
After embark no tool would work, I need to save and load the map for them to run without issue. Both problems are fixed by saving and reloading, just like in DwarfTherapist before it got fixed.
Reproducible: Always.
Version: latest git pull / df 0.31.25
Well, can't reproduce the problem. Only thing I found is a bad creature vector or some name reading issue with demons... so that's a thing to fix for sure.
There is no 'save' version of the data. What kind of kernel are you running? I have things working with 64bit kernels for sure. There were some problems with 32bit in the past, where switching between PAE or non-PAE kernels fixed the problem.
Anyway, run the dfincremental tool and post the big list it prints somewhere. That should tell us at least something.
Well...
I have tried a bit more.
vanilla dwarf fortress just unpacket, genned a pocket world with tiny history. Embarqued, pause.
This is the output of dfincremental:
http://pastebin.com/9RPhgAAiAll tools fail with this error, sample dfprospector:
pread failed: can't read 48 bytes at addres 2884956896
errno: 22
terminate called after throwing an instance of 'DFHack::Error::MemoryAccessDenied'
what(): Invalid memory access @0xabf4f2e0
Aborted
Saved. Exited DF. Loaded map. Still paused. Same error as above.
Unpaused. Digged a few tiles, built a farm plot. Saved. Exited DF. Loaded map once again. Paused. All tools work fine as long as no new units appear in the map.
http://pastebin.com/u5Gvuup0Sample of dfprospector:
Maximal regionoffset seen: 0.
MORION : 1
PRASE : 1
OPAL_CRYSTAL : 1
CARNELIAN : 1
GRAY CHALCEDONY : 1
GREEN JADE : 1
YELLOW JASPER : 2
MILK QUARTZ : 2
ALABASTER : 3
MOSS AGATE : 3
SCHORL : 4
CRYSTAL_ROCK : 9
LIGNITE : 9
GYPSUM : 17
LIMONITE : 28
HEMATITE : 30
TALC : 32
BAUXITE : 35
TETRAHEDRITE : 42
COAL_BITUMINOUS : 44
KAOLINITE : 49
MICROCLINE : 49
MAGNETITE : 66
Unpaused. Built some thing, while checking the tools were working, keep checking the unit list. The deers that spawned at the beginning left the map and horses appeared. Tools no longer work. Error is same as above, here is the dfincremental output:
http://pastebin.com/DqcTKj5ZI hope this helps, it gets annoying having to reload every time a new unit makes it to the list. Thanks.