LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Josh Hursey (jjhursey_at_[hidden])
Date: 2005-03-07 08:05:41


First, sorry to the horribly tardy reply.

On Feb 16, 2005, at 12:57 PM, Ed Zaron wrote:

>
> Hello,
>
> After making a disk array on my head node, I'm having some trouble
> getting everything to work correctly again. I believe I re-installed
> lam-mpi and xlf and some other libraries in the same order I did
> originally, but code which used to run now breaks at run-time.
>
> Has anyone seen this error before?:
>
> *** malloc[20312]: error for object 0x505a90: Incorrect checksum for
> freed object - object was probably modified after being freed; break
> at szone_error

Hum.. It seems as though somewhere you are writing on memory that has
been freed. I would run your code under gdb (or your favorite debugger)
and set a break at szone_error to see where this is generated. This
should highlight the duplicate free, or at least point you in the right
direction. You may also want to set a break on free as well and track
what you are free'ing.

>
> I'm running:
> 8 dual-processor G5 Xserves
> Mac OS X Server 10.3.8 with the latest security updates
> gcc version 3.3 20030304 (build 1671)
> xlf 8.1
> lam-7.2b1r10036 lam with -O3 -qtune-auto -qarch=auto
>
> The code compiles and runs in serial (without MPI).
>
> Any pointers would be appreciated.
>
> -Ed
> ..............................................
> Edward D. Zaron, PhD
> Research Associate
> College of Oceanic and Atmospheric Sciences
> Oregon State University
> Corvallis, OR 97331-5503
> Phone: (541) 737-3504
> Fax: (541) 737-2064
> ezaron_at_[hidden]
> ...............................................

----
Josh Hursey
jjhursey_at_[hidden]
http://www.lam-mpi.org/