Segmentation violation detected MATLAB has encountered an internal problem
Show older comments
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
on 5 Mar 2024
Answers (1)
Gyan Vaibhav
on 12 Mar 2024
0 votes
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:
- 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
- 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
- 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!