Crash in combine() with NULL element in list #1596
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:  LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C  LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8  LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8  LC_PAPER=en_US.UTF-8 LC_NAME=C  LC_ADDRESS=C LC_TELEPHONE=C  LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C attached base packages:  stats graphics grDevices utils datasets methods base other attached packages:  dplyr_0.4.3.9000 setwidth_1.0-4 vimcom_1.2-6 loaded via a namespace (and not attached):  magrittr_1.5 R6_2.1.1 assertthat_0.1 parallel_3.2.2 DBI_0.3.1  tools_3.2.2 Rcpp_0.12.2
The text was updated successfully, but these errors were encountered: