FlashX icon indicating copy to clipboard operation
FlashX copied to clipboard

fix a bug in accessing SSDs.

Open zheng-da opened this issue 8 years ago • 0 comments

If we store a block matrix to SSDs, we may get this error. This bug has been temporarily fixed by converting the block matrix to a normal matrix. We need to handle it more gracefully.

> emdata <- fm.conv.store(data, in.mem = FALSE)
mkdir: Permission denied

 *** caught segfault ***
address (nil), cause 'memory not mapped'

Traceback:
 1: .Call("R_FM_conv_store", fm, as.logical(in.mem), as.character(name),     PACKAGE = "FlashR")
 2: fm.conv.store(data, in.mem = FALSE)

Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace

zheng-da avatar Aug 11 '17 15:08 zheng-da