[Rd] core dump running modreg-Ex.R (PR#1002)

WhiteG@dfo-mpo.gc.ca WhiteG@dfo-mpo.gc.ca
Thu, 28 Jun 2001 19:14:19 +0200 (MET DST)


Full_Name: George N. White III
Version: R-1.3.0 
OS: Irix 6.5
Submission from: (NULL) (142.176.61.253)


R-1.3.0 was built on Irix 6.5 using gcc and MIPSPro f90.  This combination has
worked for previous versions, in particular R-1.2.3.

$ cd test/Examples
$ ../../bin/R --vanilla < modreg-Ex.R > modreg-Ex.Rout

This worked in R-1.2.3.  It looks like there were a number 
of cosmetic changes to the modreg Fortran sources since R-1.2.3. 
SGI MIPSPro f90 was used to compile modreg, e.g.:

   f90 -OPT:IEEE_NaN_inf=ON -KPIC -O2 -c sslvrg.f -o sslvrg.o

$ dbx ../../bin/R.bin
dbx version 7.3 MR 55458_Apr30_MR Apr 30 1999 13:44:41
Core from signal SIGBUS: Bus error
(dbx) where
>  0 sslvrg(0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x7ffdaa38)
["/disk2/gwhite/src/R-1.3.0/src/library/modreg/src/sslvrg.f":94, 0x5fceff54]
   1 sbart(0xd, 0x7ffcebc8, 0x7ffdab20, 0x7ffdf940, 0x7ffe4760, 0x5fd058dc,
0x10cdb9a8, 0x7ffdaa38)
["/disk2/gwhite/src/R-1.3.0/src/library/modreg/src/sbart.f":204, 0x5fcee388]
   2 qsbart(0xd, 0x7ffcf3f8, 0x7ffcf3d8, 0xb, 0x7ffce6c0, 0x4, 0x1, 0x2)
["/disk2/gwhite/src/R-1.3.0/src/library/modreg/src/qsbart.f":15, 0x5fcee140]
   3 bdrspline(0x10cdb9a8, 0x7ffd0df8, 0x10ce0a28, 0x7ffd5c18, 0x3, 0x10cd5ba0,
0x1, 0x2) ["/disk2/gwhite/src/R-1.3.0/src/library/modreg/src/ppr.f":1261,
0x5fcedae0]
   [...]

Regenerating modreg.so using g77 (e.g., $ gmake FC=g77 ALL_FFLAGS='-O2 -g')
did not fix the problem (so it may not be a compiler bug):

$ dbx ../../bin/R.bin                                 
dbx version 7.3 MR 55458_Apr30_MR Apr 30 1999 13:44:41
Core from signal SIGBUS: Bus error
(dbx) where
>  0 sslvrg_() ["/usr/people/gwhite/src/R-1.3.0/src/library/modreg/src/sslvrg.f":94,
0x5fcf3ba0]
   1 sbart_() ["/usr/people/gwhite/src/R-1.3.0/src/library/modreg/src/sbart.f":204,
0x5fcf25c8]
   2 qsbart_() ["/usr/people/gwhite/src/R-1.3.0/src/library/modreg/src/qsbart.f":15,
0x5fcf21c8]
   3 bdrspline_() ["/usr/people/gwhite/src/R-1.3.0/src/library/modreg/src/ppr.f":1261,
0x5fcf1ba0]





-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._