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

segfault with bind_cols on list of only NULL columns #2303

Closed
cfhammill opened this issue Dec 9, 2016 · 2 comments
Closed

segfault with bind_cols on list of only NULL columns #2303

cfhammill opened this issue Dec 9, 2016 · 2 comments
Assignees
Labels
Milestone

Comments

@cfhammill
Copy link

@cfhammill cfhammill commented Dec 9, 2016

bind_cols segfaults when the input list contains only NULL columns

bind_cols(list(a = NULL, b = NULL))

 *** caught segfault ***
address (nil), cause 'memory not mapped'

Traceback:
 1: .Call("dplyr_cbind_all", PACKAGE = "dplyr", dots)
 2: cbind_all(x)
 3: bind_cols(list(a = NULL, b = NULL))

Should probably fail instead of segfaulting. Possibly related to #1148

@krlmlr
Copy link
Member

@krlmlr krlmlr commented Dec 9, 2016

Thanks, confirmed.

@krlmlr krlmlr self-assigned this Feb 10, 2017
@krlmlr krlmlr added this to the data frame 1 milestone Feb 10, 2017
@krlmlr krlmlr added this to the data frame 1 milestone Feb 10, 2017
@krlmlr
Copy link
Member

@krlmlr krlmlr commented Feb 19, 2017

Related: #1963.

@krlmlr krlmlr closed this in #2443 Feb 20, 2017
@lock lock bot locked as resolved and limited conversation to collaborators Jun 8, 2018
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