search for: lookupclass

Displaying 4 results from an estimated 4 matches for "lookupclass".

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); } retur...
2020 Oct 29
0
[External] Something is wrong with the unserialize function
...his > > 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,
2016 May 03
4
Linux/ARM: Segfault issue when we build clang sources including __thread variable using -O2 flag
...net/runtime.release.20160222.2/libcoreclr.so #5 0x769937c2 in ClassLoader::LoadTypeByNameThrowing(Assembly*, char const*, char const*, ClassLoader::NotFoundAction, ClassLoader::LoadTypesFlag, ClassLoadLevel) () from /dotnet/runtime.release.20160222.2/libcoreclr.so #6 0x76980918 in MscorlibBinder::LookupClass(BinderClassID) () from /dotnet/runtime.release.20160222.2/libcoreclr.so #7 0x769675ca in SystemDomain::LoadBaseSystemClasses() () from /dotnet/runtime.release.20160222.2/libcoreclr.so #8 0x769673ac in SystemDomain::Init() () from /dotnet/runtime.release.20160222.2/libcoreclr.so #9 0x768...