-
Notifications
You must be signed in to change notification settings - Fork 1k
Closed
Description
See minimal example below
set.seed(45)
require(data.table) # latest GitHub version
DT <- data.table(
A = sample(1:2, 120, T),
B = c(1:120),
D = sample(1:10, 120, T),
D = sample(1:10, 120, T))
melt(DT, id=1:2)
#*** caught segfault ***
#address 0x2000000a, cause 'memory not mapped'
#Traceback:
#1: rbindlist(l, use.names, fill, idcol)
#2: data.table::.rbind.data.table(...)
#3: rbind(deparse.level, ...)
#4: rbind(head(x, topn), tail(x, topn))
#5: print.data.table(list(A = c(2L, 1L, 1L, 1L, 1L, 1L, 1L, 2L, 1L, 1L...# I shortened the output manually
Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace
Selection:
The segfault doesn't happen with shorter datatables
I hope the above is helpful for debugging
sessionInfo()
#R version 3.1.2 (2014-10-31)
#Platform: x86_64-apple-darwin13.4.0 (64-bit)
#locale:
#[1] en_GB.UTF-8/en_GB.UTF-8/en_GB.UTF-8/C/en_GB.UTF-8/en_GB.UTF-8
#attached base packages:
#[1] stats graphics grDevices utils datasets methods base
#other attached packages:
#[1] data.table_1.9.5
#loaded via a namespace (and not attached):
#[1] chron_2.3-45