Hi Jacob, It looks like the event handler code isn't properly setting or resetting the control-c handler. Can you try seeing whether Control C is handled correctly while R itself is processing. IE, exectute:
from rpy import r r("for(i in 1:1e6) 1+1") then press Control-C. -G On Mar 26, 2007, at 2:48PM , Jacob Joseph wrote: > Linux. > > Sorry, I didn't even think to include it. > > -Jacob > > On 03/26/2007 02:47 PM, Gregory. R. Warnes wrote: >> What O/S? >> >> >> >> On Mar 26, 2007, at 11:36AM , Jacob Joseph wrote: >> >>> Hi folks, >>> I'm looking for suggestions to correct a crash caused by R. Often, >>> upon >>> pressing ctrl-C after importing rpy, R segfaults. I need not >>> have yet >>> accessed rpy for this to occur. Here's a sample: >>> >>> *** caught segfault *** >>> address (nil), cause 'unknown' >>> >>> Possible actions: >>> 1: abort (with core dump) >>> 2: normal R exit >>> 3: exit R without saving workspace >>> 4: exit R saving workspace >>> Selection: >>> *** caught segfault *** >>> address 0x48, 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 >>> Selection: >>> >>> I'm running: >>> *rpy-1.0-RC2 patched with >>> https://sourceforge.net/tracker/? >>> func=detail&atid=453021&aid=1665794&group_id=48422 >>> >>> *python 2.5 >>> *ipython >>> *R 2.4.1 >>> (all on x86_64) >>> >>> Thanks. >>> -Jacob >>> >>> -------------------------------------------------------------------- >>> -- >>> --- >>> 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 >> >> >> --------------------------------------------------------------------- >> ---- >> 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 > > ---------------------------------------------------------------------- > --- > 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 ------------------------------------------------------------------------- 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