R闪亮的segfaulting

时间:2017-12-01 18:20:33

标签: r shiny

我刚刚在Ubuntu 14.04.5 LTS中安装了闪亮的1.0.5,并且在默认登录页面上收到了分段错误。 Javascript控制台/ hello错误日志的最后一位是:

there is a subwindow activated
this is subwindow 1 subwindow_test_the_object_name

此外,从日志文件的开头:

89: .Call("httpuv_run", PACKAGE = "httpuv", timeoutMillis)
90: run(timeoutMs)
91: service(timeout)
92: serviceApp()
93: withCallingHandlers(expr, error = function(e) {    if (is.null(attr(e, "stack.trace", exact = TRUE))) {        calls <- sys.calls()        attr(e, "stack.trace") <- calls        stop(e)    }})
94: captureStackTraces({    scheduleFlush()    while (!.globals$stopped) {        serviceApp()        Sys.sleep(0.001)    }})
95: ..stacktraceoff..(captureStackTraces({    scheduleFlush()    while (!.globals$stopped) {        serviceApp()        Sys.sleep(0.001)    }}))
96: runApp(Sys.getenv("SHINY_APP"), port = port, launch.browser = FALSE)
An irrecoverable exception occurred. R is aborting now ...
-su: line 1:  2739 Segmentation fault      (core dumped) R --no-save --slave -f \/opt\/shiny-server\/R\/SockJSAdapter\.R

有关调试此功能并使其运行的任何提示吗?

1 个答案:

答案 0 :(得分:0)

我最终不知道问题是什么,但升级到R 3.4.2完全打破了Shiny。通过apt删除r-base(r-base-core等)并重新安装3.3.3修复了这个问题,尽管它仍然令人沮丧。