AltStore
AltStore copied to clipboard
AltXPC keeps getting killed: Code Signature Invalid
During installation of AltStore/any app via AltStore, the AltServer host gets crashes of AltXPC, usually twice. Most of the time, the installation itself works fine though. All crashes have the same error report:
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Incident Identifier: <uuid>
CrashReporter Key: BFA543AB-B96E-6302-D012-CBD12A2B7D70
Hardware Model: iMac20,2
Process: AltXPC [11606]
Path: /Applications/AltServer.app/Contents/XPCServices/AltXPC.xpc/Contents/MacOS/AltXPC
Identifier: com.rileytestut.AltXPC
Version: 1.0 (1)
Code Type: X86-64 (Native)
Role: Unspecified
Parent Process: launchd [1]
Coalition: com.rileytestut.AltServer [849]
Responsible Process: AltServer [781]
Date/Time: <timestamp>
Launch Time: <timestamp>
OS Version: macOS 12.3.1 (21E258)
Release Type: User
Report Version: 104
Exception Type: EXC_CRASH (SIGKILL (Code Signature Invalid))
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: CODESIGNING 1
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 6
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":"AltXPC","timestamp":"<timestamp>","app_version":"1.0","slice_uuid":"ff97ae08-7dda-30b8-86c5-28b29cbdfc4b","build_version":"1","platform":0,"bundleID":"com.rileytestut.AltXPC","share_with_app_devs":1,"is_first_party":1,"bug_type":"309","os_version":"macOS 12.3.1 (21E258)","incident_id":"<uuid>","name":"AltXPC"}
{
"uptime" : 37000,
"procLaunch" : "<timestamp>",
"procRole" : "Unspecified",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "iMac20,2",
"procStartAbsTime" : 37582152632606,
"coalitionID" : 849,
"osVersion" : {
"train" : "macOS 12.3.1",
"build" : "21E258",
"releaseType" : "User"
},
"captureTime" : "<timestamp>",
"incident" : "<uuid>",
"bug_type" : "309",
"pid" : 11606,
"procExitAbsTime" : 37582175967884,
"cpuType" : "X86-64",
"procName" : "AltXPC",
"procPath" : "\/Applications\/AltServer.app\/Contents\/XPCServices\/AltXPC.xpc\/Contents\/MacOS\/AltXPC",
"bundleInfo" : {"CFBundleShortVersionString":"1.0","CFBundleVersion":"1","CFBundleIdentifier":"com.rileytestut.AltXPC"},
"parentProc" : "launchd",
"parentPid" : 1,
"coalitionName" : "com.rileytestut.AltServer",
"crashReporterKey" : "BFA543AB-B96E-6302-D012-CBD12A2B7D70",
"responsiblePid" : 781,
"responsibleProc" : "AltServer",
"wakeTime" : 4697,
"bridgeVersion" : {"build":"19P4243","train":"6.4"},
"sleepWakeUUID" : "A3131C87-A0F2-4C38-A381-FAD2503F4732",
"sip" : "enabled",
"isCorpse" : 1,
"exception" : {"codes":"0x0000000000000000, 0x0000000000000000","rawCodes":[0,0],"type":"EXC_CRASH","signal":"SIGKILL (Code Signature Invalid)"},
"termination" : {"namespace":"CODESIGNING","flags":66,"code":1},
"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
},
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "5ffde50ce2aacd000d47a95f",
"factorPackIds" : {
},
"deploymentId" : 240000149
},
{
"rolloutId" : "60da5e84ab0ca017dace9abf",
"factorPackIds" : {
},
"deploymentId" : 240000008
}
],
"experiments" : [
]
},
"reportNotes" : [
"_dyld_process_info_create failed with 6",
"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"
]
}
Output of codesign -vvv AltXPC
and codesign -d --entitlements :- …
:
/Applications/AltServer.app/Contents/XPCServices/AltXPC.xpc/Contents/MacOS/AltXPC: valid on disk
/Applications/AltServer.app/Contents/XPCServices/AltXPC.xpc/Contents/MacOS/AltXPC: satisfies its Designated Requirement
Executable=/Applications/AltServer.app/Contents/XPCServices/AltXPC.xpc/Contents/MacOS/AltXPC
Identifier=com.rileytestut.AltXPC
Format=bundle with Mach-O universal (x86_64 arm64)
CodeDirectory v=20500 size=802 flags=0x10000(runtime) hashes=14+7 location=embedded
Hash type=sha256 size=32
CandidateCDHash sha256=8ee3bef46867ecc03da4bc4cea8076ffedf3f2d5
CandidateCDHashFull sha256=8ee3bef46867ecc03da4bc4cea8076ffedf3f2d529ee24330386f94aa10f1d89
Hash choices=sha256
CMSDigest=8ee3bef46867ecc03da4bc4cea8076ffedf3f2d529ee24330386f94aa10f1d89
CMSDigestType=2
CDHash=8ee3bef46867ecc03da4bc4cea8076ffedf3f2d5
Signature size=8977
Authority=Developer ID Application: Yvette Testut (6XVY5G3U44)
Authority=Developer ID Certification Authority
Authority=Apple Root CA
Timestamp=21. Apr 2022 at 01:21:00
Info.plist entries=22
TeamIdentifier=6XVY5G3U44
Runtime Version=12.3.0
Sealed Resources version=2 rules=13 files=1
Internal requirements count=1 size=216
Warning: Specifying ':' in the path is deprecated and will not work in a future release
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "https://www.apple.com/DTDs/PropertyList-1.0.dtd"><plist version="1.0"><dict><key>com.apple.application-identifier</key><string>6XVY5G3U44.com.rileytestut.AltXPC</string><key>com.apple.authkit.client.internal</key><true/><key>com.apple.developer.team-identifier</key><string>6XVY5G3U44</string></dict></plist>
Output of spctl -a -v AltXPC
and spctl --raw …
:
/Applications/AltServer.app/Contents/XPCServices/AltXPC.xpc/Contents/MacOS/AltXPC: rejected (the code is valid but does not seem to be an app)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>assessment:authority</key>
<dict>
<key>assessment:authority:flags</key>
<integer>0</integer>
<key>assessment:authority:source</key>
<string>obsolete resource envelope</string>
<key>assessment:authority:weak</key>
<true/>
</dict>
<key>assessment:cserror</key>
<integer>-67002</integer>
<key>assessment:remote</key>
<true/>
<key>assessment:verdict</key>
<false/>
</dict>
</plist>
The AltStore connecting here was just installed with the same AltServer process (it installed fine despite AltXPC crashing twice).
I have this issue as well but it crashes non-stop.
I have the same problem, some more info from the Console
default 13:00:16.745091+0200 taskgated-helper Checking profile: XC OSX: com.rileytestut.AltXPC
error 13:00:16.745381+0200 taskgated-helper com.rileytestut.AltXPC: Unsatisfied entitlements: com.apple.authkit.client.internal
error 13:00:16.745414+0200 taskgated-helper Disallowing: com.rileytestut.AltXPC
default 13:00:16.746753+0200 amfid /Applications/AltServer.app/Contents/XPCServices/AltXPC.xpc/Contents/MacOS/AltXPC signature not valid: -67671
default 13:00:16.746885+0200 kernel mac_vnode_check_signature: /Applications/AltServer.app/Contents/XPCServices/AltXPC.xpc/Contents/MacOS/AltXPC: code signature validation failed fatally: When validating /Applications/AltServer.app/Contents/XPCServices/AltXPC.xpc/Contents/MacOS/AltXPC:
Code has restricted entitlements, but the validation of its code signature failed.
Unsatisfied Entitlements:
@bloerwald I found the problem for my issue, maybe it's the same as yours: I had to go to https://developer.apple.com/account/ and accept the latest T&C update from Apple
Also, the way I found out about it might be useful for you too, I used https://sideloadly.io/, which surfaced the issue in the log on its window.
I have heard some reports of this with accepting the new T&C being the solution. Going to close this out unless further issues are persisting
@cprecioso how do I agree to the T&C, nothing like a tick box or whatever shows up on my account page but I'm still getting crashes