[Developers] memory error in src/main/Parameter.c's GetBaseName()

Erik Schnetter schnetter at cct.lsu.edu
Thu Feb 28 14:38:40 CST 2008


On Feb 28, 2008, at 14:35:17, David Rideout wrote:

> Hi,
>
> I have a code which runs fine in serial, but seg faults while freeing
> grid arrays when run in parallel.  When I run it with memory checking
> in ddt, it shows an error at the malloc() call in GetBaseName()
> (src/main/Parameters.c line 2374):
>
> Processes 0-1:
> Memory error detected: "a previous write overwrote the reserved memory
> after the end of a memory allocation"
>
> This call to GetBaseName() arises from a call to CCTK_ParameterData()
> during BASEGRID, to get the size of an array parameter.
>
> Any ideas??


Are you using mvapich?

-erik

-- 
Erik Schnetter <schnetter at cct.lsu.edu>   http://www.cct.lsu.edu/~eschnett/

My email is as private as my paper mail.  I therefore support encrypting
and signing email messages.  Get my PGP key from www.keyserver.net.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
Url : http://www.cactuscode.org/pipermail/developers/attachments/20080228/6f6c9569/attachment.bin 


More information about the Developers mailing list