# Command completion crash

**URL:** <https://forum.mothur.org/t/command-completion-crash/197>\
**Category:** mothur bugs\
**Created:** [April 16, 2010, 8:41pm UTC](https://forum.mothur.org/t/command-completion-crash/197 "2010-04-16T20:41:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cottrell](https://avatars.discourse-cdn.com/v4/letter/c/ee7513/32.png) [@cottrell](https://forum.mothur.org/u/cottrell)\
**Post date:** [April 16, 2010, 8:41pm UTC](https://forum.mothur.org/t/command-completion-crash/197/1 "2010-04-16T20:41:18Z")

</div>

mothur commands issued by using command completion with the tab key cause mothur to crash with a segmentation fault.

For example:

Explicitly typing the command below works  
% mothur \> summary.seqs (fasta=my.big.file.fasta)

But hitting tab to fill in the various parts of the file name causes the crash.

Seems like it might be a readline bug.

mothur v.1.8  
64-bit compile  
Mac OS X 10.6.3

---

<div class="post-metadata">

**Author:** ![Rewski52](https://avatars.discourse-cdn.com/v4/letter/r/e36b37/32.png) [@Rewski52](https://forum.mothur.org/u/Rewski52)\
**Post date:** [April 20, 2010, 4:41pm UTC](https://forum.mothur.org/t/command-completion-crash/197/2 "2010-04-20T16:41:55Z")

</div>

Question: when you hit tab, for example while filling out “summary.seqs(fasta=my.big.file.fasta)”, does it put a “./” in front of your filename? Like "summary.seqs(fasta=./my.big.file.fasta)?

I’ve continuously gotten segmentation faults whenever I put “./” in front of my files so far on MOTHUR 1.8. Or is using tab on other parts also causing a crash?

---

<div class="post-metadata">

**Author:** ![pschloss](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.mothur.org/pschloss/32/4_2.png) [@pschloss](https://forum.mothur.org/u/pschloss)\
**Post date:** [April 20, 2010, 5:52pm UTC](https://forum.mothur.org/t/command-completion-crash/197/3 "2010-04-20T17:52:03Z")

</div>

This is fixed in the next release, which I’ll be posting tomorrow.
