Skip to content

Matlab R2015b crash on Debian 9

https://www.mathworks.com/support/bugreports/1297894

Summary

MATLAB crashes during startup on Ubuntu 15.04 and newer, as well as distributions derived from those versions

Description

When using Ubuntu Linux distributions 15.04 and newer, as well as distributions derived from those versions, MATLAB can crash during startup.

This crash occurs because these releases include a newer version of libstdc++.so.6 than the version shipped with MATLAB (version 6.0.17). When MATLAB loads version 6.0.17 first, the OS reaches an incompatibility that causes MATLAB to crash.

Workaround

You can force MATLAB to load the newer version of the library provided by the operating system, by following these instructions:

  1. Identify the location where MATLAB is installed
  2. Navigate to the sys/os/glnxa64 directory within this installation folder
  3. Rename libstdc++.so.6 library to libstdc++.so.6.old

We have done limited testing with version 20 of libstdc++.so.6. If you experience problems with MATLAB when using this version, please contact MathWorks technical support.

Fix

This bug was fixed as of R2016b(9.1).


Last updated: 20 Febbraio 2017 by Mauro Hueller