R crashes when calling combine in a list with NULL as first element. If NULL is in any other position there is no crash (an incompatible type error is thrown).
library(dplyr)
combine(list(NULL,1,2,3))
*** caught segfault ***
address (nil), cause 'memory not mapped'
Traceback:
1: .Call("dplyr_combine_all", PACKAGE = "dplyr", data)
2: combine_all(x)
3: combine(list(NULL, 1, 2))
> sessionInfo()
R version 3.2.2 (2015-08-14)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Sabayon/Linux
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] dplyr_0.4.3.9000 setwidth_1.0-4 vimcom_1.2-6
loaded via a namespace (and not attached):
[1] magrittr_1.5 R6_2.1.1 assertthat_0.1 parallel_3.2.2 DBI_0.3.1
[6] tools_3.2.2 Rcpp_0.12.2
R crashes when calling combine in a list with NULL as first element. If NULL is in any other position there is no crash (an incompatible type error is thrown).