-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Labels
Description
We were having a problem with R crashing when trying to write a file with LZF compression. I've tracked it down to trying to create a character dataset with the LZF filter:
h5f <- rhdf5::H5Fcreate(tempfile())
rhdf5::h5createDataset(
h5f,
dataset = "test",
dims = 1,
storage.mode = "character",
filter = "LZF"
)Running this crashes my R session with this output (on Linux and Mac):
*** caught segfault ***
address 0x1, cause 'memory not mapped'
Traceback:
1: H5Pset_lzf(dcpl, h5tid = dtype)
2: .createDCPL(chunk, dims, level, fillValue, dtype = tid, filter = filter, shuffle = shuffle)
3: rhdf5::h5createDataset(h5f, dataset = "test", dims = 1, storage.mode = "character", filter = "LZF")
Reactions are currently unavailable