MATLAB Crashes when trying to run "svmtrain" on CentOS

2 views (last 30 days)
I'm trying to run some feature selection and classification models using libsvm on my university's supercomputer. I haven't had issues in the past running these functions and libsvm has been properly made on my system. But recently, the code will start running and then crash once it tries to use "svmtrain". It generates the attached segment violation and crash dump. I've tried re-compiling libsvm, running on a different cluster, increasing memory, but I still get this report. Am I diagnosing the problem right or is there something in the crash report that clears it up? The error report generated is the following.
--------------------------------------------------------------------------------
Segmentation violation detected at 2024-05-02 11:59:09 -0500
--------------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : US-ASCII
Deployed : false
GNU C Library : 2.17 stable
Graphics Driver : Uninitialized software
Graphics card 1 : 0x102b ( 0x102b ) 0x538 Version 0.0.0.0 (0-0-0)
Interpreter 0 : Executing request: 696F6C69622F494F436D64526571756573742E637070
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 : 5510488
MATLAB Root : /common/software/install/manual/matlab/R2023b
MATLAB Version : 23.2.0.2515942 (R2023b) Update 7
OpenGL : software
Operating System : "CentOS Linux release 7.9.2009 (Core)"
Process ID : 444755
Processor ID : x86 Family 25 Model 1 Stepping 1, AuthenticAMD
Session Key : 75b65d13-e558-4b4a-ba21-29ba6392eb75
Static TLS mitigation : Disabled: Unnecessary
Window System : No active display
Fault Count: 1
Abnormal termination:
Segmentation violation
Current Thread: 'MCR 0 interpret' id 139656632989440
Register State (from fault):
RAX = 0000000000000000 RBX = 0000000000000000
RCX = 00007f039ea87a00 RDX = 00000000ffffffff
RSP = 00007f0457ff8bd0 RBP = 00007f0457ff8c60
RSI = 00007f044c000030 RDI = 00007f044c000020
R8 = 00007f039ea78240 R9 = 00007f039ea87ad0
R10 = 0000000000000002 R11 = 00007f04f66fcae0
R12 = 00007f039ea87ab0 R13 = 0000000000000000
R14 = 00007f039ea87a90 R15 = 00007f039ea84510
RIP = 00007f03512e080f EFL = 0000000000010202
CS = 0033 FS = 0000 GS = 0000
Stack Trace (from fault):
[ 0] 0x00007f03512e080f /home/ME/Matlab_tools/Code_Bank/Classification_Packages/libsvm-3.17/matlab/svmpredict.mexa64+00030735
[ 1] 0x00007f03512dbbc7 /home/ME/Matlab_tools/Code_Bank/Classification_Packages/libsvm-3.17/matlab/svmpredict.mexa64+00011207
[ 2] 0x00007f03512dc2ad /home/ME/Matlab_tools/Code_Bank/Classification_Packages/libsvm-3.17/matlab/svmpredict.mexa64+00012973 mexFunction+00000285
[ 3] 0x00007f04ec284a1f /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmex.so+00956959
[ 4] 0x00007f04ec284a97 /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmex.so+00957079
[ 5] 0x00007f04ec284b07 /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmex.so+00957191
[ 6] 0x00007f04ec2860ba /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmex.so+00962746
[ 7] 0x00007f04ec271a70 /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmex.so+00879216
[ 8] 0x00007f04eca66976 /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmwm_dispatcher.so+01579382 _ZN8Mfh_file20dispatch_file_commonEMS_FviPP11mxArray_tagiS2_EiS2_iS2_+00000166
[ 9] 0x00007f04eca67a6c /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmwm_dispatcher.so+01583724
[ 10] 0x00007f04eca67dae /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmwm_dispatcher.so+01584558 _ZN8Mfh_file8dispatchEiPSt10unique_ptrI11mxArray_tagN6matrix6detail17mxDestroy_deleterEEiPPS1_+00000030
[ 11] 0x00007f04dfd27b32 /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmwlxemainservices.so+02550578
[ 12] 0x00007f04dfd27e34 /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmwlxemainservices.so+02551348
[ 13] 0x00007f04db0ff55f /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmwm_lxe.so+11314527
[ 14] 0x00007f04db0f1200 /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmwm_lxe.so+11256320
[ 15] 0x00007f04db081992 /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmwm_lxe.so+10799506
[ 16] 0x00007f04dadaed20 /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmwm_lxe.so+07839008
[ 17] 0x00007f04dadb1064 /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmwm_lxe.so+07848036
[ 18] 0x00007f04dadae589 /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmwm_lxe.so+07837065
[ 19] 0x00007f04dadbfe5f /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmwm_lxe.so+07908959
[ 20] 0x00007f04dadc08b9 /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmwm_lxe.so+07911609
[ 21] 0x00007f04dadae394 /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmwm_lxe.so+07836564
[ 22] 0x00007f04dadae496 /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmwm_lxe.so+07836822
[ 23] 0x00007f04daef6e3c /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmwm_lxe.so+09182780
[ 24] 0x00007f04daefafa1 /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmwm_lxe.so+09199521
[ 25] 0x00007f04dfeae118 /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmwlxemainservices.so+04149528
[ 26] 0x00007f04dfd8979f /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmwlxemainservices.so+02951071
[ 27] 0x00007f04dfd90937 /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmwlxemainservices.so+02980151
[ 28] 0x00007f04dfe50f65 /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmwlxemainservices.so+03768165
[ 29] 0x00007f04dfe513ce /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmwlxemainservices.so+03769294
[ 30] 0x00007f04ecd5b322 /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmwiqm.so+01028898 _ZN3iqm14UserEvalPlugin7executeEP15inWorkSpace_tag+00000754
[ 31] 0x00007f04ecd33f20 /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmwiqm.so+00868128
[ 32] 0x00007f04ecd4188b /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmwiqm.so+00923787
[ 33] 0x00007f04eccff92b /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmwiqm.so+00653611
[ 34] 0x00007f04ec359b09 /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmwbridge.so+00498441
[ 35] 0x00007f04ec359f93 /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmwbridge.so+00499603
[ 36] 0x00007f04ec375702 /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmwbridge.so+00612098 _Z22mnGetCommandLineBufferbRbN7mwboost8optionalIKP15inWorkSpace_tagEEbRKNS0_9function2IN6mlutil14cmddistributor17inExecutionStatusERKNSt7__cxx1112basic_stringIDsSt11char_traitsIDsESaIDsEEES4_EE+00000210
[ 37] 0x00007f04ec375a9c /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmwbridge.so+00613020 _Z8mnParserv+00000572
[ 38] 0x00007f04ecbcc57f /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmwmcr.so+00890239
[ 39] 0x00007f04f94f65b4 /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmwmvm.so+03360180 _ZN14cmddistributor15PackagedTaskIIP10invokeFuncIN7mwboost8functionIFvvEEEEENS2_10shared_ptrINS2_6futureIDTclfp_EEEEEERKT_+00000068
[ 40] 0x00007f04f94f6869 /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmwmvm.so+03360873 _ZNSt17_Function_handlerIFN7mwboost3anyEvEZN14cmddistributor15PackagedTaskIIP10createFuncINS0_8functionIFvvEEEEESt8functionIS2_ET_EUlvE_E9_M_invokeERKSt9_Any_data+00000025
[ 41] 0x00007f04ecd5539d /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmwiqm.so+01004445 _ZN3iqm18PackagedTaskPlugin7executeEP15inWorkSpace_tag+00000093
[ 42] 0x00007f04ecbc81a5 /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmwmcr.so+00872869
[ 43] 0x00007f04ecd33f20 /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmwiqm.so+00868128
[ 44] 0x00007f04eccfdd92 /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmwiqm.so+00646546
[ 45] 0x00007f04eccfe6e3 /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmwiqm.so+00648931
[ 46] 0x00007f04ecbb765e /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmwmcr.so+00804446
[ 47] 0x00007f04ecbb7255 /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmwmcr.so+00803413
[ 48] 0x00007f04ecbb74ad /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmwmcr.so+00804013
[ 49] 0x00007f04f7f65277 /common/software/install/manual/matlab/R2023b/bin/glnxa64/libmwboost_thread.so.1.78.0+00045687
[ 50] 0x00007f04f89c1ea5 /lib64/libpthread.so.0+00032421
[ 51] 0x00007f04f84fab0d /lib64/libc.so.6+01043213 clone+00000109
This error was detected while a MEX-file was running. If the MEX-file
is not an official MathWorks function, please examine its source code
for errors. Please consult the External Interfaces Guide for information
on debugging MEX-files.

Answers (1)

Ganapathi Subramanian R
Ganapathi Subramanian R on 4 Jun 2024
Hi Thomas,
I understand that you are facing MATLAB crash while running "svmtrain" on CentOS.
After reviewing the crash log, I suspect that the issue you are facing is due to 'svmpredict' MEX file.
For a more detailed investigation, I highly recommend you to refer the following documentation.
This will help you in identifying the root cause of the issue.
Additionally, it is important to note that CentOS is not supported by MATLAB. This compatibility issue could also be contributing to the issue you are facing. I suggest you to move to a system that meets the requirements outlined in the MATLAB documentation for Linux systems.
I hope this helps.
Thanks

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2023b

Community Treasure Hunt

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

Start Hunting!