double free or corruption (!prev) / Segmentation violation

61 visualizzazioni (ultimi 30 giorni)
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 Commenti
yanglan yang
yanglan yang il 1 Ago 2021
I am facing this problem too, could you tell me how to solve this problem?
Tohid Nozad khalil
Tohid Nozad khalil il 1 Ago 2021
Modificato: Tohid Nozad khalil il 1 Ago 2021
I could not solve it. I just moved to X2GO instead of gnu's screen.

Accedi per commentare.

Risposta accettata

Maadhav Akula
Maadhav Akula il 21 Ago 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 Commento
Tohid Nozad khalil
Tohid Nozad khalil il 25 Ago 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.

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Tag

Prodotti


Release

R2009b

Community Treasure Hunt

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

Start Hunting!

Translated by