[R-SIG-Mac] Rgraphviz leads to crash with 2.7.0 (development) on Leopard

William Revelle lists at revelle.net
Sun Dec 9 02:21:46 CET 2007


Hi,

  I have started testing out the 2.7.0 development version  on a 
MacBookPro running Leopard (10.5.1) to see if my psych package works.

Most of what I do seems to work (and I think the graphics look even 
better than 2.6.1), but Rgraphviz causes a complete crash when trying 
to load it. This is independent of my package in that just loading 
Rgraphviz leads to a crash.

Here is the complete error report:

R version 2.7.0 Under development (unstable) (2007-12-07 r43615)
Copyright (C) 2007 The R Foundation for Statistical Computing
ISBN 3-900051-07-0

...

[Workspace restored from /Volumes/WR/bill/.RData]

>  ls()
character(0)
>  library(Rgraphviz)
Loading required package: graph

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

Traceback:
  1: .Call("Rgraphviz_init", PACKAGE = "Rgraphviz")
  2: fun(...)
  3: doTryCatch(return(expr), name, parentenv, handler)
  4: tryCatchOne(expr, names, parentenv, handlers[[1]])
  5: tryCatchList(expr, classes, parentenv, handlers)
  6: tryCatch(expr, error = function(e) {    call <- conditionCall(e) 
if (!is.null(call)) {        if (identical(call[[1]], 
quote(doTryCatch)))             call <- sys.call(-4)        dcall <- 
deparse(call)[1]        prefix <- paste("Error in", dcall, ": ") 
LONG <- 75        msg <- conditionMessage(e)        sm <- 
strsplit(msg, "\n")[[1]]        if (14 + nchar(dcall, type = "w") + 
nchar(sm[1], type = "w") >             LONG)             prefix <- 
paste(prefix, "\n  ", sep = "")    }    else prefix <- "Error : " 
msg <- paste(prefix, conditionMessage(e), "\n", sep = "") 
.Internal(seterrmessage(msg[1]))    if (!silent && 
identical(getOption("show.error.messages"),         TRUE)) { 
cat(msg, file = stderr())        .Internal(printDeferredWarnings()) 
}    invisible(structure(msg, class = "try-error"))})
  7: try({    fun(...)    NULL})
  8: runHook(".onLoad", package, env, package.lib, package)
  9: loadNamespace(package, c(which.lib.loc, lib.loc), keep.source = 
keep.source)
10: doTryCatch(return(expr), name, parentenv, handler)
11: tryCatchOne(expr, names, parentenv, handlers[[1]])
12: tryCatchList(expr, classes, parentenv, handlers)
13: tryCatch(expr, error = function(e) {    call <- conditionCall(e) 
if (!is.null(call)) {        if (identical(call[[1]], 
quote(doTryCatch)))             call <- sys.call(-4)        dcall <- 
deparse(call)[1]        prefix <- paste("Error in", dcall, ": ") 
LONG <- 75        msg <- conditionMessage(e)        sm <- 
strsplit(msg, "\n")[[1]]        if (14 + nchar(dcall, type = "w") + 
nchar(sm[1], type = "w") >             LONG)             prefix <- 
paste(prefix, "\n  ", sep = "")    }    else prefix <- "Error : " 
msg <- paste(prefix, conditionMessage(e), "\n", sep = "") 
.Internal(seterrmessage(msg[1]))    if (!silent && 
identical(getOption("show.error.messages"),         TRUE)) { 
cat(msg, file = stderr())        .Internal(printDeferredWarnings()) 
}    invisible(structure(msg, class = "try-error"))})
14: try({    ns <- loadNamespace(package, c(which.lib.loc, lib.loc), 
keep.source = keep.source)    dataPath <- file.path(which.lib.loc, 
package, "data")    env <- attachNamespace(ns, pos = pos, dataPath = 
dataPath)})
15: library(Rgraphviz)

Possible actions:
1: abort (with core dump, if enabled)
...

-- 
William Revelle		http://personality-project.org/revelle.html
Professor			http://personality-project.org/personality.html
Department of Psychology             http://www.wcas.northwestern.edu/psych/
Northwestern University	http://www.northwestern.edu/
Use R for statistics:                          http://personality-project.org/r



More information about the R-SIG-Mac mailing list