Even I tried changing the
sudo mv libstdc++.so.6 libstdc++.so.6.old
at /usr/local/MATLAB/R2019a/sys/os/glnxa64
but now the error is
Segmentation violation detected at Tue Mar 05 18:18:29 2024 +0530
--------------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : UTF-8
Deployed : false
Desktop Environment : GNOME-Classic:GNOME
GNU C Library : 2.17 stable
Java Version : Java 1.8.0_181-b13 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Architecture : glnxa64
MATLAB Entitlement ID : 6225069
MATLAB Root : /usr/local/MATLAB/R2019a
MATLAB Version : 9.6.0.1114505 (R2019a) Update 2
Operating System : Linux 3.10.0-1160.24.1.el7.x86_64 #1 SMP Thu Mar 25 21:21:56 UTC 2021 x86_64
Process ID : 11137
Processor ID : x86 Family 6 Model 85 Stepping 4, GenuineIntel
Session Key : d8dfe199-35f0-405e-b4ea-c03940d5381d
Static TLS mitigation : Enabled: Full
Window System : The X.Org Foundation (12004000), display :0
Fault Count: 1
Abnormal termination:
Segmentation violation
Register State (from fault):
RAX = 0000000000000058 RBX = 0000000000000000
RCX = 0000000000000010 RDX = 0000000000000008
RSP = 00007f143fffdcf0 RBP = 00007f1438007910
RSI = 0000000000000000 RDI = 00007f1438007910
R8 = 00007f1540b11f99 R9 = 0000000000000007
R10 = 0000000000000000 R11 = 0000000000000000
R12 = 0000000000000058 R13 = 00007f143fffddd0
R14 = 000000000000000a R15 = 00007f143fffdd50
RIP = 00007f15409f8fb8 EFL = 0000000000010202
CS = 0033 FS = 0000 GS = 0000
Stack Trace (from fault):
[ 0] 0x00007f15409f8fb8 /lib64/libc.so.6+00454584 fputs+00000024
[ 1] 0x00007f15227ae82f /usr/local/MATLAB/R2019a/bin/glnxa64/libmwparser_alias.so+00059439
[ 2] 0x00007f15227a7029 /usr/local/MATLAB/R2019a/bin/glnxa64/libmwparser_alias.so+00028713
[ 3] 0x00007f15227a48ff /usr/local/MATLAB/R2019a/bin/glnxa64/libmwparser_alias.so+00018687 _ZN12parser_alias22FlexBisonParserAdapter5parseERKNSt7__cxx1112basic_stringIDsSt11char_traitsIDsESaIDsEEE+00000063
[ 4] 0x00007f1520f98028 /usr/local/MATLAB/R2019a/bin/glnxa64/libmwmcos_impl.so+02535464
[ 5] 0x00007f1520f958b1 /usr/local/MATLAB/R2019a/bin/glnxa64/libmwmcos_impl.so+02525361
[ 6] 0x00007f1520f9b782 /usr/local/MATLAB/R2019a/bin/glnxa64/libmwmcos_impl.so+02549634
[ 7] 0x00007f15211a6ec0 /usr/local/MATLAB/R2019a/bin/glnxa64/libmwmcos_impl.so+04693696
[ 8] 0x00007f15283e3a4c /usr/local/MATLAB/R2019a/bin/glnxa64/libmwtabcompletion.so+00936524 _ZN7mwboost6detail8function26void_function_obj_invoker1IZN10foundation7msg_svc8eventmgr8EventMgr9subscribeIN9MathWorks14PathManagement23PathHasBeenChangedEventEPFvRKSA_EEESt10unique_ptrINS5_10ConnectionESt14default_deleteISG_EERKT0_EUlRKNS5_9BaseEventEE_vSP_E6invokeERNS1_15function_bufferESP_+00000204
[ 9] 0x00007f153f489e2b /usr/local/MATLAB/R2019a/bin/glnxa64/libmwms.so+02227755 _ZN10foundation7msg_svc8eventmgr6detail10UserCbPack6invokeERKNS1_9BaseEventE+00001147
[ 10] 0x00007f153f4a9102 /usr/local/MATLAB/R2019a/bin/glnxa64/libmwms.so+02355458
[ 11] 0x00007f153f4ac795 /usr/local/MATLAB/R2019a/bin/glnxa64/libmwms.so+02369429
[ 12] 0x00007f153f4c864b /usr/local/MATLAB/R2019a/bin/glnxa64/libmwms.so+02483787
[ 13] 0x00007f153f4cc436 /usr/local/MATLAB/R2019a/bin/glnxa64/libmwms.so+02499638
[ 14] 0x00007f153f4cc72c /usr/local/MATLAB/R2019a/bin/glnxa64/libmwms.so+02500396
[ 15] 0x00007f153f4cbba7 /usr/local/MATLAB/R2019a/bin/glnxa64/libmwms.so+02497447
[ 16] 0x00007f153f4a8bec /usr/local/MATLAB/R2019a/bin/glnxa64/libmwms.so+02354156
[ 17] 0x00007f153f4a7821 /usr/local/MATLAB/R2019a/bin/glnxa64/libmwms.so+02349089
[ 18] 0x00007f1540355bdd /usr/local/MATLAB/R2019a/bin/glnxa64/libmwboost_thread.so.1.65.1+00080861
[ 19] 0x00007f15412f7ea5 /lib64/libpthread.so.0+00032421
[ 20] 0x00007f1540a889fd /lib64/libc.so.6+01042941 clone+00000109
[ 21] 0x0000000000000000 <unknown-module>+00000000