C stack trace crashing Rstudio

Hi everyone, I keep getting this message after fitting a model, which crashes Rstudio.
Any idea how to solve this?
Thank you

C stack trace ===============================

(No symbol) [0x0x6e873e20]
R_RunWeakRefFinalizer [0x0x6c8331af+383]
R_RunWeakRefFinalizer [0x0x6c833447+1047]
Rf_eval [0x0x6c7fb8aa+330]

R version 4.0.5
RStudio Version 1.4.1106
rstan Version 2.21.2

1 Like

Hi,
sorry for not getting to you earlier. I’ve never seen this porblem before - what is your operating system?

Could you try using the most recent rstan from Repository for distributing (some) stan-dev R packages | r-packages ? For mostly stupid reasons, the CRAN version is a bit behind. Alternatively, you can also try using cmdstanr which is less tightly coupled interface and thus cannot crash your R session.

Hope you can get this resolved quickly.

1 Like

Is this on windows, out of interest? I get continual crashes that look like that testing my software on windows via github actions, couldn’t understand what the problem was though (and it works fine on my local windows machines).

1 Like

Hi @martinmodrak, thanks for that. I’m using Win 10.
I will give it a go using these updated packages.

Yes win 10