-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
std::bad_function_call #4095
Comments
Hi @vflorelo, thanks for the report. It sounds like this might be an rstudio-server issue, but I'm not sure. Can you also include the output from |
Dear @gadenbuie
Noteworthy, the shiny error also happens when I call the program from the R command line (outside rstudio) or if I execute it as a script with Rscript Thank you again for your support |
Oh interesting, that is noteworthy. I tried to reproduce the issue with Ubuntu via rocker, but couldn't. In the mitigation attempts section you mention "updating R to the newest version". Was that also installed from source? Can you install R from apt? |
I think I figured out what happened.
Since apt puts the installed packages in The culprit: httpuv, the version installed when running This bug(?) might be out of shiny's scope, so it might be worth closing this issue, but still worth checking if updates to httpuv cause similar issues to other users. Thank you for your pointers and your help. |
Two interesting things stand out to me here. First httpuv 1.6.5 is relatively old (released Jan 2022). And second the I guess my recommendation would be to install httpuv via apt if possible. |
Hmmmm, I use @vflorelo, do you know what CRAN mirror you were/are using? Just a normal one, or packagemanager.posit.co (which allows you to install prebuilt binary packages for Linux)? |
Incident
Whenever me or my team try to use a shiny app, rstudio-server crashes and restarts the session, the behaviour is similar if we try to run any shiny app from the command line, which shows the following error
We are using Ubuntu 22.04, we noticed the incident started after updating all packages on 2024-06-30, but the bug might have been there previously. At the time, we were running R v4.3.2 and rstudio-server 2024.04.2-764.
We then updated R to v4.4.1, R was installed from source with the following flags for
configure
:--enable-R-shlib
--with-tcltk
Except for system dependencies, none of the R packages were installed using apt or dpkg.
System details
Output of
sessionInfo()
:Example application
Mitigation attempts
No errors were reported in any of the above
Googling "shiny" + "bad_function_call" did not return any significant results
Any help or pointers are greatly appreciated.
The text was updated successfully, but these errors were encountered: