Skip to content
Prev 3731 / 63424 Next

R CMD check seg fault in Linux

Paul Gilbert <pgilbert@bank-banque-canada.ca> writes:
It's certainly not the intention to give segfaults for that reason...

However, the same pattern could occur from PROTECT errors in your C
code, triggered by a garbage collection at just the wrong moment
(which could be different on different OSs). 

You should rerun the relevant testscript under "R -d gdb" and see
exactly where the segfault occurs.