Segmentation violation detected MATLAB has encountered an internal problem

44 views (last 30 days)
I am using RHEL 7 operating system 3.10.0-1160.24.1.el7.x86_64. on starting matlab I am facing the below issue
MATLAB crash file:/home/DST-CSRI/matlab_crash_dump.23144-1:
--------------------------------------------------------------------------------
Segmentation violation detected at Tue Mar 05 11:51:44 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 : 23144
Processor ID : x86 Family 6 Model 85 Stepping 4, GenuineIntel
Session Key : 65b89086-2d01-4eb6-951f-7b1549df9bd7
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 = 0000000000000000 RDX = 0000000000000008
RSP = 00007f9bd16bccf0 RBP = 00007f9bb4007b40
RSI = 0000000000000000 RDI = 00007f9bb4007b40
R8 = 00007f9cb6115f99 R9 = 0000000000000007
R10 = 0000000000000000 R11 = 0000000000000000
R12 = 0000000000000058 R13 = 00007f9bd16bcdd0
R14 = 000000000000000a R15 = 00007f9bd16bcd50
RIP = 00007f9cb5ffcfb8 EFL = 0000000000010202
CS = 0033 FS = 0000 GS = 0000
Stack Trace (from fault):
[ 0] 0x00007f9cb5ffcfb8 /lib64/libc.so.6+00454584 fputs+00000024
[ 1] 0x00007f9c9801e82f /usr/local/MATLAB/R2019a/bin/glnxa64/libmwparser_alias.so+00059439
[ 2] 0x00007f9c98017029 /usr/local/MATLAB/R2019a/bin/glnxa64/libmwparser_alias.so+00028713
[ 3] 0x00007f9c980148ff /usr/local/MATLAB/R2019a/bin/glnxa64/libmwparser_alias.so+00018687 _ZN12parser_alias22FlexBisonParserAdapter5parseERKNSt7__cxx1112basic_stringIDsSt11char_traitsIDsESaIDsEEE+00000063
[ 4] 0x00007f9c92592028 /usr/local/MATLAB/R2019a/bin/glnxa64/libmwmcos_impl.so+02535464
[ 5] 0x00007f9c9258f8b1 /usr/local/MATLAB/R2019a/bin/glnxa64/libmwmcos_impl.so+02525361
[ 6] 0x00007f9c92595782 /usr/local/MATLAB/R2019a/bin/glnxa64/libmwmcos_impl.so+02549634
[ 7] 0x00007f9c927a0ec0 /usr/local/MATLAB/R2019a/bin/glnxa64/libmwmcos_impl.so+04693696
[ 8] 0x00007f9c9d9e0a4c /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] 0x00007f9cb4a8de2b /usr/local/MATLAB/R2019a/bin/glnxa64/libmwms.so+02227755 _ZN10foundation7msg_svc8eventmgr6detail10UserCbPack6invokeERKNS1_9BaseEventE+00001147
[ 10] 0x00007f9cb4aad102 /usr/local/MATLAB/R2019a/bin/glnxa64/libmwms.so+02355458
[ 11] 0x00007f9cb4ab0795 /usr/local/MATLAB/R2019a/bin/glnxa64/libmwms.so+02369429
[ 12] 0x00007f9cb4acc64b /usr/local/MATLAB/R2019a/bin/glnxa64/libmwms.so+02483787
[ 13] 0x00007f9cb4ad0436 /usr/local/MATLAB/R2019a/bin/glnxa64/libmwms.so+02499638
[ 14] 0x00007f9cb4ad072c /usr/local/MATLAB/R2019a/bin/glnxa64/libmwms.so+02500396
[ 15] 0x00007f9cb4acfba7 /usr/local/MATLAB/R2019a/bin/glnxa64/libmwms.so+02497447
[ 16] 0x00007f9cb4aacbec /usr/local/MATLAB/R2019a/bin/glnxa64/libmwms.so+02354156
[ 17] 0x00007f9cb4aab821 /usr/local/MATLAB/R2019a/bin/glnxa64/libmwms.so+02349089
[ 18] 0x00007f9cb5959bdd /usr/local/MATLAB/R2019a/bin/glnxa64/libmwboost_thread.so.1.65.1+00080861
[ 19] 0x00007f9cb68fbea5 /lib64/libpthread.so.0+00032421
[ 20] 0x00007f9cb608c9fd /lib64/libc.so.6+01042941 clone+00000109
[ 21] 0x0000000000000000 <unknown-module>+00000000
  1 Comment
John P John
John P John on 5 Mar 2024
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

Sign in to comment.

Answers (1)

Gyan Vaibhav
Gyan Vaibhav on 12 Mar 2024
Hi John,
So as from the stack trace I think both the traces give the same error. To answer you better it would be nice, if you can tell us, were you able to use MATLAB before, and it has started crashing, or have you just installed and it fails to start.
As from the trace, it seems that MATLAB can't find the symbolic link to /lib64/libc.so.6.
Here are a few things that you can try:
  1. If you have a fresh install, you can try re-installing following the official linux installation guide, on the Mathworks page. https://www.mathworks.com/help/install/ug/install-products-with-internet-connection.html
  2. Follow this answer to create the symbolic link, and then try restarting MATLAB. https://www.mathworks.com/matlabcentral/answers/95976-why-do-i-get-a-libc-so-6-not-found-error-when-launching-matlab-in-ubuntu
  3. Reinstall the libc.so.6 library. For that you can follow this page https://www.golinuxcloud.com/how-do-i-install-the-linux-library-libc-so-6/
Hope this helps.
Thanks
Gyan

Categories

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

Community Treasure Hunt

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

Start Hunting!