Post

Replies

Boosts

Views

Activity

Reply to Authorization by AEDeterminePermissionToAutomateTarget waits infinit time
eskimo, Could you please share the status of feedback ID - FB8919870? We are still getting this error when we invoke AEDeterminePermissionToAutomateTarget() for checking automation permission. It happens randomly not every-time. But once it happens Im able to replicate it on demand. Automation section on security & privacy shows apps in checked state only. But still API hangs. here is the call stack : Sampling process 82676 for 3 seconds with 1 millisecond of run time between samples Sampling completed, processing symbols... Analysis of sampling iManage Application Integration (pid 82676) every 1 millisecond Process: iManage Application Integration [82676] Path: /Applications/iManage/iManage Application Integration.app/Contents/MacOS/iManage Application Integration Load Address: 0x10deda000 Identifier: com.imanage.workmac2 Version: 10.3.1 (103153) Code Type: X86-64 Platform: macOS Parent Process: ??? [1] Date/Time: 2021-02-11 11:37:42.374 +0530 Launch Time: 2021-02-11 11:35:39.771 +0530 OS Version: macOS 11.2 (20D64) Report Version: 7 Analysis Tool: /usr/bin/sample Physical footprint: 10.9M Physical footprint (peak): 11.1M Call graph: 2576 Thread1150693 DispatchQueue1: com.apple.main-thread (serial) 2576 start (in libdyld.dylib) + 1 [0x7fff20629621] 2576 main (in iManage Application Integration) + 9 [0x10dee5749] 2576 NSApplicationMain (in AppKit) + 816 [0x7fff22ee996f] 2576 -[NSApplication run] (in AppKit) + 586 [0x7fff22f1568a] 2576 -[NSApplication(NSEvent) nextEventMatchingEventMask:untilDate:inMode:dequeue:] (in AppKit) + 1366 [0x7fff22f23177] 2576 DPSNextEvent (in AppKit) + 2048 [0x7fff22f24e3e] 2576 AEProcessAppleEvent (in HIToolbox) + 54 [0x7fff2899e5a2] 2576 aeProcessAppleEvent (in AE) + 452 [0x7fff264dd260] 2576 ??? (in AE) load address 0x7fff264d8000 + 0xc5f4 [0x7fff264e45f4] 2576 ??? (in AE) load address 0x7fff264d8000 + 0xced9 [0x7fff264e4ed9] 2576 NSAppleEventManagerGenericHandler (in Foundation) + 80 [0x7fff21466ec6] 2576 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] (in Foundation) + 308 [0x7fff21467056] 2576 -[NSApplication(NSAppleEventHandling) handleCoreEvent:withReplyEvent:] (in AppKit) + 665 [0x7fff22f2a6c7] 2576 -[NSApplication(NSAppleEventHandling) handleAEOpenEvent:] (in AppKit) + 541 [0x7fff22f2aa72] 2576 -[NSApplication sendFinishLaunchingNotification] (in AppKit) + 208 [0x7fff22f2d87b] 2576 -[NSApplication postDidFinishNotification] (in AppKit) + 305 [0x7fff22f2db2d] 2576 -[NSNotificationCenter postNotificationName:object:userInfo:] (in Foundation) + 59 [0x7fff2143babe] 2576 CFXNotificationPost (in CoreFoundation) + 723 [0x7fff206ccbde] 2576 CFXRegistrationPost (in CoreFoundation) + 454 [0x7fff2079780f] 2576 _CFXRegistrationPostblockinvoke (in CoreFoundation) + 49 [0x7fff2079789b] 2576 CFNOTIFICATIONCENTERISCALLINGOUTTOANOBSERVER (in CoreFoundation) + 12 [0x7fff206fbfec] 2576 @objc AppDelegate.applicationDidFinishLaunching(:) (in iManage Application Integration) + 109 [0x10df2ef5d] 2576 AppDelegate.applicationDidFinishLaunching(:) (in iManage Application Integration) + 3594 [0x10df2dfea] 2576 Common.checkAuthforApp(processName:) (in iManage Application Integration) + 479 [0x10df3ccaf] 2576 Common.getAuthStatus(bundle:) (in iManage Application Integration) + 615 [0x10df3d5c7] 2576 AEDeterminePermissionToAutomateTarget (in AE) + 1356 [0x7fff26517921] 2576 dispatchsemaphorewaitslow (in libdispatch.dylib) + 98 [0x7fff2046412e] 2576 dispatchsema4wait (in libdispatch.dylib) + 16 [0x7fff20463c5c] 2576 semaphorewaittrap (in libsystemkernel.dylib) + 10 [0x7fff205d9eba] Total number in stack (recursive counted multiple, when >=5): Sort by top of stack, same collapsed (when >= 5): semaphorewaittrap (in libsystemkernel.dylib) 2576 Binary Images: 0x10deda000 - 0x10df69fff +com.imanage.workmac2 (10.3.1 - 103153) <855D845E-86F8-330D-ADB7-BC8015C15642> /Applications/iManage/iManage Application Integration.app/Contents/MacOS/iManage Application Integration 0x10e1b4000 - 0x10e407fff +com.iManage.CoreServices (10.3.1 - 103101) <1EB5CC78-81A0-31CD-8C38-E51BF91B521E> /Applications/iManage/iManage Application Integration.app/Contents/Frameworks/iManageCoreServices.framework/Versions/A/iManageCoreServices 0x10fb4a000 - 0x10fb56047 libobjc-trampolines.dylib (818.2) <29187EF9-2BD6-3ABF-8088-DE708721B612> /usr/lib/libobjc-trampolines.dylib
Topic: App & System Services SubTopic: Core OS Tags:
Feb ’21