SCM

[#6487] segfault on load

Date:
2017-01-17 15:22
Priority:
3
State:
Closed
Submitted by:
Andrea Betancourt (aabt)
Assigned to:
Nobody (None)
Hardware:
Macintosh
Product:
None
Operating System:
MacOS X
Component:
None
Version:
None
Severity:
None
Resolution:
Works For Me
URL:
Summary:
segfault on load

Detailed description
Hello,

I'm trying to use a package that depends on Matrix, and can't get it to load.
Essentially, "library(Matrix)" causes a segfault, even in a fresh R session (see full error message below).

I've re-installed R (v. 3.3.2), reinstalled all packages (including Matrix), and Matrix seems to be the latest version (1.2-7.1).

I'm running the R GUI under Mac OS 10.11, but R studio and R command line versions give the same result.

Any help you can offer gratefully received.

Cheers,
Andrea


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

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(expr, error = function(e) { call <- conditionCall(e) if (!is.null(call)) { if (identical(call[[1L]], quote(doTryCatch))) call <- sys.call(-4L) dcall <- deparse(call)[1L] prefix <- paste("Error in", dcall, ": ") LONG <- 75L msg <- conditionMessage(e) sm <- strsplit(msg, "\n")[[1L]] w <- 14L + nchar(dcall, type = "w") + nchar(sm[1L], type = "w") if (is.na(w)) w <- 14L + nchar(dcall, type = "b") + nchar(sm[1L], type = "b") if (w > LONG) prefix <- paste0(prefix, "\n ") } else prefix <- "Error : " msg <- paste0(prefix, conditionMessage(e), "\n") .Internal(seterrmessage(msg[1L])) if (!silent && identical(getOption("show.error.messages"), TRUE)) { cat(msg, file = stderr()) .Internal(printDeferredWarnings()) } invisible(structure(msg, class = "try-error", condition = e))})
8: try({ attr(package, "LibPath") <- which.lib.loc ns <- loadNamespace(package, lib.loc) env <- attachNamespace(ns, pos = pos, deps)})
9: library(Matrix)

Possible actions:
1: abort (with core dump, if enabled)
2: normal R exit
3: exit R without saving workspace
4: exit R saving workspace

Comments:

Message  ↓
Date: 2017-08-15 10:51
Sender: Martin Maechler

There's no way to reproduce this for me. and I have not heard any other such report. I conclude this has been a specific-user-only problem and close it for now.

Attached Files:

Changes

Field Old Value Date By
status_idOpen2017-08-15 10:51mmaechler
close_dateNone2017-08-15 10:51mmaechler
ResolutionNone2017-08-15 10:51mmaechler
Thanks to:
Vienna University of Economics and Business Powered By FusionForge