CoreServicesUIAgent unresponsive while removing large app from quarantine

Originator:thomas
Number:rdar://24511833 Date Originated:04-Feb-2016 05:11 PM
Status:Open Resolved:
Product:OS X Product Version:Mac OS X 10.11.3 (15D21)
Classification:Crash/Hang/Data Loss Reproducible:Always
 
Summary:
When you download a large app (like the latest xcode beta) from the internet, CoreServicesUIAgent is unresponsive while removing the quarantine flag from the file.

Steps to Reproduce:
- Download latest xcode beta, move to /Applications
- Start the app. Wait for Gatekeeper Check to finish
- Confirm that you want to open the app


Expected Results:
CoreServicesUIAgent does not hang, either it should show some indication that it’s removing the app from quarantine or that process should just be faster

Actual Results:
It takes several minutes for the app to removed from quarantine, CoreServicesUIAgent beachballs.

Notes:
LOTS of logs like 

2016-02-04 5:06:07.828 pm CoreServicesUIAgent[57418]: error -1 while removing quarantine data on path /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/share/man/man3/swscanf.3
2016-02-04 5:06:07.828 pm CoreServicesUIAgent[57418]: error -1 while removing quarantine data on path /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/share/man/man3/swscanf_l.3
2016-02-04 5:06:07.828 pm CoreServicesUIAgent[57418]: error -1 while removing quarantine data on path /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/share/man/man3/sxprintf.3
2016-02-04 5:06:07.829 pm CoreServicesUIAgent[57418]: error -1 while removing quarantine data on path /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/share/man/man3/sxprintf_exec.3
2016-02-04 5:06:07.838 pm CoreServicesUIAgent[57418]: error -1 while removing quarantine data on path /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/share/man/man3/sys_cache_control.3
2016-02-04 5:06:07.838 pm CoreServicesUIAgent[57418]: error -1 while removing quarantine data on path /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/share/man/man3/sys_dcache_flush.3
2016-02-04 5:06:07.838 pm CoreServicesUIAgent[57418]: error -1 while removing quarantine data on path /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/share/man/man3/sys_errlist.3
2016-02-04 5:06:07.839 pm CoreServicesUIAgent[57418]: error -1 while removing quarantine data on path /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/share/man/man3/sys_icache_invalidate.3
2016-02-04 5:06:07.839 pm CoreServicesUIAgent[57418]: error -1 while removing quarantine data on path /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/share/man/man3/sys_nerr.3
2016-02-04 5:06:07.839 pm CoreServicesUIAgent[57418]: error -1 while removing quarantine data on path /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/share/man/man3/sys_siglist.3
2016-02-04 5:06:07.839 pm CoreServicesUIAgent[57418]: error -1 while removing quarantine data on path /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk/usr/share/man/man3/sys_signame.3

show up in console.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!