Open igordot opened 7 years ago
"Segmentation fault (core dumped)" means that FREEC tries to access an element in a vector that does not exits. I suggest you send me an email with your config file and the complete output into the command line. Thank you. Valentina valentina.boeva at inserm . fr
I sent you an email.
In the meantime, I also tried compiling with a newer version of gcc (6.1 instead of 4.4). I got the same type of error, but it is a little different. I am adding it here in case this applies to anyone else:
Warning: control length is not equal to the sample length for chromosome 22
Warning: control length is not equal to the sample length for chromosome X
terminate called after throwing an instance of 'std::bad_alloc'
what(): std::bad_alloc
Aborted (core dumped)
@igordot Had you solved this problem? I got the same error as you mentioned in the first question, I don't have any idea to solve the problem and need your help
@lixuenan In my case, the problem was that the chromosome lengths file and the BED file did not have the same chromosomes. The discrepancy was that the BED file did not have chrM
. Removing chrM
from the chromosome lengths file solved the problem.
@igordot Thanks a lot for your reply, I solved the problem above.
I am running Control-FREEC. If I use the BAM files, I run into this error:
In my experience, a core dump happens when there is a memory issue, but it's only 45MB, so that can't be the reason.
If I repeat the analysis, but change from
mateFile
tomateCopyNumberFile
using the .cpn files from the failed analysis, the problem goes away:It's using the same .cpn files for doing that calculation as far as I can tell. Why does it work one in one version but not the other? I tried multiple times with the same results.