I've also meet this issue several times, app stuck at calling AEDeterminePermissionToAutomateTarget, only restarting system works. I've reported as FB9030678.
Topic:
App & System Services
SubTopic:
Core OS
Tags: