MATLAB Answers

Why do I receive a segmentation violation when starting MATLAB configured to use Login Named User?

59 views (last 30 days)
I have an installation of MATLAB configured to use Login Named User (LNU). When starting MATLAB it crashes with a segmentation violation with information similar to the following:
Abnormal termination:
Segmentation violation
Register State (from fault):
RAX = 0000000000000000 RBX = 00000000100e5088
RCX = 00002b676c75aaa0 RDX = 00000000100e5978
RSP = 00000000490ce820 RBP = 00000000490ce930
RSI = 0000000000000001 RDI = 00000000100e5978
R8 = 0000000000000000 R9 = 0000000000000000
R10 = 0000000000000000 R11 = 00002b676c75aab6
R12 = 00000000100e5088 R13 = 00000000100e5978
R14 = 00000000490cea60 R15 = 00000000490cea60
RIP = 00002b67652cc1eb EFL = 0000000000010206
CS = 0033 FS = 0000 GS = 0000
Stack Trace (from fault):
[ 0] 0x00002b6764bc01de /apps/matlab/R2012b_trial/bin/glnxa64/ _ZN2fl4diag15stacktrace_base7captureERKNS0_14thread_contextEm+000158
[ 1] 0x00002b6764bc14b2 /apps/matlab/R2012b_trial/bin/glnxa64/
[ 2] 0x00002b6764bc2ffe /apps/matlab/R2012b_trial/bin/glnxa64/ _ZN2fl4diag13terminate_logEPKcRKNS0_14thread_contextE+000174
[ 3] 0x00002b676598b093 /apps/matlab/R2012b_trial/bin/glnxa64/ _ZN2fl4diag13terminate_logEPKcPK8ucontext+000067
[ 4] 0x00002b6765987b9d /apps/matlab/R2012b_trial/bin/glnxa64/

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 7 Mar 2013
The reason for this error is that the current user doesn't have permission to access the XML file needed to use the Login Named User (LNU) feature. This XML file is named "license_info.xml" and is located in one of the following locations:
1) The $MATLAB/licenses folder, where $MATLAB is the MATLAB installation directory.
2) The user application data folder (Windows) or home folder (Linux/Mac)
Windows: %appdata%/Mathworks/MATLAB/R20xx_licenses
Mac/Linux/Solaris: ~/.matlab/R20xx_licenses
Granting read access to the XML file to the affected user will resolve this issue.

More Answers (0)


No tags entered yet.




Community Treasure Hunt

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

Start Hunting!