Skip to content
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

possible segmentation fault #4

Closed
spedygiorgio opened this issue Jun 12, 2017 · 9 comments
Closed

possible segmentation fault #4

spedygiorgio opened this issue Jun 12, 2017 · 9 comments

Comments

@spedygiorgio
Copy link

spedygiorgio commented Jun 12, 2017

Hi, on my travis ci travis an error is raised after bindrcpp is installed...

Installing bindrcpp
 *** caught segfault ***
address 0xfffffff9, cause 'memory not mapped'
An irrecoverable exception occurred. R is aborting now ...
/home/travis/.travis/job_stages: line 54: 13342 Segmentation fault      (core dumped) Rscript -e 'deps <- devtools::dev_package_deps(dependencies = NA);devtools::install_deps(dependencies = TRUE);if (!all(deps$package %in% installed.packages())) { message("missing: ", paste(setdiff(deps$package, installed.packages()), collapse=", ")); q(status = 1, save = "no")}'
The command "Rscript -e 'deps <- devtools::dev_package_deps(dependencies = NA);devtools::install_deps(dependencies = TRUE);if (!all(deps$package %in% installed.packages())) { message("missing: ", paste(setdiff(deps$package, installed.packages()), collapse=", ")); q(status = 1, save = "no")}'" failed and exited with 139 during .
Your build has been stopped.

Is it possible a problem arise from your package?

@krlmlr
Copy link
Owner

krlmlr commented Jun 12, 2017

Thank you very much for reporting. This is the first time I ever see a segfault during package installation. Something very strange is going on, but I don't think this is bindrcpp's fault. Can you please rerun the build?

@krlmlr
Copy link
Owner

krlmlr commented Jun 14, 2017

Just seen it on one of my machines. Will observe.

@gaborcsardi
Copy link

What version of devtools?

@gaborcsardi
Copy link

And where is the Travis job, actually?

@krlmlr
Copy link
Owner

krlmlr commented Jun 14, 2017

@gaborcsardi
Copy link

shot in the dark: cached incompatible build time dependency: bindr ?

@gaborcsardi
Copy link

Or Rcpp?

Anyway, I would try with a clean cache....

@krlmlr krlmlr closed this as completed Sep 7, 2018
@bbolker
Copy link

bbolker commented Nov 27, 2018

Just a heads-up, still investigating. Was seeing some segfaults running tests for the broom.mixed package locally (GH repo here), that seemed to trace back to bindrcpp. devtools::test() or source("tests/testthat/test-lme4.R")

Now they've gone away (kinda heisenbuggy ...) but I'll report here if they recur.

@krlmlr
Copy link
Owner

krlmlr commented Nov 27, 2018

bindrcpp is going away in dplyr 0.8.0 (already gone in the dev version), and is replaced by a reimplementation based on similar principles.

@github-actions github-actions bot locked and limited conversation to collaborators Dec 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants