[Rcpp-devel] Compiler seg fault with Rcpp 0.9.7

Ian Fellows ian.fellows at stat.ucla.edu
Wed Oct 5 21:15:18 CEST 2011


Sorry, I should have been more explicit. I can install rcpp okay. The error occurs when installing a package that I'm developing. The installs fine with 0.9.4, but not with 0.9.7. Interestingly it is the compiler that blows up...


Ian



On Oct 5, 2011, at 11:42 AM, Steve Lianoglou wrote:

> Hi Ian,
> 
> On Wed, Oct 5, 2011 at 2:32 PM, Ian Fellows <ian.fellows at stat.ucla.edu> wrote:
>> Hi All,
>> 
>> I am getting a compiler seg fault with 0.9.6 and 0.9.7, however the error does not occur in 0.9.4.
>> 
>> When running R CMD INSTALL the following error is given:
>> 
>> util.h: In function 'Rcpp::XPtr<Class, standard_delete_finalizer<Class> > gergm::unwrap_robject(SEXPREC* const&) [with T = gergm::BinaryNet<gergm::Directed>]':
>> util.h:30: internal compiler error: Segmentation fault
>> Please submit a full bug report,
>> with preprocessed source if appropriate.
>> See <URL:http://developer.apple.com/bugreporter> for instructions.
> 
> I just tried to reinstall Rcpp on my mac:
> 
> R> install.packages('Rcpp', type='source')
> 
> And everything actually installs fine here:
> 
> R> sessionInfo()
> R version 2.13.1 Patched (2011-09-15 r57010)
> Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
> [...]
> 
> Not sure what to suggest next, actually, but I guess something is
> strange on your end? What version of XCode/gcc do you have installed?
> 
> Actually:
> 
>> R version 2.13.0 Patched (2011-05-19 r55960)
>> Platform: x86_64-apple-darwin9.8.0/x86_64 (64-bit)
>> 
>> i686-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)
> 
> Our gcc versions differ slightly:
> 
> $ g++ --version
> i686-apple-darwin10-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664)
> Copyright (C) 2007 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> 
> Hmmm,
> -steve
> 
> -- 
> Steve Lianoglou
> Graduate Student: Computational Systems Biology
>  | Memorial Sloan-Kettering Cancer Center
>  | Weill Medical College of Cornell University
> Contact Info: http://cbio.mskcc.org/~lianos/contact
> 



More information about the Rcpp-devel mailing list