From gregory_r_warnes@groton.pfizer.com  Wed May  1 21:39:45 2002
From: gregory_r_warnes@groton.pfizer.com (Warnes, Gregory R)
Date: Wed, 1 May 2002 16:39:45 -0400
Subject: [Rd] Problems with embedded R for v1.5.0
Message-ID: <97E365D56960A642A79B2EE0ADA14E803F4C42@Groexmbcr10.pfizer.com>


I've just tried using both Duncan's RSPython and Walter Moriera's rpy with R
1.5.0.  Both segfaulted during startup in exactly the same place,
apparently while trying to load the ctest package.  Recompiling the packages
doesn't seem to have any effect on this outcome.

Here's the first few lines of a gdb backtrace:

#0  0xff132df8 in strlen () from /usr/lib/libc.so.1
#1  0xfe612bcc in Rf_mkChar (name=0x12a46d9 <Address 0x12a46d9 out of
bounds>)
    at dstruct.c:102
#2  0xfe5f5f40 in do_readDCF (call=0x0, op=0xffffffff, args=0x950ce0, 
    env=0x954370) at dcf.c:109
#3  0xfe64d010 in do_internal (call=0xfe7694f4, op=0x12b9c4, args=0x950ce0, 
    env=0x9503b8) at names.c:1020

(I can provide the full trace if desired)

Has anyone else found problems with embedded R with version 1.5.0?  Did
anything change in the proper way to start up embedded R?

-Greg

Obligatory version info:

> version
         _                   
platform sparc-sun-solaris2.8
arch     sparc               
os       solaris2.8          
system   sparc, solaris2.8   
status   Patched             
major    1                   
minor    5.0                 
year     2002                
month    04                  
day      30                  
language R                   

> uname -a 
SunOS gsun124 5.8 Generic_108528-03 sun4u sparc SUNW,Ultra-5_10

> gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.2/specs
gcc version 2.95.2 19991024 (release)





LEGAL NOTICE
Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


[Rd] Problems with embedded R for v1.5.0
Warnes, Gregory R