On 4 September 2014 at 12:57, Pratibha Rana wrote: | I tried with the create() as well and I had the same issue, so I just | tried to simplify the code as much as possible to get down to the root. | It was not just the dataframe, function execution was also causing | problem. Here is another snippet which was causing the segfault. Again | just adding the -O2 flag resolved the issue. It doesn't make any sense | but seems to resolve the issue. | | bool exist(const string lstname, RInside &R) | { | | Function exists = R.parseEval("exists"); | LogicalVector result = exists(lstname); <<------This line was causing the segfault, if I changed this to "LogicalVector result= R.parseEval("exists(lstname")); " it worked fine. | | return result[0]; | | }
<shrugs> So maybe there is a race condition somewhere. </shrugs> Now you are the guys with commercial resources, and taking advantage of a free (as in GPL'ed) contribution -- so maybe you would want to lobby for debugging effort on your end. I won't have time for that in the foreseeable future. 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