R-beta: f2c with R61.2

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Fri Apr 3 12:51:20 CEST 1998

Jim Lindsey <jlindsey at luc.ac.be> writes:

> I have just upgraded to Redhat 5. This means recompiling R so I
> upgraded that from 61.1 to 61.2 at the same time. Now my dynamically
> loaded Fortran no longer works. At first I thought it was Redhat and
> searched my libraries etc. However, gdb gives the error in util.c:
> at line 319
> if(INTEGER(x)[i]!=INTEGER(y)[i])
> So I recompiled 61.1 and Fortran works with it. Apparently 0.61.2 has
> problems.
>   Jim

[I assume that it triggers a segfault or similar?]

Hm. Well, that's certainly not the location of the bug, because the
whole routine is unchanged from 0.61.1. Can you give a simple example
that displays the problem? Or at least:

- a stack traceback  (type "where" to gdb)
- value of i and n
- contents of x and y (use "print printValue(x)")

Of course, as always when dealing with dyn.loaded code, there's the
possibility that the bug is really in your own Fortran code (indexing
past the end of an array or some such), just showing up in a different
place with new code.

   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907

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