How can I fix the "Segmentation fault (core dumped)" bug?
Show older comments
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
Eli
on 6 Mar 2016
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)
giulio luzzati
on 20 Mar 2016
Thank you so much! worked for me
Jesus Pernas
on 14 Sep 2016
for me also (using ubuntu 16.04)
benny lu
on 17 Nov 2016
worked for me too! (mint 18)
Arjun Varshney
on 6 Dec 2016
Worked for me! (Ubuntu 16.04)
EYBAR CONTRERAS VILLAMIZAR
on 15 Sep 2020
worked for me, thanks.
Answers (3)
Pedro Gusmao
on 1 Oct 2015
3 votes
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
Pedro Gusmao
on 1 Oct 2015
One more thing: Chose to rename the old GCC libraries form MATLAB and use the new ones from Ubuntu when asked!!!
A G
on 17 Jul 2016
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)
Nick Brake
on 23 Jul 2016
This worked for me using Ubuntu 16.04 and R2015a
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.
Sergio Vidal
on 6 Oct 2016
0 votes
Worked for Ubuntu 16.04 and R2016a.
Mateus Silva D'Almeida
on 5 Jun 2018
0 votes
Worked for me. I'm using Mint 16.04.1 and Mathlab R2016b. Thanks!
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!