Error in re-building vignettes:
  ...

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

Traceback:
 1: grid.Call.graphics(C_lines, x$x, x$y, index, x$arrow)
 2: drawDetails.polyline(x, recording = FALSE)
 3: drawDetails(x, recording = FALSE)
 4: drawGrob(x)
 5: recordGraphics(drawGrob(x), list(x = x), getNamespace("grid"))
 6: grid.draw.grob(x$children[[i]], recording = FALSE)
 7: grid.draw(x$children[[i]], recording = FALSE)
 8: drawGTree(x)
 9: recordGraphics(drawGTree(x), list(x = x), getNamespace("grid"))
10: grid.draw.gTree(x$children[[i]], recording = FALSE)
11: grid.draw(x$children[[i]], recording = FALSE)
12: drawGTree(x)
13: recordGraphics(drawGTree(x), list(x = x), getNamespace("grid"))
14: grid.draw.gTree(gtable)
15: grid.draw(gtable)
16: print.ggplot(x)
17: print(x)
18: normal_print(x)
19: knit_print.default(x, ...)
20: knit_print(x, ...)
21: withVisible(knit_print(x, ...))
22: fun(x, options = options)
23: value_fun(ev$value, ev$visible)
24: withVisible(value_fun(ev$value, ev$visible))
25: withCallingHandlers(withVisible(value_fun(ev$value, ev$visible)),     warning = wHandler, error = eHandler, message = mHandler)
26: handle(pv <- withCallingHandlers(withVisible(value_fun(ev$value,     ev$visible)), warning = wHandler, error = eHandler, message = mHandler))
27: evaluate_call(expr, parsed$src[[i]], envir = envir, enclos = enclos,     debug = debug, last = i == length(out), use_try = stop_on_error !=         2L, keep_warning = keep_warning, keep_message = keep_message,     output_handler = output_handler, include_timing = include_timing)
28: evaluate::evaluate(...)
29: evaluate(code, envir = env, new_device = FALSE, keep_warning = !isFALSE(options$warning),     keep_message = !isFALSE(options$message), stop_on_error = if (options$error &&         options$include) 0L else 2L, output_handler = knit_handlers(options$render,         options))
30: in_dir(input_dir(), evaluate(code, envir = env, new_device = FALSE,     keep_warning = !isFALSE(options$warning), keep_message = !isFALSE(options$message),     stop_on_error = if (options$error && options$include) 0L else 2L,     output_handler = knit_handlers(options$render, options)))
31: block_exec(params)
32: call_block(x)
33: process_group.block(group)
34: process_group(group)
35: withCallingHandlers(if (tangle) process_tangle(group) else process_group(group),     error = function(e) {        setwd(wd)        cat(res, sep = "\n", file = output %n% "")        message("Quitting from lines ", paste(current_lines(i),             collapse = "-"), " (", knit_concord$get("infile"),             ") ")    })
36: process_file(text, output)
37: knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet,     encoding = encoding)
38: rmarkdown::render(file, encoding = encoding, quiet = quiet, envir = globalenv())
39: vweave_rmarkdown(...)
40: engine$weave(file, quiet = quiet, encoding = enc)
41: doTryCatch(return(expr), name, parentenv, handler)
42: tryCatchOne(expr, names, parentenv, handlers[[1L]])
43: tryCatchList(expr, classes, parentenv, handlers)
44: tryCatch({    engine$weave(file, quiet = quiet, encoding = enc)    setwd(startdir)    find_vignette_product(name, by = "weave", engine = engine)}, error = function(e) {    stop(gettextf("processing vignette '%s' failed with diagnostics:\n%s",         file, conditionMessage(e)), domain = NA, call. = FALSE)})
45: buildVignettes(dir = "/data/gannet/ripley/R/packages/tests-clang/segclust2d.Rcheck/vign_test/segclust2d")
An irrecoverable exception occurred. R is aborting now ...