This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Memory corruption on amd64 FreeBSD
On Wed, Sep 01, 2004 at 08:55:18PM +0200, Tobias Schl?ter wrote:
>
> Actually, m->marker doesn't seem to be used anywhere, but I might have missed
> something. You could try the appended patch to see if some memory is freed
> twice. (This patch catches the case where the magic number is not overwritten,
> but other memory in the structure is overwritten, after it has been freed.)
> This would be a compiler error then, because this gfc_internal_free only deals
> with temporaries.
>
> Also, an out-of-bounds array access could be the problem here.
>
I tried your patch. It had no effect. The segfault still occurs.
--
Steve