Re: [Rcpp-devel] NumericVector crashes in dataptr

2014-05-07 Thread Dirk Eddelbuettel
Hi Slava, On 7 May 2014 at 16:17, Slava Mazur wrote: | Hi Dirk, | | > Have you by chance recently updated parts of R, Rcpp, RInside, ... but not the others? | Apparently yes; however, it was not done by me and the person who did this is not available at the moment. | So, I removed Rcpp and RIn

Re: [Rcpp-devel] NumericVector crashes in dataptr

2014-05-07 Thread Slava Mazur
ists.r-forge.r-project.org Subject: Re: [Rcpp-devel] NumericVector crashes in dataptr Hi Slava On 7 May 2014 at 15:06, Slava Mazur wrote: | Hi Dirk, | | Thanks for the prompt attention to this issue. It does not have anything to do with boost: the following behaves the same way: Yes, I said the s

Re: [Rcpp-devel] NumericVector crashes in dataptr

2014-05-07 Thread Dirk Eddelbuettel
Hi Slava On 7 May 2014 at 15:06, Slava Mazur wrote: | Hi Dirk, | | Thanks for the prompt attention to this issue. It does not have anything to do with boost: the following behaves the same way: Yes, I said the same in my email. I was ready to remove it, but it has nothing to do with it. | |

Re: [Rcpp-devel] NumericVector crashes in dataptr

2014-05-07 Thread Slava Mazur
Hi Dirk, Thanks for the prompt attention to this issue. It does not have anything to do with boost: the following behaves the same way: #include #include int main(int argc, char *argv[]) { RInside Rinst(argc, argv); const int N = 173; double v[N]; std::fill(v, v+N, 0.0); R

Re: [Rcpp-devel] NumericVector crashes in dataptr

2014-05-07 Thread Dirk Eddelbuettel
Hi Slava, On 7 May 2014 at 12:07, Slava Mazur wrote: | I observe a crash in NumericVector constructor with new versions of Rcpp/ | RInside: (0.11.1 and 0.2.11 respectively). I cannot replicate that. Ubuntu 13.10; everything current. A copy and paste session is below. I just made the size a c

[Rcpp-devel] NumericVector crashes in dataptr

2014-05-07 Thread Slava Mazur
Hi, I observe a crash in NumericVector constructor with new versions of Rcpp/RInside: (0.11.1 and 0.2.11 respectively). Here is a test c++ code: // dataptr_crash.cpp // #include #include #include static boost::shared_ptr Rinst;