Why does MATLAB crash with MATLAB shipped MEX files in the crash dump?

3 views (last 30 days)
When I try to run something simple such as the following, my MATLAB crashes.
>> syms a
I check the crash dump and I see the last lines are:
Stack Trace (from fault):
[ 0] 0x00007f6f44cc1658 /usr/local/MATLAB/R2019b/toolbox/symbolic/symbolic/mupadmex.mexa64+00104024 mexFunction+00001320
[ 1] 0x00007f6fffc67d60 /usr/local/MATLAB/R2019a/bin/glnxa64/libmex.so+00544096
[ 2] 0x00007f6fffc68d73 /usr/local/MATLAB/R2019a/bin/glnxa64/libmex.so+00548211
[ 3] 0x00007f6fffc5471c /usr/local/MATLAB/R2019a/bin/glnxa64/libmex.so+00464668
Why does my R2019a MATLAB crash?

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 16 Jan 2020
The crash dump mentions R2019a and then R2019b. This may indicate that the paths are mixed in MATLAB R2019a.
Check "path" to see if MATLAB R2019a has a path to R2019b files. If such path exists, you can remove the path using "rmpath", save it using "savepath", and finally restart MATLAB.
Below is an example in how this can be corrected via MATLAB console:
rmpath('/usr/local/MATLAB/R2019b/toolbox/symbolic/symbolic');savepath

More Answers (0)

Categories

Find more on Get Started with MATLAB 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!