MATLAB Answers

How can I fix the "Segmentation fault (core dumped)" bug?

139 views (last 30 days)
Bruno Cuevas
Bruno Cuevas on 12 Sep 2015
I'm trying to run MATLAB R2015b (students-licence) in my Ubuntu 15.04. I've done it before in an equivalent system, in the same computer, and it used to work nicely; however, this time I have this message in my screen:
charizard@bruno-S451LB:~$ matlab
Segmentation fault (core dumped)
I've read some solutions on the internet, but none of them did work.As a particularity, I had a previous bug in the installation (it used to crash saying something about invalid blocks length), that I fixed re-downloading all the installation files.
  6 Comments

Sign in to comment.

Answers (3)

Pedro Gusmao
Pedro Gusmao on 1 Oct 2015
Hi,
I was having the same problem, I guess from the error messages that it was due to the the old libc libraries used by Matlab.
I installed the packages matlab-support and matlab-support-dev and things started to work.
Hope it helps,
Pedro
  4 Comments
LionelB
LionelB on 17 May 2017
I am still getting segfaults (R2016a on Ubuntu 16.04) after installing matlab-support. This appears to be a Java problem (I am using the built-in Java; i.e., not setting MATLAB_JAVA). I do not get segfaults when running with -nojava.
Error log attached.

Sign in to comment.



Mateus Silva D'Almeida
Mateus Silva D'Almeida on 5 Jun 2018
Worked for me. I'm using Mint 16.04.1 and Mathlab R2016b. Thanks!

Tags

Community Treasure Hunt

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

Start Hunting!