-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
segfault cause 'memory not mapped' #322
Comments
I installed 0.1.3 and it does not appear to fix the issue. |
I can't replicate this with latest > sessionInfo()
R Under development (unstable) (2014-03-07 r65143)
Platform: x86_64-apple-darwin13.1.0 (64-bit)
locale:
[1] en_CA.UTF-8/en_CA.UTF-8/en_CA.UTF-8/C/en_CA.UTF-8/en_CA.UTF-8
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] dplyr_0.1.3 Rcpp_0.11.1 reshape2_1.3.0.99 devtools_1.4.1.99
loaded via a namespace (and not attached):
[1] assertthat_0.1 digest_0.6.4 evaluate_0.5.1 formatR_0.10 httr_0.2
[6] knitr_1.5.15 memoise_0.1 parallel_3.1.0 plyr_1.8 RCurl_1.95-4.1
[11] stringr_0.6.2 tcltk_3.1.0 tools_3.1.0 whisker_0.3-2 |
This is after right before the dplyr call.
|
Is your version of R + all packages from CRAN? Or did you install one or more packages from source? It's possible that you're running into old vs. new compiler issues. Do you know whether you're compiling with One thing you could try is reinstalling both
and then, in R, running install.packages("Rcpp", type="source")
install.packages("dplyr", type="source") Note that if you go this route, you may have to reinstall any package depending on If the problem is still reproducible, then I am stumped :) |
Ah, you're running |
Hi Kevin, I reproduced this crash error on 64-bit Linux too. I tried to minimize the $ R --vanilla R version 3.0.2 (2013-09-25) -- "Frisbee Sailing" R is free software and comes with ABSOLUTELY NO WARRANTY. Natural language support but running in an English locale R is a collaborative project with many contributors. Type 'demo()' for some demos, 'help()' for on-line help, or
Attaching package: ‘dplyr’ The following objects are masked from ‘package:stats’:
The following objects are masked from ‘package:base’:
locale: attached base packages: other attached packages: loaded via a namespace (and not attached):
*** caught segfault *** Traceback: Possible actions: On Mon, Mar 17, 2014 at 3:07 AM, Kevin Ushey [email protected]:
|
Strange, thanks. I can reproduce on a Linux VM (13.04 32bit Ubuntu, gcc 4.7.3), but not on my Mac with Apple clang. |
Some output from gdb:
Something terrible has happened to the value of
|
I'm running Mac OS 10.9.2, which does make the "10.8" a little weird. As far as I remember, I installed all my packages and the base R from CRAN. In fact I just downloaded the updated R version from the website a few days ago and installed that. Trying and makvars file method now. |
The instructions you gave earlier about installing from source with the Makevars file set to clang do solve the problem for me. Thanks for the help. I'll leve the issue open since it appears that other people have been able to reproduce it, but I'm happy to close if that's the custom. |
Glad to hear it helped! You should leave it open since the bug is reproducible on Linux (for me and @yanlinlin82, anyhow) |
@kevinushey and @yanlinlin82 can you still reproduce this ? |
Yes so far before I change anything. Which version and how should I update the package? I tried to update 'dplyr' with 'devtools' but failed like this:
Attaching package: 'dplyr' The following objects are masked from 'package:stats':
The following objects are masked from 'package:base':
geom_smooth: method="auto" and size of largest group is >=1000, so using gam with formula: y ~ s(x, bs = "cs"). Use 'method = x' to change the smoothing method. |
Try |
Thanks. It works now. No crash on my 64-bit Linux any more, with either my On Thu, Mar 20, 2014 at 9:55 PM, Hadley Wickham [email protected]:
|
I am getting a segfault when trying to use dplyr to analyze some survey data.
Here is a minimal set of code to reproduce the error:
I get the following error message:
I'm happy to help test anything needed.
The text was updated successfully, but these errors were encountered: