fineRADstructure icon indicating copy to clipboard operation
fineRADstructure copied to clipboard

free(): double free detected in tcache 2 bash: line 9: 55886 Aborted

Open anaespeleta115 opened this issue 3 years ago • 0 comments

Hello, I am having some issues with the step of assigning individuals to populations. I had to install the conda fineRADstructure version because I do not have root access, so that may be part of the problem. I first converted my stacks populations output file (in .tsv format) using the script provided, Stacks2fineRAD.py with the parameters n= 10 and m=50. Everything worked fine until I ran the line:

finestructure -x 100000 -y 100000 -z 1000 ./rats/populations.haplotypes.tsv.fineRADpainter.lociFilt.samples50%missFilt_chunks.out ./rats/populations.haplotypes.tsv.fineRADpainter.lociFilt.samples50%missFilt_chunks.mcmc.xml

First, it did not recognize the values for -x and -y so I took them out. Then, it gave me the error of "invalid data". I used the hack mentioned in a previous question on the forum and ran the following code:

fs fs -X -Y -z 1000 ./rats/populations.haplotypes.tsv.fineRADpainter.lociFilt.samples50%missFilt_chunks.out ./rats/populations.haplotypes.tsv.fineRADpainter.lociFilt.samples50%missFilt_chunks.mcmc.xml

However, after a few seconds of running, I keep getting the following error and can't seem to find any help online.

free(): double free detected in tcache 2bash: line 9: 55886 Aborted (core dumped) fs fs -X -Y -z 1000 ./rats/populations.haplotypes.tsv.fineRADpainter.lociFilt.samples50%missFilt_chunks.out ./rats/populations.haplotypes.tsv.fineRADpainter.lociFilt.samples50%missFilt_chunks.mcmc.xml

I would greatly appreciate any help, thank you!

anaespeleta115 avatar Jul 25 '22 18:07 anaespeleta115