We are running RStudio Server 2025.09.2 Build 418.
We sporadically experience very similar problems to what was described in "R is taking longer to start than usual" on RStudio Server Linux.
Symptom
Opening RStudio sometimes shows a spinner for 1-2 minutes, then either "R is taking longer to start than usual" (with Reload / Safe Mode / Terminate R) or a blank screen. Terminate R does not help. Safe Mode sometimes does.
Root cause
rsession's main thread blocks in __cxa_guard_acquire - the C++ ABI's thread-safe initialiser for a function-local static - inside Rf_ReplIteration / R_ReadConsole. No other thread holds the guard: all nine others are parked idle. It is an orphaned initialisation guard, and the static lives in the rsession executable itself, not in a loaded library.
Main-thread stack, from a core dump:
#0 syscall
#1 __cxa_guard_acquire
#2..#6 rsession (stripped, no symbols)
#7 Rf_ReplIteration
#8 R_ReplConsole
#9 run_Rmainloop
Consequences, not causes:
- the browser's
POST /rpc/client_initstays(pending)forever - rserver delivered it to rsession (unix socket queues drained) and rsession never answers, because its main thread is blocked ERROR r error 5 (R symbol not found) [symbol: .rs.*]in the rsession log -tools:rstudiois never established, so RStudio's modules query symbols that do not existThe previous R session terminated abnormally- logged after any unclean exit, including the user pressing Terminate R