-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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 with summarize(n=n()) #3717
Comments
I can confirm that the version currently in CRAN,
|
Thanks, confirmed. @romainfrancois: Could you please take a look? |
Sure. Will look it up in august. |
This seems to be related to string columns and grouping by more than one column: library(tidyverse)
# Works
tibble(x = "a", z = "b") %>%
count(x)
# Works
tibble(x = 1, z = 2) %>%
count(x, z)
# Segfaults
tibble(x = "a", z = "b") %>%
count(x, z) |
Not sure if it's related, but with library(tidyverse)
d <- tibble(x = "a", z = "b") %>% group_by(x, z)
gc()
gctorture2(1)
z <- summarize(d, n()) |
The protection error also happens with: library(tidyverse)
d <- tibble(x = "a", z = "b") %>% group_by(x)
gc()
gctorture2(1)
z <- summarize(d, n()) and library(tidyverse)
d <- tibble(x = 1, z = 2) %>% group_by(x)
gc()
gctorture2(1)
z <- summarize(d, n()) it's unlikely to be related. Opening a new issue. |
This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/ |
With the latest dplyr, d3ded01, executing this
gives
This seg fault occurs on both linux,
and macOS
The text was updated successfully, but these errors were encountered: