Skip to content

Reproducible Segfault When Loading/Unloading data.table #990

@brodieG

Description

@brodieG

In the R console:

library(data.table)
# data.table 1.9.5  For help type: ?data.table
# *** NB: by=.EACHI is now explicit. See README to restore previous behaviour.
dt.1 <- data.table(a=1:10, b=1:10)
detach("package:data.table", character.only=TRUE, unload=TRUE)

#  *** caught segfault ***
# address 0x10e79fbf0, cause 'memory not mapped'

This is the session info before running the above code:

sessionInfo()
# R version 3.1.1 (2014-07-10)
# Platform: x86_64-apple-darwin13.1.0 (64-bit)

# locale:
# [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

# attached base packages:
# [1] stats     graphics  grDevices utils     datasets  methods   base  

This also happens in 1.9.4. In RStudio, segfault doesn't happen right away, but running code multiple times eventually causes it to happen.
Also reproduced with 1.9.4 in R3.1.2 on Win7.64.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions