InDesign App Crashes on running an automation after upgrading to High Sierra

Hi,

I am running an automation script which kind of so some sanity check in InDesign. In between InDesign hangs and crash before the completion of the script.

This automation script used to work fine before upgrading to High Sierra.

I am attaching the crash logs-


Process: Adobe InDesign CC 2018 [2769]

Path: /Volumes//Adobe InDesign CC 2018.app/Contents/MacOS/Adobe InDesign CC 2018

Identifier: com.adobe.InDesign

Version: 13.0.0.125 (13000)

Code Type: X86-64 (Native)

Parent Process: bash [2757]

Responsible: Adobe InDesign CC 2018 [2769]

User ID: 502



Date/Time: 2017-10-12 23:45:59.331 -0700

OS Version: Mac OS X 10.13 (17A405)

Report Version: 12

Anonymous UUID: 68EFF303-E79F-541D-B246-554E1402F5EA





Time Awake Since Boot: 580 seconds



System Integrity Protection: disabled



Crashed Thread: 21



Exception Type: EXC_BAD_INSTRUCTION (SIGILL)

Exception Codes: 0x0000000000000001, 0x0000000000000000

Exception Note: EXC_CORPSE_NOTIFY



Termination Signal: Illegal instruction: 4

Termination Reason: Namespace SIGNAL, Code 0x4

Terminating Process: exc handler [0]



Application Specific Information:

Assertion failed: (NSViewIsCurrentlyBuildingLayerTreeForDisplay() != currentlyBuildingLayerTree), function NSViewSetCurrentlyBuildingLayerTreeForDisplay, file /BuildRoot/Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1561.0.100/AppKit.subproj/NSView.m, line 14497.


Thread 20:

0 libsystem_kernel.dylib 0x00007fff50638e76 mach_msg_trap + 10

1 libsystem_kernel.dylib 0x00007fff50638390 mach_msg + 60

2 com.apple.CoreFoundation 0x00007fff28f90475 __CFRunLoopServiceMachPort + 341

3 com.apple.CoreFoundation 0x00007fff28f8f7c7 __CFRunLoopRun + 1783

4 com.apple.CoreFoundation 0x00007fff28f8ee43 CFRunLoopRunSpecific + 483

5 com.apple.Foundation 0x00007fff2b1434c6 -[NSConnection run] + 149

6 com.apple.Foundation 0x00007fff2b0496d8 __NSThread__start__ + 1197

7 libsystem_pthread.dylib 0x00007fff5077c6c1 _pthread_body + 340

8 libsystem_pthread.dylib 0x00007fff5077c56d _pthread_start + 377

9 libsystem_pthread.dylib 0x00007fff5077bc5d thread_start + 13



Thread 21 Crashed:

0 libsystem_c.dylib 0x00007fff5059e3ea __abort + 177

1 libsystem_c.dylib 0x00007fff5059e339 abort + 142

2 libsystem_c.dylib 0x00007fff50566380 __assert_rtn + 320

3 com.apple.AppKit 0x00007fff26e600da NSViewSetCurrentlyBuildingLayerTreeForDisplay + 255

4 com.apple.AppKit 0x00007fff26e5ff4d NSViewBuildLayerTreeForDisplay + 50

5 com.apple.AppKit 0x00007fff266eac45 -[NSWindow displayIfNeeded] + 264

6 com.apple.AppKit 0x00007fff26e8a1fb ___NSWindowGetDisplayCycleObserver_block_invoke.5897 + 308

7 com.apple.AppKit 0x00007fff266ea78a __37+[NSDisplayCycle currentDisplayCycle]_block_invoke + 695

8 com.apple.QuartzCore 0x00007fff3406355f CA::Transaction::run_commit_handlers(CATransactionPhase) + 49

9 com.apple.QuartzCore 0x00007fff34062121 CA::Transaction::commit() + 171

10 com.apple.QuartzCore 0x00007fff340783cd CA::Transaction::release_thread(void*) + 209

11 libsystem_pthread.dylib 0x00007fff5077e27e _pthread_tsd_cleanup + 534

12 libsystem_pthread.dylib 0x00007fff5077dfbd _pthread_exit + 79

13 libsystem_pthread.dylib 0x00007fff5077ea15 pthread_exit + 30

14 com.apple.CoreServices.CarbonCore 0x00007fff2a15c2ca TSExit + 84

15 com.apple.CoreServices.CarbonCore 0x00007fff2a15b4ea YieldToThread + 476

16 PublicLib.dylib 0x0000000110111cef CIdleTaskThread::SwitchToParentThread() + 175

17 PublicLib.dylib 0x0000000110111c21 CIdleTaskThread::YieldToEventLoop(unsigned int) + 449

18 PublicLib.dylib 0x0000000110111f58 CIdleTaskThread::private_FiberFunction(CIdleTaskThread*) + 104

19 PublicLib.dylib 0x0000000110110c69 CIdleTaskThread::FiberEntryPoint(void*) + 41

20 com.apple.CoreServices.CarbonCore 0x00007fff2a15b0d2 CooperativeThread + 282

21 libsystem_pthread.dylib 0x00007fff5077c6c1 _pthread_body + 340

22 libsystem_pthread.dylib 0x00007fff5077c56d _pthread_start + 377

23 libsystem_pthread.dylib 0x00007fff5077bc5d thread_start + 13



Thread 22:

0 libsystem_kernel.dylib 0x00007fff50641e7e __psynch_cvwait + 10

1 libsystem_pthread.dylib 0x00007fff5077d662 _pthread_cond_wait + 732

2 com.apple.Foundation 0x00007fff2b0489be -[NSObject(NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:modes:] + 929

3 com.apple.Foundation 0x00007fff2b04859f -[NSObject(NSThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:] + 131

4 com.adobe.PlugPlugOwl 0x0000000113228435 0x1130d6000 + 1385525

5 com.apple.CoreFoundation 0x00007fff28f8c8dc __invoking___ + 140

6 com.apple.CoreFoundation 0x00007fff28f8c7b0 -[NSInvocation invoke] + 320

7 com.apple.CoreFoundation 0x00007fff28fa58d6 -[NSInvocation invokeWithTarget:] + 54

8 com.apple.CoreFoundation 0x00007fff28f8b24c ___forwarding___ + 748

9 com.apple.CoreFoundation 0x00007fff28f8aed8 _CF_forwarding_prep_0 + 120

10 com.apple.CoreFoundation 0x00007fff28f8c8dc __invoking___ + 140

11 com.apple.CoreFoundation 0x00007fff28f8c7b0 -[NSInvocation invoke] + 320

12 com.apple.Foundation 0x00007fff2b0f5d56 -[NSConnection dispatchInvocation:] + 136

13 com.apple.Foundation 0x00007fff2b0f5067 -[NSConnection handleRequest:sequence:] + 1461

14 com.apple.Foundation 0x00007fff2b0abe0d -[NSConnection handlePortCoder:] + 1152

15 com.apple.Foundation 0x00007fff2b0ab58c -[NSConnection dispatchWithComponents:] + 53

16 com.apple.Foundation 0x00007fff2b0ab014 __NSFireMachPort + 253

17 com.apple.CoreFoundation 0x00007fff28f9822b __CFMachPortPerform + 347

18 com.apple.CoreFoundation 0x00007fff28f980b9 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 41

19 com.apple.CoreFoundation 0x00007fff28f98005 __CFRunLoopDoSource1 + 533

20 com.apple.CoreFoundation 0x00007fff28f8fbf0 __CFRunLoopRun + 2848

21 com.apple.CoreFoundation 0x00007fff28f8ee43 CFRunLoopRunSpecific + 483

22 com.apple.Foundation 0x00007fff2b1434c6 -[NSConnection run] + 149

23 com.apple.Foundation 0x00007fff2b0496d8 __NSThread__start__ + 1197

24 libsystem_pthread.dylib 0x00007fff5077c6c1 _pthread_body + 340

25 libsystem_pthread.dylib 0x00007fff5077c56d _pthread_start + 377

26 libsystem_pthread.dylib 0x00007fff5077bc5d thread_start + 13



Thread 23:: CEPMonitorThread

0 libsystem_kernel.dylib 0x00007fff50638e76 mach_msg_trap + 10

1 libsystem_kernel.dylib 0x00007fff50638390 mach_msg + 60

2 com.apple.CoreFoundation 0x00007fff28f90475 __CFRunLoopServiceMachPort + 341

3 com.apple.CoreFoundation 0x00007fff28f8f7c7 __CFRunLoopRun + 1783

4 com.apple.CoreFoundation 0x00007fff28f8ee43 CFRunLoopRunSpecific + 483

5 com.apple.Foundation 0x00007fff2b0d5a58 -[NSConcreteTask waitUntilExit] + 220

6 com.adobe.PlugPlugOwl 0x0000000113266374 0x1130d6000 + 1639284

7 com.apple.Foundation 0x00007fff2b0496d8 __NSThread__start__ + 1197

8 libsystem_pthread.dylib 0x00007fff5077c6c1 _pthread_body + 340

9 libsystem_pthread.dylib 0x00007fff5077c56d _pthread_start + 377

10 libsystem_pthread.dylib 0x00007fff5077bc5d thread_start + 13



Thread 21 crashed with X86 Thread State (64-bit):

rax: 0x0000000000000000 rbx: 0x000070000b456970 rcx: 0x00007fff50643922 rdx: 0x0000000000000000

rdi: 0x0000000000000003 rsi: 0x000070000b456970 rbp: 0x000070000b456990 rsp: 0x000070000b456960

r8: 0x0000000000000000 r9: 0x0000000000989680 r10: 0x000070000b457048 r11: 0x0000000000000246

r12: 0x0000000119ea7028 r13: 0x0000000119ea7000 r14: 0x000070000b456968 r15: 0x00007fff271ee2d5

rip: 0x00007fff5059e3ea rfl: 0x0000000000010246 cr2: 0x0000000101f5c000


Logical CPU: 0

Error Code: 0x02000170

Trap Number: 133


Please help me getting the root cause or workaround.

InDesign App Crashes on running an automation after upgrading to High Sierra
 
 
Q