RStudio Mac OS X 10.15.7 Crashes Everytime

Hello,
I'm coming with a problem which was on my head for few weeks already.
I am using MacBook Pro mid 2012 with macOS Catalina 10.15.7 version currently. It is ofc 64 bit and as stated in the Downloads of RStudio, it should properly work for higher than 10.14 versions. But it does not.

Whenever I'm opening RStudio it shows firstly blank window, then some loading and closes itself after few seconds with mac os crash report.
I have looked for solutions and all proposed and which worked for others was to reinstall/install older version however those does not work too.

System Integrity Protection: enabled

Crashed Thread:        25  Chrome_InProcGpuThread

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY
2 Likes

I have the exact same problem and get the same error message in the Crashed Thread.

A similar discussion has some possible solutions such as downgrading RStudio: Fresh R Studio Desktop Install Will Not Open on MacOS Catalina

On GitHub I found a thread that resolved my issues: https://github.com/rstudio/rstudio/issues/4034

It boils down to rebooting in safe mode, changing GPU settings in RStudio preferences, rebooting in normal model, and voilà, it works.

Edit: This post was written before my previous post, but approved after I found the solution.

I am experiencing the exact same problem with the same error message since yesterday morning. I tried the tips in the linked threads, resetting all settings, reinstalled R and RStudio from scratch, but nothing helped. Currently, there is no way I can get RStudio to work at all. Any help is highly appreciated.

Crash report:

Crashed Thread:        22  Chrome_InProcGpuThread

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

My machine:

OS: macOS Catalina version 10.15.7 (19H1519)
Model: MacBookPro10,2, BootROM 424.0.0.0.0, 2 processors, Dual-Core Intel Core i5, 2.6 GHz, 8 GB, SMC 2.6f59
Graphics: kHW_IntelHD4000Item, Intel HD Graphics 4000, spdisplays_builtin
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1600 MHz, 0x802C, 0x384B54463531323634485A2D314736453120
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1600 MHz, 0x802C, 0x384B54463531323634485A2D314736453120
1 Like

A solution here helped me:

Bottom of github post:

[lavendermi] commented [3 days ago]

It looks like the latest macOS update introduced a driver update that breaks all existing releases of RStudio. See [#10020]
If you need a fix, you can run the following command from the Terminal:

defaults write com.rstudio.desktop 

This will force RStudio to use software rendering.
Thanks [@kevinushey]. This is an ideal solution. Easier than copying files overdesktop\xb7renderingEngine' 'software'

This will force RStudio to use software rendering.

Thanks [@kevinushey]. This is an ideal solution. Easier than copying files over

@sgabara - I have a similar issue (RStudio crashing on Catalina 10.15.7), but when I tried this fix, it did not work for me.

Note that anything I do inside RStudio causes a crash - even opening the preferences or hitting command-return (to execute a line of R code).

Darn. I realize that I should have been more clear about what I did also. I typed:

defaults write com.rstudio.desktop $'desktop\xb7renderingEngine' 'software'

into terminal and then Rstudio could then open and has worked well for me.

4 Likes

@sgabara - brilliant! Thanks very much. It seems stable (at least for now).

Yep, that one did it! Thanks!

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

If you have a query related to it or one of the replies, start a new topic and refer back with a link.