Ask Your Question

MATLAB 2015b segmentation-fault on Fedora 24

asked 2016-08-21 09:52:59 -0600

octied gravatar image

I upgraded two of my computers from Fedora 23 to Fedora 24 and since then I am getting a segmentation-fault whenever I start MATLAB 2015b on one of the computers. I already contacted Mathworks support, but since MATLAB does not create any of the crash dump files (matlab_crash_dump.XXXX, java.log.XXXX, hs_error_pidXXXX.log) which are needed by the MATLAB support to help me, they said that MATLAB is not tested on Fedora by Mathworks, so they cannot guarantee that it works. They recommended this topic, but unfortunately it did not resolve my problem.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2016-08-21 20:39:21 -0600

ed209 gravatar image

Very usual with commercial software, they actually do not have a clue so you must be the culprit. You have already followed their advices, I understand. I have some ideas, hope it helps. 1) Create a brand new user and start matlab from there - from shell

2) Start matlab as root, from shell

3) Install F23 or ubuntu (they say it works, or at least they support that) in a virtual machine and run matlab from there

4) If all else fails, consider switching to scilab, octave, sage, maxima etc.

Even if matlab runs on one F24 box I wouldn't trust its result at this stage. How can you be sure its libraries are working as they should and provide the correct answer?

Hope it helps. Good luck.

edit flag offensive delete link more

answered 2016-11-23 06:48:45 -0600

nafetz gravatar image

Matlab needs ncurses version 5 and you probably have ncurses v.6 (check with: dnf info ncurses)

To fix the issue install ncurses-compat-libs which provide the necessary interface for matlab. Like this:

sudo dnf install ncurses-compat-libs

edit flag offensive delete link more


I answered specifically this old question because it is among the first results if you google (or duckduckgo) "fedora matlab segfault" and the only other answer is not really an easy one.

nafetz gravatar imagenafetz ( 2016-11-23 06:53:50 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2016-08-21 09:52:59 -0600

Seen: 352 times

Last updated: Aug 21 '16