double free or corruption (!prev) / Segmentation violation

61 views (last 30 days)
I use virtual terminal (gnu's screen) to run my process in MATLAB in our server but I faces with a problem newly. Matlab gives error and interrupt the process while my connection to the server shuts down. Same error is happen in tmux, too.
*** Error in `/opt/MATLAB/R2009b/bin/glnxa64/MATLAB': double free or corruption (!prev): 0x00007f91455f7d60 ***
======= Backtrace: =========
======= Memory map: ========
00400000-00406000 r-xp 00000000 08:05 6169816 /opt/MATLAB/R2009b/bin/glnxa64/MATLAB
00606000-00607000 rw-p 00006000 08:05 6169816 /opt/MATLAB/R2009b/bin/glnxa64/MATLAB
Tohid Nozad khalil
Tohid Nozad khalil on 1 Aug 2021
Edited: Tohid Nozad khalil on 1 Aug 2021
I could not solve it. I just moved to X2GO instead of gnu's screen.

Sign in to comment.

Accepted Answer

Maadhav Akula
Maadhav Akula on 21 Aug 2020
In order to resolve this error you will need to remove your preferences directory:
Check in your home directory for a directory named .matlab and remove this and try re-launching MATLAB. This directory will get re-created at startup.
If this does not resolve the problem, setting the following variable may resolve your issue:
If still you are facing this issue please reach out to MathWorks Support:
  1 Comment
Tohid Nozad khalil
Tohid Nozad khalil on 25 Aug 2020
Thank you for your answer. I still have the problem. It is interesting that the I am the only user of the server that facing with such a problem. I use another app to connect the server.

Sign in to comment.

More Answers (0)





Community Treasure Hunt

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

Start Hunting!