Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DF crashing consistently with DT #315

Open
Demosthenexx opened this issue Sep 3, 2016 · 4 comments
Open

DF crashing consistently with DT #315

Demosthenexx opened this issue Sep 3, 2016 · 4 comments

Comments

@Demosthenexx
Copy link

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 0f00a17 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?

@Demosthenexx
Copy link
Author

@Demosthenexx
Copy link
Author

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.

@cooro
Copy link

cooro commented Oct 5, 2016

I am getting identical behaviour with DT version 37.0.0.0 and DF version 0.42.06

@Demosthenexx
Copy link
Author

Sorry, but I moved over to DFHack and haven't crashed since. Their in-game text UI for administering professions is all I needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants