Skip to content
Prev 106018 / 398506 Next

Segfault in pure R code

G?ran Brostr?m wrote:
By definition, reproducible segfaults in R code are bugs in R, unless 
caused by abuse of .C calls or similar. (Irreproducible ones are often 
hardware faults.)

However, at least presently, you are the only one with a handle on the 
bug. So either you get to do the debugging or you have to provide 
something that others can reproduce.

Astarting point could be to run R under the debugger (R -d gdb)  and 
generate a C backtrace, then look at the variables involved.

(Further discussion should probably go on r-devel instead of r-help).

-p