[Rcpp-devel] why segmentation fault happens when I was trying to run complied examples in RInside "standard" folder

Dirk Eddelbuettel edd at debian.org
Tue Dec 4 13:12:36 CET 2012


Hi Cong,

On 4 December 2012 at 19:15, Cong Li wrote:
| Hi guys
| 
| I am a novice to RInside, and I met a problem when trying to run RInside
| example in "standard" folder.
| 
| It is that a segmentation fault error happened every time when I was trying to
| execute the compiled example program in the "standard" folder. My OS is ubuntu
| 12.04, and I am using R 2.15.2 and g++ 4.6.3.
| 
| It seems that the executions of the examples were fine, but somehow errors
| happened when then main function was trying to return.
| 
| Can someone help me with this issue.

It is a change in R 2.15.2 which requires a change in RInside which I have
yet to release (as another, unrelated, error) is holding this back.  If you
use R 2.15.1 it all works too.

Sorry for this, and the new RInside should be there "soon", or I should at
least commit my fixes to SVN.

Dirk

-- 
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com  


More information about the Rcpp-devel mailing list