Re: [PATCH 13/40] fix cleanup handling in macho_symfile_read

Joel Brobecker
2013-06-04T13:30:21Z

> Joel> This is what I checked in:
> Joel> gdb/Changelog:
> Joel> Revert:
> Joel> * machoread.c (macho_symfile_read): Assign first cleanup to
> Joel> 'back_to'.
>
> I'm sorry about that.
> I'll file a bug for it.

You really shouldn't be. I just spend half a day not making any progress
on this, because the problem does not reproduce outside of the testing
environment, and I cannot debug outside of using printf statements :-(.
It looks like either a double-free, or a memory corruption, with a
slight hunch towards a memory corruption, because I do not see where
the memory at this address got allocated.

If you already opend a PR, you can assign it to me. I think this one
is going to hurt :-(.

--
Joel