Parpool crashes on MacOS Monterey 12.3 on at least 3 Matlab versions (2020b, 2021b, 2022a)

5 views (last 30 days)
After upgrading to Monterey 12.3, Matlab crashes while trying to start the parallel pool. This happens with all Matlab versions I tried (Matlab 2022a, 2021b, and 2020b) on my M1Pro Macbook Pro 16" with 32GB RAM. Has anyone else experienced the same issue?
This is the error message I get:
Error using parpool (line 149) Parallel pool failed to start with the following error. For more detailed information, validate the profile 'local' in the Cluster Profile Manager.
Caused by: Error using parallel.internal.pool.InteractiveClient>iThrowWithCause (line 676) Failed to initialize the interactive session. Error using parallel.internal.pool.InteractiveClient>iThrowIfBadParallelJobStatus (line 816) The interactive communicating job finished with no message.
Following the instructions in this message, when validating the local profile, the SPMD job test fails with the following bus error:
Error Report: Job errored or did not reach the state 'finished'.
Debug Log: LOG FILE OUTPUT:
Resetting path to factory state.
--------------------------------------------------------------------------------
Bus error detected at 2022-03-19 17:36:13 -0400
--------------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : UTF-8
Deployed : false
Graphics Driver : Unknown software
Java Version : Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Architecture : maci64
MATLAB Entitlement ID : 867776
MATLAB Root : /Applications/MATLAB_R2020b.app
MATLAB Version : 9.9.0.1857802 (R2020b) Update 7
OpenGL : software
Operating System : Mac OS Version 10.16 (Build 21E230)
Process ID : 1744
Processor ID : x86 Family 6 Model 44 Stepping 0, GenuineIntel
Session Key : ec8a77f4-96ae-4519-b98e-59617a537c9d
Window System : None
Fault Count: 2
Abnormal termination:
Bus error
Current Thread: 'Java: com.mathworks.addons_common.InstalledAddonfor Add-On Cont' id 0x30a31f000
Register State (from fault):
RAX = 00000001301a0130 RBX = 00000000ffffff65
RCX = 0000000000000001 RDX = 000000013ef95000
RSP = 000000030a31daf0 RBP = 000000030a31daf0
RSI = 0000000000000000 RDI = 00000001301a0050
R8 = 0000000000000000 R9 = 0000000000000400
R10 = 000000000000007c R11 = 0000000000000000
R12 = 000000030a31dc48 R13 = 000000030a31dc18
R14 = 00007ff3550fb000 R15 = 000000012c3bf6a0
RIP = 000000012bfed3bc RFL = 0000000000000202
CS = 000000000000002b FS = 0000000000000000 GS = 0000000000000000
Stack Trace (from fault):
[ 0] 0x000000010b6c89e9 /Applications/MATLAB_R2020b.app/bin/maci64/libmwfl.dylib+00006633 _ZN10foundation4core4diag15stacktrace_base7captureERKNS1_14thread_contextEm+00000057
[ 1] 0x000000010b6ce2fa /Applications/MATLAB_R2020b.app/bin/maci64/libmwfl.dylib+00029434 _ZN10foundation4core4test17terminate_handledERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE+00011546
[ 2] 0x000000010b6cb325 /Applications/MATLAB_R2020b.app/bin/maci64/libmwfl.dylib+00017189 _ZN10foundation4core4diag13terminate_logEPKcPK17__darwin_ucontext+00000149
[ 3] 0x000000011439bc0b /Applications/MATLAB_R2020b.app/bin/maci64/libmwmcr.dylib+00564235 _Z19mnPrintErrorMessageRKNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE+00012427
[ 4] 0x000000011439969d /Applications/MATLAB_R2020b.app/bin/maci64/libmwmcr.dylib+00554653 _Z19mnPrintErrorMessageRKNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE+00002845
[ 5] 0x00000001143970d0 /Applications/MATLAB_R2020b.app/bin/maci64/libmwmcr.dylib+00544976 mnFatalSignalHandler+00000144
[ 6] 0x00007ff811dbedfd /usr/lib/system/libsystem_platform.dylib+00015869 _sigtramp+00000029
[ 7] 0x0000000000000000 <unknown-module>+00000000
[ 8] 0x0000000140e0efc9 <unknown-module>+00000000
** This crash report has been saved to disk as /Users/nicolas/matlab_crash_dump.1744-1 **
MATLAB is exiting because of fatal error
Resetting path to factory state.
--------------------------------------------------------------------------------
Bus error detected at 2022-03-19 17:36:14 -0400
--------------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : UTF-8
Deployed : false
Graphics Driver : Unknown software
Java Version : Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Architecture : maci64
MATLAB Entitlement ID : 867776
MATLAB Root : /Applications/MATLAB_R2020b.app
MATLAB Version : 9.9.0.1857802 (R2020b) Update 7
OpenGL : software
Operating System : Mac OS Version 10.16 (Build 21E230)
Process ID : 1745
Processor ID : x86 Family 6 Model 44 Stepping 0, GenuineIntel
Session Key : c9c4e01c-85d7-478d-8a05-8d7297b1a87b
Window System : None
Fault Count: 1
Abnormal termination:
Bus error
Current Thread: 'Java: com.mathworks.addons_common.notificationframework.Install' id 0x30d6a5000
Register State (from fault):
RAX = 000000013177b5f0 RBX = 00000000000000b6
RCX = 0000000000000001 RDX = 00007fc823adb590
RSP = 000000030d6a1e50 RBP = 000000030d6a1e50
RSI = 0000000000000000 RDI = 000000013177b510
R8 = 000000030d6a0da8 R9 = 0000000000000001
R10 = 00000001424fe858 R11 = 0000000000000001
R12 = 0000000000000000 R13 = 0000000000000007
R14 = 0000000142502f98 R15 = 000000013177b510
RIP = 000000012d6363bc RFL = 0000000000000202
CS = 000000000000002b FS = 0000000000000000 GS = 0000000000000000
Stack Trace (from fault):
[ 0] 0x000000010cd119e9 /Applications/MATLAB_R2020b.app/bin/maci64/libmwfl.dylib+00006633 _ZN10foundation4core4diag15stacktrace_base7captureERKNS1_14thread_contextEm+00000057
[ 1] 0x000000010cd172fa /Applications/MATLAB_R2020b.app/bin/maci64/libmwfl.dylib+00029434 _ZN10foundation4core4test17terminate_handledERKNSt3__112basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEE+00011546
[ 2] 0x000000010cd14325 /Applications/MATLAB_R2020b.app/bin/maci64/libmwfl.dylib+00017189 _ZN10foundation4core4diag13terminate_logEPKcPK17__darwin_ucontext+00000149
[ 3] 0x00000001159e4c0b /Applications/MATLAB_R2020b.app/bin/maci64/libmwmcr.dylib+00564235 _Z19mnPrintErrorMessageRKNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE+00012427
[ 4] 0x00000001159e269d /Applications/MATLAB_R2020b.app/bin/maci64/libmwmcr.dylib+00554653 _Z19mnPrintErrorMessageRKNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEE+00002845
[ 5] 0x00000001159e00d0 /Applications/MATLAB_R2020b.app/bin/maci64/libmwmcr.dylib+00544976 mnFatalSignalHandler+00000144
[ 6] 0x00007ff811dbedfd /usr/lib/system/libsystem_platform.dylib+00015869 _sigtramp+00000029
[ 7] 0x000000012d595d14 /Applications/MATLAB_R2020b.app/sys/java/jre/maci64/jre/lib/server/libjvm.dylib+03988756 _ZN12LinkResolver14resolve_methodER12methodHandle11KlassHandleP6SymbolS4_S2_bbP6Thread+00000870
** This crash report has been saved to disk as /Users/nicolas/matlab_crash_dump.1745-1 **
MATLAB is exiting because of fatal error
Error: /dev/ttys002 does not exist.

Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products

Community Treasure Hunt

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

Start Hunting!