[R] Trouble compiling R-1.3.0 under Tru64

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Tue Jun 26 23:25:13 CEST 2001


Brad McNeney <mcneney at cs.sfu.ca> writes:

> (gdb) up
> #1  0x120126398 in Rf_GVText (x=6.7951783804802162, y=7.1803429085253221, 
>     unit=13, s=0x141222120 "a", typeface=0, fontindex=1, x_justify=0.5, 
>     y_justify=NaN(0x7a2), rotation=0, dd=0x1411da000) at vfonts.c:93
> (gdb) up
> #2  0x120126398 in Rf_GVText (x=6.7951783804802162, y=7.1803429085253221, 
>     unit=13, s=0x141222120 "a", typeface=0, fontindex=1, x_justify=0.5, 
>     y_justify=NaN(0x7a2), rotation=0, dd=0x1411da000) at vfonts.c:93
> 
> ... and so on. 
> 
> From vfonts.c the definition of GVText is:
> 
> void GVText (double x, double y, int unit, char *s, 
> 	     int typeface, int fontindex,
> 	     double x_justify, double y_justify, double rotation,
> 	     DevDesc *dd)
> {
>     if(!initialized) vfonts_Init();
>     if(initialized > 0)
> 	(*ptr_GVText)(x, y, unit, s, typeface, fontindex, 
> 		      x_justify, y_justify, rotation, dd);
>     else
> 	error("Hershey fonts cannot be loaded");
> }
> 
> and 
> 
> (gdb) p (*ptr_GVText)
> $1 = {void *()} 0x120126310 <Rf_GVText>
> 
> hence the infinite recursion. Can anyone tell me what was intended here
> for ptr_GVText? 

The GVText function from the vfonts module, cf. vfonts_Init. Looks
like R_FindSymbol is malfunctioning. You might be able to catch the
problem by tracing into R_FindSymbol from vfonts_Init with gdb.

(Not that I'm open for helping you out with gdb the next couple of
weeks. This is just an evasion from the stuff I *ought* to be
doing...) 

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