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: ***


Ok, so it seems this warning goes away when I remove the -Jobj and - Iobj from my command line options. However, I'm still getting funky runtime errors. I'm trying to reproduce them in a simple code, but having trouble.

I'm back home and have my mac at hand. I can reproduce your warnings:


$ gfortran a.f90
$ gfortran a.f90 -Jfoo
f951(1968) malloc: *** Deallocation of a pointer not malloced: 0x41304a90; 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


That means someone has not written the module search path code very carefully. And, if I remember well, I significantly rewrote that very code a few months back, so I'll file a bugzilla PR and fix it (soon).

FX


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