This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Warning message(?): f951(2665) malloc: ***
- From: Steve Kargl <sgk at troutmask dot apl dot washington dot edu>
- To: "Paul T. Bauman" <pbauman at ices dot utexas dot edu>
- Cc: fortran at gcc dot gnu dot org
- Date: Wed, 10 Jan 2007 12:44:12 -0800
- Subject: Re: Warning message(?): f951(2665) malloc: ***
- References: <45A54C8B.4010208@ices.utexas.edu>
On Wed, Jan 10, 2007 at 02:28:59PM -0600, Paul T. Bauman wrote:
>
> I'm getting the following message after each routine of mine is compiled:
>
> 'f951(2665) malloc: *** Deallocation of a pointer not malloced:
> 0x41304780; This could be a double free(), or free() called with the
> middle of an allocated block; Try setting environment variable
> MallocHelp to see tools to help debug'
>
> I'm not sure what this means. What would trigger this? I'm concerned
> because I'm getting runtime bus errors in my program and this was my
> starting point.
>
I've never seen this type of error message. f951 is the compiler,
and it appears to be doing something it shouldn't. If you have
a small self contained example and are willing to send it to
the list, we may be able help.
Does your code use allocate() and deallocate()?
--
Steve