Dear nVidia Support Team,
I experienced a problematic behavior with the 361.28 version of the nVidia driver under CentOS 6.7 running the most recent Matlab version R2016a. Directly after initialization Matlab crashes giving an error message:
###############################################################################
MATLAB crash file:/home/xxxxxx/matlab_crash_dump.5931-1:
------------------------------------------------------------------------
Segmentation violation detected at Wed Mar 16 15:21:57 2016
------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled
Crash Mode : continue (default)
Current Graphics Driver: Unknown hardware
Current Visual : 0x21 (class 4, depth 24)
Default Encoding : UTF-8
GNU C Library : 2.12 stable
Host Name : monkey.xxx.xx.xxx.xx
MATLAB Architecture : glnxa64
MATLAB Root : /software/Matlab.R2016a
MATLAB Version : 9.0.0.341360 (R2016a)
OpenGL : hardware
Operating System : Linux 2.6.32-573.18.1.el6.x86_64 #1 SMP Tue Feb 9 22:46:17 UTC 2016 x86_64
Processor ID : x86 Family 6 Model 45 Stepping 7, GenuineIntel
Virtual Machine : Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
Window System : CentOS (11500000), display :0.0
Fault Count: 1
Abnormal termination:
Segmentation violation
Register State (from fault):
RAX = 00007fdeddc8fcf0 RBX = 0000000000000000
RCX = 0000000000000001 RDX = 0000000000000000
RSP = 00007fdeddc8fcc0 RBP = 00007fdec840b680
RSI = 0000000000000000 RDI = 00007fdeddc8fd98
R8 = 00000000000000a8 R9 = 00000038b388405a
R10 = 0000000000000000 R11 = 00000038b3883dda
R12 = 00007fdec8787680 R13 = 00007fdec840b680
R14 = 00007fdec880aed0 R15 = 00007fdec89481c0
RIP = 00000037ab65420d EFL = 0000000000010202
CS = 0033 FS = 0000 GS = 0000
Stack Trace (from fault):
[ 0] 0x00000037ab65420d /usr/lib64/nvidia/libGL.so.1+00344589
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.
###############################################################################
As I use by standard the kmod-nvidia driver from the ElRepo repository, I needed to track down whether the problem is due to the driver itself or the packaging from ElRepo. Therefore, I removed the kmod-nvidia version and installed the Linux driver supplied by nVidia. The same error behavior was found:
################################################################
MATLAB crash file:/home/xxxxxx/matlab_crash_dump.3983-1:
------------------------------------------------------------------------
Segmentation violation detected at Wed Mar 23 11:13:47 2016
------------------------------------------------------------------------
Configuration:
Crash Decoding : Disabled
Crash Mode : continue (default)
Current Graphics Driver: Unknown hardware
Current Visual : 0x21 (class 4, depth 24)
Default Encoding : UTF-8
GNU C Library : 2.12 stable
Host Name : monkey.xxx.xx.xxx.xx
MATLAB Architecture : glnxa64
MATLAB Root : /software/Matlab.R2016a
MATLAB Version : 9.0.0.341360 (R2016a)
OpenGL : hardware
Operating System : Linux 2.6.32-573.18.1.el6.x86_64 #1 SMP Tue Feb 9 22:46:17 UTC 2016 x86_64
Processor ID : x86 Family 6 Model 45 Stepping 7, GenuineIntel
Virtual Machine : Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
Window System : CentOS (11500000), display :0.0
Fault Count: 1
Abnormal termination:
Segmentation violation
Register State (from fault):
RAX = 00007f8de9c37e70 RBX = 0000000000000000
RCX = 0000000000000001 RDX = 0000000000000000
RSP = 00007f8de9c37e40 RBP = 00007f8ddc0524d0
RSI = 0000000000000000 RDI = 00007f8de9c37f18
R8 = 00000000000000a8 R9 = 00000038b388405a
R10 = 0000000000000000 R11 = 00000038b3883dda
R12 = 00007f8ddc0405d0 R13 = 00007f8ddc0524d0
R14 = 00007f8ddc397f30 R15 = 00007f8ddc353410
RIP = 00007f8ee4bde20d EFL = 0000000000010206
CS = 0033 FS = 0000 GS = 0000
Stack Trace (from fault):
[ 0] 0x00007f8ee4bde20d /usr/lib64/libGL.so.1+00344589
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 problem occurs only with Matlab R2016a, with the second-latest version R2015b this error does not occur. However, for me it is not possible to determine if the problem comes through the driver or Matlab. As with the 361.xx drivers a choice between GLVND or non-GLVND was made possible, a possible error could be there.
With the prior driver version 352.79 all Matlab version run correctly and no problem occurs.
I attached the nvidia-bug-report.log.gz file which I created after the Matlab crash.
nvidia-bug-report.log.gz (132 KB)