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

arrange segfaults if data frame contains list as column #282

Closed
joranE opened this issue Feb 24, 2014 · 0 comments
Closed

arrange segfaults if data frame contains list as column #282

joranE opened this issue Feb 24, 2014 · 0 comments

Comments

@joranE
Copy link
Contributor

@joranE joranE commented Feb 24, 2014

In 0.1.2:

> d <- data.frame(a = 1)
> d$b <- list(1)
> arrange(d,a)

 *** caught segfault ***
address 0x0, cause 'memory not mapped'

Traceback:
 1: .Call("dplyr_arrange_impl", PACKAGE = "dplyr", data, args, dots)
 2: arrange_impl(.data, dots(...), environment())
 3: arrange.tbl_df(tbl_df(.data), ...)
 4: arrange(tbl_df(.data), ...)
 5: as.data.frame(arrange(tbl_df(.data), ...))
 6: arrange.data.frame(d, a)
 7: arrange(d, a)

I only checked this because of the note in the news about arrange checking for supported types. Looks like sorting on the "bad" column is handled with an error, but sorting on a "good" column segafults.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant