MATLAB: Do I receive a memory corruption error when launching MATLAB on a Linux machine

MATLAB

Upon MATLAB launch, the following error is received:
*** glibc detected *** malloc(): memory corruption: 0x0000000000599800 *** Abort
The machine is running RedHat Enterprise Linux 4.0 (Kernel 2.6.9 and glibc 2.3.4).

Best Answer

This bug has been fixed in Release 14 Service Pack 3 (R14SP3). For previous product releases, read below for any possible workarounds:
This is a known issue. To resolve this, follow the directions given below:
1. Open the .matlab7rc.sh file in your $MATLAB/bin folder (where $MATLAB is your MATLAB installation directory).
2.Add the following two lines to the beginning of the .matlab7rc.sh file:
LD_ASSUME_KERNEL=2.4.1
export LD_ASSUME_KERNEL
3. Restart MATLAB.