Launch matlab R2015a on Ubuntu 14.04 with Segmentation fault
1 view (last 30 days)
Show older comments
When I launch MATLAB with GUI, I got the response with
- MATLAB is selecting SOFTWARE OPENGL rendering.
- Segmentation fault (core dumped)
There is nothing in the log of matlab_crash_dump.1582-1.Even with matlab -nosoftwareopengl, also try matlab-support
But with matlab -nodisplay, it worked.
Here is the opengl info
Version: ''
Vendor: ''
Renderer: 'None'
MaxTextureSize: 0
Visual: ''
Software: 1
SupportsGraphicsSmoothing: 0
SupportsDepthPeelTransparency: 0
SupportsAlignVertexCenters: 0
Extensions: {}
MaxFrameBufferSize: 0
gpuDevice:
CUDADevice with properties:
Name: 'Tesla K40c'
Index: 1
ComputeCapability: '3.5'
SupportsDouble: 1
DriverVersion: 7.5000
ToolkitVersion: 6.5000
MaxThreadsPerBlock: 1024
MaxShmemPerBlock: 49152
MaxThreadBlockSize: [1024 1024 64]
MaxGridSize: [2.1475e+09 65535 65535]
SIMDWidth: 32
TotalMemory: 1.2079e+10
AvailableMemory: 1.1941e+10
MultiprocessorCount: 15
ClockRateKHz: 745000
ComputeMode: 'Default'
GPUOverlapsTransfers: 1
KernelExecutionTimeout: 0
CanMapHostMemory: 1
DeviceSupported: 1
DeviceSelected: 1
when type
*matlab -e*
MATLAB is selecting SOFTWARE OPENGL rendering.
LESSOPEN=| /usr/bin/lesspipe %s
ARCH=glnxa64
MAIL=/var/mail/root
USER=root
LC_TIME=zh_CN.UTF-8
LD_LIBRARY_PATH=/usr/local/MATLAB/MATLAB_Production_Server/R2015a/sys/opengl/lib/glnxa64:/usr/local/MATLAB/MATLAB_Production_Server/R2015a/sys/os/glnxa64:/usr/local/MATLAB/MATLAB_Production_Server/R2015a/bin/glnxa64:/usr/local/MATLAB/MATLAB_Production_Server/R2015a/extern/lib/glnxa64:/usr/local/MATLAB/MATLAB_Production_Server/R2015a/runtime/glnxa64:/usr/local/MATLAB/MATLAB_Production_Server/R2015a/sys/java/jre/glnxa64/jre/lib/amd64/native_threads:/usr/local/MATLAB/MATLAB_Production_Server/R2015a/sys/java/jre/glnxa64/jre/lib/amd64/server:/usr/local/cuda-7.5/lib64:/usr/local/cuda-7.5/lib64:/usr/local/cuda-7.5/lib64:/usr/local/cuda-7.5/lib64:/usr/local/cuda-7.5/lib64::/usr/lib/x86_64-linux-gnu:/usr/local/cuda-7.5/lib64::/home/annie/matio-1.5.6/src/.libs/libmatio.so.4:/usr/lib/x86_64-linux-gnu:/usr/local/cuda-7.5/lib64:/usr/local/cuda-7.5/lib64::/usr/lib/x86_64-linux-gnu:/usr/local/cuda-7.5/lib64::/home/annie/matio-1.5.6/src/.libs/libmatio.so.4:/home/annie/matio-1.5.6/src/.libs/libmatio.so.4:/usr/lib/x86_64-linux-gnu:/usr/local/cuda-7.5/lib64:/usr/local/cuda-7.5/lib64:/usr/local/cuda-7.5/lib64::/usr/lib/x86_64-linux-gnu:/usr/local/cuda-7.5/lib64::/home/annie/matio-1.5.6/src/.libs/libmatio.so.4:/usr/lib/x86_64-linux-gnu:/usr/local/cuda-7.5/lib64:/usr/local/cuda-7.5/lib64::/usr/lib/x86_64-linux-gnu:/usr/local/cuda-7.5/lib64::/home/annie/matio-1.5.6/src/.libs/libmatio.so.4:/home/annie/matio-1.5.6/src/.libs/libmatio.so.4:/home/annie/matio-1.5.6/src/.libs/libmatio.so.4:/usr/lib/x86_64-linux-gnu:/usr/local/cuda-7.5/lib64:/usr/local/cuda-7.5/lib64:/usr/local/cuda-7.5/lib64:/usr/local/cuda-7.5/lib64::/usr/lib/x86_64-linux-gnu:/usr/local/cuda-7.5/lib64::/home/annie/matio-1.5.6/src/.libs/libmatio.so.4:/usr/lib/x86_64-linux-gnu:/usr/local/cuda-7.5/lib64:/usr/local/cuda-7.5/lib64::/usr/lib/x86_64-linux-gnu:/usr/local/cuda-7.5/lib64::/home/annie/matio-1.5.6/src/.libs/libmatio.so.4:/home/annie/matio-1.5.6/src/.libs/libmatio.so.4:/usr/lib/x86_64-linux-gnu:/usr/local/cuda-7.5/lib64:/usr/local/cuda-7.5/lib64:/usr/local/cuda-7.5/lib64::/usr/lib/x86_64-linux-gnu:/usr/local/cuda-7.5/lib64::/home/annie/matio-1.5.6/src/.libs/libmatio.so.4:/usr/lib/x86_64-linux-gnu:/usr/local/cuda-7.5/lib64:/usr/local/cuda-7.5/lib64::/usr/lib/x86_64-linux-gnu:/usr/local/cuda-7.5/lib64::/home/annie/matio-1.5.6/src/.libs/libmatio.so.4:/home/annie/matio-1.5.6/src/.libs/libmatio.so.4:/home/annie/matio-1.5.6/src/.libs/libmatio.so.4:/home/annie/matio-1.5.6/src/.libs/libmatio.so.4
SHLVL=2
OLDPWD=/usr/local/MATLAB/MATLAB_Production_Server/R2015a
HOME=/root
AUTOMOUNT_MAP=
BASEMATLABPATH=
XDG_SESSION_COOKIE=382f3c1ad7c2d1ebc7ed88e956cb3551-1466084340.73733-1999305316
SSH_TTY=/dev/pts/29
QT_QPA_PLATFORMTHEME=appmenu-qt5
LOGNAME=root
_=/usr/local/MATLAB/MATLAB_Production_Server/R2015a/bin/matlab
MATLABPATH=/usr/local/MATLAB/MATLAB_Production_Server/R2015a/toolbox/local
XDG_SESSION_ID=211
TERM=xterm
PATH=/usr/local/MATLAB/MATLAB_Production_Server/R2015a/bin:/usr/local/cuda-7.5/bin:/root/anaconda2/bin:/usr/local/cuda-7.5/bin:/root/anaconda2/bin:/usr/local/cuda-7.5/bin:/root/anaconda2/bin:/usr/local/cuda-7.5/bin:/root/anaconda2/bin:/usr/local/cuda-7.5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/local/cuda-7.5/bin
LC_ADDRESS=zh_CN.UTF-8
XDG_RUNTIME_DIR=/run/user/1000
DISPLAY=localhost:12.0
TOOLBOX=/usr/local/MATLAB/MATLAB_Production_Server/R2015a/toolbox
LC_TELEPHONE=zh_CN.UTF-8
LANG=en_US.UTF-8
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:
SHELL=/bin/bash
LC_NAME=zh_CN.UTF-8
MATLAB=/usr/local/MATLAB/MATLAB_Production_Server/R2015a
XFILESEARCHPATH=/usr/local/MATLAB/MATLAB_Production_Server/R2015a/sys/java/jre/glnxa64/jre/lib/locale/%L/%T/%N%S:
LESSCLOSE=/usr/bin/lesspipe %s %s
LC_MEASUREMENT=zh_CN.UTF-8
OSG_LD_LIBRARY_PATH=/usr/local/MATLAB/MATLAB_Production_Server/R2015a/sys/openscenegraph/lib/glnxa64
LC_IDENTIFICATION=zh_CN.UTF-8
CUDA_HOME=/usr/local/cuda-7.5
CUDA_LIB_PATH=/usr/local/cuda/lib64/stubs/
PYTHONPATH=:/root/caffe/python:/home/annie/fcn.berkeleyvision.org-master::/root/caffe/python:/home/annie/fcn.berkeleyvision.org-master::/root/caffe/python:/home/annie/fcn.berkeleyvision.org-master::/root/caffe/python:/home/annie/fcn.berkeleyvision.org-master::/root/caffe/python:/home/annie/fcn.berkeleyvision.org-master::/root/caffe/python:/home/annie/fcn.berkeleyvision.org-master::/root/caffe/python:/home/annie/fcn.berkeleyvision.org-master::/root/caffe/python:/home/annie/fcn.berkeleyvision.org-master::/root/caffe/python:/home/annie/fcn.berkeleyvision.org-master::/root/caffe/python:/home/annie/fcn.berkeleyvision.org-master::/root/caffe/python:/home/annie/fcn.berkeleyvision.org-master::/root/caffe/python:/home/annie/fcn.berkeleyvision.org-master::/root/caffe/python:/home/annie/fcn.berkeleyvision.org-master::/root/caffe/python:/home/annie/fcn.berkeleyvision.org-master::/root/caffe/python:/home/annie/fcn.berkeleyvision.org-master:
LC_PAPER=zh_CN.UTF-8
2 Comments
Joss Knight
on 22 Jun 2016
Can you try launching MATLAB using
matlab -r "opengl info"
and see if that fixes it?
Accepted Answer
More Answers (1)
Paulo F.
on 25 Jul 2016
Edited: Walter Roberson
on 25 Jul 2016
Hello I'm one with the same problem in Linux Mint 18. Thanks Joss Knight for your comment. What you suggested gave the following error message.
Thanks!!
MATLAB crash file:/home/paulo/matlab_crash_dump.14273-1:
------------------------------------------------------------------------
Segmentation violation detected at Mon Jul 25 21:31:26 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.23 stable
Host Name : paulo-ESPRIMO-C710
MATLAB Architecture : glnxa64
MATLAB Root : /usr/local/MATLAB/R2015a
MATLAB Version : 8.5.0.197613 (R2015a)
OpenGL : hardware
Operating System : Linux 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 x86_64
Processor ID : x86 Family 6 Model 58 Stepping 9, GenuineIntel
Virtual Machine : Java 1.7.0_60-b19 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
Window System : The X.Org Foundation (11803000), display :0
Fault Count: 1
Abnormal termination:
Segmentation violation
Register State (from fault):
RAX = 0000000000000000 RBX = 00007fd1dd4a10e8
RCX = 00007fd1f012c6d0 RDX = 0000000000000006
RSP = 00007fd1de305680 RBP = 00007fd1de3057a0
RSI = 0000000000000000 RDI = 00007fd1dd4778a8
R8 = 0000000000000030 R9 = 0000000000000004
R10 = 00007fd1dd7f7ef0 R11 = 00007fd1dd474000
R12 = 00007fd20441d820 R13 = 0000006900000006
R14 = 0000000000000006 R15 = 00007fd1dd478280
RIP = 00007fd28b83856c EFL = 0000000000010206
CS = 0033 FS = 0000 GS = 0000
Stack Trace (from fault):
[ 0] 0x00007fd28b83856c /lib64/ld-linux-x86-64.so.2+00050540
[ 1] 0x00007fd28b841681 /lib64/ld-linux-x86-64.so.2+00087681
[ 2] 0x00007fd28b83c394 /lib64/ld-linux-x86-64.so.2+00066452
[ 3] 0x00007fd28b840bd9 /lib64/ld-linux-x86-64.so.2+00084953
[ 4] 0x00007fd287feaf09 /lib/x86_64-linux-gnu/libdl.so.2+00003849
[ 5] 0x00007fd28b83c394 /lib64/ld-linux-x86-64.so.2+00066452
[ 6] 0x00007fd287feb571 /lib/x86_64-linux-gnu/libdl.so.2+00005489
[ 7] 0x00007fd287feafa1 /lib/x86_64-linux-gnu/libdl.so.2+00004001 dlopen+00000049
[ 8] 0x00007fd1afd718b3 /usr/lib/nvidia-361/libGLX_nvidia.so.0+00702643
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.
2 Comments
Walter Roberson
on 25 Jul 2016
What kind of graphics card to you have installed? Do you have recent drivers installed? Are you using mesa, or some other OpenGL implementation?
See Also
Categories
Find more on Graphics Performance 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!