Skip to content

macvim crashes on startup #1692

Description

@yjfvictor

Steps to reproduce

Run the vim command in Terminal.

It crashes.

zsh: killed     vim

Crash report:

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process:             Vim [8059]
Path:                /usr/local/Cellar/macvim/9.2.0321/MacVim.app/Contents/MacOS/Vim
Identifier:          Vim
Version:             ???
Code Type:           X86-64 (Native)
Role:                Unspecified
Parent Process:      zsh [7406]
Coalition:           com.apple.Terminal [993]
Responsible Process: Terminal [7404]
User ID:             501

Date/Time:           2026-07-19 00:33:10.3869 +1000
Launch Time:         2026-07-19 00:33:10.3593 +1000
Hardware Model:      MacBookPro16,2
OS Version:          macOS 26.5.2 (25F84)
Release Type:        User
Bridge OS Version:     10.5 (23P5067)

Crash Reporter Key:  9F4EB25E-6E8F-07D8-633E-E20D7F8DD238
Incident Identifier: 50D6CDF7-C19C-4B90-83BA-CECDA3A20F3F

Time Awake Since Boot: 3300 seconds

System Integrity Protection: enabled

Triggered by Thread: 0

Exception Type:    EXC_BAD_ACCESS (SIGKILL (Code Signature Invalid))
Exception Subtype: UNKNOWN_0x32 at 0x000000010b5a3000
Exception Codes:   0x0000000000000032, 0x000000010b5a3000

Termination Reason:  Namespace CODESIGNING, Code 2, Invalid Page


VM Region Info: 0x10b5a3000 is in 0x10b5a3000-0x10bcc2000;  bytes after start: 0  bytes before end: 7467007
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      mapped file                 10b525000-10b5a3000    [  504K] r--/rwx SM=COW  Object_id=609f497a
--->  mapped file                 10b5a3000-10bcc2000    [ 7292K] r--/rwx SM=COW  Object_id=8d8e73bb
      GAP OF 0xbf18000 BYTES
      commpage (reserved)         117bda000-117cfa000    [ 1152K] ---/--- SM=NUL  reserved VM address space (unallocated)

Thread 0 Crashed:
0   dyld                          	    0x7ff80682d1e7 mach_o::Universal::isUniversal(std::__1::span<unsigned char const, 18446744073709551615ul>) + 19
1   dyld                          	    0x7ff8067f5a51 dyld3::MachOFile::compatibleSlice(Diagnostics&, unsigned long long&, unsigned long long&, void const*, unsigned long, char const*, mach_o::Platform, bool, mach_o::GradedArchitectures const&, bool) + 71
2   dyld                          	    0x7ff8067dba8a dyld4::JustInTimeLoader::makeJustInTimeLoaderDisk(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&, bool, unsigned int, mach_o::Layout const*) + 322
3   dyld                          	    0x7ff8067dd47d dyld4::Loader::makeDiskLoader(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&, bool, unsigned int, mach_o::Layout const*) + 149
4   dyld                          	    0x7ff8067df07e invocation function for block in dyld4::Loader::getLoader(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&) + 3303
5   dyld                          	    0x7ff8067ddb6b dyld4::Loader::forEachResolvedAtPathVar(dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&, dyld4::ProcessConfig::PathOverrides::Type, bool&, void (char const*, dyld4::ProcessConfig::PathOverrides::Type, bool&) block_pointer) + 809
6   dyld                          	    0x7ff8067c7022 dyld4::ProcessConfig::PathOverrides::forEachPathVariant(char const*, mach_o::Platform, bool, bool, bool&, void (char const*, dyld4::ProcessConfig::PathOverrides::Type, bool&) block_pointer) const + 1356
7   dyld                          	    0x7ff8067dd6bb dyld4::Loader::forEachPath(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&, void (char const*, dyld4::ProcessConfig::PathOverrides::Type, bool&) block_pointer) + 267
8   dyld                          	    0x7ff8067ddf3b dyld4::Loader::getLoader(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&) + 933
9   dyld                          	    0x7ff8067d9b54 invocation function for block in dyld4::JustInTimeLoader::loadDependents(Diagnostics&, dyld4::RuntimeState&, dyld4::Loader::LoadOptions const&) + 547
10  dyld                          	    0x7ff8068319a5 invocation function for block in mach_o::UnsafeHeader::forEachLinkedDylib(void (char const*, mach_o::LinkedDylibAttributes, mach_o::Version32, mach_o::Version32, bool, bool&) block_pointer) const + 98
11  dyld                          	    0x7ff80682fc8b mach_o::UnsafeHeader::forEachLoadCommand(void (load_command const*, bool&) block_pointer) const + 191
12  dyld                          	    0x7ff806831781 mach_o::UnsafeHeader::forEachLinkedDylib(void (char const*, mach_o::LinkedDylibAttributes, mach_o::Version32, mach_o::Version32, bool, bool&) block_pointer) const + 171
13  dyld                          	    0x7ff8067d9816 dyld4::JustInTimeLoader::loadDependents(Diagnostics&, dyld4::RuntimeState&, dyld4::Loader::LoadOptions const&) + 152
14  dyld                          	    0x7ff8067c4316 dyld4::prepare(dyld4::APIs&, mach_o::UnsafeHeader const*) + 1220
15  dyld                          	    0x7ff8067c3e40 dyld4::start(dyld4::KernelArgs*, void*, void*, unsigned long long)::$_0::operator()() const + 284
16  dyld                          	    0x7ff8067c3ac6 start + 3142


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x6d00f30336820063  rbx: 0x00007ff7b5c90700  rcx: 0x00000000feffffff  rdx: 0x00007ff7b5c90078
  rdi: 0x000000010b5a3000  rsi: 0x000000000071e800  rbp: 0x00007ff7b5c8fdc0  rsp: 0x00007ff7b5c8fdc0
   r8: 0x000000000071e800   r9: 0x000000010a26dde0  r10: 0x00007ff7b5c90200  r11: 0x0000000000000000
  r12: 0x0000000000000000  r13: 0x00007ff7b5c90078  r14: 0x00007ff7b5c900c8  r15: 0x000000000071e800
  rip: 0x00007ff80682d1e7  rfl: 0x0000000000010212  cr2: 0x000000010b5a3000
  
Logical CPU:     0
Error Code:      0x00000004 (no mapping for user data read)
Trap Number:     14


Binary Images:
       0x10a26d000 -        0x10a56cfff Vim (*) <963d1a0e-283e-3321-bf41-444730bbc22b> /usr/local/Cellar/macvim/9.2.0321/MacVim.app/Contents/MacOS/Vim
    0x7ff8067b1000 -     0x7ff80684e8ef dyld (*) <7dab2bc9-2bd6-3721-8680-26122c6adb45> /usr/lib/dyld
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???

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: 1
    thread_create: 0
    thread_set_state: 33

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

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
STACK GUARD                       56.0M        1 
Stack                             8192K        1 
VM_ALLOCATE (reserved)             480K        2         reserved VM address space (unallocated)
__DATA                             421K        3 
__DATA_CONST                       111K        2 
__DATA_DIRTY                        14K        1 
__LINKEDIT                       154.2M        2 
__TEXT                            3704K        2 
__TPRO_CONST                          8        1 
mapped file                       15.6M       10 
shared memory                        8K        2 
===========                     =======  ======= 
TOTAL                            238.4M       27 
TOTAL, minus reserved VM space   237.9M       27 


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

{"app_name":"Vim","timestamp":"2026-07-19 00:33:10.00 +1000","app_version":"","slice_uuid":"963d1a0e-283e-3321-bf41-444730bbc22b","build_version":"","platform":1,"share_with_app_devs":1,"is_first_party":1,"bug_type":"309","os_version":"macOS 26.5.2 (25F84)","roots_installed":0,"incident_id":"50D6CDF7-C19C-4B90-83BA-CECDA3A20F3F","name":"Vim"}
{
  "uptime" : 3300,
  "procRole" : "Unspecified",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro16,2",
  "coalitionID" : 993,
  "osVersion" : {
    "train" : "macOS 26.5.2",
    "build" : "25F84",
    "releaseType" : "User"
  },
  "captureTime" : "2026-07-19 00:33:10.3869 +1000",
  "codeSigningMonitor" : 0,
  "incident" : "50D6CDF7-C19C-4B90-83BA-CECDA3A20F3F",
  "pid" : 8059,
  "cpuType" : "X86-64",
  "procLaunch" : "2026-07-19 00:33:10.3593 +1000",
  "procStartAbsTime" : 3350680424751,
  "procExitAbsTime" : 3350706776950,
  "procName" : "Vim",
  "procPath" : "\/usr\/local\/Cellar\/macvim\/9.2.0321\/MacVim.app\/Contents\/MacOS\/Vim",
  "parentProc" : "zsh",
  "parentPid" : 7406,
  "coalitionName" : "com.apple.Terminal",
  "crashReporterKey" : "9F4EB25E-6E8F-07D8-633E-E20D7F8DD238",
  "appleIntelligenceStatus" : {"reasons":["deviceNotCapable"],"state":"unavailable"},
  "developerMode" : 1,
  "responsiblePid" : 7404,
  "responsibleProc" : "Terminal",
  "codeSigningID" : "Vim-55554944963d1a0e283e3321bf41444730bbc22b",
  "codeSigningTeamID" : "",
  "codeSigningFlags" : 587268865,
  "codeSigningValidationCategory" : 10,
  "codeSigningTrustLevel" : 4294967295,
  "codeSigningAuxiliaryInfo" : 0,
  "bootSessionUUID" : "B410B9D4-9F53-4C0A-94F4-F1389A5A0924",
  "bridgeVersion" : {"build":"23P5067","train":"10.5"},
  "sip" : "enabled",
  "vmRegionInfo" : "0x10b5a3000 is in 0x10b5a3000-0x10bcc2000;  bytes after start: 0  bytes before end: 7467007\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      mapped file                 10b525000-10b5a3000    [  504K] r--\/rwx SM=COW  Object_id=609f497a\n--->  mapped file                 10b5a3000-10bcc2000    [ 7292K] r--\/rwx SM=COW  Object_id=8d8e73bb\n      GAP OF 0xbf18000 BYTES\n      commpage (reserved)         117bda000-117cfa000    [ 1152K] ---\/--- SM=NUL  reserved VM address space (unallocated)",
  "exception" : {"codes":"0x0000000000000032, 0x000000010b5a3000","rawCodes":[50,4485427200],"type":"EXC_BAD_ACCESS","signal":"SIGKILL (Code Signature Invalid)","subtype":"UNKNOWN_0x32 at 0x000000010b5a3000"},
  "termination" : {"flags":0,"code":2,"namespace":"CODESIGNING","indicator":"Invalid Page"},
  "vmregioninfo" : "0x10b5a3000 is in 0x10b5a3000-0x10bcc2000;  bytes after start: 0  bytes before end: 7467007\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      mapped file                 10b525000-10b5a3000    [  504K] r--\/rwx SM=COW  Object_id=609f497a\n--->  mapped file                 10b5a3000-10bcc2000    [ 7292K] r--\/rwx SM=COW  Object_id=8d8e73bb\n      GAP OF 0xbf18000 BYTES\n      commpage (reserved)         117bda000-117cfa000    [ 1152K] ---\/--- SM=NUL  reserved VM address space (unallocated)",
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":33,"task_for_pid":1},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":65480,"instructionState":{"instructionStream":{"bytes":[192,93,195,85,72,137,229,139,71,4,59,5,73,221,0,0,15,150,192,93,195,85,72,137,229,139,71,4,59,5,47,221,0,0,15,150,192,93,195,0,0,0,0,0,0,0,0,0,0,0,0,85,72,137,229,72,137,55,72,1,242,72,137,87,8,141,4,141,4,0,0,0,137,71,16,93,195,85,72,137,229,72,131,254,8,115,4,49,192,235,19,185,255,255,255,254,35,15,49,192,129,249,202,254,186,190,72,15,68,199,93,195,144,85,72,137,229,65,87,65,86,65,85,65,84,83,72,129,236,152,2,0,0,72,137,251,72,141,5,242,29,161,64,72,139,0,72,137,69,208,139,62,137,248,13,0,0,0,1,61,202,254,186,191,117,34,129,255,202,254,186,191,184,40,0,0,0,185,28,0,0,0,72,15,68,200,72,57,202,115,67,72],"offset":96}},"threadState":{"r13":{"value":140701883498616},"rax":{"value":7854544945259085923},"rflags":{"value":66066},"cpu":{"value":0},"r14":{"value":140701883498696},"rsi":{"value":7464960},"r8":{"value":7464960},"cr2":{"value":4485427200},"rdx":{"value":140701883498616},"r10":{"value":140701883499008},"r9":{"value":4465286624},"r15":{"value":7464960},"rbx":{"value":140701883500288},"trap":{"value":14,"description":"(no mapping for user data read)"},"err":{"value":4},"r11":{"value":0},"rip":{"value":140703237853671,"matchesCrashFrame":1},"rbp":{"value":140701883497920},"rsp":{"value":140701883497920},"r12":{"value":0},"rcx":{"value":4278190079},"flavor":"x86_THREAD_STATE","rdi":{"value":4485427200}},"frames":[{"imageOffset":508391,"symbol":"mach_o::Universal::isUniversal(std::__1::span<unsigned char const, 18446744073709551615ul>)","symbolLocation":19,"imageIndex":1},{"imageOffset":281169,"symbol":"dyld3::MachOFile::compatibleSlice(Diagnostics&, unsigned long long&, unsigned long long&, void const*, unsigned long, char const*, mach_o::Platform, bool, mach_o::GradedArchitectures const&, bool)","symbolLocation":71,"imageIndex":1},{"imageOffset":174730,"symbol":"dyld4::JustInTimeLoader::makeJustInTimeLoaderDisk(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&, bool, unsigned int, mach_o::Layout const*)","symbolLocation":322,"imageIndex":1},{"imageOffset":181373,"symbol":"dyld4::Loader::makeDiskLoader(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&, bool, unsigned int, mach_o::Layout const*)","symbolLocation":149,"imageIndex":1},{"imageOffset":188542,"symbol":"invocation function for block in dyld4::Loader::getLoader(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&)","symbolLocation":3303,"imageIndex":1},{"imageOffset":183147,"symbol":"dyld4::Loader::forEachResolvedAtPathVar(dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&, dyld4::ProcessConfig::PathOverrides::Type, bool&, void (char const*, dyld4::ProcessConfig::PathOverrides::Type, bool&) block_pointer)","symbolLocation":809,"imageIndex":1},{"imageOffset":90146,"symbol":"dyld4::ProcessConfig::PathOverrides::forEachPathVariant(char const*, mach_o::Platform, bool, bool, bool&, void (char const*, dyld4::ProcessConfig::PathOverrides::Type, bool&) block_pointer) const","symbolLocation":1356,"imageIndex":1},{"imageOffset":181947,"symbol":"dyld4::Loader::forEachPath(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&, void (char const*, dyld4::ProcessConfig::PathOverrides::Type, bool&) block_pointer)","symbolLocation":267,"imageIndex":1},{"imageOffset":184123,"symbol":"dyld4::Loader::getLoader(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&)","symbolLocation":933,"imageIndex":1},{"imageOffset":166740,"symbol":"invocation function for block in dyld4::JustInTimeLoader::loadDependents(Diagnostics&, dyld4::RuntimeState&, dyld4::Loader::LoadOptions const&)","symbolLocation":547,"imageIndex":1},{"imageOffset":526757,"symbol":"invocation function for block in mach_o::UnsafeHeader::forEachLinkedDylib(void (char const*, mach_o::LinkedDylibAttributes, mach_o::Version32, mach_o::Version32, bool, bool&) block_pointer) const","symbolLocation":98,"imageIndex":1},{"imageOffset":519307,"symbol":"mach_o::UnsafeHeader::forEachLoadCommand(void (load_command const*, bool&) block_pointer) const","symbolLocation":191,"imageIndex":1},{"imageOffset":526209,"symbol":"mach_o::UnsafeHeader::forEachLinkedDylib(void (char const*, mach_o::LinkedDylibAttributes, mach_o::Version32, mach_o::Version32, bool, bool&) block_pointer) const","symbolLocation":171,"imageIndex":1},{"imageOffset":165910,"symbol":"dyld4::JustInTimeLoader::loadDependents(Diagnostics&, dyld4::RuntimeState&, dyld4::Loader::LoadOptions const&)","symbolLocation":152,"imageIndex":1},{"imageOffset":78614,"symbol":"dyld4::prepare(dyld4::APIs&, mach_o::UnsafeHeader const*)","symbolLocation":1220,"imageIndex":1},{"imageOffset":77376,"symbol":"dyld4::start(dyld4::KernelArgs*, void*, void*, unsigned long long)::$_0::operator()() const","symbolLocation":284,"imageIndex":1},{"imageOffset":76486,"symbol":"start","symbolLocation":3142,"imageIndex":1}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4465283072,
    "size" : 3145728,
    "uuid" : "963d1a0e-283e-3321-bf41-444730bbc22b",
    "path" : "\/usr\/local\/Cellar\/macvim\/9.2.0321\/MacVim.app\/Contents\/MacOS\/Vim",
    "name" : "Vim"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703237345280,
    "size" : 645360,
    "uuid" : "7dab2bc9-2bd6-3721-8680-26122c6adb45",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  }
],
  "sharedCache" : {
  "base" : 140703192739840,
  "size" : 30064771072,
  "uuid" : "7c732ba8-8d23-35b2-9900-285e39708302"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=157.8M resident=0K(0%) swapped_out_or_unallocated=157.8M(100%)\nWritable regions: Total=8748K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=8748K(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nSTACK GUARD                       56.0M        1 \nStack                             8192K        1 \nVM_ALLOCATE (reserved)             480K        2         reserved VM address space (unallocated)\n__DATA                             421K        3 \n__DATA_CONST                       111K        2 \n__DATA_DIRTY                        14K        1 \n__LINKEDIT                       154.2M        2 \n__TEXT                            3704K        2 \n__TPRO_CONST                          8        1 \nmapped file                       15.6M       10 \nshared memory                        8K        2 \n===========                     =======  ======= \nTOTAL                            238.4M       27 \nTOTAL, minus reserved VM space   237.9M       27 \n",
  "legacyInfo" : {
  "threadTriggered" : {

  }
},
  "logWritingSignature" : "75bd56e379f9f70181b005c96b401b15c2ff61b9",
  "roots_installed" : 0,
  "bug_type" : "309",
  "trmStatus" : 2105856,
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "6813dc6e1e50e5344eb573e9",
      "factorPackIds" : [

      ],
      "deploymentId" : 240000021
    },
    {
      "rolloutId" : "699d4a6bb3c59721f0815d4a",
      "factorPackIds" : [
        "6a1e847dfae8a60fe3d88f20",
        "6a1e847ffae8a60fe3d88f21",
        "6a1e847fe5700036461dd986",
        "6a1e848059a97e607a107573"
      ],
      "deploymentId" : 240000038
    }
  ],
  "experiments" : [

  ]
}
}

Expected behaviour

vim should show normally

Version of MacVim

9.2.0321

MacVim installation method

brew install macvim

Environment

macOS version: macOS Tahoe 26.5.2 (25F84)
Mac: MacBook Pro, 13-inch, 2020, Four Thunderbolt 3 ports
Processor: 2 GHz Quad-Core Intel Core i5
Terminal: Apple Terminal Version 2.15 (470.2)
Shell: zsh 5.9 (x86_64-apple-darwin25.0)

Logs and stack traces

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process:             Vim [8059]
Path:                /usr/local/Cellar/macvim/9.2.0321/MacVim.app/Contents/MacOS/Vim
Identifier:          Vim
Version:             ???
Code Type:           X86-64 (Native)
Role:                Unspecified
Parent Process:      zsh [7406]
Coalition:           com.apple.Terminal [993]
Responsible Process: Terminal [7404]
User ID:             501

Date/Time:           2026-07-19 00:33:10.3869 +1000
Launch Time:         2026-07-19 00:33:10.3593 +1000
Hardware Model:      MacBookPro16,2
OS Version:          macOS 26.5.2 (25F84)
Release Type:        User
Bridge OS Version:     10.5 (23P5067)

Crash Reporter Key:  9F4EB25E-6E8F-07D8-633E-E20D7F8DD238
Incident Identifier: 50D6CDF7-C19C-4B90-83BA-CECDA3A20F3F

Time Awake Since Boot: 3300 seconds

System Integrity Protection: enabled

Triggered by Thread: 0

Exception Type:    EXC_BAD_ACCESS (SIGKILL (Code Signature Invalid))
Exception Subtype: UNKNOWN_0x32 at 0x000000010b5a3000
Exception Codes:   0x0000000000000032, 0x000000010b5a3000

Termination Reason:  Namespace CODESIGNING, Code 2, Invalid Page


VM Region Info: 0x10b5a3000 is in 0x10b5a3000-0x10bcc2000;  bytes after start: 0  bytes before end: 7467007
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      mapped file                 10b525000-10b5a3000    [  504K] r--/rwx SM=COW  Object_id=609f497a
--->  mapped file                 10b5a3000-10bcc2000    [ 7292K] r--/rwx SM=COW  Object_id=8d8e73bb
      GAP OF 0xbf18000 BYTES
      commpage (reserved)         117bda000-117cfa000    [ 1152K] ---/--- SM=NUL  reserved VM address space (unallocated)

Thread 0 Crashed:
0   dyld                          	    0x7ff80682d1e7 mach_o::Universal::isUniversal(std::__1::span<unsigned char const, 18446744073709551615ul>) + 19
1   dyld                          	    0x7ff8067f5a51 dyld3::MachOFile::compatibleSlice(Diagnostics&, unsigned long long&, unsigned long long&, void const*, unsigned long, char const*, mach_o::Platform, bool, mach_o::GradedArchitectures const&, bool) + 71
2   dyld                          	    0x7ff8067dba8a dyld4::JustInTimeLoader::makeJustInTimeLoaderDisk(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&, bool, unsigned int, mach_o::Layout const*) + 322
3   dyld                          	    0x7ff8067dd47d dyld4::Loader::makeDiskLoader(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&, bool, unsigned int, mach_o::Layout const*) + 149
4   dyld                          	    0x7ff8067df07e invocation function for block in dyld4::Loader::getLoader(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&) + 3303
5   dyld                          	    0x7ff8067ddb6b dyld4::Loader::forEachResolvedAtPathVar(dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&, dyld4::ProcessConfig::PathOverrides::Type, bool&, void (char const*, dyld4::ProcessConfig::PathOverrides::Type, bool&) block_pointer) + 809
6   dyld                          	    0x7ff8067c7022 dyld4::ProcessConfig::PathOverrides::forEachPathVariant(char const*, mach_o::Platform, bool, bool, bool&, void (char const*, dyld4::ProcessConfig::PathOverrides::Type, bool&) block_pointer) const + 1356
7   dyld                          	    0x7ff8067dd6bb dyld4::Loader::forEachPath(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&, void (char const*, dyld4::ProcessConfig::PathOverrides::Type, bool&) block_pointer) + 267
8   dyld                          	    0x7ff8067ddf3b dyld4::Loader::getLoader(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&) + 933
9   dyld                          	    0x7ff8067d9b54 invocation function for block in dyld4::JustInTimeLoader::loadDependents(Diagnostics&, dyld4::RuntimeState&, dyld4::Loader::LoadOptions const&) + 547
10  dyld                          	    0x7ff8068319a5 invocation function for block in mach_o::UnsafeHeader::forEachLinkedDylib(void (char const*, mach_o::LinkedDylibAttributes, mach_o::Version32, mach_o::Version32, bool, bool&) block_pointer) const + 98
11  dyld                          	    0x7ff80682fc8b mach_o::UnsafeHeader::forEachLoadCommand(void (load_command const*, bool&) block_pointer) const + 191
12  dyld                          	    0x7ff806831781 mach_o::UnsafeHeader::forEachLinkedDylib(void (char const*, mach_o::LinkedDylibAttributes, mach_o::Version32, mach_o::Version32, bool, bool&) block_pointer) const + 171
13  dyld                          	    0x7ff8067d9816 dyld4::JustInTimeLoader::loadDependents(Diagnostics&, dyld4::RuntimeState&, dyld4::Loader::LoadOptions const&) + 152
14  dyld                          	    0x7ff8067c4316 dyld4::prepare(dyld4::APIs&, mach_o::UnsafeHeader const*) + 1220
15  dyld                          	    0x7ff8067c3e40 dyld4::start(dyld4::KernelArgs*, void*, void*, unsigned long long)::$_0::operator()() const + 284
16  dyld                          	    0x7ff8067c3ac6 start + 3142


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x6d00f30336820063  rbx: 0x00007ff7b5c90700  rcx: 0x00000000feffffff  rdx: 0x00007ff7b5c90078
  rdi: 0x000000010b5a3000  rsi: 0x000000000071e800  rbp: 0x00007ff7b5c8fdc0  rsp: 0x00007ff7b5c8fdc0
   r8: 0x000000000071e800   r9: 0x000000010a26dde0  r10: 0x00007ff7b5c90200  r11: 0x0000000000000000
  r12: 0x0000000000000000  r13: 0x00007ff7b5c90078  r14: 0x00007ff7b5c900c8  r15: 0x000000000071e800
  rip: 0x00007ff80682d1e7  rfl: 0x0000000000010212  cr2: 0x000000010b5a3000
  
Logical CPU:     0
Error Code:      0x00000004 (no mapping for user data read)
Trap Number:     14


Binary Images:
       0x10a26d000 -        0x10a56cfff Vim (*) <963d1a0e-283e-3321-bf41-444730bbc22b> /usr/local/Cellar/macvim/9.2.0321/MacVim.app/Contents/MacOS/Vim
    0x7ff8067b1000 -     0x7ff80684e8ef dyld (*) <7dab2bc9-2bd6-3721-8680-26122c6adb45> /usr/lib/dyld
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???

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: 1
    thread_create: 0
    thread_set_state: 33

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

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
STACK GUARD                       56.0M        1 
Stack                             8192K        1 
VM_ALLOCATE (reserved)             480K        2         reserved VM address space (unallocated)
__DATA                             421K        3 
__DATA_CONST                       111K        2 
__DATA_DIRTY                        14K        1 
__LINKEDIT                       154.2M        2 
__TEXT                            3704K        2 
__TPRO_CONST                          8        1 
mapped file                       15.6M       10 
shared memory                        8K        2 
===========                     =======  ======= 
TOTAL                            238.4M       27 
TOTAL, minus reserved VM space   237.9M       27 


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

{"app_name":"Vim","timestamp":"2026-07-19 00:33:10.00 +1000","app_version":"","slice_uuid":"963d1a0e-283e-3321-bf41-444730bbc22b","build_version":"","platform":1,"share_with_app_devs":1,"is_first_party":1,"bug_type":"309","os_version":"macOS 26.5.2 (25F84)","roots_installed":0,"incident_id":"50D6CDF7-C19C-4B90-83BA-CECDA3A20F3F","name":"Vim"}
{
  "uptime" : 3300,
  "procRole" : "Unspecified",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookPro16,2",
  "coalitionID" : 993,
  "osVersion" : {
    "train" : "macOS 26.5.2",
    "build" : "25F84",
    "releaseType" : "User"
  },
  "captureTime" : "2026-07-19 00:33:10.3869 +1000",
  "codeSigningMonitor" : 0,
  "incident" : "50D6CDF7-C19C-4B90-83BA-CECDA3A20F3F",
  "pid" : 8059,
  "cpuType" : "X86-64",
  "procLaunch" : "2026-07-19 00:33:10.3593 +1000",
  "procStartAbsTime" : 3350680424751,
  "procExitAbsTime" : 3350706776950,
  "procName" : "Vim",
  "procPath" : "\/usr\/local\/Cellar\/macvim\/9.2.0321\/MacVim.app\/Contents\/MacOS\/Vim",
  "parentProc" : "zsh",
  "parentPid" : 7406,
  "coalitionName" : "com.apple.Terminal",
  "crashReporterKey" : "9F4EB25E-6E8F-07D8-633E-E20D7F8DD238",
  "appleIntelligenceStatus" : {"reasons":["deviceNotCapable"],"state":"unavailable"},
  "developerMode" : 1,
  "responsiblePid" : 7404,
  "responsibleProc" : "Terminal",
  "codeSigningID" : "Vim-55554944963d1a0e283e3321bf41444730bbc22b",
  "codeSigningTeamID" : "",
  "codeSigningFlags" : 587268865,
  "codeSigningValidationCategory" : 10,
  "codeSigningTrustLevel" : 4294967295,
  "codeSigningAuxiliaryInfo" : 0,
  "bootSessionUUID" : "B410B9D4-9F53-4C0A-94F4-F1389A5A0924",
  "bridgeVersion" : {"build":"23P5067","train":"10.5"},
  "sip" : "enabled",
  "vmRegionInfo" : "0x10b5a3000 is in 0x10b5a3000-0x10bcc2000;  bytes after start: 0  bytes before end: 7467007\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      mapped file                 10b525000-10b5a3000    [  504K] r--\/rwx SM=COW  Object_id=609f497a\n--->  mapped file                 10b5a3000-10bcc2000    [ 7292K] r--\/rwx SM=COW  Object_id=8d8e73bb\n      GAP OF 0xbf18000 BYTES\n      commpage (reserved)         117bda000-117cfa000    [ 1152K] ---\/--- SM=NUL  reserved VM address space (unallocated)",
  "exception" : {"codes":"0x0000000000000032, 0x000000010b5a3000","rawCodes":[50,4485427200],"type":"EXC_BAD_ACCESS","signal":"SIGKILL (Code Signature Invalid)","subtype":"UNKNOWN_0x32 at 0x000000010b5a3000"},
  "termination" : {"flags":0,"code":2,"namespace":"CODESIGNING","indicator":"Invalid Page"},
  "vmregioninfo" : "0x10b5a3000 is in 0x10b5a3000-0x10bcc2000;  bytes after start: 0  bytes before end: 7467007\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      mapped file                 10b525000-10b5a3000    [  504K] r--\/rwx SM=COW  Object_id=609f497a\n--->  mapped file                 10b5a3000-10bcc2000    [ 7292K] r--\/rwx SM=COW  Object_id=8d8e73bb\n      GAP OF 0xbf18000 BYTES\n      commpage (reserved)         117bda000-117cfa000    [ 1152K] ---\/--- SM=NUL  reserved VM address space (unallocated)",
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":33,"task_for_pid":1},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":65480,"instructionState":{"instructionStream":{"bytes":[192,93,195,85,72,137,229,139,71,4,59,5,73,221,0,0,15,150,192,93,195,85,72,137,229,139,71,4,59,5,47,221,0,0,15,150,192,93,195,0,0,0,0,0,0,0,0,0,0,0,0,85,72,137,229,72,137,55,72,1,242,72,137,87,8,141,4,141,4,0,0,0,137,71,16,93,195,85,72,137,229,72,131,254,8,115,4,49,192,235,19,185,255,255,255,254,35,15,49,192,129,249,202,254,186,190,72,15,68,199,93,195,144,85,72,137,229,65,87,65,86,65,85,65,84,83,72,129,236,152,2,0,0,72,137,251,72,141,5,242,29,161,64,72,139,0,72,137,69,208,139,62,137,248,13,0,0,0,1,61,202,254,186,191,117,34,129,255,202,254,186,191,184,40,0,0,0,185,28,0,0,0,72,15,68,200,72,57,202,115,67,72],"offset":96}},"threadState":{"r13":{"value":140701883498616},"rax":{"value":7854544945259085923},"rflags":{"value":66066},"cpu":{"value":0},"r14":{"value":140701883498696},"rsi":{"value":7464960},"r8":{"value":7464960},"cr2":{"value":4485427200},"rdx":{"value":140701883498616},"r10":{"value":140701883499008},"r9":{"value":4465286624},"r15":{"value":7464960},"rbx":{"value":140701883500288},"trap":{"value":14,"description":"(no mapping for user data read)"},"err":{"value":4},"r11":{"value":0},"rip":{"value":140703237853671,"matchesCrashFrame":1},"rbp":{"value":140701883497920},"rsp":{"value":140701883497920},"r12":{"value":0},"rcx":{"value":4278190079},"flavor":"x86_THREAD_STATE","rdi":{"value":4485427200}},"frames":[{"imageOffset":508391,"symbol":"mach_o::Universal::isUniversal(std::__1::span<unsigned char const, 18446744073709551615ul>)","symbolLocation":19,"imageIndex":1},{"imageOffset":281169,"symbol":"dyld3::MachOFile::compatibleSlice(Diagnostics&, unsigned long long&, unsigned long long&, void const*, unsigned long, char const*, mach_o::Platform, bool, mach_o::GradedArchitectures const&, bool)","symbolLocation":71,"imageIndex":1},{"imageOffset":174730,"symbol":"dyld4::JustInTimeLoader::makeJustInTimeLoaderDisk(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&, bool, unsigned int, mach_o::Layout const*)","symbolLocation":322,"imageIndex":1},{"imageOffset":181373,"symbol":"dyld4::Loader::makeDiskLoader(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&, bool, unsigned int, mach_o::Layout const*)","symbolLocation":149,"imageIndex":1},{"imageOffset":188542,"symbol":"invocation function for block in dyld4::Loader::getLoader(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&)","symbolLocation":3303,"imageIndex":1},{"imageOffset":183147,"symbol":"dyld4::Loader::forEachResolvedAtPathVar(dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&, dyld4::ProcessConfig::PathOverrides::Type, bool&, void (char const*, dyld4::ProcessConfig::PathOverrides::Type, bool&) block_pointer)","symbolLocation":809,"imageIndex":1},{"imageOffset":90146,"symbol":"dyld4::ProcessConfig::PathOverrides::forEachPathVariant(char const*, mach_o::Platform, bool, bool, bool&, void (char const*, dyld4::ProcessConfig::PathOverrides::Type, bool&) block_pointer) const","symbolLocation":1356,"imageIndex":1},{"imageOffset":181947,"symbol":"dyld4::Loader::forEachPath(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&, void (char const*, dyld4::ProcessConfig::PathOverrides::Type, bool&) block_pointer)","symbolLocation":267,"imageIndex":1},{"imageOffset":184123,"symbol":"dyld4::Loader::getLoader(Diagnostics&, dyld4::RuntimeState&, char const*, dyld4::Loader::LoadOptions const&)","symbolLocation":933,"imageIndex":1},{"imageOffset":166740,"symbol":"invocation function for block in dyld4::JustInTimeLoader::loadDependents(Diagnostics&, dyld4::RuntimeState&, dyld4::Loader::LoadOptions const&)","symbolLocation":547,"imageIndex":1},{"imageOffset":526757,"symbol":"invocation function for block in mach_o::UnsafeHeader::forEachLinkedDylib(void (char const*, mach_o::LinkedDylibAttributes, mach_o::Version32, mach_o::Version32, bool, bool&) block_pointer) const","symbolLocation":98,"imageIndex":1},{"imageOffset":519307,"symbol":"mach_o::UnsafeHeader::forEachLoadCommand(void (load_command const*, bool&) block_pointer) const","symbolLocation":191,"imageIndex":1},{"imageOffset":526209,"symbol":"mach_o::UnsafeHeader::forEachLinkedDylib(void (char const*, mach_o::LinkedDylibAttributes, mach_o::Version32, mach_o::Version32, bool, bool&) block_pointer) const","symbolLocation":171,"imageIndex":1},{"imageOffset":165910,"symbol":"dyld4::JustInTimeLoader::loadDependents(Diagnostics&, dyld4::RuntimeState&, dyld4::Loader::LoadOptions const&)","symbolLocation":152,"imageIndex":1},{"imageOffset":78614,"symbol":"dyld4::prepare(dyld4::APIs&, mach_o::UnsafeHeader const*)","symbolLocation":1220,"imageIndex":1},{"imageOffset":77376,"symbol":"dyld4::start(dyld4::KernelArgs*, void*, void*, unsigned long long)::$_0::operator()() const","symbolLocation":284,"imageIndex":1},{"imageOffset":76486,"symbol":"start","symbolLocation":3142,"imageIndex":1}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 4465283072,
    "size" : 3145728,
    "uuid" : "963d1a0e-283e-3321-bf41-444730bbc22b",
    "path" : "\/usr\/local\/Cellar\/macvim\/9.2.0321\/MacVim.app\/Contents\/MacOS\/Vim",
    "name" : "Vim"
  },
  {
    "source" : "P",
    "arch" : "x86_64",
    "base" : 140703237345280,
    "size" : 645360,
    "uuid" : "7dab2bc9-2bd6-3721-8680-26122c6adb45",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  }
],
  "sharedCache" : {
  "base" : 140703192739840,
  "size" : 30064771072,
  "uuid" : "7c732ba8-8d23-35b2-9900-285e39708302"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=157.8M resident=0K(0%) swapped_out_or_unallocated=157.8M(100%)\nWritable regions: Total=8748K written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=8748K(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nSTACK GUARD                       56.0M        1 \nStack                             8192K        1 \nVM_ALLOCATE (reserved)             480K        2         reserved VM address space (unallocated)\n__DATA                             421K        3 \n__DATA_CONST                       111K        2 \n__DATA_DIRTY                        14K        1 \n__LINKEDIT                       154.2M        2 \n__TEXT                            3704K        2 \n__TPRO_CONST                          8        1 \nmapped file                       15.6M       10 \nshared memory                        8K        2 \n===========                     =======  ======= \nTOTAL                            238.4M       27 \nTOTAL, minus reserved VM space   237.9M       27 \n",
  "legacyInfo" : {
  "threadTriggered" : {

  }
},
  "logWritingSignature" : "75bd56e379f9f70181b005c96b401b15c2ff61b9",
  "roots_installed" : 0,
  "bug_type" : "309",
  "trmStatus" : 2105856,
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "6813dc6e1e50e5344eb573e9",
      "factorPackIds" : [

      ],
      "deploymentId" : 240000021
    },
    {
      "rolloutId" : "699d4a6bb3c59721f0815d4a",
      "factorPackIds" : [
        "6a1e847dfae8a60fe3d88f20",
        "6a1e847ffae8a60fe3d88f21",
        "6a1e847fe5700036461dd986",
        "6a1e848059a97e607a107573"
      ],
      "deploymentId" : 240000038
    }
  ],
  "experiments" : [

  ]
}
}

Vim and MacVim configuration where issue is reproducable

There is no vimrc or whatever settings. It is fresh installation, without any manual configuration.

How was MacVim launched?

  • by launching MacVim.app in macOS (by using the Dock, Spotlight, or the open command)
  • by running mvim/gvim in the terminal

Issue has been tested with clean configuration

  • by running mvim --clean (or gvim, supplied by MacVim distribution). You can also use the File → "New Clean Window" menu item within MacVim.
  • by running vim --clean (in terminal, supplied by MacVim distribution)
  • by running vim --clean (in terminal, other suppliers, e.g. /usr/bin/vim)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions