This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Warning message(?): f951(2665) malloc: ***


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]