Re: R-beta: f2c with R61.2

Peter Dalgaard BSA (p.dalgaard@biostat.ku.dk)
03 Apr 1998 12:51:20 +0200


To: Jim Lindsey <jlindsey@luc.ac.be>
Subject: Re: R-beta: f2c with R61.2
From: Peter Dalgaard BSA <p.dalgaard@biostat.ku.dk>
Date: 03 Apr 1998 12:51:20 +0200
In-Reply-To: Jim Lindsey's message of Fri, 3 Apr 1998 11:44:58 +0200 (MET DST)

Jim Lindsey <jlindsey@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@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@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._