[Rd] R CMD check seg fault in Linux

Paul Gilbert pgilbert@bank-banque-canada.ca
Thu, 20 Apr 2000 11:28:54 -0400


>>Should I expect
>> a segmentation fault if there is not enough memory for R CMD check, or
>> are these unrelated?

>It's certainly not the intention to give segfaults for that reason...
...
>You should rerun the relevant testscript under "R -d gdb" and see
>exactly where the segfault occurs.

It seems the correlation with CMD check and memory was spurious but I have now
observered that the seg faults occur when I run tests on one Linux machine, but
not when I run on the Linux machine I used for installing R (from source) and my
code (which includes some fortan). The machines have similar Linux2.2.9/Mandrake
installations (but fortran didn't get installed on one). The biggest difference
is that the one with fortran installed has has a Celeron processor and the other
one has an AMD-K6. I've never had problems with this differences before. It
might be some time before I get a chance to really dig into it with gdb so if
anyone has any quick insights I would appreciate suggestions. Would there be
compiler flags for different processors or anything like that which might cause
a problem?

Thanks,
Paul Gilbert

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._