MATLAB: Matlab crashes after the assertion “Could not initialize GLX” failed

crashglxMATLAB

vsimk: <unknown>:0: <unknown>: Assertion `Could not initialize GLX' failed.
————————————————————————
Assertion detected at Fri Jan 4 20:40:10 2019
————————————————————————
Configuration:
Crash Decoding : Disabled – No sandbox or build area path
Crash Mode : continue (default)
Current Graphics Driver: Unknown software
Current Visual : 0x22 (class 4, depth 24)
Default Encoding : UTF-8
Deployed : true
GNU C Library : 2.12 stable
Host Name : atlas-hn13
MATLAB Architecture : glnxa64
MATLAB Entitlement ID: Unknown
MATLAB Root : /apps/matlab/9.3
MATLAB Version : 9.3.0.713579 (R2017b)
OpenGL : hardware
Operating System : Linux 2.6.32-754.2.1.el6.x86_64 #1 SMP Tue Jul 3 16:37:52 EDT 2018 x86_64
Processor ID : x86 Family 6 Model 26 Stepping 5, GenuineIntel
Window System : Hummingbird – Open Text (13860), display rengsl-atlas1-eod.ngst.northgrum
Fault Count: 1
Assertion:
Could not initialize GLX
Register State (captured):
RAX = 00002aaa00000001 RBX = 00002aaab6e93358
RCX = 000000000000000a RDX = 00002aaab6e74360
RSP = 00002aaaf483a390 RBP = 00002aaaf483a750
RSI = 00002aaab6c367d7 RDI = 00002aaaf483a3a0
R8 = 584c4720657a696c R9 = 0000000000000000
R10 = 00000000037f0100 R11 = 00002aaaf483a3a0
R12 = 00002aaaf483abe0 R13 = 00002aaaf483a770
R14 = 0000000000000000 R15 = 00002aaab6e832c8
RIP = 00002aaab6baaafe EFL = 00002aab1e3b6d58
CS = cde5 FS = dc80 GS = 0035
Stack Trace (captured):
[ 0] 0x00002aaab6ba4f33 bin/glnxa64/libmwfl.so+00884531
[ 1] 0x00002aaab6ba4f8c bin/glnxa64/libmwfl.so+00884620 _ZN10foundation4core4diag15stacktrace_base7captureEm+00000028
[ 2] 0x00002aaab6ba6e8c bin/glnxa64/libmwfl.so+00892556
[ 3] 0x00002aaab6ba83b4 bin/glnxa64/libmwfl.so+00897972
[ 4] 0x00002aaab6ba8442 bin/glnxa64/libmwfl.so+00898114
[ 5] 0x00002aab11b34da6 bin/glnxa64/libmwglee.so+01244582
[ 6] 0x00002aab13142671 /apps/matlab/9.3/bin/glnxa64/libQt5Core.so.5+00628337
[ 7] 0x00002aab13143ff6 /apps/matlab/9.3/bin/glnxa64/libQt5Core.so.5+00634870 _ZNK14QMessageLogger5fatalEPKcz+00000150
[ 8] 0x00002aab28009deb /apps/matlab/9.3/bin/glnxa64/xcbglintegrations/libqxcb-glx-integration.so+00040427
[ 9] 0x00002aab28007ebb /apps/matlab/9.3/bin/glnxa64/xcbglintegrations/libqxcb-glx-integration.so+00032443
[ 10] 0x00002aab1ec1d691 /apps/matlab/9.3/bin/glnxa64/libQt5XcbQpa.so.5+00312977 _ZNK15QXcbIntegration27createPlatformOpenGLContextEP14QOpenGLContext+00000049
[ 11] 0x00002aab139209ad /apps/matlab/9.3/bin/glnxa64/libQt5Gui.so.5+01309101 _ZN14QOpenGLContext6createEv+00000045
[ 12] 0x00002aab14aa7de4 /apps/matlab/9.3/bin/glnxa64/libQt5WebEngine.so.5+00151012 _ZN11QtWebEngine10initializeEv+00000132
[ 13] 0x00002aab13338688 /apps/matlab/9.3/bin/glnxa64/libQt5Core.so.5+02684552 _ZN23QCoreApplicationPrivate4initEv+00000280
[ 14] 0x00002aab138dc44c /apps/matlab/9.3/bin/glnxa64/libQt5Gui.so.5+01029196 _ZN22QGuiApplicationPrivate4initEv+00000028
[ 15] 0x00002aab14125709 /apps/matlab/9.3/bin/glnxa64/libQt5Widgets.so.5+01500937 _ZN19QApplicationPrivate4initEv+00000009
[ 16] 0x00002aab11b35571 bin/glnxa64/libmwglee.so+01246577
[ 17] 0x00002aab11bab764 bin/glnxa64/libmwglee.so+01730404
[ 18] 0x00002aaab5ae77f0 /apps/mentor/questa_10.6c/questasim/gcc-5.3.0-linux_x86_64/lib64/libstdc++.so.6+00747504
[ 19] 0x00000035dd407aa1 /lib64/libpthread.so.0+00031393
[ 20] 0x00000035dd0e8bdd /lib64/libc.so.6+00953309 clone+00000109
[ 21] 0x0000000000000000 <unknown-module>+00000000
If this problem is reproducible, please submit a Service Request via:
http://www.mathworks.com/support/contact_us/
A technical support engineer might contact you with further information.
Thank you for your help.** This crash report has been saved to disk as /home/a93317/matlab_crash_dump.19249-1 **
MATLAB is exiting because of fatal error
** Fatal: Trouble with Simulation Kernel.

Best Answer

Your graphics drivers are not working, to the point where MATLAB cannot query to find out what kind of hardware card is being used.
For now, use
opengl save software
and then restart MATLAB.
Related Question