fileproviderctl crashing every time

Crash in fileproviderctl

Invoking fileproviderctl from the Terminal.app results in crash.

ot@wpg-img-mbp bin % fileproviderctl --help
zsh: killed     fileproviderctl --help

Checked the Device log for more details, and found this,

default	10:35:47.810676+0530	kernel	mac_vnode_check_signature: /usr/bin/fileproviderctl: code signature validation failed fatally: When validating /usr/bin/fileproviderctl:
  dynamic: com.apple.fileproviderctl disallowed without com.apple.private.amfi.version-restriction entitlement
default	10:35:47.810733+0530	kernel	proc 58397: load code signature error 4 for file "fileproviderctl"
default	10:35:47.811297+0530	kernel	ASP: Security policy would not allow process: 58397, /usr/bin/fileproviderctl
default	10:35:47.811420+0530	kernel	fileproviderctl[58397] Corpse allowed 1 of 5
default	10:35:47.828366+0530	ReportCrash	Formulating fatal 309 report for corpse[58397] fileproviderctl
default	10:35:47.838691+0530	osanalyticshelper	creating type 309 as /Users/ot/Library/Logs/DiagnosticReports/.fileproviderctl-2023-09-14-103547.ips
default	10:35:47.852670+0530	osanalyticshelper	Saved type '309(<private>)' report (25 of max 25) at /Users/ot/Library/Logs/DiagnosticReports/fileproviderctl-2023-09-14-103547.ips
default	10:35:47.853184+0530	ReportCrash	client log create type 309 result success: /Users/ot/Library/Logs/DiagnosticReports/fileproviderctl-2023-09-14-103547.ips
default	10:35:47.853323+0530	ReportCrash	no MetricKit for process fileproviderctl type 309 bundleId (null)
default	10:35:47.852983+0530	osanalyticshelper	xpc log creation type 309 result success: /Users/ot/Library/Logs/DiagnosticReports/fileproviderctl-2023-09-14-103547.ips

And also found the fileproviderctl in the Crash DiagosticsReports, looks like a codesigning issue. I'm not sure how I got into this issue, but I need this to be fixed. Any help is appreciated!

Added the Crash Report and Device Information below,

Crash Report of fileproviderctl

Device Information

Same issue here. 13.6, MacBook Air M2 2022

console screenshot

Just adding that I copied the /usr/bin/fileproviderctl binary from a working 13.5.2 system, and tried running it. It crashes in the same way. So whatever bug exists here, doesn't appear to be with fileproviderctl itself, but rather with AMFI or some other security clusterf*ck.

I guess we're done with Ventura anyway, bring on Sonoma this Tuesday with whatever new bugs they've cooked up for us...

I filed FB13213573 on this behavior. It reproduces on 13.6 (22G120) and 12.7 (21G816).

fileproviderctl crashing every time
 
 
Q