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

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 Commenti

sudo apt-get install matlab-support Follow the suggestions from this package and it probably fix the problems and Matlab runs (I had a name conflicts with some gcc librarries)
Thank you so much! worked for me
for me also (using ubuntu 16.04)
worked for me too! (mint 18)
Worked for me! (Ubuntu 16.04)

Accedi per commentare.

Risposte (3)

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 Commenti

One more thing: Chose to rename the old GCC libraries form MATLAB and use the new ones from Ubuntu when asked!!!
sudo apt-get install matlab-support
The above command works for me. I am using Matlab R2016a on Ubuntu 16.04 LTS (Intel Processor, AMD GPU)
This worked for me using Ubuntu 16.04 and R2015a
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.

Accedi per commentare.

Worked for me. I'm using Mint 16.04.1 and Mathlab R2016b. Thanks!

Categorie

Community Treasure Hunt

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

Start Hunting!

Translated by