Matlab啓動崩潰Segmentation violation

Matlab啓動崩潰

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.

Fix

This bug was fixed as of R2016b.

If you have a current subscription to MathWorks Software Maintenance Service (SMS), you can download product updates. If not, learn more about MathWorks SMS.

Workaround

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

  • Identify the location where MATLAB is installed
  • Navigate to the sys/os/glnxa64 directory within this installation folder
  • 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.

這個問題在MATLAB 的R2016a, R2015b, R2015aSP1和R2015a都會出現

Ackowledgement

Most of the content is from Mathworks.
大部分內容轉載自Mathworks

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章