Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash in combine() with NULL element in list #1596

Closed
covoes opened this issue Dec 23, 2015 · 0 comments
Closed

Crash in combine() with NULL element in list #1596

covoes opened this issue Dec 23, 2015 · 0 comments
Assignees
Labels

Comments

@covoes
Copy link

@covoes covoes commented Dec 23, 2015

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   
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants