Open pat-s opened 10 hours ago
> .libPaths("/usr/local/lib/R/site-library/pak/library")
> library(curl)
*** caught bus error ***
address 0xffff00000001, cause 'invalid alignment'
Traceback:
1: dyn.load(file, DLLpath = DLLpath, ...)
2: library.dynam(lib, package, package.lib)
3: loadNamespace(package, lib.loc)
4: doTryCatch(return(expr), name, parentenv, handler)
5: tryCatchOne(expr, names, parentenv, handlers[[1L]])
6: tryCatchList(expr, classes, parentenv, handlers)
7: 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 && !quietly) message(paste("Error:", msg), domain = NA) else stop(msg, call. = FALSE, domain = NA)})
8: library(curl)
Also, specific to aarch64. Probably from https://github.com/r-lib/pak/pull/715
Specific to glibc systems as well. At least Alpine does not crash.
Tested in
rocker/r-ver
.pak devel
Created on 2024-11-23 with reprex v2.1.1
Crash output:
pak stable
Created on 2024-11-23 with reprex v2.1.1