# \[Segmentation fault\] while cutting a fabric. On a Mac

**URL:** <https://discourse.cataclysmdda.org/t/segmentation-fault-while-cutting-a-fabric-on-a-mac/331>\
**Category:** The Garage\
**Created:** [March 4, 2013, 5:10pm UTC](https://discourse.cataclysmdda.org/t/segmentation-fault-while-cutting-a-fabric-on-a-mac/331 "2013-03-04T17:10:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Livingstone](https://avatars.discourse-cdn.com/v4/letter/l/f0a364/32.png) [@Livingstone](https://discourse.cataclysmdda.org/u/Livingstone)\
**Post date:** [March 4, 2013, 5:10pm UTC](https://discourse.cataclysmdda.org/t/segmentation-fault-while-cutting-a-fabric-on-a-mac/331/1 "2013-03-04T17:10:44Z")

</div>

[https://www.dropbox.com/s/d27cct7ukuluq48/dbg\_s01.tar.gzip?m](https://www.dropbox.com/s/d27cct7ukuluq48/dbg_s01.tar.gzip?m)

There’s a save folder of a man who unwittingly angered the spirits of rags and sheets alike.

Steps to reproduce:  
Load up the save  
e\* just don’t move.  
a to use item  
T to select combat knife  
1 to cut fabrics  
R to select _the_ sheet.

I’d like somebody to confirm this; otherwise it’s nobody’s problem really.

Steps to fix:  
iuse.cpp:2449 is missing a “break;”.

[edit] fix 2:  
Step somewhere else and try again. Not really fixing the underlying issue, though.

---

<div class="post-metadata">

**Author:** ![ZwodahS](https://avatars.discourse-cdn.com/v4/letter/z/f9ae1b/32.png) [@ZwodahS](https://discourse.cataclysmdda.org/u/ZwodahS)\
**Post date:** [March 5, 2013, 4:41am UTC](https://discourse.cataclysmdda.org/t/segmentation-fault-while-cutting-a-fabric-on-a-mac/331/2 "2013-03-05T04:41:07Z")

</div>

Let me add one more save file to help in the debugging

[https://dl.dropbox.com/u/3941713/bug.tar](https://dl.dropbox.com/u/3941713/bug.tar)

for my case, just use the beef jerky that have 1 charge left will consistently produce segmentation fault.

edit : moving before eating apparently fix the problem, so that might be another hint to how it can be fix.
