You could try building clang yourself with UBSAN and testing with that to see if you can reproduce; I have a script that mostly automates the installation from trunk here:
https://github.com/kevinushey/etc/blob/master/Mac/install-llvm.sh I think Apple's fork of clang has been a bit behind in terms of add-on features; I wouldn't be surprised if the versions of ASAN / UBSAN were older and a bit buggier. Kevin On Thu, Oct 22, 2015 at 5:39 AM, Dirk Eddelbuettel <e...@debian.org> wrote: > > On 22 October 2015 at 14:01, Jeroen Ooms wrote: > | I found that Rcpp packages compiled with -fsanitize=address frequently > | crash on OS-X. > > That is not a production-use setting ... > > | I cannot reproduce this problem on linux so perhaps I > | am not using asan correctly, or perhaps it is related to the fact that > | R for Mac has been compiled on osx 10.9 and I'm using 10.11. For > > Can you reproduce it when you use consistent toolchains and settings? > > Dirk > > -- > http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org > _______________________________________________ > Rcpp-devel mailing list > Rcpp-devel@lists.r-forge.r-project.org > https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel _______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel