Matlab R2017a (9.2.0.538062) crashes when calling functions from the Parallel Computing Toolbox (MacOS Sierra 10.12.5)

10 vues (au cours des 30 derniers jours)
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 : Quartz
Fault Count: 3
Abnormal termination:
Segmentation violation
Register 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 = 00007000016d6498
Stack 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+00000013
Abnormal termination:
Segmentation violation
Register 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 = 0000700003a4ffff
Stack 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>+00000000
Abnormal termination:
Segmentation violation
Register 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 = 0000000000000000
Stack 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
  3 commentaires
Daniel Hackenberg
Daniel Hackenberg le 27 Mai 2017
Modifié(e) : Daniel Hackenberg le 27 Mai 2017
Is this the same issue?
Starting parallel pool (parpool) using the 'local' profile ...
------------------------------------------------------------------------
Segmentation violation detected at Sat May 27 13:05:37 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 : nemo
MATLAB Architecture : maci64
MATLAB Entitlement ID: 673963
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 70 Stepping 1, GenuineIntel
Virtual Machine : Java 1.7.0_75-b13 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
Window System : Quartz
Fault Count: 1
Abnormal termination:
Segmentation violation
Register State (from fault):
RAX = 0000000000000050 RBX = 00007000035cda80
RCX = 0000000000000000 RDX = 0000000000000000
RSP = 0000000178897db0 RBP = 0000000000000000
RSI = 0000600000a13490 RDI = 00007000035cdab8
R8 = 00000000000000e0 R9 = 0000000178882250
R10 = 00006000014829e0 R11 = 000061800403cf00
R12 = 00007000035cdaf0 R13 = 00000001086910b3
R14 = 000061800403cf00 R15 = 00007fc436c762e0
RIP = 0000000178882250 RFL = 0000600000a130b0
CS = 0000618002c6aea0 FS = 0000000114905c00 GS = 0000002800000000
Stack Trace (from fault):
[ 0] 0x00000001046936b4 bin/maci64/libmwfl.dylib+00034484 _ZN2fl4diag15stacktrace_base7captureERKNS0_14thread_contextEm+00000052
[ 1] 0x000000010469706a bin/maci64/libmwfl.dylib+00049258 _ZN2fl4test17terminate_handledEv+00000810
[ 2] 0x0000000104696ad9 bin/maci64/libmwfl.dylib+00047833 _ZN2fl4diag13terminate_logEPKcPK17__darwin_ucontext+00000185
[ 3] 0x000000010730d591 bin/maci64/libmwmcr.dylib+00435601 _Z19mnPrintErrorMessageRKNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE+00002081
[ 4] 0x000000010730cee0 bin/maci64/libmwmcr.dylib+00433888 _Z19mnPrintErrorMessageRKNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE+00000368
[ 5] 0x000000010730b8da bin/maci64/libmwmcr.dylib+00428250 mnFatalSignalHandler+00000154
[ 6] 0x00000001028ebb3a /usr/lib/system/libsystem_platform.dylib+00011066 _sigtramp+00000026
[ 7] 0x0000000000000001 <unknown-module>+00000000
[ 8] 0x0000000108690dea bin/maci64/libmwm_lxe.dylib+01732074 _ZN9MathWorks3lxe15LxeCompilerImpl12getNextBlockEPNS0_9LxeThreadEPNS0_12IrEngineImplE+00000058
[ 9] 0x0000000108792011 bin/maci64/libmwm_lxe.dylib+02785297 _ZN9MathWorks3lxe15ExecutionDriver12GetNextBlockEv+00000081
[ 10] 0x0000000108793355 bin/maci64/libmwm_lxe.dylib+02790229 _ZN9MathWorks3lxe15ExecutionDriver9ThreadRunEv+00004805
[ 11] 0x00000001087995ec bin/maci64/libmwm_lxe.dylib+02815468 _ZN9MathWorks3lxe12IrEngineImpl5ApplyERKN2ir4termEPvS6_+00000300
[ 12] 0x0000000108d0205f bin/maci64/libmwm_lxe.dylib+08487007 _ZN9MathWorks3lxe17IrEngineDecorator5ApplyERKN2ir4termEPvS6_+00000159
[ 13] 0x0000000108e228ef bin/maci64/libmwm_lxe.dylib+09668847 _ZN9MathWorks3lxe27FileBasedMatlabCodeFunction14DispatchScriptEiPP11mxArray_tagiS4_+00000399
[ 14] 0x0000000107426828 bin/maci64/libmwm_dispatcher.dylib+00440360 _ZN8Mfh_file16dispatch_fh_implEMS_FviPP11mxArray_tagiS2_EiS2_iS2_+00000840
[ 15] 0x0000000107426c43 bin/maci64/libmwm_dispatcher.dylib+00441411 _ZN8Mfh_file11dispatch_fhEiPP11mxArray_tagiS2_+00000035
[ 16] 0x0000000108e2c20b bin/maci64/libmwm_lxe.dylib+09708043 _ZN9MathWorks3lxe17LxeDispatcherImpl12apply_handleEPNS0_29DispatcherFunctionHandleTokenEmPNS0_6xvalueEmPKS4_+00000891
[ 17] 0x0000000108e9f42e bin/maci64/libmwm_lxe.dylib+10179630 _ZN9MathWorks3lxe38cpp_primitive_template_fn_with_contextIXadL_ZNS0_16ans_apply_handleEPvNS_2ts4TypeEPKvS2_S2_EEEEbS2_S4_S6_S2_S2_+00000014
[ 18] 0x0000000108671614 bin/maci64/libmwm_lxe.dylib+01603092 _ZN9MathWorks3lxe13IrInterpreter17ApplyCppPrimitiveEPN2ir4termES4_RKNS_2ts4TypeES8_+00000404
[ 19] 0x0000000108670a10 bin/maci64/libmwm_lxe.dylib+01600016 _ZN9MathWorks3lxe13IrInterpreter31process_application_of_constantEPN2ir4termE+00001216
[ 20] 0x000000010866f081 bin/maci64/libmwm_lxe.dylib+01593473 _ZN9MathWorks3lxe13IrInterpreter13applyConstantEPN2ir4termE+00000081
[ 21] 0x000000010866b0fc bin/maci64/libmwm_lxe.dylib+01577212 _ZN9MathWorks3lxe12IRTreeWalker9applyTermEPN2ir4termE+00000092
[ 22] 0x000000010866b4f3 bin/maci64/libmwm_lxe.dylib+01578227 _ZN9MathWorks3lxe12IRTreeWalker11getNextIRPCENS0_9irpc_typeE+00000563
[ 23] 0x000000010866ee27 bin/maci64/libmwm_lxe.dylib+01592871 _ZN9MathWorks3lxe13IrInterpreter9tree_walkERKNS0_9irpc_typeES4_+00000215
[ 24] 0x000000010866ed0b bin/maci64/libmwm_lxe.dylib+01592587 _ZN9MathWorks3lxe13IrInterpreter9InterpretEv+00000091
[ 25] 0x0000000108793674 bin/maci64/libmwm_lxe.dylib+02791028 _ZN9MathWorks3lxe15ExecutionDriver9ThreadRunEv+00005604
[ 26] 0x00000001087995ec bin/maci64/libmwm_lxe.dylib+02815468 _ZN9MathWorks3lxe12IrEngineImpl5ApplyERKN2ir4termEPvS6_+00000300
[ 27] 0x0000000108d0205f bin/maci64/libmwm_lxe.dylib+08487007 _ZN9MathWorks3lxe17IrEngineDecorator5ApplyERKN2ir4termEPvS6_+00000159
[ 28] 0x0000000108cc231f bin/maci64/libmwm_lxe.dylib+08225567 _ZN9MathWorks3lxe9Evaluator15ApplyStatementsERKN2ir4termERNS0_18IEvaluationContextE+00000415
[ 29] 0x0000000108cc5936 bin/maci64/libmwm_lxe.dylib+08239414 _ZN9MathWorks3lxe9Evaluator17EvalStatementImplEPKcRNS0_18IEvaluationContextE+00000278
[ 30] 0x0000000108cc5a28 bin/maci64/libmwm_lxe.dylib+08239656 _ZN9MathWorks3lxe9Evaluator13EvalStatementERKNSt3__112basic_stringIDsNS2_11char_traitsIDsEENS2_9allocatorIDsEEEERNS0_18IEvaluationContextE+00000136
[ 31] 0x0000000108d4c32e bin/maci64/libmwm_lxe.dylib+08790830 _ZN9MathWorks3lxe9LxeBridge7EvalCmdERKNSt3__112basic_stringIDsNS2_11char_traitsIDsEENS2_9allocatorIDsEEEEb+00000382
[ 32] 0x0000000108d4c1e7 bin/maci64/libmwm_lxe.dylib+08790503 _ZN9MathWorks3lxe9LxeBridge7EvalCmdERKNSt3__112basic_stringIDsNS2_11char_traitsIDsEENS2_9allocatorIDsEEEEb+00000055
[ 33] 0x00000001084a86dd bin/maci64/libmwbridge.dylib+00071389 _Z28evalCommandWithLongjmpSafetyRKNSt3__112basic_stringIDsNS_11char_traitsIDsEENS_9allocatorIDsEEEE+00000093
[ 34] 0x00000001084a8e4d bin/maci64/libmwbridge.dylib+00073293 _Z8mnParserv+00001165
[ 35] 0x00000001072c83b3 bin/maci64/libmwmcr.dylib+00152499 _ZN3mcr7runtime26InterpreterThreadSingleton4Impl30mnParser_on_interpreter_threadEP11mcrInstance+00000035
[ 36] 0x00000001072cac91 bin/maci64/libmwmcr.dylib+00162961 _ZN3mcr7runtime26InterpreterThreadSingleton4Impl22TypedInvocationRequestIvE29doNotRethrowMxArrayExceptionsERKN5boost8functionIFvvEEE+00000033
[ 37] 0x00000001072cb72e bin/maci64/libmwmcr.dylib+00165678 _ZN5boost13packaged_taskIvEC2INS_3_bi6bind_tIvPFvRKNS_8functionIFvvEEEENS3_5list1INS3_5valueIS7_EEEEEEEEOT_NS_10disable_ifINS_7is_sameINS_5decayISH_E4typeES1_EEPNS1_5dummyEE4typeE+00001038
[ 38] 0x00000001072c8863 bin/maci64/libmwmcr.dylib+00153699 _ZN3mcr7runtime26InterpreterThreadSingleton4Impl26invocation_request_handlerEl+00000035
[ 39] 0x0000000107141740 bin/maci64/libmwiqm.dylib+00399168 _ZN3iqm32registerSingletonIqmPpeConditionENSt3__110unique_ptrIN8services13system_events12PpeConditionENS0_14default_deleteIS4_EEEE+00007312
[ 40] 0x0000000107129c7e bin/maci64/libmwiqm.dylib+00302206 _ZN5boost6detail8function21function_obj_invoker0INSt3__18functionIFNS_3anyEvEEES5_E6invokeERNS1_15function_bufferE+00000030
[ 41] 0x0000000107129377 bin/maci64/libmwiqm.dylib+00299895 _ZN3iqm18PackagedTaskPlugin7executeEP15inWorkSpace_tagRN5boost10shared_ptrIN14cmddistributor17IIPCompletedEventEEE+00000263
[ 42] 0x00000001071068bf bin/maci64/libmwiqm.dylib+00157887 _ZNK3iqm17DefaultPacketInfo7executeEP15inWorkSpace_tag+00000351
[ 43] 0x00000001070ec5ca bin/maci64/libmwiqm.dylib+00050634 _ZN3iqm10DefaultIqm7dequeueEN6mlutil14cmddistributor13WhenToDequeue13WhenToDequeueEN5boost8optionalImEE+00001914
[ 44] 0x00000001070f3a33 bin/maci64/libmwiqm.dylib+00080435 _ZNK3iqm10DefaultIqm38isPacketAvailableToDispatchDuringPauseEv+00001923
[ 45] 0x0000000101e5c3b9 bin/maci64/libmwservices.dylib+00725945 _Z40svWS_ProcessPendingEventsWithLimitedRateb+00002329
[ 46] 0x0000000101e5b252 bin/maci64/libmwservices.dylib+00721490 _Z25svWS_ProcessPendingEventsiib+00001138
[ 47] 0x0000000101e5ae9d bin/maci64/libmwservices.dylib+00720541 _Z25svWS_ProcessPendingEventsiib+00000189
[ 48] 0x00000001072c8b3d bin/maci64/libmwmcr.dylib+00154429 _ZN3mcr7runtime26InterpreterThreadSingleton4Impl14process_eventsERKN5boost10shared_ptrIS2_EE+00000221
[ 49] 0x00000001072c8ffb bin/maci64/libmwmcr.dylib+00155643 _ZN3mcr7runtime26InterpreterThreadSingleton4Impl3runERKN5boost10shared_ptrIS2_EEPNS2_12init_contextE+00000219
[ 50] 0x00000001072a98b6 bin/maci64/libmwmcr.dylib+00026806 _Z26run_init_and_handle_eventsPv+00000054
[ 51] 0x000000010290393b /usr/lib/system/libsystem_pthread.dylib+00014651 _pthread_body+00000180
[ 52] 0x0000000102903887 /usr/lib/system/libsystem_pthread.dylib+00014471 _pthread_body+00000000
[ 53] 0x000000010290308d /usr/lib/system/libsystem_pthread.dylib+00012429 thread_start+00000013
This is on a MacBook Pro Retina End 2013, 2.6 GHz Intel Core i7, 16 GB 1600 MHz DDR3, NVIDIA GeForce GT 750M 2048 MB, macOS 10.12.5., CUDA 8.0.83 driver for MAC
Here is the output you requested:
nemo:~ dh$ vm_stat
Mach Virtual Memory Statistics: (page size of 4096 bytes)
Pages free: 80396.
Pages active: 1388168.
Pages inactive: 1364075.
Pages speculative: 59956.
Pages throttled: 0.
Pages wired down: 677125.
Pages purgeable: 141622.
"Translation faults": 60046004.
Pages copy-on-write: 1760171.
Pages zero filled: 23265325.
Pages reactivated: 2247302.
Pages purged: 468187.
File-backed pages: 635468.
Anonymous pages: 2176731.
Pages stored in compressor: 1548495.
Pages occupied by compressor: 622497.
Decompressions: 1418768.
Compressions: 3778281.
Pageins: 2321295.
Pageouts: 37944.
Swapins: 58653.
Swapouts: 153814.
nemo:~ dh$ ulimit -a
core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
max locked memory (kbytes, -l) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 4864
pipe size (512 bytes, -p) 1
stack size (kbytes, -s) 8192
cpu time (seconds, -t) unlimited
max user processes (-u) 709
virtual memory (kbytes, -v) unlimited
Alison Eele
Alison Eele le 30 Mai 2017
Hi David,
I'm not sure you have the same issue but feel free to try the workaround below and then contact MathWorks Installation Support if the issue is still occurring. http://www.mathworks.com/support/contact_us/index.html

Connectez-vous pour commenter.

Réponse acceptée

Alison Eele
Alison Eele le 30 Mai 2017
The error may be a result of the ulimit settings being too low.
To check ulimit, open Terminal and run the following:
>>ulimit -a
If you see that the "max user processes" and "open files" are set to low values (For example, open files (-n) 256, max user processes (-u) 709), please raise those two values to be able to open larger pools. The ulimit command can be used to set these values, run ulimit in Terminal and it will identify which switches to use to make the changes. With the move to El Capitan and newer OS X and macOS you may not have the ability to make these changes due to restrictions in place. Creating plists for each of the settings will allow this however.
Create the following files:
/Library/LaunchDaemons/limit.maxfiles.plist
/Library/LaunchDaemons/limit.maxproc.plist
Content of the files should be as shown bellow:
limit.maxfiles.plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>limit.maxfiles</string>
<key>ProgramArguments</key>
<array>
<string>launchctl</string>
<string>limit</string>
<string>maxfiles</string>
<string>524288</string>
<string>524288</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>ServiceIPC</key>
<false/>
</dict>
</plist>
and the second one for limit.maxproc.plist:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple/DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>limit.maxproc</string>
<key>ProgramArguments</key>
<array>
<string>launchctl</string>
<string>limit</string>
<string>maxproc</string>
<string>2048</string>
<string>2048</string>
</array>
<key>RunAtLoad</key>
<true />
<key>ServiceIPC</key>
<false />
</dict>
</plist>
Once the files have been created change the ownership to root:wheel:
>>sudo chown root:wheel /Library/LaunchDaemons/limit.maxfiles.plist
>>sudo chown root:wheel /Library/LaunchDaemons/limit.maxproc.plist
Next load the plists:
>>sudo launchctl load -w /Library/LaunchDaemons/limit.maxfiles.plist
>>sudo launchctl load -w /Library/LaunchDaemons/limit.maxproc.plist
Once complete reboot and run ulimit -a again in Terminal and these two options should be increased.
Try validation and parpool again.
If the errors persist please contact MathWorks Installation Support:
  5 commentaires
James Sainsbury
James Sainsbury le 9 Août 2022
Have just seen this problem on a large Redhat Linux 7.9 (RHEL7) machine.
parpool('local', 40) was failing - the box has 2 sockets x 32 cores no HT.
The error logs confusingly claim the JVM cannot allocate memory (this is a Tb machine.)
The default Redhat 'maxproc' (soft)limit is 4096 - 'proc' really means threads.
Lifting this to 8092 fixes the problem:
Adding /etc/security/limits.d/21-nproc-override.conf containing
* soft nproc 8092
root soft nproc unlimited
should increase every user's soft limit (20-nproc.conf could be clobbered by an update.)
Hope this helps someone.

Connectez-vous pour commenter.

Plus de réponses (1)

Andreas Horn
Andreas Horn le 25 Fév 2021
Confirming this works even though my limits had not been so low.

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by