Skip to content

basic package installation in RDsan is hanging #37

@bbolker

Description

@bbolker

Please feel free to point out if I am making some fundamentally silly mistake.

docker pull wch1/r-debug:latest
docker run --rm -ti wch1/r-debug:latest bash

RDsan --version gives

R Under development (unstable) (2024-06-05 r86695) -- "Unsuffered Consequences"

running RDsan, then

install.packages("remotes")

The first time I run it I get a huge number of AddressSanitizer:DEADLYSIGNAL errors. (This seems related to this; the fix suggested there (sysctl vm.mmap_rnd_bits=28) returns a "read-only file system" error.

Ctrl-C to quit, then try again:

> install.packages("remotes")
Installing package into ‘/usr/local/RDsan/lib/R/site-library’
(as ‘lib’ is unspecified)
trying URL 'https://cloud.r-project.org/src/contrib/remotes_2.5.0.tar.gz'
Content type 'application/x-gzip' length 164496 bytes (160 KB)
==================================================
downloaded 160 KB

* installing *source* package ‘remotes’ ...
** package ‘remotes’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location

At this point the process hangs. As I write this there are two R processes running, one with 7 and one with 9 minutes of accumulated CPU time.

What would the next steps be to diagnose/fix this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions