Open Demosthenexx opened 8 years ago
I have confirmed that modifying the nickname on a single dwarf and saving segfaults.
There is still another issue outside nicknames though. I tried to edit one dwarf's skills, that was ok and didn't error out on save. Then I set a large group to a custom profession, and next save died.
I am getting identical behaviour with DT version 37.0.0.0 and DF version 0.42.06
Sorry, but I moved over to DFHack and haven't crashed since. Their in-game text UI for administering professions is all I needed.
I'm seeing where DF crashes at save after I have used DT. Obviously this means I lose my saved game and have to revert to an older version. It happens frequently enough for me to open an issue, and ask what I can do to debug the matter.
When DF crashes it always is a glibc detected invalid pointer, which sounds like when DT changes DF's memory structures something is getting corrupted.
DF: 0.43.03 32 bit Linux DT: 37.0.0.0 according to the GUI
I have used DT compiled from git and the version hasn't changed, so my git clone is up to date as of 0f00a1788714c538ac52d8986d9dcb1e07b2ea3f from Jul 6.
I was using a DT pulled after 0.43.03 support was added and had the crashes, and a few days ago updated to latest and recompiled and the crashes continue. So the issue is consistent across two versions of DT including the latest.
I haven't noticed any of my DT commits not being applied, no corruption in the dwarf names or occupations. I only use DT to set aliases, professions as grouped labor skills, and military squads.
DF runs fine without DT, but if I use DT to make changes inevitable after an hour or two the next save will fail. I have autosave enabled and those crash too, so I'm only losing a season of work. It's still frustrating.
What can I do to help isolate the cause?