# Corrupted save / segfault while sleeping

**URL:** <https://discourse.cataclysmdda.org/t/corrupted-save-segfault-while-sleeping/7095>\
**Category:** The Garage\
**Created:** [August 15, 2014, 4:50am UTC](https://discourse.cataclysmdda.org/t/corrupted-save-segfault-while-sleeping/7095 "2014-08-15T04:50:00Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Murphy](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/murphy/32/2371_2.png) [@Murphy](https://discourse.cataclysmdda.org/u/Murphy)\
**Post date:** [August 15, 2014, 4:50am UTC](https://discourse.cataclysmdda.org/t/corrupted-save-segfault-while-sleeping/7095/1 "2014-08-15T04:50:00Z")

</div>

I was playing 0.A-1925, linux curses version and it experiences segmentation fault once in a while. It seemed random so I put up autosave every 300 turns… eventually it autosaved during sleep and then crashed before my character woke up. I loaded it and it crashed again. And again.

Odd thing is, it doesn’t seem to always crash at the same moment. I switched to 0.A-1929 but no luck. Then I edited the save file and set the sleep duration to 1, so he woke up when I loaded, then after walking around a while… crash.

Here’s the save folder:  
[http://www.datafilehost.com/d/73abe8e4](http://www.datafilehost.com/d/73abe8e4)

---

<div class="post-metadata">

**Author:** ![Murphy](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/murphy/32/2371_2.png) [@Murphy](https://discourse.cataclysmdda.org/u/Murphy)\
**Post date:** [August 16, 2014, 3:28pm UTC](https://discourse.cataclysmdda.org/t/corrupted-save-segfault-while-sleeping/7095/2 "2014-08-16T15:28:17Z")

</div>

Apparently the crash is tied to coughing (presumably only while asleep but I’m not sure). I salvaged my character by save editing and it doesn’t appear to crash if I’m not sick. I later got a crash while sleeping with fungus illness (also causes cough).

…So my character coughs so hard the game crashes. Heh.
