# metastats command segfaults

**URL:** <https://forum.mothur.org/t/metastats-command-segfaults/446>\
**Category:** mothur bugs\
**Created:** [January 11, 2011, 10:29am UTC](https://forum.mothur.org/t/metastats-command-segfaults/446 "2011-01-11T10:29:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Till](https://avatars.discourse-cdn.com/v4/letter/t/22d042/32.png) [@Till](https://forum.mothur.org/u/Till)\
**Post date:** [January 11, 2011, 10:29am UTC](https://forum.mothur.org/t/metastats-command-segfaults/446/1 "2011-01-11T10:29:06Z")

</div>

Hi!

I just tried to use the metastats command/program in mothur, and get the below output. Googling the error just brings up something about R workspace size, it didn’t really help. I think my input files should be ok, the share file loads, and from the ‘Comparing G and W…’ message I assume it loads the design file ok, too.

On a completely different note, the evenness calculators are missing from the wiki manual it seems, I just found out about them by chance on the ver. 13 release notes. Maybe it would be good to add them for new users.

Cheers,

Till

```nohighlight
mothur > read.otu(shared=data_final.an.shared)

mothur > metastats(design=metastats_groups.txt)

0.03
Comparing G and W...
FEXACT error 40.
FEXACT error 40.
FEXACT error 40.
FEXACT error 40.
FEXACT error 40.
FEXACT error 40.
FEXACT error 40.
FEXACT error 40.
FEXACT error 40.
FEXACT error 40.
FEXACT error 40.
FEXACT error 40.
FEXACT error 40.
FEXACT error 40.
FEXACT error 40.
FEXACT error 40.
FEXACT error 40.
FEXACT error 40.
FEXACT error 40.
FEXACT error 40.
FEXACT error 40.
FEXACT error 40.
FEXACT error 40.
FEXACT error 40.
FEXACT error 40.
FEXACT error 40.
FEXACT error 40.
FEXACT error 40.
FEXACT error 40.
FEXACT error 40.
Segmentation fault

```

---

<div class="post-metadata">

**Author:** ![ajone](https://avatars.discourse-cdn.com/v4/letter/a/e9c0ed/32.png) [@ajone](https://forum.mothur.org/u/ajone)\
**Post date:** [February 15, 2011, 10:58am UTC](https://forum.mothur.org/t/metastats-command-segfaults/446/2 "2011-02-15T10:58:09Z")

</div>

Hi

I get the exact same error with the metastats command. Have you found a solution?

Anders

---

<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:** [February 15, 2011, 11:10am UTC](https://forum.mothur.org/t/metastats-command-segfaults/446/3 "2011-02-15T11:10:26Z")

</div>

This seems to be a bug on the metastats end of things and we are working with the metastats developers to find a work around.
