Bugs item #1665794, was opened at 2007-02-22 04:03
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=1665794&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: POSIX
Group: rpy
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jose G Pierre (jgpierre)
Assigned to: Walter Moreira (wall_m)
Summary: rpy crash when trying graphics display

Initial Comment:
When trying graphics from rpy there is a crash when the mouse is dragged
over the graphics window. python has to be killed (with killall).

This was tested on OpenSuSE-10.2

--------------------------
Python 2.5 (r25:51908, Nov 27 2006, 19:14:46)
[GCC 4.1.2 20061115 (prerelease) (SUSE Linux)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
>>> from rpy import *
RHOME= /home/R
RVERSION= 2.4.1
RVER= 2041
RUSER= /home/matt
Loading Rpy version 2041 .. Done.
Creating the R object 'r' .. Done
>>> beer = r.scan()
1: 3 4 1 1 3 4 3 3 1 3 2 1 2 1 2 3 2 3 1 1 1 1 4 3 1
26:
Read 25 items
>>> c = r.table(c)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
NameError: name 'c' is not defined
>>> c = r.table(beer)
>>> r.pie(c)
>>> Error during wrapup: C stack usage is too close to the limit

*** caught segfault ***
address 0xbfb6daf7, cause 'memory not mapped'

Possible actions:
1: abort (with core dump)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace
-------------------------
Cannot terminate the python process with Ctrl-c.
It has to be terminated from another terminal with 'killall'.

I posted this error to the R support team and this is part of the reply
that I received:

"""
Probably the stack-checking mechanism needs to be adjusted when embedding R

inside python. This mechanism was added in R 2.3.0, so you could try
compiling with R 2.2.x.
See http://cran.r-project.org/doc/manuals/R-exts.html#Threading-issues .
I've
only had a cursory look at the RPy code, but it seems to me, the culprit
may
be in function r_events in rpymodule.c .
"""

Many thanks for your attention.




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

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

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to