When parpool, gcp, or parfor is called, Matlab creates additional instances, each of which immediately prompts an error as attached.
Details: ------------------------------------------------------------------------ Segmentation violation detected at Thu May 25 13:35:52 2017------------------------------------------------------------------------Configuration: Crash Decoding : Disabled - No sandbox or build area path Crash Mode : continue (default) Current Graphics Driver: Unknown hardware Current Visual : Quartz Default Encoding : ISO-8859-1 Deployed : false Host Name : Shunans-MacBook-Pro.local MATLAB Architecture : maci64 MATLAB Entitlement ID: 2713220 MATLAB Root : /Applications/MATLAB_R2017a.app MATLAB Version : 9.2.0.538062 (R2017a) OpenGL : hardware Operating System : Darwin 16.6.0 Darwin Kernel Version 16.6.0: Fri Apr 14 16:21:16 PDT 2017; root:xnu-3789.60.24~6/RELEASE_X86_64 x86_64 Processor ID : x86 Family 6 Model 94 Stepping 3, GenuineIntel Virtual Machine : Java 1.7.0_75-b13 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode Window System : QuartzFault Count: 3Abnormal termination:Segmentation violationRegister State (from fault): RAX = 0000608002a59050 RBX = 0000608002a59068 RCX = 00007000016d6438 RDX = 00007000016d64b8 RSP = 0000600000282620 RBP = 00000001176fb8b8 RSI = 00006000008257a0 RDI = 00007000016d6448 R8 = 0000618000892070 R9 = 00007000016d6498 R10 = 0000700000000000 R11 = 00007ff95c7c7ca0 R12 = 00007ff95c7c7cd0 R13 = 0000000100000000 R14 = 0000000108d69000 R15 = 00000001045bd47c RIP = 00007000016d6468 RFL = 00007ff95c7c7d08 CS = 00007000016d6c00 FS = 00007ff95c7c7bd0 GS = 00007000016d6498Stack Trace (from fault):[ 0] 0x000000010641f6b4 bin/maci64/libmwfl.dylib+00034484 _ZN2fl4diag15stacktrace_base7captureERKNS0_14thread_contextEm+00000052[ 1] 0x000000010642306a bin/maci64/libmwfl.dylib+00049258 _ZN2fl4test17terminate_handledEv+00000810[ 2] 0x0000000106422ad9 bin/maci64/libmwfl.dylib+00047833 _ZN2fl4diag13terminate_logEPKcPK17__darwin_ucontext+00000185[ 3] 0x0000000109095591 bin/maci64/libmwmcr.dylib+00435601 _Z19mnPrintErrorMessageRKNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE+00002081[ 4] 0x0000000109094ee0 bin/maci64/libmwmcr.dylib+00433888 _Z19mnPrintErrorMessageRKNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE+00000368[ 5] 0x00000001090938da bin/maci64/libmwmcr.dylib+00428250 mnFatalSignalHandler+00000154[ 6] 0x0000000104679b3a /usr/lib/system/libsystem_platform.dylib+00011066 _sigtramp+00000026[ 7] 0x0000000000000000 <unknown-module>+00000000[ 8] 0x00000001045bd3bf /usr/lib/system/libsystem_malloc.dylib+00037823 nano_malloc+00000035[ 9] 0x00000001045b6282 /usr/lib/system/libsystem_malloc.dylib+00008834 malloc_zone_malloc+00000107[ 10] 0x00000001045b5200 /usr/lib/system/libsystem_malloc.dylib+00004608 malloc+00000024[ 11] 0x00007fff8c3c3e2e /usr/lib/libc++abi.dylib+00146990 _Znwm+00000030[ 12] 0x000000010a3f417f bin/maci64/libmwm_lxe.dylib+01581439 _ZN5boost9unordered6detail10table_implINS1_3mapINSt3__19allocatorINS4_4pairIKmmEEEEmmNS_4hashImEENS4_8equal_toImEEEEEixERS7_+00000127[ 13] 0x000000010a3f3c76 bin/maci64/libmwm_lxe.dylib+01580150 _ZN9MathWorks3lxe11IrAnnotator28SetAnnotationForConstantTermEPN2ir4termEPKNS0_15ConstAnnotationE+00000022[ 14] 0x000000010a4e7404 bin/maci64/libmwm_lxe.dylib+02577412 _ZN9MathWorks3lxe14TypePropagator21ApplyMachinePrimitiveEPN2ir4termES4_PNS0_8AppAnnotE+00000164[ 15] 0x000000010a4e6911 bin/maci64/libmwm_lxe.dylib+02574609 _ZN9MathWorks3lxe14TypePropagator23ResolveAndApplyConstantEPN2ir4termE+00000529[ 16] 0x000000010a4e6649 bin/maci64/libmwm_lxe.dylib+02573897 _ZN9MathWorks3lxe14TypePropagator31process_application_of_constantEPN2ir4termE+00000121[ 17] 0x000000010a3f2fc6 bin/maci64/libmwm_lxe.dylib+01576902 _ZN9MathWorks3lxe12IRTreeWalker13applyConstantEPN2ir4termE+00000022[ 18] 0x000000010a3f30fc bin/maci64/libmwm_lxe.dylib+01577212 _ZN9MathWorks3lxe12IRTreeWalker9applyTermEPN2ir4termE+00000092[ 19] 0x000000010a3f34f3 bin/maci64/libmwm_lxe.dylib+01578227 _ZN9MathWorks3lxe12IRTreeWalker11getNextIRPCENS0_9irpc_typeE+00000563[ 20] 0x000000010a3f31f3 bin/maci64/libmwm_lxe.dylib+01577459 _ZN9MathWorks3lxe12IRTreeWalker9tree_walkERKNS0_9irpc_typeES4_+00000067[ 21] 0x000000010a4e3e1f bin/maci64/libmwm_lxe.dylib+02563615 _ZN9MathWorks3lxe14TypePropagator10typeAndCutEPNS0_9LxeThreadEPNS0_23ForeignFunctionStateMapERKNS0_9irpc_typeERNS_3utl5arenaERNS0_12term_factoryEPNS0_13IStackAdapterES8_+00000447[ 22] 0x000000010a4184e1 bin/maci64/libmwm_lxe.dylib+01729761 _ZN9MathWorks3lxe15LxeCompilerImpl10typeAndCutEPNS0_9LxeThreadERKNS0_9irpc_typeERNS_3utl5arenaERNS0_12term_factoryEPNS0_13IStackAdapterERNSt3__16vectorIPKvNS7_5alloc12LxeAllocatorISH_LNSI_9AllocAreaE0EEEEERNS0_11IrAnnotatorERNSF_IS4_NSE_9allocatorIS4_EEEE+00000177[ 23] 0x000000010a418147 bin/maci64/libmwm_lxe.dylib+01728839 _ZN9MathWorks3lxe15LxeCompilerImpl16compileBlockToVmEPNS0_9LxeThreadERKNS0_9irpc_typeERNS0_2be17VmInstructionListERNSt3__16vectorIPKvNS_3utl5alloc12LxeAllocatorISD_LNSF_9AllocAreaE0EEEEE+00000775[ 24] 0x000000010a4188c2 bin/maci64/libmwm_lxe.dylib+01730754 _ZN9MathWorks3lxe15LxeCompilerImpl14CompileBlockL1EPNS0_9LxeThreadEPNS0_12IrEngineImplE+00000114[ 25] 0x000000010a4187a5 bin/maci64/libmwm_lxe.dylib+01730469 _ZN9MathWorks3lxe15LxeCompilerImpl12compileBlockEPNS0_9LxeThreadEPNS0_12IrEngineImplEPNS0_13CompiledBlockE+00000421[ 26] 0x000000010a418e34 bin/maci64/libmwm_lxe.dylib+01732148 _ZN9MathWorks3lxe15LxeCompilerImpl12getNextBlockEPNS0_9LxeThreadEPNS0_12IrEngineImplE+00000132[ 27] 0x000000010a51a011 bin/maci64/libmwm_lxe.dylib+02785297 _ZN9MathWorks3lxe15ExecutionDriver12GetNextBlockEv+00000081[ 28] 0x000000010a51b355 bin/maci64/libmwm_lxe.dylib+02790229 _ZN9MathWorks3lxe15ExecutionDriver9ThreadRunEv+00004805[ 29] 0x000000010a5215ec bin/maci64/libmwm_lxe.dylib+02815468 _ZN9MathWorks3lxe12IrEngineImpl5ApplyERKN2ir4termEPvS6_+00000300[ 30] 0x000000010aa8a05f bin/maci64/libmwm_lxe.dylib+08487007 _ZN9MathWorks3lxe17IrEngineDecorator5ApplyERKN2ir4termEPvS6_+00000159[ 31] 0x000000010aa4a31f bin/maci64/libmwm_lxe.dylib+08225567 _ZN9MathWorks3lxe9Evaluator15ApplyStatementsERKN2ir4termERNS0_18IEvaluationContextE+00000415[ 32] 0x000000010aa4d936 bin/maci64/libmwm_lxe.dylib+08239414 _ZN9MathWorks3lxe9Evaluator17EvalStatementImplEPKcRNS0_18IEvaluationContextE+00000278[ 33] 0x000000010aa4da28 bin/maci64/libmwm_lxe.dylib+08239656 _ZN9MathWorks3lxe9Evaluator13EvalStatementERKNSt3__112basic_stringIDsNS2_11char_traitsIDsEENS2_9allocatorIDsEEEERNS0_18IEvaluationContextE+00000136[ 34] 0x000000010aad432e bin/maci64/libmwm_lxe.dylib+08790830 _ZN9MathWorks3lxe9LxeBridge7EvalCmdERKNSt3__112basic_stringIDsNS2_11char_traitsIDsEENS2_9allocatorIDsEEEEb+00000382[ 35] 0x000000010aad41e7 bin/maci64/libmwm_lxe.dylib+08790503 _ZN9MathWorks3lxe9LxeBridge7EvalCmdERKNSt3__112basic_stringIDsNS2_11char_traitsIDsEENS2_9allocatorIDsEEEEb+00000055[ 36] 0x000000010a2306dd bin/maci64/libmwbridge.dylib+00071389 _Z28evalCommandWithLongjmpSafetyRKNSt3__112basic_stringIDsNS_11char_traitsIDsEENS_9allocatorIDsEEEE+00000093[ 37] 0x000000010a230e4d bin/maci64/libmwbridge.dylib+00073293 _Z8mnParserv+00001165[ 38] 0x00000001090503b3 bin/maci64/libmwmcr.dylib+00152499 _ZN3mcr7runtime26InterpreterThreadSingleton4Impl30mnParser_on_interpreter_threadEP11mcrInstance+00000035[ 39] 0x0000000109052c91 bin/maci64/libmwmcr.dylib+00162961 _ZN3mcr7runtime26InterpreterThreadSingleton4Impl22TypedInvocationRequestIvE29doNotRethrowMxArrayExceptionsERKN5boost8functionIFvvEEE+00000033[ 40] 0x000000010905372e bin/maci64/libmwmcr.dylib+00165678 _ZN5boost13packaged_taskIvEC2INS_3_bi6bind_tIvPFvRKNS_8functionIFvvEEEENS3_5list1INS3_5valueIS7_EEEEEEEEOT_NS_10disable_ifINS_7is_sameINS_5decayISH_E4typeES1_EEPNS1_5dummyEE4typeE+00001038[ 41] 0x0000000109050863 bin/maci64/libmwmcr.dylib+00153699 _ZN3mcr7runtime26InterpreterThreadSingleton4Impl26invocation_request_handlerEl+00000035[ 42] 0x0000000108ec9740 bin/maci64/libmwiqm.dylib+00399168 _ZN3iqm32registerSingletonIqmPpeConditionENSt3__110unique_ptrIN8services13system_events12PpeConditionENS0_14default_deleteIS4_EEEE+00007312[ 43] 0x0000000108eb1c7e bin/maci64/libmwiqm.dylib+00302206 _ZN5boost6detail8function21function_obj_invoker0INSt3__18functionIFNS_3anyEvEEES5_E6invokeERNS1_15function_bufferE+00000030[ 44] 0x0000000108eb1377 bin/maci64/libmwiqm.dylib+00299895 _ZN3iqm18PackagedTaskPlugin7executeEP15inWorkSpace_tagRN5boost10shared_ptrIN14cmddistributor17IIPCompletedEventEEE+00000263[ 45] 0x0000000108e8e8bf bin/maci64/libmwiqm.dylib+00157887 _ZNK3iqm17DefaultPacketInfo7executeEP15inWorkSpace_tag+00000351[ 46] 0x0000000108e745ca bin/maci64/libmwiqm.dylib+00050634 _ZN3iqm10DefaultIqm7dequeueEN6mlutil14cmddistributor13WhenToDequeue13WhenToDequeueEN5boost8optionalImEE+00001914[ 47] 0x0000000108e7ba33 bin/maci64/libmwiqm.dylib+00080435 _ZNK3iqm10DefaultIqm38isPacketAvailableToDispatchDuringPauseEv+00001923[ 48] 0x0000000103bef3b9 bin/maci64/libmwservices.dylib+00725945 _Z40svWS_ProcessPendingEventsWithLimitedRateb+00002329[ 49] 0x0000000103bee252 bin/maci64/libmwservices.dylib+00721490 _Z25svWS_ProcessPendingEventsiib+00001138[ 50] 0x0000000103bede9d bin/maci64/libmwservices.dylib+00720541 _Z25svWS_ProcessPendingEventsiib+00000189[ 51] 0x0000000109050b3d bin/maci64/libmwmcr.dylib+00154429 _ZN3mcr7runtime26InterpreterThreadSingleton4Impl14process_eventsERKN5boost10shared_ptrIS2_EE+00000221[ 52] 0x0000000109050ffb bin/maci64/libmwmcr.dylib+00155643 _ZN3mcr7runtime26InterpreterThreadSingleton4Impl3runERKN5boost10shared_ptrIS2_EEPNS2_12init_contextE+00000219[ 53] 0x00000001090318b6 bin/maci64/libmwmcr.dylib+00026806 _Z26run_init_and_handle_eventsPv+00000054[ 54] 0x000000010468f93b /usr/lib/system/libsystem_pthread.dylib+00014651 _pthread_body+00000180[ 55] 0x000000010468f887 /usr/lib/system/libsystem_pthread.dylib+00014471 _pthread_body+00000000[ 56] 0x000000010468f08d /usr/lib/system/libsystem_pthread.dylib+00012429 thread_start+00000013Abnormal termination:Segmentation violationRegister State (from fault): RAX = 0000000104489070 RBX = 0000700003a4d3f8 RCX = 0000000000000000 RDX = 0000700003a4d140 RSP = 0000000000000000 RBP = 0000000000000028 RSI = 0000000103f802e2 RDI = 0000700003a4d270 R8 = 0000000000000000 R9 = 000000010407e88c R10 = 0000700003a4d1a4 R11 = 0000000000000000 R12 = 0000000000000000 R13 = 0000000003d6cb0b R14 = 0000000108d69000 R15 = 00000001045bd47c RIP = 0000610000865600 RFL = 0000000000000080 CS = 0000000000000002 FS = ff80000000001004 GS = 0000700003a4ffffStack Trace (from fault):[ 0] 0x000000010641f6b4 bin/maci64/libmwfl.dylib+00034484 _ZN2fl4diag15stacktrace_base7captureERKNS0_14thread_contextEm+00000052[ 1] 0x000000010642306a bin/maci64/libmwfl.dylib+00049258 _ZN2fl4test17terminate_handledEv+00000810[ 2] 0x0000000106422ad9 bin/maci64/libmwfl.dylib+00047833 _ZN2fl4diag13terminate_logEPKcPK17__darwin_ucontext+00000185[ 3] 0x0000000109095591 bin/maci64/libmwmcr.dylib+00435601 _Z19mnPrintErrorMessageRKNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE+00002081[ 4] 0x0000000109094ee0 bin/maci64/libmwmcr.dylib+00433888 _Z19mnPrintErrorMessageRKNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE+00000368[ 5] 0x00000001090938da bin/maci64/libmwmcr.dylib+00428250 mnFatalSignalHandler+00000154[ 6] 0x0000000104679b3a /usr/lib/system/libsystem_platform.dylib+00011066 _sigtramp+00000026[ 7] 0x0000000000000000 <unknown-module>+00000000[ 8] 0x00000001045bd3bf /usr/lib/system/libsystem_malloc.dylib+00037823 nano_malloc+00000035[ 9] 0x00000001045b6282 /usr/lib/system/libsystem_malloc.dylib+00008834 malloc_zone_malloc+00000107[ 10] 0x00000001045b5200 /usr/lib/system/libsystem_malloc.dylib+00004608 malloc+00000024[ 11] 0x00007fff8c3c3e2e /usr/lib/libc++abi.dylib+00146990 _Znwm+00000030[ 12] 0x00007fff8c3863f0 /usr/lib/libc++.1.dylib+00250864 _ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcm+00000066[ 13] 0x00000001152a5314 bin/maci64/libnativecfb.dylib+00013076 Java_com_mathworks_cfbutils_NativeCfb_listFiles+00000484[ 14] 0x0000000119a42ad5 <unknown-module>+00000000[ 15] 0x000000011962e350 <unknown-module>+00000000[ 16] 0x000000011962e058 <unknown-module>+00000000[ 17] 0x000000011962e9fe <unknown-module>+00000000[ 18] 0x000000011962e9fe <unknown-module>+00000000Abnormal termination:Segmentation violationRegister State (from fault): RAX = 0000000000000008 RBX = 0000000000000000 RCX = 0000000000000000 RDX = 0000000000000000 RSP = 0000000000000000 RBP = 0000000000000000 RSI = 0000000000000000 RDI = 0000000000000000 R8 = 0000000000000000 R9 = 0000000000000000 R10 = 0000000000000000 R11 = 0000000000000000 R12 = 0000000000000000 R13 = 0000000000000000 R14 = 0000000108d69000 R15 = 00000001045bd47c RIP = 0000000000000000 RFL = 0000000000000000 CS = 0000000000000000 FS = 0000000000000000 GS = 0000000000000000Stack Trace (from fault):[ 0] 0x000000010641f6b4 bin/maci64/libmwfl.dylib+00034484 _ZN2fl4diag15stacktrace_base7captureERKNS0_14thread_contextEm+00000052[ 1] 0x000000010642306a bin/maci64/libmwfl.dylib+00049258 _ZN2fl4test17terminate_handledEv+00000810[ 2] 0x0000000106422ad9 bin/maci64/libmwfl.dylib+00047833 _ZN2fl4diag13terminate_logEPKcPK17__darwin_ucontext+00000185[ 3] 0x0000000109095591 bin/maci64/libmwmcr.dylib+00435601 _Z19mnPrintErrorMessageRKNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE+00002081[ 4] 0x0000000109094ee0 bin/maci64/libmwmcr.dylib+00433888 _Z19mnPrintErrorMessageRKNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE+00000368[ 5] 0x00000001090938da bin/maci64/libmwmcr.dylib+00428250 mnFatalSignalHandler+00000154[ 6] 0x0000000104679b3a /usr/lib/system/libsystem_platform.dylib+00011066 _sigtramp+00000026[ 7] 0x0000000000000000 <unknown-module>+00000000[ 8] 0x00000001045bd3bf /usr/lib/system/libsystem_malloc.dylib+00037823 nano_malloc+00000035[ 9] 0x00000001045b6282 /usr/lib/system/libsystem_malloc.dylib+00008834 malloc_zone_malloc+00000107[ 10] 0x00000001045b5200 /usr/lib/system/libsystem_malloc.dylib+00004608 malloc+00000024[ 11] 0x0000000104454939 /usr/lib/system/libsystem_c.dylib+00379193 strdup+00000032[ 12] 0x00000001046f7ae2 /usr/lib/system/libxpc.dylib+00031458 _xpc_string_deserialize+00000068[ 13] 0x00000001046f6e2b /usr/lib/system/libxpc.dylib+00028203 _xpc_dictionary_deserialize_apply+00000048[ 14] 0x00000001046f6cb3 /usr/lib/system/libxpc.dylib+00027827 _xpc_dictionary_apply_wire_f+00000755[ 15] 0x00000001046f69a4 /usr/lib/system/libxpc.dylib+00027044 _xpc_dictionary_deserialize+00000113[ 16] 0x00000001046f79e3 /usr/lib/system/libxpc.dylib+00031203 _xpc_dictionary_unpack_value_and_vend+00000018[ 17] 0x00000001046f4914 /usr/lib/system/libxpc.dylib+00018708 _xpc_dictionary_look_up+00000737[ 18] 0x00007fff791efba1 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices+00035745 _ZN22LSNotificationReceiver29receiveNotificationFromServerEP17_xpc_connection_sPv+00000193[ 19] 0x00000001046faf96 /usr/lib/system/libxpc.dylib+00044950 _xpc_connection_call_event_handler+00000035[ 20] 0x00000001046f995f /usr/lib/system/libxpc.dylib+00039263 _xpc_connection_mach_event+00001707[ 21] 0x000000010435f726 /usr/lib/system/libdispatch.dylib+00030502 _dispatch_client_callout4+00000009[ 22] 0x000000010435f999 /usr/lib/system/libdispatch.dylib+00031129 _dispatch_mach_msg_invoke+00000414[ 23] 0x000000010436f7db /usr/lib/system/libdispatch.dylib+00096219 _dispatch_queue_serial_drain+00000443[ 24] 0x000000010435e497 /usr/lib/system/libdispatch.dylib+00025751 _dispatch_mach_invoke+00000868[ 25] 0x000000010437024c /usr/lib/system/libdispatch.dylib+00098892 _dispatch_root_queue_drain_deferred_item+00000284[ 26] 0x000000010437327a /usr/lib/system/libdispatch.dylib+00111226 _dispatch_kevent_worker_thread+00000929[ 27] 0x000000010468f47b /usr/lib/system/libsystem_pthread.dylib+00013435 _pthread_wqthread+00001004[ 28] 0x000000010468f07d /usr/lib/system/libsystem_pthread.dylib+00012413 start_wqthread+00000013
Best Answer