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?
to your account
read_lines(skip_empty_rows = T)
Even with the latest github version, using read_lines(file, skip_empty_rows=T) with a file ending with a a blank line causes a segmentation fault.
Reproduce with a container:
RUN install2.r -s --error remotes
RUN installGithub.r tidyverse/readr
Shell in the container:
printf "test\n\n" > test.txt
r -e "readr::read_lines('test.txt', skip_empty_rows=T)"
# Segmentation fault (core dumped)
More details (running the container with --privileged to allow access to dmesg):
dmesg | tail -1
# [116539.485081] r: segfault at 7fb7191d3000 ip 00007fb711114aa5 sp 00007ffc8079c0f0 error 4 in readr.so[7fb7110c0000+91000]
The text was updated successfully, but these errors were encountered:
skip_empty_rows = T
No branches or pull requests