Skip to content
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

caught segfault when recompressing zero-length data #15

Open
zhengxwen opened this issue Aug 4, 2016 · 0 comments
Open

caught segfault when recompressing zero-length data #15

zhengxwen opened this issue Aug 4, 2016 · 0 comments
Labels

Comments

@zhengxwen
Copy link
Owner

library(gdsfmt)

f <- createfn.gds("test.gds")
n <- add.gdsn(f, "i1", integer(), compress="ZIP_RA", closezip=TRUE)
closefn.gds(f)

f <- openfn.gds("test.gds", FALSE)
compression.gdsn(index.gdsn(f, "i1"), "LZMA_RA")
closefn.gds(f)

openfn.gds("test.gds")

showing that

 *** caught segfault ***
address 0xd00000062, cause 'memory not mapped'

Traceback:
 1: ls.gdsn(node, include.hidden = all)
@zhengxwen zhengxwen added the bug label Aug 4, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant