double free or corruption (!prev)

When i run my program with big data set in MATLAB in our server, I faces with a problem newly. But i change another small data set to run my process in MATLAB in our server, it is normal. But it is still have problem with the big data set. I don't know how to solve it. is it related with the data size?
*** 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

Would need a test case that reproduces the problem -- including data.
Q? Does the problem occur on every data set of or above a given size or just the one? It might be the data itself and not just the size if some work, some don't.
It also may have something to do with a server setup; have you checked with your IT folks first???
Why does the memory map mention release 2009b while you listed r2020b as your product release (see right hand side of this page)?
Are you running MATLAB (the full development environment) and an m-file source code? Or are you running a compiled standalone executable?

Sign in to comment.

Answers (0)

Categories

Products

Release

R2020b

Asked:

on 1 Aug 2021

Commented:

on 1 Aug 2021

Community Treasure Hunt

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

Start Hunting!