This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 13/40] fix cleanup handling in macho_symfile_read
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Tom Tromey <tromey at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Tue, 4 Jun 2013 17:30:06 +0400
- Subject: Re: [PATCH 13/40] fix cleanup handling in macho_symfile_read
- References: <cover dot 1368124285 dot git dot tromey at redhat dot com> <668178b2c763a59e4651dabd10ee38fdddc37d2a dot 1368124285 dot git dot tromey at redhat dot com> <20130603133214 dot GA23924 at adacore dot com> <87zjv7mb00 dot fsf at fleche dot redhat dot com>
> 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