Matlab 2015b crashes on startup on Kubuntu 15.04

1 visualizzazione (ultimi 30 giorni)
Hi,
I installed Matlab 2015b on my Kubuntu 15.04 machine, but it doesn't start. Every time I run matlab (using either 'matlab' or 'matlab -desktop'), it crashes, reporting the error log below.
I have check that it runs smoothly when I execute it from the command line with the -nodesktop argument.
Any help?
Thanks.
The error I obtain is:
------------------------------------------------------------------------
Segmentation violation detected at Fri Sep 11 10:43:31 2015
------------------------------------------------------------------------
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.21 stable
Host Name : Adso
MATLAB Architecture : glnxa64
MATLAB Root : /opt/MATLAB/R2015b
MATLAB Version : 8.6.0.267246 (R2015b)
OpenGL : hardware
Operating System : Linux 3.19.0-28-generic #30-Ubuntu SMP Mon Aug 31 15:52:51 UTC 2015 x86_64
Processor ID : x86 Family 6 Model 60 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 (11701000), display :0
Fault Count: 1
Abnormal termination: Segmentation violation
Register State (from fault):
RAX = 0000000000000000 RBX = 00007f40e84c3160
RCX = 0000000000000000 RDX = 0000000000000003
RSP = 00007f418f722ca0 RBP = 00007f418f722dc0
RSI = 0000000000000000 RDI = 00007f40e84c2350
R8 = 0000000000000018 R9 = 0000000000000000
R10 = 00007f40e84c2000 R11 = 00007f40e84c3478
R12 = 00007f40e872dfa0 R13 = 0000000000000006
R14 = 00007f40e84c2758 R15 = 00007f41205359b0
RIP = 00007f41aba1f8ba EFL = 0000000000010206
CS = 0033 FS = 0000 GS = 0000
Stack Trace (from fault):
[ 0] 0x00007f41aba1f8ba /lib64/ld-linux-x86-64.so.2+00051386
[ 1] 0x00007f41aba284b1 /lib64/ld-linux-x86-64.so.2+00087217
[ 2] 0x00007f41aba23464 /lib64/ld-linux-x86-64.so.2+00066660
[ 3] 0x00007f41aba279a3 /lib64/ld-linux-x86-64.so.2+00084387
[ 4] 0x00007f41a9e07fc9 /lib/x86_64-linux-gnu/libdl.so.2+00004041
[ 5] 0x00007f41aba23464 /lib64/ld-linux-x86-64.so.2+00066660
[ 6] 0x00007f41a9e0862d /lib/x86_64-linux-gnu/libdl.so.2+00005677
[ 7] 0x00007f41a9e08061 /lib/x86_64-linux-gnu/libdl.so.2+00004193 dlopen+00000049
[ 8] 0x00007f41a622e00a /opt/MATLAB/R2015b/bin/glnxa64/libut.so+00311306
[ 9] 0x00007f41a14dd7e5 /opt/MATLAB/R2015b/bin/glnxa64/libmwm_dispatcher.so+00456677
[ 10] 0x00007f41a14d01af /opt/MATLAB/R2015b/bin/glnxa64/libmwm_dispatcher.so+00401839
_ZN13Mlm_MATLAB_fn8try_loadEv+00000031
[ 11] 0x00007f41a14c7ae5 /opt/MATLAB/R2015b/bin/glnxa64/libmwm_dispatcher.so+00367333 _ZN13Mlm_MATLAB_fn4loadEv+00000037
[ 12] 0x00007f41a14c4b09 /opt/MATLAB/R2015b/bin/glnxa64/libmwm_dispatcher.so+00355081 _ZN13Mfh_MATLAB_fn11dispatch_fhEiPP11mxArray_tagiS2_+00000057
[ 13] 0x00007f419bb988af /opt/MATLAB/R2015b/bin/glnxa64/libmwm_lxe.so+08612015
[ 14] 0x00007f419bcbc7ff /opt/MATLAB/R2015b/bin/glnxa64/libmwm_lxe.so+09807871
[ 15] 0x00007f419bcb247f /opt/MATLAB/R2015b/bin/glnxa64/libmwm_lxe.so+09766015
[ 16] 0x00007f419bc7f981 /opt/MATLAB/R2015b/bin/glnxa64/libmwm_lxe.so+09558401
[ 17] 0x00007f419b8e1d6c /opt/MATLAB/R2015b/bin/glnxa64/libmwm_lxe.so+05766508
[ 18] 0x00007f419b8cc4c1 /opt/MATLAB/R2015b/bin/glnxa64/libmwm_lxe.so+05678273
[ 19] 0x00007f419b8db075 /opt/MATLAB/R2015b/bin/glnxa64/libmwm_lxe.so+05738613
[ 20] 0x00007f419baac033 /opt/MATLAB/R2015b/bin/glnxa64/libmwm_lxe.so+07643187
[ 21] 0x00007f419ba73c40 /opt/MATLAB/R2015b/bin/glnxa64/libmwm_lxe.so+07412800
[ 22] 0x00007f419ba76078 /opt/MATLAB/R2015b/bin/glnxa64/libmwm_lxe.so+07422072
[ 23] 0x00007f419ba76140 /opt/MATLAB/R2015b/bin/glnxa64/libmwm_lxe.so+07422272
[ 24] 0x00007f419baed6bc /opt/MATLAB/R2015b/bin/glnxa64/libmwm_lxe.so+07911100
[ 25] 0x00007f419baedabc /opt/MATLAB/R2015b/bin/glnxa64/libmwm_lxe.so+07912124
[ 26] 0x00007f41a0a4fd0d /opt/MATLAB/R2015b/bin/glnxa64/libmwm_interpreter.so+02600205 _Z51inEvalCmdWithLocalReturnInDesiredWSAndPublishEventsRKSbIDsSt11char_traitsIDsESaIDsEEPibbP15inWorkSpace_tag+00000077
[ 27] 0x00007f41a264aa12 /opt/MATLAB/R2015b/bin/glnxa64/libmwiqm.so+00915986 _ZNK3iqm18InternalEvalPlugin24inEvalCmdWithLocalReturnERKSbIDsSt11char_traitsIDsESaIDsEEP15inWorkSpace_tag+00000098
[ 28] 0x00007f41a264abd8 /opt/MATLAB/R2015b/bin/glnxa64/libmwiqm.so+00916440 _ZN3iqm18InternalEvalPlugin7executeEP15inWorkSpace_tagRN5boost10shared_ptrIN14cmddistributor17IIPCompletedEventEEE+00000120
[ 29] 0x00007f414699c3b2 /opt/MATLAB/R2015b/bin/glnxa64/libnativejmi.so+00861106 _ZN9nativejmi21JmiInternalEvalPlugin7executeEP15inWorkSpace_tagRN5boost10shared_ptrIN14cmddistributor17IIPCompletedEventEEE+00000274
[ 30] 0x00007f41469c1565 /opt/MATLAB/R2015b/bin/glnxa64/libnativejmi.so+01013093 _ZN3mcr3mvm27McrSwappingIqmPluginAdapterIN9nativejmi21JmiInternalEvalPluginEE7executeEP15inWorkSpace_tagRN5boost10shared_ptrIN14cmddistributor17IIPCompletedEventEEE+00000437
[ 31] 0x00007f41a26441c6 /opt/MATLAB/R2015b/bin/glnxa64/libmwiqm.so+00889286
[ 32] 0x00007f41a2631645 /opt/MATLAB/R2015b/bin/glnxa64/libmwiqm.so+00812613
[ 33] 0x00007f419d1acbf9 /opt/MATLAB/R2015b/bin/glnxa64/libmwbridge.so+00146425
[ 34] 0x00007f419d1ad1f4 /opt/MATLAB/R2015b/bin/glnxa64/libmwbridge.so+00147956
[ 35] 0x00007f419d1b26cd /opt/MATLAB/R2015b/bin/glnxa64/libmwbridge.so+00169677
[ 36] 0x00007f419d1b27bc /opt/MATLAB/R2015b/bin/glnxa64/libmwbridge.so+00169916
[ 37] 0x00007f419d1b2ead /opt/MATLAB/R2015b/bin/glnxa64/libmwbridge.so+00171693 _Z8mnParserv+00000749
[ 38] 0x00007f41a1805b4f /opt/MATLAB/R2015b/bin/glnxa64/libmwmcr.so+00686927 _ZN11mcrInstance30mnParser_on_interpreter_threadEv+00000031
[ 39] 0x00007f41a17f2443 /opt/MATLAB/R2015b/bin/glnxa64/libmwmcr.so+00607299
[ 40] 0x00007f41a17f2a39 /opt/MATLAB/R2015b/bin/glnxa64/libmwmcr.so+00608825 _ZN5boost6detail11task_objectIvNS_3_bi6bind_tIvPFvRKNS_8functionIFvvEEEENS2_5list1INS2_5valueIS6_EEEEEEE6do_runEv+00000025
[ 41] 0x00007f41a17f3f47 /opt/MATLAB/R2015b/bin/glnxa64/libmwmcr.so+00614215 _ZN5boost6detail9task_baseIvE3runEv+00000071
[ 42] 0x00007f41a17f3fa7 /opt/MATLAB/R2015b/bin/glnxa64/libmwmcr.so+00614311
[ 43] 0x00007f41a17ef2fa /opt/MATLAB/R2015b/bin/glnxa64/libmwmcr.so+00594682
[ 44] 0x00007f41951b06b6 /opt/MATLAB/R2015b/bin/glnxa64/libmwuix.so+00313014
[ 45] 0x00007f4195196862 /opt/MATLAB/R2015b/bin/glnxa64/libmwuix.so+00206946
[ 46] 0x00007f41a21850df /opt/MATLAB/R2015b/bin/glnxa64/libmwservices.so+03002591
[ 47] 0x00007f41a218524c /opt/MATLAB/R2015b/bin/glnxa64/libmwservices.so+03002956
[ 48] 0x00007f41a2186d9f /opt/MATLAB/R2015b/bin/glnxa64/libmwservices.so+03009951
[ 49] 0x00007f41a218784c /opt/MATLAB/R2015b/bin/glnxa64/libmwservices.so+03012684 _Z25svWS_ProcessPendingEventsiib+00000092
[ 50] 0x00007f41a17ef9b8 /opt/MATLAB/R2015b/bin/glnxa64/libmwmcr.so+00596408
[ 51] 0x00007f41a17efcd4 /opt/MATLAB/R2015b/bin/glnxa64/libmwmcr.so+00597204
[ 52] 0x00007f41a17dbfed /opt/MATLAB/R2015b/bin/glnxa64/libmwmcr.so+00516077
[ 53] 0x00007f41aa5dd6aa /lib/x86_64-linux-gnu/libpthread.so.0+00030378
[ 54] 0x00007f41aa312eed /lib/x86_64-linux-gnu/libc.so.6+01076973 clone+00000109
[ 55] 0x0000000000000000 <unknown-module>+00000000
  3 Commenti
Lowell Day
Lowell Day il 18 Dic 2015
For a workaround to this issue, please see the following external bug report:
BK
BK il 29 Apr 2016
I'm using Ubuntu 16.04LTS on a Lenovo ThinkStation S20 with GeForce 610 graphics card and installed Matlab R2016a. I renamed the library in the bug report above (libstdc++.so.6) but this fix did not work for me. Instead, I switched display drivers from Nvidia to the open source Nouveau. Matlab is working now.

Accedi per commentare.

Risposte (3)

Lowell Day
Lowell Day il 18 Dic 2015
For a workaround to this issue, please see the following external bug report:

Asmaa Saleh
Asmaa Saleh il 28 Apr 2016
Modificato: Asmaa Saleh il 28 Apr 2016
-Use a text editor to access sources.list and add thin line: deb http://us.archive.ubuntu.com/ubuntu xenial main multiverse
-Update the system and install 'matlab-support' package
-provide the directory of MATLAB installation file and rename dynamic liberaries to .bak

Eranda Perera
Eranda Perera il 6 Giu 2016
Modificato: Walter Roberson il 15 Ago 2016
The link to external bug report https://www.mathworks.com/support/bugreports/1297894 does not work. Could you please provide an alternative link to the same information? Thank you. Help urgently needed.
  2 Commenti
Lowell Day
Lowell Day il 15 Ago 2016
Modificato: Lowell Day il 15 Ago 2016
There is a known issue that causes MATLAB to crash on Ubuntu 15.04 and later.
Ubuntu uses version 20 of libstdc++.so.6, but MATLAB ships with version 17.
When MATLAB loads version 17 first, Ubuntu reaches an incompatibility that causes MATLAB to crash.
To resolve this issue, you can force MATLAB to use the version of libstdc++.so.6 provided by the operating system:
1. Open terminal
2. Run the following commands
cd /usr/local/MATLAB/R2016a/sys/os/glnxa64
sudo mv ./libstdc++.so.6 ./libstdc++.so.6.OLD
Walter Roberson
Walter Roberson il 15 Ago 2016
The link does work for me. You might need to have an active support contract to read it, possibly.

Accedi per commentare.

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by