albartcoster / pedigree

1 stars 1 forks source link

orderPed sometimes segfault #7

Open courtiol opened 10 months ago

courtiol commented 10 months ago

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.