Displaying 3 results from an estimated 3 matches for "csym".
Did you mean:
csum
2020 Oct 29
2
[External] Something is wrong with the unserialize function
This
Index: src/main/altrep.c
===================================================================
--- src/main/altrep.c (revision 79385)
+++ src/main/altrep.c (working copy)
@@ -275,10 +275,11 @@
SEXP psym = ALTREP_SERIALIZED_CLASS_PKGSYM(info);
SEXP class = LookupClass(csym, psym);
if (class == NULL) {
- SEXP pname = ScalarString(PRINTNAME(psym));
+ SEXP pname = PROTECT(ScalarString(PRINTNAME(psym)));
R_tryCatchError(find_namespace, pname,
handle_namespace_error, NULL);
class = LookupClass(csym, psym);
+ UNPROTECT(1);
}
return cla...
2020 Oct 29
0
[External] Something is wrong with the unserialize function
...; Index: src/main/altrep.c
> ===================================================================
> --- src/main/altrep.c (revision 79385)
> +++ src/main/altrep.c (working copy)
> @@ -275,10 +275,11 @@
> SEXP psym = ALTREP_SERIALIZED_CLASS_PKGSYM(info);
> SEXP class = LookupClass(csym, psym);
> if (class == NULL) {
> - SEXP pname = ScalarString(PRINTNAME(psym));
> + SEXP pname = PROTECT(ScalarString(PRINTNAME(psym)));
> R_tryCatchError(find_namespace, pname,
> handle_namespace_error, NULL);
> class = LookupClass(csym, psym);
> +...
2020 Oct 29
2
Something is wrong with the unserialize function
Hi all,
I am not able to export an ALTREP object when `gctorture` is on in the
worker. The package simplemmap can be used to reproduce the problem. See
the example below
```
## Create a temporary file
filePath <- tempfile()
con <- file(filePath, "wrb")
writeBin(rep(0.0,10),con)
close(con)
library(simplemmap)
library(parallel)
cl <- makeCluster(1)
x <- mmap(filePath,