Segmentation violation detected Matlab

5 views (last 30 days)
Jason Edgecombe
Jason Edgecombe on 23 Sep 2019
Answered: Saket Chirania on 2 Jun 2020
After installing Matlab and trying to run it. This error is produced.
---------------------------------------------------------------------------------------------
Segmentation violation detected at Mon Sep 23 11:35:03 2019 -0400
--------------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : UTF-8
GNU C Library : 2.17 stable
MATLAB Architecture : glnxa64
MATLAB Root : /opt/coe/matlab2019b/matlab
MATLAB Version : 9.7.0.1190202 (R2019b)
Operating System : "Red Hat Enterprise Linux Workstation release 7.6 (Maipo)"
Process ID : 12598
Processor ID : x86 Family 6 Model 94 Stepping 3, GenuineIntel
Static TLS mitigation : Enabled: Full
Fault Count: 1
Abnormal termination:
Segmentation violation
Register State (from fault):
RAX = 00007fa14802cc70 RBX = 00007fa148065c90
RCX = 00007fa13ffc3990 RDX = 00007fa141f53f88
RSP = 00007fa13ffc3910 RBP = 00007fa13ffc3940
RSI = 0000000000000000 RDI = 00007fa13ffc3998
R8 = 0000000000000000 R9 = 0000000000000000
R10 = 0000000000000000 R11 = 0000000000000202
R12 = 00007fa140a12680 R13 = 00007fa13ffc39e0
R14 = 00007fa13ffc3bc0 R15 = 00007fa148065ce8
RIP = 00007fa16077b67b EFL = 0000000000010202
CS = 0033 FS = 0000 GS = 0000
Stack Trace (from fault):
[ 0] 0x00007fa16077b67b /opt/coe/matlab2019b/matlab/bin/glnxa64/libmwfoundation_usm.so+00083579 _ZN10foundation3usm10management10thisthread16ContextActivatorC1INS0_5scope3MvmEEERNS1_7ContextIT_EE+00000011
[ 1] 0x00007fa1408d9510 /opt/coe/matlab2019b/matlab/bin/glnxa64/libmwmcr.so+00845072
[ 2] 0x00007fa1408d9b93 /opt/coe/matlab2019b/matlab/bin/glnxa64/libmwmcr.so+00846739
[ 3] 0x00007fa1408da404 /opt/coe/matlab2019b/matlab/bin/glnxa64/libmwmcr.so+00848900
  1 Comment
SciFiPhysics Guy
SciFiPhysics Guy on 13 Nov 2019
Yes, Mine is similar:
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : UTF-8
GNU C Library : 2.17 stable
MATLAB Architecture : glnxa64
MATLAB Root : /opt/MATLAB/R2019b
MATLAB Version : 9.7.0.1216025 (R2019b) Update 1
Operating System : "Red Hat Enterprise Linux Server release 7.7 (Maipo)"
Process ID : 24835
Processor ID : x86 Family 6 Model 60 Stepping 3, GenuineIntel
Static TLS mitigation : Enabled: Full
Fault Count: 1
Abnormal termination:
Segmentation violation
Register State (from fault):
RAX = 00007fd17c031d20 RBX = 00007fd17c0636b0
RCX = 00007fd16b754990 RDX = 00007fd1757aff88
RSP = 00007fd16b754910 RBP = 00007fd16b754940
RSI = 0000000000000000 RDI = 00007fd16b754998
R8 = 0000000000000000 R9 = 0000000000000000
R10 = 0000000000000000 R11 = 0000000000000202
R12 = 00007fd174271680 R13 = 00007fd16b7549e0
R14 = 00007fd16b754bc0 R15 = 00007fd17c063708
RIP = 00007fd19386867b EFL = 0000000000010202
CS = 0033 FS = 0000 GS = 0000
Stack Trace (from fault):
[ 0] 0x00007fd19386867b /opt/MATLAB/R2019b/bin/glnxa64/libmwfoundation_usm.so+00083579 _ZN10foundation3usm10management10thisthread16ContextActivatorC1INS0_5scope3MvmEEERNS1_7ContextIT_EE+00000011
[ 1] 0x00007fd174138510 /opt/MATLAB/R2019b/bin/glnxa64/libmwmcr.so+00845072
[ 2] 0x00007fd174138b93 /opt/MATLAB/R2019b/bin/glnxa64/libmwmcr.so+00846739
[ 3] 0x00007fd174139404 /opt/MATLAB/R2019b/bin/glnxa64/libmwmcr.so+00848900
** This crash report has been saved to disk as /root/matlab_crash_dump.24835-1 **

Sign in to comment.

Answers (1)

Saket Chirania
Saket Chirania on 2 Jun 2020
Hi Jason,
Here the decoded Stack Trace:
Stack Trace (from fault):
[ 0] 0x00007fa16077b67b foundation::usm::management::thisthread::ContextActivator::ContextActivator(foundation::usm::management::Context&) at /mathworks/devel/bat/BR2019bd/build/matlab/foundation/usm/management.cpp:1025 (in /mathworks/devel/bat/archive/R2019b/perfect/matlab/bin/glnxa64/libmwfoundation_usm.so)
[ 1] 0x00007fa1408d9510 mcr::runtime::InterpreterThreadMulti::process_events() at /mathworks/devel/bat/BR2019bd/build/matlab/src/mcr/runtime/InterpreterThreadMulti.cpp:263 (in /mathworks/devel/bat/archive/R2019b/perfect/matlab/bin/glnxa64/libmwmcr.so)
[ 2] 0x00007fa1408d9b93 mcr::runtime::InterpreterThreadMulti::threadMain(std::packaged_task) at /mathworks/devel/bat/BR2019bd/build/matlab/src/mcr/runtime/InterpreterThreadMulti.cpp:332 (in /mathworks/devel/bat/archive/R2019b/perfect/matlab/bin/glnxa64/libmwmcr.so)
[ 3] 0x00007fa1408da404 operator() at /mathworks/devel/bat/BR2019bd/build/matlab/src/mcr/runtime/InterpreterThreadMulti.cpp:154 (in /mathworks/devel/bat/archive/R2019b/perfect/matlab/bin/glnxa64/libmwmcr.so)
It looks like segementaion error is occuring due to some of the cpp files such as management.cpp and InterpreterThreadMulti.cpp.

Categories

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

Products

Community Treasure Hunt

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

Start Hunting!