Matlab Crashes at Startup after changing Opengl settings

2 views (last 30 days)
MATLAB is running good on my linux workstation utill I change opengl setting to by executing opengl('save', hardware'). Now it crashes giving following error messages at the start up. I tried running matlab -nodesktop and it doesn't work either. Any help is very appreciated.
$: matlab -nodesktop
/usr/local/bin/matlab: line 1335: lsb_release: command not found
--------------------------------------------------------------------------------
Segmentation violation detected at Fri Sep 13 20:16:43 2019 -0400
--------------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled - No sandbox or build area path
Crash Mode : continue (default)
Default Encoding : UTF-8
Desktop Environment : GNOME-Classic:GNOME
GNU C Library : 2.17 stable
MATLAB Architecture : glnxa64
MATLAB Root : /usr/local/MATLAB/R2019a
MATLAB Version : 9.6.0.1072779 (R2019a)
Operating System : Linux 3.10.0-957.27.2.el7.x86_64 #1 SMP Mon Jul 29 17:46:05 UTC 2019 x86_64
Process ID : 27310
Processor ID : x86 Family 6 Model 85 Stepping 4, GenuineIntel
Static TLS mitigation : Enabled: Full
Fault Count: 1
Abnormal termination:
Segmentation violation
Register State (from fault):
RAX = 00007f1a9800a800 RBX = 00007f1a98022970
RCX = 00007f1a97ffe9d0 RDX = 00007f1aaf783fa8
RSP = 00007f1a97ffe950 RBP = 00007f1a97ffe980
RSI = 0000000000000000 RDI = 00007f1a97ffe9d8
R8 = 0000000000000000 R9 = 0000000000000000
R10 = 0000000000000003 R11 = 0000000000000246
R12 = 00007f1aa63ea280 R13 = 00007f1a97ffea20
R14 = 00007f1a97ffec00 R15 = 00007f1a980229c0
RIP = 00007f1ac0dc6eab EFL = 0000000000010206
CS = 0033 FS = 0000 GS = 0000
Stack Trace (from fault):
[ 0] 0x00007f1ac0dc6eab /usr/local/MATLAB/R2019a/bin/glnxa64/libmwfoundation_usm.so+00081579 _ZN10foundation3usm10management10thisthread16ContextActivatorC1INS0_5scope3MvmEEERNS1_7ContextIT_EE+00000011
[ 1] 0x00007f1aa62abe30 /usr/local/MATLAB/R2019a/bin/glnxa64/libmwmcr.so+00843312
[ 2] 0x00007f1aa62ac4b3 /usr/local/MATLAB/R2019a/bin/glnxa64/libmwmcr.so+00844979
[ 3] 0x00007f1aa62acd24 /usr/local/MATLAB/R2019a/bin/glnxa64/libmwmcr.so+00847140
** This crash report has been saved to disk as /home/dharmarathnes/matlab_crash_dump.27310-1 **
MATLAB is exiting because of fatal error
Killed

Answers (1)

Prasanna Sethuraman
Prasanna Sethuraman on 22 Jan 2021
Edited: Prasanna Sethuraman on 22 Jan 2021
Remove .matlab/<version>/graphics.json in your home folder and matlab should start again.

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!