This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [Bug-readline] [readline patch, gdb-7.3?] Avoid free from a signal handler [Re: [PATCH] Make interrupting tab-completion safe.]
- From: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- To: Chet Ramey <chet dot ramey at case dot edu>
- Cc: bug-readline at gnu dot org, gdb-patches at sourceware dot org, Sterling Augustine <saugustine at google dot com>
- Date: Wed, 19 Oct 2011 18:32:57 +0200
- Subject: Re: [Bug-readline] [readline patch, gdb-7.3?] Avoid free from a signal handler [Re: [PATCH] Make interrupting tab-completion safe.]
- References: <20110612121158.GA10611@host1.jankratochvil.net> <BANLkTik1Z5GoCjNP9enPJeLThVk=g9Aj5ZF6zeDULburd2w=bw@mail.gmail.com> <20110626222146.GA4410@host1.jankratochvil.net> <4E0B2E83.9030202@case.edu> <20110629203457.GA28353@host1.jankratochvil.net> <4E0C8A5D.7000807@case.edu> <20110706154621.GA17142@host1.jankratochvil.net> <110706155826.AA07325.SM@caleb.INS.CWRU.Edu> <20110706164400.GA31447@host1.jankratochvil.net> <4E15A220.4030404@case.edu>
On Thu, 07 Jul 2011 14:10:08 +0200, Chet Ramey wrote:
> The impression I got from your earlier message is that is is very easy
> to reproduce using a GDB .exp file:
>
> "Used this GDB .exp file, reproducible in several seconds"
>
> All I am asking you do to is to check whether you can reproduce it using
> the same .exp file after removing references to _rl_interrupt_immediately
> in complete.c.
After removing the workaround:
https://lists.gnu.org/archive/html/bug-readline/2011-06/msg00003.html
and removing the changes of _rl_interrupt_immediately in complete.c the
memory corruption is still reproducible:
*** glibc detected *** .../gdb/testsuite/../../gdb/gdb: munmap_chunk(): invalid pointer: 0x000000000718ef70 ***
Thanks,
Jan