View Issue Details

IDProjectCategoryView StatusLast Update
0009123Dwarf FortressTechnical -- Saving/Loadingpublic2015-12-02 14:59
ReporterLozzymandias Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status newResolutionopen 
PlatformPCOSLinuxOS VersionUbuntu 14.04
Product Version0.40.24 
Summary0009123: running with sudo causes segfault on save
DescriptionIf dwarf fortress is run in sudo "sudo ./df" the game will crash upon saving. The crash reports suggest either corruption or double free errors. The likelihood of crashing is proportional to the time between saves, so saving often prevents them. However, without sudo the game will run smoothly, tested by leaving it running for 2 consecutive seasons and saving often. I suspect that having restricted permissions stops df from writing to places it oughn't.
Steps To ReproduceStart up DF in sudo. Run for approximately an in-game month. Save
Additional InformationIncredibly frustrating if you don't know the trick. Harmless if you do. Therefore filing the report is as much a workaround as a development heads-up. Mods in use: Lazy Newb Pack, DFhack and Tileset Phoebus.
TagsNo tags attached.

Activities

Lozzymandias

2015-11-28 18:19

reporter   ~0033189

Ambiguity in the second part. Saving was done twice per season in the test. Once automatically and directly afterwards a manual save, in order to give the flaw that leads to the crash time to manifest. No crashes occured then.

Add Note

Note

Issue History

Date Modified Username Field Change
2015-11-28 18:02 Lozzymandias New Issue
2015-11-28 18:19 Lozzymandias Note Added: 0033189
2015-12-02 14:59 user6 Summary Seg fault upon saving-sudo => running with sudo causes segfault on save