在ubuntu16.04中装了matlab2015b,结果一启动就崩溃,如下图:
crash文件:
-----------------------------------------------------------
Segmentation violation detected at Wed Jul 6 12:39:37 2016
-----------------------------------------------------------
Configuration:
Crash Decoding : Disabled
Crash Mode : continue (default)
Current Graphics Driver: Unknown hardware
Current Visual : 0x6c (class 4, depth 24)
Default Encoding : UTF-8
GNU C Library : 2.23 stable
Host Name : ct-Lenovo
MATLAB Architecture : glnxa64
MATLAB Root : /usr/local/MATLAB/R2015b
MATLAB Version : 8.6.0.267246 (R2015b)
OpenGL : hardware
Operating System : Linux 4.6.2-040602-generic #201606100516 SMP Fri Jun 10 09:18:34 UTC 2016 x86_64
Processor ID : x86 Family 6 Model 94 Stepping 3, 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 = 00007fcd012610e8
RCX = 00007fcd24212680 RDX = 0000000000000006
RSP = 00007fcd9bff9c80 RBP = 00007fcd9bff9da0
RSI = 0000000000000000 RDI = 00007fcd012378a8
R8 = 0000000000000030 R9 = 0000000000000004
R10 = 00007fcd015b7ef0 R11 = 00007fcd01234000
R12 = 00007fcd3856e740 R13 = 0000006900000006
R14 = 0000000000000006 R15 = 00007fcd01238280
RIP = 00007fcdb85fa56c EFL = 0000000000010206
CS = 0033 FS = 0000 GS = 0000
Stack Trace (from fault):
[ 0] 0x00007fcdb85fa56c /lib64/ld-linux-x86-64.so.2+00050540
[ 1] 0x00007fcdb8603681 /lib64/ld-linux-x86-64.so.2+00087681
[ 2] 0x00007fcdb85fe394 /lib64/ld-linux-x86-64.so.2+00066452
[ 3] 0x00007fcdb8602bd9 /lib64/ld-linux-x86-64.so.2+00084953
[ 4] 0x00007fcdb69e3f09 /lib/x86_64-linux-gnu/libdl.so.2+00003849
[ 5] 0x00007fcdb85fe394 /lib64/ld-linux-x86-64.so.2+00066452
[ 6] 0x00007fcdb69e4571 /lib/x86_64-linux-gnu/libdl.so.2+00005489
[ 7] 0x00007fcdb69e3fa1 /lib/x86_64-linux-gnu/libdl.so.2+00004001 dlopen+00000049
[ 8] 0x00007fcdb2e0a00a /usr/local/MATLAB/R2015b/bin/glnxa64/libut.so+00311306
[ 9] 0x00007fcdae16d7e5 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwm_dispatcher.so+00456677
[ 10] 0x00007fcdae1601af /usr/local/MATLAB/R2015b/bin/glnxa64/libmwm_dispatcher.so+00401839
[ 11] 0x00007fcdae157ae5 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwm_dispatcher.so+00367333
[ 12] 0x00007fcdae154b09 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwm_dispatcher.so+00355081
[ 13] 0x00007fcda882a8af /usr/local/MATLAB/R2015b/bin/glnxa64/libmwm_lxe.so+08612015
[ 14] 0x00007fcda894e7ff /usr/local/MATLAB/R2015b/bin/glnxa64/libmwm_lxe.so+09807871
[ 15] 0x00007fcda894447f /usr/local/MATLAB/R2015b/bin/glnxa64/libmwm_lxe.so+09766015
[ 16] 0x00007fcda8911981 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwm_lxe.so+09558401
[ 17] 0x00007fcda8573d6c /usr/local/MATLAB/R2015b/bin/glnxa64/libmwm_lxe.so+05766508
[ 18] 0x00007fcda855e4c1 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwm_lxe.so+05678273
[ 19] 0x00007fcda856d075 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwm_lxe.so+05738613
[ 20] 0x00007fcda873e033 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwm_lxe.so+07643187
[ 21] 0x00007fcda8705c40 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwm_lxe.so+07412800
[ 22] 0x00007fcda8708078 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwm_lxe.so+07422072
[ 23] 0x00007fcda8708140 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwm_lxe.so+07422272
[ 24] 0x00007fcda877f6bc /usr/local/MATLAB/R2015b/bin/glnxa64/libmwm_lxe.so+07911100
[ 25] 0x00007fcda877fabc /usr/local/MATLAB/R2015b/bin/glnxa64/libmwm_lxe.so+07912124
[ 26] 0x00007fcdad6dfd0d /usr/local/MATLAB/R2015b/bin/glnxa64/libmwm_interpreter.so+02600205
[ 27] 0x00007fcdaf2daa12 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwiqm.so+00915986
[ 28] 0x00007fcdaf2dabd8 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwiqm.so+00916440
[ 29] 0x00007fcd884063b2 /usr/local/MATLAB/R2015b/bin/glnxa64/libnativejmi.so+00861106
[ 30] 0x00007fcd8842b565 /usr/local/MATLAB/R2015b/bin/glnxa64/libnativejmi.so+01013093
[ 31] 0x00007fcdaf2d41c6 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwiqm.so+00889286
[ 32] 0x00007fcdaf2c1645 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwiqm.so+00812613
[ 33] 0x00007fcda9e3ebf9 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwbridge.so+00146425
[ 34] 0x00007fcda9e3f1f4 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwbridge.so+00147956
[ 35] 0x00007fcda9e446cd /usr/local/MATLAB/R2015b/bin/glnxa64/libmwbridge.so+00169677
[ 36] 0x00007fcda9e447bc /usr/local/MATLAB/R2015b/bin/glnxa64/libmwbridge.so+00169916
[ 37] 0x00007fcda9e44ead /usr/local/MATLAB/R2015b/bin/glnxa64/libmwbridge.so+00171693
[ 38] 0x00007fcdae495b4f /usr/local/MATLAB/R2015b/bin/glnxa64/libmwmcr.so+00686927
[ 39] 0x00007fcdae482443 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwmcr.so+00607299
[ 40] 0x00007fcdae482a39 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwmcr.so+00608825
[ 41] 0x00007fcdae483f47 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwmcr.so+00614215
[ 42] 0x00007fcdae483fa7 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwmcr.so+00614311
[ 43] 0x00007fcdae47f2fa /usr/local/MATLAB/R2015b/bin/glnxa64/libmwmcr.so+00594682
[ 44] 0x00007fcda1e3e6b6 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwuix.so+00313014
[ 45] 0x00007fcda1e24862 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwuix.so+00206946
[ 46] 0x00007fcdaee150df /usr/local/MATLAB/R2015b/bin/glnxa64/libmwservices.so+03002591
[ 47] 0x00007fcdaee1524c /usr/local/MATLAB/R2015b/bin/glnxa64/libmwservices.so+03002956
[ 48] 0x00007fcdaee16d9f /usr/local/MATLAB/R2015b/bin/glnxa64/libmwservices.so+03009951
[ 49] 0x00007fcdaee1784c /usr/local/MATLAB/R2015b/bin/glnxa64/libmwservices.so+03012684
[ 50] 0x00007fcdae47f9b8 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwmcr.so+00596408
[ 51] 0x00007fcdae47fcd4 /usr/local/MATLAB/R2015b/bin/glnxa64/libmwmcr.so+00597204
[ 52] 0x00007fcdae46bfed /usr/local/MATLAB/R2015b/bin/glnxa64/libmwmcr.so+00516077
[ 53] 0x00007fcdb71b86fa /lib/x86_64-linux-gnu/libpthread.so.0+00030458
[ 54] 0x00007fcdb6eeeb5d /lib/x86_64-linux-gnu/libc.so.6+01076061 clone+00000109
[ 55] 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.
不胜其烦。找了好多资料,后来发现是libc库的问题。在matlab 官网上有详细的解决方法,见以下链接:
https://www.mathworks.com/support/bugreports/1297894
https://www.mathworks.com/support/bugreports/1297894
以下是官网上的解决办法。大意是说ubuntu 15.04 及其以后的新版用了比较新的libc库,而matlab用的是较老的库,系统检测到不兼容,就崩溃了。解决办法就不说了,以下说得很清楚。亲测,是可行的。