Cannot open RStudio on MacOS Monterey

Whenever I open RStudio I get an error message saying that RStudio shut abruptly.
When I hit ignore and open, the "RStudio shut abruptly" reappears. Eventually Finder produces a message saying it cannot be opened.

I have tried:

Reinstalling R
Reinstalling Rstudio

Here is the problem details in the report from Apple:


Translated Report (Full Report Below)

Incident Identifier: AAE0D2B2-AADA-4A6A-8732-763898A9BD91
CrashReporter Key: AFE97679-3773-4558-AB77-825D350CBF9D
Hardware Model: MacBookPro18,3
Process: RStudio [50920]
Path: /Applications/RStudio.app/Contents/MacOS/RStudio
Identifier: org.rstudio.RStudio
Version: 2022.07.2+576 (2022.07.2+576)
Code Type: X86-64 (Native)
Role: Default
Parent Process: launchd [1]
Coalition: org.rstudio.RStudio [44557]

Date/Time: 2022-10-03 14:40:44.3339 +1300
Launch Time: 2022-10-03 14:40:44.3222 +1300
OS Version: macOS 12.5.1 (21G83)
Release Type: User
Report Version: 104

Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x00007ff7fffbb9b0
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: SIGNAL 5 Trace/BPT trap: 5
Terminating Process: exc handler [50920]

Triggered by Thread: 0

Thread 0 Crashed:
0 runtime 0x7ff7fffbb9b0 0x7ff7fff9e000 + 121264
1 runtime 0x7ff7fffbb9f8 0x7ff7fff9e000 + 121336
2 runtime 0x7ff7fffb21a4 0x7ff7fff9e000 + 82340
3 runtime 0x7ff7fffb3288 0x7ff7fff9e000 + 86664
4 runtime 0x7ff7fffb29fc 0x7ff7fff9e000 + 84476
5 runtime 0x7ff7fffa1ae0 0x7ff7fff9e000 + 15072
6 dyld 0x2049ee000 ???

Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x0000000000000000 x1: 0x0000000000000003 x2: 0x000000000000003c x3: 0x000000000000002c
x4: 0x0000000000000303 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x00000000003446e0
x8: 0x00007ff7fffd9000 x9: 0x0000000000000000 x10: 0x0000000000000000 x11: 0x00007ff7fffd9957
x12: 0x0000000000000000 x13: 0x0000000000000000 x14: 0x000001b900000100 x15: 0x00007ff7fffc1818
x16: 0xffffffffffffffe1 x17: 0x00007ff7fffca6e1 x18: 0x000000030ce6e07b x19: 0x00007ff7fffcf2e1
x20: 0x000000030ce6e730 x21: 0x00000001046f5000 x22: 0x0000000000000004 x23: 0x00000001046f5000
x24: 0x0000000000000003 x25: 0x0000000000000001 x26: 0x000000030ce6db90 x27: 0x0000000204a6e1b8
x28: 0x000000030ce76960 fp: 0x000000030ce6c990 lr: 0x00007ff7fffbb9a8
sp: 0x000000030ce6c970 pc: 0x00007ff7fffbb9b0 cpsr: 0x60001000
far: 0x000000030ce6c9a8 esr: 0xf2000001 (Breakpoint) brk 1

Binary Images:
0x7ff7fff9e000 - 0x7ff7fffcdfff runtime () /usr/libexec/rosetta/runtime
0x2049ee000 - 0x204a59fff dyld (
) /usr/lib/dyld

Error Formulating Crash Report:
dyld_process_snapshot_get_shared_cache failed

EOF


Full Report

{"app_name":"RStudio","timestamp":"2022-10-03 14:40:44.00 +1300","app_version":"2022.07.2+576","slice_uuid":"8b774818-8261-3b4a-b678-44f0ee179f3d","build_version":"2022.07.2+576","platform":0,"bundleID":"org.rstudio.RStudio","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.5.1 (21G83)","incident_id":"AAE0D2B2-AADA-4A6A-8732-763898A9BD91","name":"RStudio"}
{
"uptime" : 420000,
"procLaunch" : "2022-10-03 14:40:44.3222 +1300",
"procRole" : "Default",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "MacBookPro18,3",
"procStartAbsTime" : 10217512194320,
"coalitionID" : 44557,
"osVersion" : {
"train" : "macOS 12.5.1",
"build" : "21G83",
"releaseType" : "User"
},
"captureTime" : "2022-10-03 14:40:44.3339 +1300",
"incident" : "AAE0D2B2-AADA-4A6A-8732-763898A9BD91",
"bug_type" : "309",
"pid" : 50920,
"procExitAbsTime" : 10217512438206,
"translated" : true,
"cpuType" : "X86-64",
"procName" : "RStudio",
"procPath" : "/Applications/RStudio.app/Contents/MacOS/RStudio",
"bundleInfo" : {"CFBundleShortVersionString":"2022.07.2+576","CFBundleVersion":"2022.07.2+576","CFBundleIdentifier":"org.rstudio.RStudio"},
"storeInfo" : {"deviceIdentifierForVendor":"F8A1D5DB-82B7-55D5-8AD7-8D3F8996B0AF","thirdParty":true},
"parentProc" : "launchd",
"parentPid" : 1,
"coalitionName" : "org.rstudio.RStudio",
"crashReporterKey" : "AFE97679-3773-4558-AB77-825D350CBF9D",
"wakeTime" : 3648,
"sleepWakeUUID" : "DFAB5BAB-B059-4A3F-8C85-B81412D76C9E",
"sip" : "enabled",
"isCorpse" : 1,
"exception" : {"codes":"0x0000000000000001, 0x00007ff7fffbb9b0","rawCodes":[1,140703128336816],"type":"EXC_BREAKPOINT","signal":"SIGTRAP"},
"termination" : {"flags":0,"code":5,"namespace":"SIGNAL","indicator":"Trace/BPT trap: 5","byProc":"exc handler","byPid":50920},
"extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
"faultingThread" : 0,
"threads" : [{"triggered":true,"id":3744571,"threadState":{"x":[{"value":0},{"value":3},{"value":60},{"value":44},{"value":771},{"value":0},{"value":0},{"value":3426016},{"value":140703128457216},{"value":0},{"value":0},{"value":140703128459607,"symbolLocation":239,"symbol":"crashreporter_info"},{"value":0},{"value":0},{"value":1894080577792},{"value":140703128360984},{"value":18446744073709551585},{"value":140703128397537},{"value":13101359227},{"value":140703128416993},{"value":13101360944},{"value":4369371136},{"value":4},{"value":4369371136},{"value":3},{"value":1},{"value":13101357968},{"value":8667980216,"symbolLocation":0,"symbol":"dyld_all_image_infos"},{"value":13101394272}],"flavor":"ARM_THREAD_STATE64","lr":{"value":140703128336808},"cpsr":{"value":1610616832},"fp":{"value":13101353360},"sp":{"value":13101353328},"esr":{"value":4060086273,"description":"(Breakpoint) brk 1"},"pc":{"value":140703128336816,"matchesCrashFrame":1},"far":{"value":13101353384}},"frames":[{"imageOffset":121264,"imageIndex":0},{"imageOffset":121336,"imageIndex":0},{"imageOffset":82340,"imageIndex":0},{"imageOffset":86664,"imageIndex":0},{"imageOffset":84476,"imageIndex":0},{"imageOffset":15072,"imageIndex":0},{"imageOffset":0,"imageIndex":1}]}],
"usedImages" : [
{
"source" : "P",
"arch" : "arm64",
"base" : 140703128215552,
"size" : 196608,
"uuid" : "ef33add1-6b70-3cc9-8bbc-c8544b609d2b",
"path" : "/usr/libexec/rosetta/runtime",
"name" : "runtime"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 8667455488,
"size" : 442368,
"uuid" : "f71fb3ca-5fcc-3577-9457-b047888a46d1",
"path" : "/usr/lib/dyld",
"name" : "dyld"
}
],
"vmSummary" : "ReadOnly portion of Libraries: Total=840K resident=0K(0%) swapped_out_or_unallocated=840K(100%)\nWritable regions: Total=25.2M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=25.2M(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nSTACK GUARD 56.0M 1 \nStack 8176K 1 \nVM_ALLOCATE 13.3M 5 \nVM_ALLOCATE (reserved) 3924K 2 reserved VM address space (unallocated)\n__DATA 80K 3 \n__DATA_CONST 80K 1 \n__LINKEDIT 240K 4 \n__TEXT 624K 2 \nmapped file 6.1G 33 \n=========== ======= ======= \nTOTAL 6.2G 52 \nTOTAL, minus reserved VM space 6.2G 52 \n",
"legacyInfo" : {
"threadTriggered" : {

}
},
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "60da5e84ab0ca017dace9abf",
"factorPackIds" : {

  },
  "deploymentId" : 240000008
},
{
  "rolloutId" : "5ffde50ce2aacd000d47a95f",
  "factorPackIds" : {

  },
  "deploymentId" : 240000202
}

],
"experiments" : [
{
"treatmentId" : "5b729754-3882-4560-826f-9c0bc27d77c6",
"experimentId" : "6192fb082171a2330e561df0",
"deploymentId" : 400000035
}
]
},
"reportNotes" : [
"dyld_process_snapshot_get_shared_cache failed"
]
}

Model: MacBookPro18,3, BootROM 7459.141.1, proc 10:8:2 processors, 16 GB, SMC
Graphics: Apple M1 Pro, Apple M1 Pro, Built-In
Display: Color LCD, 3024 x 1964 Retina, Main, MirrorOff, Online
Display: LG FULL HD, 1920 x 1080 (1080p FHD - Full High Definition), MirrorOff, Online
Memory Module: LPDDR5
AirPort: Wi-Fi, wl0: Apr 6 2022 05:55:54 version 20.90.45.0.8.7.118 FWID 01-e7138ff2
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB31Bus
USB Device: USB31Bus
USB Device: USB3.1 Hub
USB Device: USB 10/100/1000 LAN
USB Device: USB2.0 Hub
USB Device: Microsoft® 2.4GHz Transceiver v8.0
USB Device: DELL DA300
USB Device: USB31Bus
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.
Thunderbolt Bus: MacBook Pro, Apple Inc.

Try download an older version like this, move it to app folder, then hold control in your keyboard, click on Rstudio and finally click open.

Hi @Flm,

Thanks for the advice. I actually resolved this last night by restarting my mac and reinstalling R and Rstudio.

I appreciate your guidance and contribution to the platform.

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.