<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Uncaught exception gives you UB. It is however difficult not to catch exceptions if you use Rcpp::export attributes which includes a "catch all and deal with it" part. </div><div><br></div><div>Romain<br><br>Envoyé de mon iPhone</div><div><br>Le 29 déc. 2014 à 18:28, Wush Wu <<a href="mailto:wush978@gmail.com">wush978@gmail.com</a>> a écrit :<br><br></div><blockquote type="cite"><div><div dir="ltr"><div>Dear all,<br><br></div><div>I have a question which is described in the subject. <br><br>It is discovered when I use the valgrind to check my package. <br><br>Because I am not familiar with valgrind, please help me verify that if this is a bug of Rcpp or not.<br><br>Here is a minimal reproducible example with docker and the log of valgrind: <br><br><a href="https://gist.github.com/wush978/629743109e4aaa762968" target="_blank">https://gist.github.com/wush978/629743109e4aaa762968</a><br></div><div><br>Best,<br>Wush<br></div><div><br><br><br></div></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Rcpp-devel mailing list</span><br><span><a href="mailto:Rcpp-devel@lists.r-forge.r-project.org">Rcpp-devel@lists.r-forge.r-project.org</a></span><br><span><a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel</a></span></div></blockquote></body></html>