Segfault when loading V8 (via pkgdown)
jeroen opened this issue · 1 comments
jeroen commented
> library(V8)
Using V8 engine 7.6.1
> pkgdown::build_site(document=F)
══ Building pkgdown site ═════════════════════════════════════════════════════════════════════════════════════════════════════════
Reading from: '/Users/jeroen/workspace/V8'
Writing to: '/Users/jeroen/workspace/V8/docs'
── Initialising site ─────────────────────────────────────────────────────────────────────────────────────────────────────────────
── Building home ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────
Writing 'index.html'
── Building function reference ───────────────────────────────────────────────────────────────────────────────────────────────────
Loading V8
|
#
# Fatal error in , line 0
# Check failed: !platform_.
#
#
#
#FailureMessage Object: 0x7ffeec8c1410
*** caught bus error ***
address 0x10a1daea0, cause 'non-existent physical address'
-
Traceback:
1: dyn.load(dllfile)
2: library.dynam2(path, lib)
3: load_dll(path)
4: pkgload::load_all(pkg$src_path, export_all = FALSE, helpers = FALSE)
5: build_reference(pkg, lazy = lazy, document = document, examples = examples, run_dont_run = run_dont_run, seed = seed, override = override, preview = FALSE)
6: build_site_local(pkg = pkg, examples = examples, document = document, run_dont_run = run_dont_run, seed = seed, lazy = lazy, override = override, preview = preview)
7: pkgdown::build_site(...)
hadley commented
Looks like it's fixed with dev pkgload
> pkgdown::build_site(devel = T)
== Building pkgdown site =================================================================
Reading from: '/Users/hadley/Desktop/v8'
Writing to: '/Users/hadley/Desktop/v8/docs'
-- Initialising site ---------------------------------------------------------------------
-- Building home -------------------------------------------------------------------------
[WARNING] Deprecated: markdown_github. Use gfm instead.
-- Building function reference -----------------------------------------------------------
ℹ Loading V8
Using V8 engine 9.0.257.29
Reading 'man/JS.Rd'
Reading 'man/V8.Rd'
Writing 'reference/V8.html'
Reading 'man/wasm.Rd'
-- Building articles ---------------------------------------------------------------------
Reading 'vignettes/npm.Rmd'
Reading 'vignettes/v8_intro.Rmd'
Writing 'articles/v8_intro.html'
== DONE ==================================================================================
-- Previewing site -----------------------------------------------------------------------