Hello, I'm experiencing this same problem on M1 / Monterey: ZSH killed my simple command line tool which is a basic Swift Package so there's no Xcode project file or Code Signing involved. Btw, this same tool worked before I rebuilt & redeployed it, then it just stopped working.
Any help is welcome, here's the Crash Report:
{"app_name":"ae","timestamp":"2022-06-16 13:11:24.00 +0200","app_version":"","slice_uuid":"1e8b1239-2796-3704-a58b-343506260792","build_version":"","platform":0,"share_with_app_devs":1,"is_first_party":1,"bug_type":"309","os_version":"macOS 12.3.1 (21E258)","incident_id":"C1A590B8-70FA-4780-A849-B9F879CCDCE1","name":"ae"}
{
"uptime" : 1100000,
"procLaunch" : "2022-06-16 13:11:19.7482 +0200",
"procRole" : "Unspecified",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "MacBookPro18,3",
"procStartAbsTime" : 27067662201860,
"coalitionID" : 167059,
"osVersion" : {
"train" : "macOS 12.3.1",
"build" : "21E258",
"releaseType" : "User"
},
"captureTime" : "2022-06-16 13:11:19.7548 +0200",
"incident" : "C1A590B8-70FA-4780-A849-B9F879CCDCE1",
"bug_type" : "309",
"pid" : 86517,
"procExitAbsTime" : 27067662347253,
"translated" : false,
"cpuType" : "ARM-64",
"procName" : "ae",
"procPath" : "\/usr\/local\/bin\/ae",
"parentProc" : "zsh",
"parentPid" : 85668,
"coalitionName" : "com.apple.Terminal",
"crashReporterKey" : "6A3F5130-25F6-E566-AB97-36204E3C3BF1",
"responsiblePid" : 85664,
"responsibleProc" : "Terminal",
"wakeTime" : 10423,
"sleepWakeUUID" : "1B323A9F-8A6B-4888-B901-AB8203ACCF5A",
"sip" : "enabled",
"vmRegionInfo" : "0x104300000 is in 0x104300000-0x10431c000; bytes after start: 0 bytes before end: 114687\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> mapped file 104300000-10431c000 [ 112K] r-x\/r-x SM=COW ...t_id=1b04b8bb\n mapped file 10431c000-104320000 [ 16K] rw-\/rw- SM=COW ...t_id=1b04b8bb",
"isCorpse" : 1,
"exception" : {"codes":"0x0000000000000032, 0x0000000104300000","rawCodes":[50,4365221888],"type":"EXC_BAD_ACCESS","signal":"SIGKILL (Code Signature Invalid)","subtype":"UNKNOWN_0x32 at 0x0000000104300000"},
"termination" : {"namespace":"CODESIGNING","flags":0,"code":2},
"vmregioninfo" : "0x104300000 is in 0x104300000-0x10431c000; bytes after start: 0 bytes before end: 114687\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> mapped file 104300000-10431c000 [ 112K] r-x\/r-x SM=COW ...t_id=1b04b8bb\n mapped file 10431c000-104320000 [ 16K] rw-\/rw- SM=COW ...t_id=1b04b8bb",
"extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":99031,"task_for_pid":584},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
"usedImages" : [
{
"size" : 0,
"source" : "A",
"base" : 0,
"uuid" : "00000000-0000-0000-0000-000000000000"
}
],
"legacyInfo" : {
"threadHighlighted" : 0
},
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "5fc94383418129005b4e9ae0",
"factorPackIds" : {
},
"deploymentId" : 240000370
},
{
"rolloutId" : "61af99aeda72d16a4beb7756",
"factorPackIds" : {
},
"deploymentId" : 240000213
}
],
"experiments" : [
]
},
"reportNotes" : [
"_dyld_process_info_create failed with 6",
"dyld_process_snapshot_get_shared_cache failed",
"Failed to create CSSymbolicatorRef - corpse still valid ¯\\_(ツ)_\/¯"
]
}