Bugs item #1548554, was opened at 2006-08-29 06:06
Message generated for change (Comment added) made by sf-robot
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: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: Reidar Strand Hagen (reidarst)
Assigned to: Gregory Warnes (warnes)
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
----------------------------------------------------------------------
>Comment By: SourceForge Robot (sf-robot)
Date: 2007-11-01 19:20
Message:
Logged In: YES
user_id=1312539
Originator: NO
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).
----------------------------------------------------------------------
Comment By: Gregory Warnes (warnes)
Date: 2007-10-17 20:24
Message:
Logged In: YES
user_id=9316
Originator: NO
Fixed for Numeric, but still broken for NumPy.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2007-02-09 16:43
Message:
Logged In: NO
Try Numeric.Int instead of Int0, I ran you example using numarray
without Int0, just int worked great. Is numarry supposed to even work with
rpy? Works with Numeric.Int as well
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2007-02-09 16:41
Message:
Logged In: NO
Try Numeric.Int instead of Int0, I ran you example using numarray
without Int0, just int worked great. Is numarry supposed to even work with
rpy?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=453021&aid=1548554&group_id=48422
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
rpy-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rpy-list