Python crash at RStudio startup

Every time I start up RStudio, the error message below pops up. There is no issue using R itself afterward, but it is quite annoying and since it might cause problem in the future, I want to fix it. I tried uninstall-reinstalling both R and RStudio, which did not work. Please refer to the error message below and would appreciate any kind of help!!

Thanks.

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               Python [65367]
Path:                  /Library/Frameworks/Python.framework/Versions/3.6/Resources/Python.app/Contents/MacOS/Python
Identifier:            org.python.python
Version:               3.6.4 (3.6.4)
Code Type:             X86-64 (Native)
Parent Process:        Exited process [65366]
Responsible:           RStudio [65265]
User ID:               501

Date/Time:             2023-02-27 22:45:54.4992 -0600
OS Version:            macOS 13.2.1 (22D68)
Report Version:        12
Anonymous UUID:        7BFC16F5-0B96-3C5D-81D9-162EAA1900F0


Time Awake Since Boot: 560000 seconds

System Integrity Protection: enabled

Notes:
dyld_process_snapshot_get_shared_cache failed

Crashed Thread:        0

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

Termination Reason:    Namespace DYLD, Code 1 Library missing
Library not loaded: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
Referenced from: <E585A67D-C0DB-448A-2E74-422D61BDC1C1> /Library/Frameworks/Python.framework/Versions/3.6/Resources/Python.app/Contents/MacOS/Python
Reason: tried: '/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation' (no such file), '/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation' (no such file, no dyld cache), '/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation' (no such file)
(terminated at launch; ignore backtrace)

Error Formulating Crash Report:
dyld_process_snapshot_get_shared_cache failed

Thread 0 Crashed:
0   dyld                          	    0x7fff6955fb4a __abort_with_payload + 10
1   dyld                          	    0x7fff69578d07 abort_with_payload_wrapper_internal + 82
2   dyld                          	    0x7fff69578d39 abort_with_payload + 9
3   dyld                          	    0x7fff695001e1 dyld4::halt(char const*) + 375
4   dyld                          	    0x7fff694fd660 dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 4502
5   dyld                          	    0x7fff694fc281 start + 2289


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000002000209  rbx: 0x0000000000000000  rcx: 0x00007fff5bffd658  rdx: 0x00007fff5bffdac0
  rdi: 0x0000000000000006  rsi: 0x0000000000000001  rbp: 0x00007fff5bffd6a0  rsp: 0x00007fff5bffd658
   r8: 0x00007fff5bffd6c0   r9: 0x0000000000000000  r10: 0x00000000000000bf  r11: 0x0000000000000246
  r12: 0x00000000000000bf  r13: 0x00007fff5bffdac0  r14: 0x0000000000000001  r15: 0x0000000000000006
  rip: 0x00007fff6955fb4a  rfl: 0x0000000000000246  cr2: 0x00007fff69505800
  
Logical CPU:     0
Error Code:      0x02000209 
Trap Number:     133


Binary Images:
    0x7fff694f6000 -     0x7fff6958dfff dyld (*) <bba77709-6cad-3592-ab03-09d0f7b8610e> /usr/lib/dyld

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=928K resident=0K(0%) swapped_out_or_unallocated=928K(100%)
Writable regions: Total=16.5M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=16.5M(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
VM_ALLOCATE                          4K        1 
__DATA                              20K        2 
__DATA_CONST                        32K        1 
__DATA_DIRTY                        16K        1 
__LINKEDIT                         324K        3 
__TEXT                             612K        2 
__UNIXSTACK                       16.0M        1 
dyld private memory                512K        2 
shared memory                        8K        2 
===========                     =======  ======= 
TOTAL                             17.5M       15 



-----------
Full Report
-----------

{"app_name":"Python","timestamp":"2023-02-27 22:45:54.00 -0600","app_version":"3.6.4","slice_uuid":"e585a67d-c0db-448a-2e74-422d61bdc1c1","build_version":"3.6.4","platform":1,"bundleID":"org.python.python","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 13.2.1 (22D68)","roots_installed":0,"name":"Python","incident_id":"8D05AB24-C732-4C0D-A8EA-47CBCC444987"}
{
  "uptime" : 560000,
  "procRole" : "Unspecified",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "iMac18,3",
  "coalitionID" : 70405,
  "osVersion" : {
    "train" : "macOS 13.2.1",
    "build" : "22D68",
    "releaseType" : "User"
  },
  "captureTime" : "2023-02-27 22:45:54.4992 -0600",
  "incident" : "8D05AB24-C732-4C0D-A8EA-47CBCC444987",
  "pid" : 65367,
  "cpuType" : "X86-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2023-02-27 22:45:54.3699 -0600",
  "procStartAbsTime" : 563058922111251,
  "procExitAbsTime" : 563059044397665,
  "procName" : "Python",
  "procPath" : "\/Library\/Frameworks\/Python.framework\/Versions\/3.6\/Resources\/Python.app\/Contents\/MacOS\/Python",
  "bundleInfo" : {"CFBundleShortVersionString":"3.6.4","CFBundleVersion":"3.6.4","CFBundleIdentifier":"org.python.python"},
  "storeInfo" : {"deviceIdentifierForVendor":"7810B4EE-7146-5E39-AEF8-8883DE6DE093","thirdParty":true},
  "parentProc" : "Exited process",
  "parentPid" : 65366,
  "coalitionName" : "com.rstudio.desktop",
  "crashReporterKey" : "7BFC16F5-0B96-3C5D-81D9-162EAA1900F0",
  "responsiblePid" : 65265,
  "responsibleProc" : "RStudio",
  "sip" : "enabled",
  "exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGABRT"},
  "termination" : {"code":1,"flags":518,"namespace":"DYLD","indicator":"Library missing","details":["(terminated at launch; ignore backtrace)"],"reasons":["Library not loaded: \/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation","Referenced from: <E585A67D-C0DB-448A-2E74-422D61BDC1C1> \/Library\/Frameworks\/Python.framework\/Versions\/3.6\/Resources\/Python.app\/Contents\/MacOS\/Python","Reason: tried: '\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation' (no such file), '\/System\/Volumes\/Preboot\/Cryptexes\/OS\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation' (no such file), '\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation' (no such file, no dyld cache), '\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation' (no such file)"]},
  "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":4705822,"threadState":{"r13":{"value":140734736882368},"rax":{"value":33554953},"rflags":{"value":582},"cpu":{"value":0},"r14":{"value":1},"rsi":{"value":1},"r8":{"value":140734736881344},"cr2":{"value":140734960261120},"rdx":{"value":140734736882368},"r10":{"value":191},"r9":{"value":0},"r15":{"value":6},"rbx":{"value":0},"trap":{"value":133},"err":{"value":33554953},"r11":{"value":582},"rip":{"value":140734960630602,"matchesCrashFrame":1},"rbp":{"value":140734736881312},"rsp":{"value":140734736881240},"r12":{"value":191},"rcx":{"value":140734736881240},"flavor":"x86_THREAD_STATE","rdi":{"value":6}},"frames":[{"imageOffset":432970,"symbol":"__abort_with_payload","symbolLocation":10,"imageIndex":0},{"imageOffset":535815,"symbol":"abort_with_payload_wrapper_internal","symbolLocation":82,"imageIndex":0},{"imageOffset":535865,"symbol":"abort_with_payload","symbolLocation":9,"imageIndex":0},{"imageOffset":41441,"symbol":"dyld4::halt(char const*)","symbolLocation":375,"imageIndex":0},{"imageOffset":30304,"symbol":"dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*)","symbolLocation":4502,"imageIndex":0},{"imageOffset":25217,"symbol":"start","symbolLocation":2289,"imageIndex":0}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140734960197632,
    "size" : 622592,
    "uuid" : "bba77709-6cad-3592-ab03-09d0f7b8610e",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  }
],
  "vmSummary" : "ReadOnly portion of Libraries: Total=928K resident=0K(0%) swapped_out_or_unallocated=928K(100%)\nWritable regions: Total=16.5M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=16.5M(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nVM_ALLOCATE                          4K        1 \n__DATA                              20K        2 \n__DATA_CONST                        32K        1 \n__DATA_DIRTY                        16K        1 \n__LINKEDIT                         324K        3 \n__TEXT                             612K        2 \n__UNIXSTACK                       16.0M        1 \ndyld private memory                512K        2 \nshared memory                        8K        2 \n===========                     =======  ======= \nTOTAL                             17.5M       15 \n",
  "legacyInfo" : {
  "threadTriggered" : {

  }
},
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "63a0a6cfd1cdb67d083006d0",
      "factorPackIds" : {

      },
      "deploymentId" : 240000003
    },
    {
      "rolloutId" : "60f8ddccefea4203d95cbeef",
      "factorPackIds" : {

      },
      "deploymentId" : 240000022
    }
  ],
  "experiments" : [

  ]
},
  "reportNotes" : [
  "dyld_process_snapshot_get_shared_cache failed"
]
}

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.