SOLVED: RStudio Server crashes with SEGV when executing python chunk

I managed to find the cause of the problem described in RStudio Server crashes with SEGV when executing python chunk

The crash, which is actually in rsession, not rstudio-server (I should have been more explicit before) seems to be related to Qt being unable to attach to an X display.

The workaround that I found is to add

QT_QPA_PLATFORM=offscreen

to the global Renviron. I'm not sure if this is the best, or only, solution, but it resolves the problem in our case, since we don't have need of using X displays directly.

If the maintainers decide that this is buggable, I do still have a full core dump available. It would be nice if it were handled a bit better inside of rsession, such that it at least was able to handle the error condition without crashing.

Thanks,

Steve

A post was merged into an existing topic: RStudio Server crashes with SEGV when executing python chunk