mothur

dist.shared bug


#1

I am using 1.39.5 version.

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

dist.shared(shared=current,subsample=5000,iters=1000,calc=jclass-sorclass-hamming-kulczynski-braycurtis-manhattan-morisitahorn-thetayc-canberra,processors=30)
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.


#2

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