[R] library() crashes R

Ray Brownrigg Ray.Brownrigg at mcs.vuw.ac.nz
Thu May 4 07:26:03 CEST 2000


> I have a problem with R-1.0.1 (and R-1.0.0) running under RedHat Linux
> 6.2 (on a Dell Inspiron 3800 laptop), and wonder if anyone has seen
> something like this and/or can provide a lead.
> 
> I load a library containing a mixture of C and Fortran code:
> > library(ssOptim)
> Segmentation fault (core dumped)
> 
This turned out to be the existence of WRITE statements in one of the
fortran subroutines.  This seemed to result in an undefined symbol
which, when the .so file was created explicitly from a Makefile in the
package source directory, caused the crash.

I'll generate a test example and send it to R-bugs if it looks like
something could be done to help in this situation.

Ray Brownrigg
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list