synapser 0.8.71 fails on load


I just computed R 4.0.3 from source on my Mac. When I install `synapser` with ```r install.packages("synapser", repos=c("", ""), type="mac.binary") ``` and then load the package in an empty R session I get: ```r library(synapser) *** caught segfault *** address 0x18, cause 'memory not mapped' Traceback: 1: pyIsConnected() 2: pyConnect() 3: fun(libname, pkgname) 4: doTryCatch(return(expr), name, parentenv, handler) 5: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 6: tryCatchList(expr, classes, parentenv, handlers) 7: tryCatch(fun(libname, pkgname), error = identity) 8: runHook(".onLoad", env, package.lib, package) 9: loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) 10: namespaceImport(ns, loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]), from = package) 11: loadNamespace(package, lib.loc) 12: doTryCatch(return(expr), name, parentenv, handler) 13: tryCatchOne(expr, names, parentenv, handlers[[1L]]) 14: tryCatchList(expr, classes, parentenv, handlers) 15: tryCatch({ attr(package, "LibPath") <- which.lib.loc ns <- loadNamespace(package, lib.loc) env <- attachNamespace(ns, pos = pos, deps, exclude, include.only)}, error = function(e) { P <- if (!is.null(cc <- conditionCall(e))) paste(" in", deparse(cc)[1L]) else "" msg <- gettextf("package or namespace load failed for %s%s:\n %s", sQuote(package), P, conditionMessage(e)) if (logical.return) message(paste("Error:", msg), domain = NA) else stop(msg, call. = FALSE, domain = NA)}) 16: library(synapser) Possible actions: 1: abort (with core dump, if enabled) 2: normal R exit 3: exit R without saving workspace 4: exit R saving workspace Selection: ``` Here is my system info: ```r sessionInfo() R version 4.0.3 (2020-10-10) Platform: x86_64-apple-darwin19.6.0 (64-bit) Running under: macOS Catalina 10.15.7 Matrix products: default BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib LAPACK: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 attached base packages: [1] stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached): [1] compiler_4.0.3 R6_2.5.0 pack_0.1-1 ``` ```r packageVersion('synapser') [1] ‘0.8.71’ ``` Thanks, Gabriel




Jordan Kiang
November 13, 2020, 9:11 PM

The user reported in the GitHub issue that this was fixed in the 0.9 RC.

Jordan Kiang
November 13, 2020, 9:19 PM

This was fixed by recompiling R version 4.0.3 on the Jenkins the Jenkins MacStadium using the following configure and using that to build the package.

./configure --prefix=/usr/local/R/R-4.0.3/ --with-x=no --with-cairo


Jordan Kiang

Reporter service account



Bruce Hoff

Development Area


Release Version History


Fix versions