libbacktrace patch committed (Was: Re: [jit] Update TODO.rst)
Ian Lance Taylor
iant@google.com
Tue Jan 1 00:00:00 GMT 2013
On Thu, Oct 17, 2013 at 8:54 PM, David Malcolm <dmalcolm@redhat.com> wrote:
>
> +* segfault seen in libbacktrace, when an ICE occurs
That reminded me to commit this libbacktrace patch I worked up a
couple of weeks ago. Previously if some debug section was missing,
the code could compute the wrong min_offset. The missing section
would have a zero offset, so min_offset would be set to zero, and
would then be set to the offset of the next section, even though that
one might not be the minimum. That could lead to a segfault in some
cases, though I don't know if that is the issue that David is seeing.
Anyhow, bootstrapped and ran libbacktrace tests. Committed to
mainline.
Ian
2013-10-17 Ian Lance Taylor <iant@google.com>
* elf.c (elf_add): Don't get the wrong offsets if a debug section
is missing.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-patch
Size: 930 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/jit/attachments/20130101/8ce98e77/attachment.bin>
More information about the Jit
mailing list