dist.shared bug


I am using 1.39.5 version.

I tried to run dist.shared in several ways, but it is always aborted.

resulted in
*** Error in `mothur’: free(): invalid pointer: 0x00000000029a1812 ***
Aborted (core dumped)

dist.shared(shared=current, subsample=5000,iters=1000,calc=braycurtis,processors=30)
resulted in
Segmentation fault (core dumped)

dist.shared(shared=current, subsample=5000,iters=1000,calc=braycurtis,processors=1)
resulted in
*** Error in `mothur’: double free or corruption (out): 0x0000000007ce6ad0 ***
Aborted (core dumped)

I saw there was a similar bug reported on github, but it was closed.

Thanks in advance for solving this.


Thanks for reporting this bug. The issue is fixed in our 1.40.0 branch, 1.40.0 will be released later this month, but you are welcome to download and build it now.