Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Cannot Reproduce
-
None
-
None
-
R version 3.5.2 (2018-12-20)
Platform: x86_64-suse-linux-gnu (64-bit)
Description
The sample code from https://github.com/apache/arrow/tree/master/r leads to a segmentation fault
library(arrow, warn.conflicts = FALSE)
library(tibble)
library(reticulate)
tf <- tempfile()
(tib <- tibble(x = 1:10, y = rnorm(10)))
arrow::write_arrow(tib, tf)
- caught segfault ***
address (nil), cause 'memory not mapped'Traceback:
1: Table__from_dataframe(.data)
2: shared_ptr_is_null(xp)
3: shared_ptr(`arrow::Table`, Table__from_dataframe(.data))
4: table
5: to_arrow.data.frame
6: to_arrow
7: write_arrow.fs_path(x, fs::path_abs(stream), ...)
8: write_arrow(x, fs::path_abs(stream), ...)
9: write_arrow.character(tib, tf)
10: arrow::write_arrow(tib, tf)
The same problem appears also when just calling arrow::table(tib):
> arrow::table(tib)
- caught segfault ***
address (nil), cause 'memory not mapped'Traceback:
1: Table__from_dataframe(.data)
2: shared_ptr_is_null(xp)
3: shared_ptr(`arrow::Table`, Table__from_dataframe(.data))
4: arrow::table(tib)