MATLAB crashes with only two lines in crash dump stack trace

조회 수: 26 (최근 30일)
Michael Hess
Michael Hess 2021년 8월 31일
답변: Raymond Norris 2021년 8월 31일
Hello!
I am trying to get MATLAB to run on a High-performance computing system (Slurm, if that matters) but MATLAB crashes when trying to start the process. I am using the -batch option, and I am trying to start a parallel pool within the process, if any of that matters.
I had been having some other issues with the parallel pool initialization, and I followed some instructions that said to delete the ~/.matlab/R2020a folder, as some files were corrupted in there and the post said that MATLAB would automatically regenerate this folder, so it may be possible this error originates from this change, but I am not at all sure.
I am rather new to debugging these types of problems in MATLAB, so I am having a hard time understanding the crash dump, as there are only the two lines in the stack trace, and I'm not sure what "unknown-module" could be referring to... I would assume it is my script, but I do not know what part of the script would be causing the crash...
Any suggestions for how to read these types of files or for what might be causing this problem?
Here's the crash dump:
--------------------------------------------------------------------------------
Segmentation violation detected at Mon Aug 30 17:15:09 2021 -0400
--------------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : UTF-8
Deployed : false
GNU C Library : 2.28 stable
Java Version : Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Architecture : glnxa64
MATLAB Entitlement ID : 3089667
MATLAB Root : /geode2/soft/hps/rhel8/matlab/2020a
MATLAB Version : 9.8.0.1323502 (R2020a)
Operating System : Linux 4.18.0-305.10.2.el8_4.x86_64 #1 SMP Mon Jul 12 04:43:18 EDT 2021 x86_64
Process ID : 556305
Processor ID : x86 Family 143 Model 49 Stepping 0, AuthenticAMD
Session Key : 011c6558-e359-4281-a1e9-6a0cbe6e9cb9
Static TLS mitigation : Disabled: Unnecessary
Window System : No active display
Fault Count: 1
Abnormal termination:
Segmentation violation
Register State (from fault):
RAX = 0000000003ddd6b8 RBX = 0000146f05999000
RCX = 0000000000000003 RDX = 0000146f05998da0
RSP = 0000146f03ff97f8 RBP = 0000146f03ff98f0
RSI = 00000000ffffffff RDI = 0000146f03ff9880
R8 = 0000146efcc77968 R9 = 0000000000000002
R10 = 0000146f03ff9594 R11 = 0000146f03ff9580
R12 = 0000146f05999000 R13 = 0000146f03ff9880
R14 = 0000146f03ff99c0 R15 = 0000146efcc77968
RIP = 0000146f10d3a142 EFL = 0000000000010207
CS = 0033 FS = 0000 GS = 0000
Stack Trace (from fault):
[ 0] 0x0000146f10d3a142 /geode2/soft/hps/rhel8/matlab/2020a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+04653378
[ 1] 0x0000146e616d0000 <unknown-module>+00000000
Thanks so much!
  댓글 수: 1
Michael Hess
Michael Hess 2021년 8월 31일
I just realized that I am actually getting different crash stack traces for each process I try to run...
Here is another dump I get, but there are more if they might be more helpful in tracking this problem down.
--------------------------------------------------------------------------------
Segmentation violation detected at Mon Aug 30 17:15:55 2021 -0400
--------------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : UTF-8
Deployed : false
GNU C Library : 2.28 stable
Graphics Driver : Unknown software
Graphics card 1 : 0x1a03 ( 0x1a03 ) 0x2000 Version 0.0.0.0 (0-0-0)
Java Version : Java 1.8.0_202-b08 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Architecture : glnxa64
MATLAB Entitlement ID : 3089667
MATLAB Root : /geode2/soft/hps/rhel8/matlab/2020a
MATLAB Version : 9.8.0.1323502 (R2020a)
OpenGL : software
Operating System : Linux 4.18.0-305.10.2.el8_4.x86_64 #1 SMP Mon Jul 12 04:43:18 EDT 2021 x86_64
Process ID : 556499
Processor ID : x86 Family 143 Model 49 Stepping 0, AuthenticAMD
Session Key : 6dc44b51-3439-4c96-8bd2-b2e3ae7d67c1
Static TLS mitigation : Disabled: Unnecessary
Window System : No active display
Fault Count: 1
Abnormal termination:
Segmentation violation
Register State (from fault):
RAX = 0000150a74dcf4c8 RBX = 0000150a74dcf480
RCX = 00000000f53c8748 RDX = 0000150a656842bd
RSP = 0000150a83ff5a68 RBP = 0000150a83ff5ac8
RSI = 000000000b1f12f8 RDI = 00000000f53c8688
R8 = 0000000000000000 R9 = 0000000000000001
R10 = 0000150a89c2ac60 R11 = 0000150a659aec80
R12 = 0000000000000000 R13 = 0000150a83ff5a80
R14 = 0000150a83ff5ae0 R15 = 0000150a8599c800
RIP = 0000150a659aec8f EFL = 0000000000010a03
CS = 0033 FS = 0000 GS = 0000
Stack Trace (from fault):
[ 0] 0x0000150a659aec8f <unknown-module>+00000000
[ 1] 0x0000150a656842bd <unknown-module>+00000000
[ 2] 0x0000150a65c455a4 <unknown-module>+00000000
[ 3] 0x0000150a65684040 <unknown-module>+00000000
[ 4] 0x0000150a65684040 <unknown-module>+00000000
[ 5] 0x0000150a65684040 <unknown-module>+00000000
[ 6] 0x0000150a65684040 <unknown-module>+00000000
[ 7] 0x0000150a65684040 <unknown-module>+00000000
[ 8] 0x0000150a65684040 <unknown-module>+00000000
[ 9] 0x0000150a6567c7a7 <unknown-module>+00000000
[ 10] 0x0000150a892d539b /geode2/soft/hps/rhel8/matlab/2020a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+06849435
[ 11] 0x0000150a895e6da5 /geode2/soft/hps/rhel8/matlab/2020a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+10067365
[ 12] 0x0000150a895e8cd7 /geode2/soft/hps/rhel8/matlab/2020a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+10075351
[ 13] 0x0000150a8934a58b /geode2/soft/hps/rhel8/matlab/2020a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+07329163 JVM_NewInstanceFromConstructor+00000123
[ 14] 0x0000150a65694087 <unknown-module>+00000000
[ 15] 0x0000150a65684040 <unknown-module>+00000000
[ 16] 0x0000150a65684040 <unknown-module>+00000000
[ 17] 0x0000150a65684114 <unknown-module>+00000000
[ 18] 0x0000150a65684040 <unknown-module>+00000000
[ 19] 0x0000150a65684040 <unknown-module>+00000000
[ 20] 0x0000150a656842bd <unknown-module>+00000000
[ 21] 0x0000150a65684040 <unknown-module>+00000000
[ 22] 0x0000150a65684040 <unknown-module>+00000000
[ 23] 0x0000150a656842bd <unknown-module>+00000000
[ 24] 0x0000150a6567c7a7 <unknown-module>+00000000
[ 25] 0x0000150a892d539b /geode2/soft/hps/rhel8/matlab/2020a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+06849435
[ 26] 0x0000150a895e6da5 /geode2/soft/hps/rhel8/matlab/2020a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+10067365
[ 27] 0x0000150a895e8cd7 /geode2/soft/hps/rhel8/matlab/2020a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+10075351
[ 28] 0x0000150a8934a58b /geode2/soft/hps/rhel8/matlab/2020a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+07329163 JVM_NewInstanceFromConstructor+00000123
[ 29] 0x0000150a65694087 <unknown-module>+00000000
[ 30] 0x0000150a65684040 <unknown-module>+00000000
[ 31] 0x0000150a65684040 <unknown-module>+00000000
[ 32] 0x0000150a65684114 <unknown-module>+00000000
[ 33] 0x0000150a65684040 <unknown-module>+00000000
[ 34] 0x0000150a65684040 <unknown-module>+00000000
[ 35] 0x0000150a656842bd <unknown-module>+00000000
[ 36] 0x0000150a65684040 <unknown-module>+00000000
[ 37] 0x0000150a656842bd <unknown-module>+00000000
[ 38] 0x0000150a656842bd <unknown-module>+00000000
[ 39] 0x0000150a65684040 <unknown-module>+00000000
[ 40] 0x0000150a65684040 <unknown-module>+00000000
[ 41] 0x0000150a6567c7a7 <unknown-module>+00000000
[ 42] 0x0000150a892d539b /geode2/soft/hps/rhel8/matlab/2020a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+06849435
[ 43] 0x0000150a895e6da5 /geode2/soft/hps/rhel8/matlab/2020a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+10067365
[ 44] 0x0000150a895e86e6 /geode2/soft/hps/rhel8/matlab/2020a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+10073830
[ 45] 0x0000150a8934a3e2 /geode2/soft/hps/rhel8/matlab/2020a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+07328738 JVM_InvokeMethod+00000258
[ 46] 0x0000150a65694087 <unknown-module>+00000000
[ 47] 0x0000150a65684040 <unknown-module>+00000000
[ 48] 0x0000150a65684040 <unknown-module>+00000000
[ 49] 0x0000150a65684114 <unknown-module>+00000000
[ 50] 0x0000150a65684040 <unknown-module>+00000000
[ 51] 0x0000150a65684040 <unknown-module>+00000000
[ 52] 0x0000150a65684040 <unknown-module>+00000000
[ 53] 0x0000150a65684040 <unknown-module>+00000000
[ 54] 0x0000150a65684040 <unknown-module>+00000000
[ 55] 0x0000150a65684040 <unknown-module>+00000000
[ 56] 0x0000150a656842bd <unknown-module>+00000000
[ 57] 0x0000150a656842bd <unknown-module>+00000000
[ 58] 0x0000150a656842bd <unknown-module>+00000000
[ 59] 0x0000150a6567c7a7 <unknown-module>+00000000
[ 60] 0x0000150a892d539b /geode2/soft/hps/rhel8/matlab/2020a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+06849435
[ 61] 0x0000150a893198cf /geode2/soft/hps/rhel8/matlab/2020a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+07129295
[ 62] 0x0000150a89319b88 /geode2/soft/hps/rhel8/matlab/2020a/sys/java/jre/glnxa64/jre/lib/amd64/server/libjvm.so+07129992
[ 63] 0x0000150a9014c559 /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/matlab_startup_plugins/jmi/../../../../bin/glnxa64/libmwjmi.so+01176921
[ 64] 0x0000150a9019de2b /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/matlab_startup_plugins/jmi/../../../../bin/glnxa64/libmwjmi.so+01510955
[ 65] 0x0000150a8a7acb2c /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwmcos_impl.so+05593900
[ 66] 0x0000150a8a7a7ffa /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwmcos_impl.so+05574650
[ 67] 0x0000150a97d90cb6 /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwm_dispatcher.so+00576694 _ZN18Mfh_MATLAB_fn_impl19dispatch_with_reuseEiPP11mxArray_tagiS2_+00000278
[ 68] 0x0000150a959e077e /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwm_lxe.so+11405182
[ 69] 0x0000150a959e49c6 /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwm_lxe.so+11422150
[ 70] 0x0000150a959e03c5 /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwm_lxe.so+11404229
[ 71] 0x0000150a959eb582 /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwm_lxe.so+11449730
[ 72] 0x0000150a958b6098 /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwm_lxe.so+10182808
[ 73] 0x0000150a959b5033 /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwm_lxe.so+11227187
[ 74] 0x0000150a95923474 /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwm_lxe.so+10630260
[ 75] 0x0000150a9594a9ad /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwm_lxe.so+10791341
[ 76] 0x0000150a9545e667 /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwm_lxe.so+05629543
[ 77] 0x0000150a954608f4 /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwm_lxe.so+05638388
[ 78] 0x0000150a9545d5cd /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwm_lxe.so+05625293
[ 79] 0x0000150a954551b1 /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwm_lxe.so+05591473
[ 80] 0x0000150a954553e9 /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwm_lxe.so+05592041
[ 81] 0x0000150a9545cdd6 /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwm_lxe.so+05623254
[ 82] 0x0000150a9545ced6 /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwm_lxe.so+05623510
[ 83] 0x0000150a9559658d /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwm_lxe.so+06907277
[ 84] 0x0000150a95599d05 /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwm_lxe.so+06921477
[ 85] 0x0000150a957c0c61 /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwm_lxe.so+09178209
[ 86] 0x0000150a958a1227 /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwm_lxe.so+10097191
[ 87] 0x0000150a958a1475 /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwm_lxe.so+10097781
[ 88] 0x0000150a97e130ef /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwm_dispatcher.so+01110255 _ZN8Mfh_file20dispatch_file_commonEMS_FviPP11mxArray_tagiS2_EiS2_iS2_+00000207
[ 89] 0x0000150a97e152a3 /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwm_dispatcher.so+01118883 _ZN8Mfh_file19dispatch_with_reuseEiPP11mxArray_tagiS2_+00000323
[ 90] 0x0000150a959e077e /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwm_lxe.so+11405182
[ 91] 0x0000150a9576bcb6 /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwm_lxe.so+08830134
[ 92] 0x0000150a9576be2c /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwm_lxe.so+08830508
[ 93] 0x0000150a9580bf7b /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwm_lxe.so+09486203
[ 94] 0x0000150a9580d028 /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwm_lxe.so+09490472
[ 95] 0x0000150a97c1c1f0 /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwm_interpreter.so+01335792 _Z44inCallFcnWithTrapInDesiredWSAndPublishEventsiPP11mxArray_tagiS1_PKcbP15inWorkSpace_tag+00000080
[ 96] 0x0000150a9c1def15 /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwiqm.so+00737045 _ZN3iqm15BaseFEvalPlugin7executeEP15inWorkSpace_tag+00001253
[ 97] 0x0000150a97f523a9 /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwmcr.so+00951209
[ 98] 0x0000150a9c1e4d46 /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwiqm.so+00761158 _ZN3iqm26DelegateToAnotherIqmPlugin7executeEP15inWorkSpace_tag+00000022
[ 99] 0x0000150a9018b9ba /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/matlab_startup_plugins/jmi/../../../../bin/glnxa64/libmwjmi.so+01436090
[100] 0x0000150a9c1ce690 /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwiqm.so+00669328
[101] 0x0000150a9c1b41e8 /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwiqm.so+00561640
[102] 0x0000150a9784b78b /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwbridge.so+00321419
[103] 0x0000150a9784c2d4 /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwbridge.so+00324308
[104] 0x0000150a97854136 /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwbridge.so+00356662
[105] 0x0000150a97854489 /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwbridge.so+00357513
[106] 0x0000150a97854a08 /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwbridge.so+00358920 _Z8mnParserv+00000344
[107] 0x0000150a97f54ee3 /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwmcr.so+00962275
[108] 0x0000150ab42e367b /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwmvm.so+03217019 _ZN14cmddistributor15PackagedTaskIIP10invokeFuncIN7mwboost8functionIFvvEEEEENS2_10shared_ptrINS2_13unique_futureIDTclfp_EEEEEERKT_+00000059
[109] 0x0000150ab42e3768 /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwmvm.so+03217256 _ZNSt17_Function_handlerIFN7mwboost3anyEvEZN14cmddistributor15PackagedTaskIIP10createFuncINS0_8functionIFvvEEEEESt8functionIS2_ET_EUlvE_E9_M_invokeERKSt9_Any_data+00000024
[110] 0x0000150a9c1ed35c /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwiqm.so+00795484 _ZN7mwboost6detail8function21function_obj_invoker0ISt8functionIFNS_3anyEvEES4_E6invokeERNS1_15function_bufferE+00000028
[111] 0x0000150a9c1ed017 /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwiqm.so+00794647 _ZN3iqm18PackagedTaskPlugin7executeEP15inWorkSpace_tag+00000439
[112] 0x0000150a97f52a05 /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwmcr.so+00952837
[113] 0x0000150a9c1ce690 /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwiqm.so+00669328
[114] 0x0000150a9c1b2199 /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwiqm.so+00553369
[115] 0x0000150a9c1b2ddb /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwiqm.so+00556507
[116] 0x0000150a97f37018 /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwmcr.so+00839704
[117] 0x0000150a97f37632 /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwmcr.so+00841266
[118] 0x0000150a97f37ea4 /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwmcr.so+00843428
[119] 0x0000150ab2635a02 /geode2/soft/hps/rhel8/matlab/2020a/bin/glnxa64/libmwboost_thread.so.1.70.0+00064002
[120] 0x0000150ab395214a /lib64/libpthread.so.0+00033098
[121] 0x0000150ab30e9dc3 /lib64/libc.so.6+01035715 clone+00000067

댓글을 달려면 로그인하십시오.

답변 (2개)

Image Analyst
Image Analyst 2021년 8월 31일
Your quickest path to success is to read the FAQ and do what it says:
Trust me on that. If you wait on Answers you may wait days or probably never even get an answer that solves it.
Also, if you were presented with a screen when it crashed, or when you restarted MATLAB to send the crash report into Mathworks, do so. An actual live person will read it and give you a response.
If not, feel free to call them.

Raymond Norris
Raymond Norris 2021년 8월 31일
This post isn't getting stack traces, but it might point you in the right direction: https://www.mathworks.com/matlabcentral/answers/1440039-how-to-prevent-parpool-error#answer_773734?s_tid=prof_contriblnk

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by