Illustrator quits unexpectedly when my script run for long
When I open Illustrator in my MacOS Sierra 10.12.5 and run my script, after 10-20 min Illustrator quits unexpectedly and this log shows up.
Process: Adobe Illustrator [668]
Path: /Applications/Adobe Illustrator CC 2018/Adobe Illustrator.app/Contents/MacOS/Adobe Illustrator
Identifier: com.adobe.illustrator
Version: 22.0.1 (22.0.1)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Adobe Illustrator [668]
User ID: 501
Date/Time: 2018-03-22 11:55:00.252 +0400
OS Version: Mac OS X 10.12.5 (16F2073)
Report Version: 12
Anonymous UUID: 275016EB-9652-BDEE-B228-38BD1F63F6C7
Time Awake Since Boot: 5800 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXCCRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXCCORPSE_NOTIFY
Application Specific Information:
terminating with uncaught exception of type CAIAPIFault: std::exception
abort() called
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystemkernel.dylib 0x00007fffd5e37d42 _pthreadkill + 10
1 libsystempthread.dylib 0x00007fffd5f25457 pthreadkill + 90
2 libsystemc.dylib 0x00007fffd5d9d420 abort + 129
3 libc++abi.dylib 0x00007fffd48f384a abortmessage + 266
4 libc++abi.dylib 0x00007fffd4918c37 defaultterminatehandler() + 243
5 libobjc.A.dylib 0x00007fffd5426713 _objcterminate() + 124
6 libc++abi.dylib 0x00007fffd4915d69 std::__terminate(void (*)()) + 8
7 libc++abi.dylib 0x00007fffd4915de3 std::terminate() + 51
8 com.adobe.illustrator 0x000000010023db4d 0x100000000 + 2349901
9 com.adobe.illustrator 0x00000001002397d2 0x100000000 + 2332626
10 com.adobe.illustrator 0x00000001008938d5 0x100000000 + 8992981
11 com.adobe.illustrator 0x000000010088eb45 0x100000000 + 8973125
12 com.adobe.illustrator 0x0000000100cd4ec1 0x100000000 + 13455041
13 com.adobe.illustrator 0x0000000100ccf023 0x100000000 + 13430819
14 com.adobe.illustrator 0x0000000100cd2614 0x100000000 + 13444628
15 com.adobe.illustrator 0x00000001009fb860 0x100000000 + 10467424
16 com.adobe.illustrator 0x00000001009f9f5f 0x100000000 + 10461023
17 com.adobe.illustrator 0x000000010025698b 0x100000000 + 2451851
18 com.adobe.illustrator 0x00000001001cd0c7 0x100000000 + 1888455
19 com.adobe.illustrator.plugins.ActionPalette 0x0000000124d9e902 0x124d86000 + 100610
20 com.adobe.illustrator.plugins.ActionPalette 0x0000000124da5bd2 0x124d86000 + 130002
21 com.adobe.illustrator.plugins.ActionPalette 0x0000000124dc9cad 0x124d86000 + 277677
22 com.adobe.illustrator.plugins.Action 0x00000001137f5b52 0x1137f2000 + 15186
23 com.adobe.illustrator.plugins.ScriptingSupport 0x000000011b21ca20 PluginMain + 266096
24 com.adobe.illustrator.plugins.ScriptingSupport 0x000000011b21601c PluginMain + 238956
25 com.adobe.illustrator.plugins.ScriptingSupport 0x000000011b216b73 PluginMain + 241859
26 com.adobe.illustrator.plugins.ScriptingSupport 0x000000011b293ab8 PluginMain + 753672
27 com.adobe.illustrator.plugins.ScriptingSupport 0x000000011b2dd5a8 PluginMain + 1055480
28 com.adobe.AdobeExtendScript 0x0000000108a78e4d ScScript::LiveObjectFunction::propCall(ScScript::Object&, ScCore::BasicArray const&, ScScript::ESVariant&) + 413
29 com.adobe.AdobeExtendScript 0x0000000108a0a0ad jsOpCall::run(jsRunner&, ScScript::ESVariant&) const + 877
30 com.adobe.AdobeExtendScript 0x0000000108a12462 jsOpStatements::run(jsRunner&, ScScript::ESVariant&) const + 146
31 com.adobe.AdobeExtendScript 0x0000000108a0d5b3 jsOpIf::run(jsRunner&, ScScript::ESVariant&) const + 211
32 com.adobe.AdobeExtendScript 0x0000000108a12462 jsOpStatements::run(jsRunner&, ScScript::ESVariant&) const + 146
33 com.adobe.AdobeExtendScript 0x0000000108a0d5b3 jsOpIf::run(jsRunner&, ScScript::ESVariant&) const + 211
34 com.adobe.AdobeExtendScript 0x0000000108a12462 jsOpStatements::run(jsRunner&, ScScript::ESVariant&) const + 146
35 com.adobe.AdobeExtendScript 0x0000000108a0c662 jsOpFunction::run(jsRunner&, ScScript::ESVariant&) const + 418
36 com.adobe.AdobeExtendScript 0x0000000108a39805 jsRunner::run(ScScript::ESVariant&) + 117
37 com.adobe.AdobeExtendScript 0x0000000108a242bb jsFunction::propCall(ScScript::Object&, ScCore::BasicArray const&, ScScript::ESVariant&) + 155
38 com.adobe.AdobeExtendScript 0x0000000108a0a0ad jsOpCall::run(jsRunner&, ScScript::ESVariant&) const + 877
39 com.adobe.AdobeExtendScript 0x0000000108a12462 jsOpStatements::run(jsRunner&, ScScript::ESVariant&) const + 146
40 com.adobe.AdobeExtendScript 0x0000000108a0d5b3 jsOpIf::run(jsRunner&, ScScript::ESVariant&) const + 211
41 com.adobe.AdobeExtendScript 0x0000000108a12462 jsOpStatements::run(jsRunner&, ScScript::ESVariant&) const + 146
42 com.adobe.AdobeExtendScript 0x0000000108a0c662 jsOpFunction::run(jsRunner&, ScScript::ESVariant&) const + 418
43 com.adobe.AdobeExtendScript 0x0000000108a39805 jsRunner::run(ScScript::ESVariant&) + 117
44 com.adobe.AdobeExtendScript 0x0000000108a242bb jsFunction::propCall(ScScript::Object&, ScCore::BasicArray const&, ScScript::ESVariant&) + 155
45 com.adobe.AdobeExtendScript 0x0000000108a0a0ad jsOpCall::run(jsRunner&, ScScript::ESVariant&) const + 877
46 com.adobe.AdobeExtendScript 0x0000000108a12462 jsOpStatements::run(jsRunner&, ScScript::ESVariant&) const + 146
47 com.adobe.AdobeExtendScript 0x0000000108a1121e jsOpSimpleFor::run(jsRunner&, ScScript::ESVariant&) const + 654
48 com.adobe.AdobeExtendScript 0x0000000108a12462 jsOpStatements::run(jsRunner&, ScScript::ESVariant&) const + 146
49 com.adobe.AdobeExtendScript 0x0000000108a0c662 jsOpFunction::run(jsRunner&, ScScript::ESVariant&) const + 418
50 com.adobe.AdobeExtendScript 0x0000000108a39805 jsRunner::run(ScScript::ESVariant&) + 117
51 com.adobe.AdobeExtendScript 0x0000000108a24395 jsFunction::propCall(ScScript::Object&, ScCore::BasicArray const&, ScScript::ESVariant&) + 373
.....
-
Shaig Khaligli commented
My script is creating artboards, importing ai files in it, editing and exporting.
When I open Illustrator in my MacOS Sierra 10.12.5 and run my script, after 10-20 min Illustrator quits unexpectedly and this log shows up.
Process: Adobe Illustrator [668]
Path: /Applications/Adobe Illustrator CC 2018/Adobe Illustrator.app/Contents/MacOS/Adobe Illustrator
Identifier: com.adobe.illustrator
Version: 22.0.1 (22.0.1)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Adobe Illustrator [668]
User ID: 501Date/Time: 2018-03-22 11:55:00.252 +0400
OS Version: Mac OS X 10.12.5 (16F2073)
Report Version: 12
Anonymous UUID: 275016EB-9652-BDEE-B228-38BD1F63F6C7Time Awake Since Boot: 5800 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFYApplication Specific Information:
terminating with uncaught exception of type CAIAPIFault: std::exception
abort() calledThread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fffd5e37d42 __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fffd5f25457 pthread_kill + 90
2 libsystem_c.dylib 0x00007fffd5d9d420 abort + 129
3 libc++abi.dylib 0x00007fffd48f384a abort_message + 266
4 libc++abi.dylib 0x00007fffd4918c37 default_terminate_handler() + 243
5 libobjc.A.dylib 0x00007fffd5426713 _objc_terminate() + 124
6 libc++abi.dylib 0x00007fffd4915d69 std::__terminate(void (*)()) + 8
7 libc++abi.dylib 0x00007fffd4915de3 std::terminate() + 51
8 com.adobe.illustrator 0x000000010023db4d 0x100000000 + 2349901
9 com.adobe.illustrator 0x00000001002397d2 0x100000000 + 2332626
10 com.adobe.illustrator 0x00000001008938d5 0x100000000 + 8992981
11 com.adobe.illustrator 0x000000010088eb45 0x100000000 + 8973125
12 com.adobe.illustrator 0x0000000100cd4ec1 0x100000000 + 13455041
13 com.adobe.illustrator 0x0000000100ccf023 0x100000000 + 13430819
14 com.adobe.illustrator 0x0000000100cd2614 0x100000000 + 13444628
15 com.adobe.illustrator 0x00000001009fb860 0x100000000 + 10467424
16 com.adobe.illustrator 0x00000001009f9f5f 0x100000000 + 10461023
17 com.adobe.illustrator 0x000000010025698b 0x100000000 + 2451851
18 com.adobe.illustrator 0x00000001001cd0c7 0x100000000 + 1888455
19 com.adobe.illustrator.plugins.ActionPalette 0x0000000124d9e902 0x124d86000 + 100610
20 com.adobe.illustrator.plugins.ActionPalette 0x0000000124da5bd2 0x124d86000 + 130002
21 com.adobe.illustrator.plugins.ActionPalette 0x0000000124dc9cad 0x124d86000 + 277677
22 com.adobe.illustrator.plugins.Action 0x00000001137f5b52 0x1137f2000 + 15186
23 com.adobe.illustrator.plugins.ScriptingSupport 0x000000011b21ca20 PluginMain + 266096
24 com.adobe.illustrator.plugins.ScriptingSupport 0x000000011b21601c PluginMain + 238956
25 com.adobe.illustrator.plugins.ScriptingSupport 0x000000011b216b73 PluginMain + 241859
26 com.adobe.illustrator.plugins.ScriptingSupport 0x000000011b293ab8 PluginMain + 753672
27 com.adobe.illustrator.plugins.ScriptingSupport 0x000000011b2dd5a8 PluginMain + 1055480
28 com.adobe.AdobeExtendScript 0x0000000108a78e4d ScScript::LiveObjectFunction::propCall(ScScript::Object&, ScCore::BasicArray const&, ScScript::ESVariant&) + 413
29 com.adobe.AdobeExtendScript 0x0000000108a0a0ad jsOpCall::run(jsRunner&, ScScript::ESVariant&) const + 877
30 com.adobe.AdobeExtendScript 0x0000000108a12462 jsOpStatements::run(jsRunner&, ScScript::ESVariant&) const + 146
31 com.adobe.AdobeExtendScript 0x0000000108a0d5b3 jsOpIf::run(jsRunner&, ScScript::ESVariant&) const + 211
32 com.adobe.AdobeExtendScript 0x0000000108a12462 jsOpStatements::run(jsRunner&, ScScript::ESVariant&) const + 146
33 com.adobe.AdobeExtendScript 0x0000000108a0d5b3 jsOpIf::run(jsRunner&, ScScript::ESVariant&) const + 211
34 com.adobe.AdobeExtendScript 0x0000000108a12462 jsOpStatements::run(jsRunner&, ScScript::ESVariant&) const + 146
35 com.adobe.AdobeExtendScript 0x0000000108a0c662 jsOpFunction::run(jsRunner&, ScScript::ESVariant&) const + 418
36 com.adobe.AdobeExtendScript 0x0000000108a39805 jsRunner::run(ScScript::ESVariant&) + 117
37 com.adobe.AdobeExtendScript 0x0000000108a242bb jsFunction::propCall(ScScript::Object&, ScCore::BasicArray const&, ScScript::ESVariant&) + 155
38 com.adobe.AdobeExtendScript 0x0000000108a0a0ad jsOpCall::run(jsRunner&, ScScript::ESVariant&) const + 877
39 com.adobe.AdobeExtendScript 0x0000000108a12462 jsOpStatements::run(jsRunner&, ScScript::ESVariant&) const + 146
40 com.adobe.AdobeExtendScript 0x0000000108a0d5b3 jsOpIf::run(jsRunner&, ScScript::ESVariant&) const + 211
41 com.adobe.AdobeExtendScript 0x0000000108a12462 jsOpStatements::run(jsRunner&, ScScript::ESVariant&) const + 146
42 com.adobe.AdobeExtendScript 0x0000000108a0c662 jsOpFunction::run(jsRunner&, ScScript::ESVariant&) const + 418
43 c