Bugs item #1548554, was opened at 2006-08-29 15:06
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=453021&aid=1548554&group_id=48422

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: rpy
Status: Open
Resolution: None
Priority: 5
Submitted By: Reidar Strand Hagen (reidarst)
Assigned to: Nobody/Anonymous (nobody)
Summary: Numeric array of type Int0 causes rpy to segfault

Initial Comment:
On both Windows XP and Ubuntu Dapper, the following
code will cause RPY to segfault:

import Numeric, rpy
rpy.r.assign("foo",Numeric.array([1,2,3],Numeric.Int0))

----------

[EMAIL PROTECTED]:~$ python
Python 2.4.3 (#2, Apr 27 2006, 14:43:58)
[GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)] on linux2
Type "help", "copyright", "credits" or "license" for
more information.
>>> import Numeric, rpy
>>> Numeric.__version__
'24.2'
>>> rpy._rpy
<module '_rpy2021' from
'/usr/lib/python2.4/site-packages/_rpy2021.so'>

------------------------

[EMAIL PROTECTED]:~$ gdb python
GNU gdb 6.4-debian

[....]

>>> import Numeric, rpy
[New Thread -1226024016 (LWP 4964)]
>>> rpy.assign("m",Numeric.array([1,2,3],Numeric.Int0))
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
AttributeError: 'module' object has no attribute 'assign'
>>> rpy.r.assign("m",Numeric.array([1,2,3],Numeric.Int0))

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1209632544 (LWP 4929)]
0xb73e4b6d in Rf_findVarInFrame3 () from
/usr/lib/R/lib/libR.so


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=453021&aid=1548554&group_id=48422

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
rpy-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to