With latest Beta version macOS Ventura 13.1 - build 22C5033e, we see crashes of /bin/sh, with termination reason CODESIGNING 4 Launch Constraint Violation, and Coalition: com.protection.agent.boot
That com.protection.agent.boot is the one we use to run our processes on boot of the computer.
This is the first time we see this. With previous versions of macOS Ventura, it worked perfectly fine.
Any help is appreciated.
I attach the crashes, just in case they help.
Translated Report (Full Report Below)
Incident Identifier: 2A4A3954-27A3-4E36-A5A8-F76C8B91CAB2
CrashReporter Key: 5FAD36CD-4264-FA3F-6E57-875BCEBABE11
Hardware Model: MacBookPro17,1
Process: sh [810]
Path: /bin/sh
Identifier: sh
Version: ???
Code Type: ARM-64 (Native)
Role: Unspecified
Parent Process: launchd [1]
Coalition: com.protection.agent.boot [519]
Date/Time: 2022-10-28 09:06:33.2164 +0200
Launch Time: 2022-10-28 09:06:33.1059 +0200
OS Version: macOS 13.1 (22C5033e)
Release Type: User
Report Version: 104
Exception Type: EXC_CRASH (SIGKILL (Code Signature Invalid))
Exception Codes: 0x0000000000000000, 0x0000000000000000
Termination Reason: CODESIGNING 4 Launch Constraint Violation
Highlighted by Thread: 0
Backtrace not available
No thread state (register information) available
Binary Images:
Binary images description not available
Error Formulating Crash Report:
dyld_process_info_create failed with 30
dyld_process_snapshot_get_shared_cache failed
Failed to create CSSymbolicatorRef - corpse still valid ¯_(ツ)/¯
thread_get_state(PAGEIN) returned 0x10000003: (ipc/send) invalid destination port
thread_get_state(EXCEPTION) returned 0x10000003: (ipc/send) invalid destination port
thread_get_state(FLAVOR) returned 0x10000003: (ipc/send) invalid destination port
EOF
Full Report
{"app_name":"sh","timestamp":"2022-10-28 09:06:37.00
+0200","app_version":"","slice_uuid":"6c973e14-3278-3a41-a3f5-42cdebe8604c","build_version":"","platform":0,"share_with_app_devs":1,"is_first_party":1,"bug_type":"309","os_version":"macOS
13.1 (22C5033e)","roots_installed":0,"incident_id":"2A4A3954-27A3-4E36-A5A8-F76C8B91CAB2","name":"sh"}
{
"uptime" : 62,
"procRole" : "Unspecified",
"version" : 2,
"userID" : 0,
"deployVersion" : 210,
"modelCode" : "MacBookPro17,1",
"coalitionID" : 519,
"osVersion" : {
"train" : "macOS 13.1",
"build" : "22C5033e",
"releaseType" : "User"
},
"captureTime" : "2022-10-28 09:06:33.2164 +0200",
"incident" : "2A4A3954-27A3-4E36-A5A8-F76C8B91CAB2",
"pid" : 810,
"translated" : false,
"cpuType" : "ARM-64",
"roots_installed" : 0,
"bug_type" : "309",
"procLaunch" : "2022-10-28 09:06:33.1059 +0200",
"procStartAbsTime" : 1486771855,
"procExitAbsTime" : 1487993450,
"procName" : "sh",
"procPath" : "/bin/sh",
"parentProc" : "launchd",
"parentPid" : 1,
"coalitionName" : "com.protection.agent.boot",
"crashReporterKey" : "5FAD36CD-4264-FA3F-6E57-875BCEBABE11",
"sip" : "enabled",
"exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGKILL (Code Signature Invalid)"},
"termination" : {"flags":66,"code":4,"namespace":"CODESIGNING","indicator":"Launch Constraint Violation"},
"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},
"legacyInfo" : {
"threadHighlighted" : 0
},
"reportNotes" : [
"dyld_process_info_create failed with 30",
"dyld_process_snapshot_get_shared_cache failed",
"Failed to create CSSymbolicatorRef - corpse still valid ¯\(ツ)_/¯",
"thread_get_state(PAGEIN) returned 0x10000003: (ipc/send) invalid destination port",
"thread_get_state(EXCEPTION) returned 0x10000003: (ipc/send) invalid destination port",
"thread_get_state(FLAVOR) returned 0x10000003: (ipc/send) invalid destination port"
]
}