When running pedigree::calcInbreeding in parallel (with local patch against #3) on largish pedigrees (~ 10,000 indiv), I sometimes get a segmentation fault caused by pedigree::orderPed.
I am not familiar with debugging segmentation fault in C, and have little ideas about what triggers it especially since I cannot find a simple situation that consistently reproduces the problem.
Any tips to help debugging would be helpful.
When the segmentation fault happens, it crashes many R sessions at the same time.
When running
pedigree::calcInbreeding
in parallel (with local patch against #3) on largish pedigrees (~ 10,000 indiv), I sometimes get a segmentation fault caused bypedigree::orderPed
.I am not familiar with debugging segmentation fault in C, and have little ideas about what triggers it especially since I cannot find a simple situation that consistently reproduces the problem.
Any tips to help debugging would be helpful.
When the segmentation fault happens, it crashes many R sessions at the same time.