Crash when stopping Shiny

When using Shiny in RStudio, I run the application and everything displays properly in a browser. However, when I try to stop (either using ESC or clicking on the Stop icon, the program crashes. I get "Called from: top level; I hit Browse and get the following: "Called from: execCallbacks(timeoutSecs, all, loop$id)".

This problem occurs even when running the following bare-bones code:
library(shiny)
ui <- fluidPage()
server <- function(input, output) {
}
shinyApp(ui = ui, server = server)

I am running the latest version of R and RStudio and I have updated all of the installed packages. I also have searched for help on this and despite trying several of the suggested fixes, nothing seems to work.

I would appreciate any help on this.

Thanks in advance,
Frank Acito
Indiana University

I'm afraid I don't have a solution for you.
What platform are you using ?
what does your sessionInfo() show ?
Perhaps raising an issue with :https://github.com/rstudio/shiny/issues is the way to go

Here is the error stream I get when running just the Shiny template:

Listening on http://127.0.0.1:5090
#--------------------------------------------------------------------------------

When I click on STOP, I get:

Called from: top level
Browse[1]>
Called from: execCallbacks(timeoutSecs, all, loop$id)
Browse[1]>
Called from: eval(formal.args[[as.character(substitute(arg))]], envir = sys.frame(sysP))
Browse[1]>
Called from: deregisterServer(self)
Browse[1]>
#--------------------------------------------------------------------------------
Here is the session information:

  • Session info --------------------------------------
    setting value
    version R version 3.6.2 (2019-12-12)
    os Windows 10 x64
    system x86_64, mingw32
    ui RStudio
    language (EN)
    collate English_United States.1252
    ctype English_United States.1252
    tz America/Indianapolis
    date 2020-02-19

  • Packages ------------------------------------------
    package * version date lib source
    assertthat 0.2.1 2019-03-21 [1] CRAN (R 3.6.0)
    cli 2.0.1 2020-01-08 [1] CRAN (R 3.6.2)
    crayon 1.3.4 2017-09-16 [1] CRAN (R 3.6.1)
    fansi 0.4.1 2020-01-08 [1] CRAN (R 3.6.2)
    glue 1.3.1 2019-03-12 [1] CRAN (R 3.6.0)
    sessioninfo * 1.1.1 2018-11-05 [1] CRAN (R 3.6.2)
    withr 2.1.2 2018-03-15 [1] CRAN (R 3.6.1)
    #--------------------------------------------------------------------------------
    Here is information about my platform:
    platform_info()
    setting value
    version R version 3.6.2 (2019-12-12)
    os Windows 10 x64
    system x86_64, mingw32
    ui RStudio
    language (EN)
    collate English_United States.1252
    ctype English_United States.1252
    tz America/Indianapolis
    date 2020-02-19

os_name()
[1] "Windows 10 x64"

I discovered that this problem was discussed about a year ago and the solution was to install a newer version of the later() package. However, I have done that to no avail.

Frank Acito

I find it strange why you'd be getting the browser() prompt, but I agree it's all very puzzling

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.