double free or corruption (!prev) / Segmentation violation

36 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: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x777e5)[0x7f91595977e5]
/lib/x86_64-linux-gnu/libc.so.6(+0x190ed8)[0x7f91596b0ed8]
======= 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
  2 Comments
yanglan yang
yanglan yang on 1 Aug 2021
I am facing this problem too, could you tell me how to solve this problem?
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:
set MALLOC_CHECK=0
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)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Tags

Products


Release

R2009b

Community Treasure Hunt

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

Start Hunting!