Recieving "Segementation fault (core dump)" when launching matlab after upgrading to Fedora 25

5 views (last 30 days)
After upgrading to Fedora 25 from Fedora 23 I wasn't able to launch matlab (nodesktop, nosplash). Instead, the following are printed to the terminal without creating an error log:
$ matlab
MATLAB is selecting SOFTWARE OPENGL rendering.
Segmentation fault (core dumped)
I have tried wiping the installation directory and reinstalling. The only information I could get on the crash was from journalctl. After launching matlab the journal recorded:
audit[4499]: ANOM_ABEND auid=1000 uid=1000 gid=1000 ses=3 subj=unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023 pid=4499 comm="MATLAB" exe="/usr/local/MATLAB/R2015b/bin/glnxa64/MATLAB" sig=11
kernel: MATLAB[4499]: segfault at 0 ip (null) sp 00007ffce331b2f8 error 14 in MATLAB[400000+8000]
abrt-hook-ccpp[4546]: Process 4499 (MATLAB) of user 1000 killed by SIGSEGV - dumping core
abrt-hook-ccpp[4546]: Failed to create core_backtrace: dwfl_getthread_frames failed: No DWARF information found
abrt-server[4547]: Deleting problem directory ccpp-2017-01-27-15:27:46-4499 (dup of ccpp-2017-01-27-11:23:54-8072)
Any help on where to look is useful.

Accepted Answer

Cody Johnson
Cody Johnson on 28 Jan 2017
Edited: Cody Johnson on 28 Jan 2017
The build didn't link to libncurses because it did find the right version. Making a manual link to my libncurses library in $MATLAB/bin/glnxa64 fixed the problem. Found the solution here.
Linking $MATLAB/bin/glnxa64/libncurses.so.5 to /usr/lib64/libncursesw.so.6 was my solution

More Answers (0)

Categories

Find more on Startup and Shutdown 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!