This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: Leaks in gdb readline (old) version 6.2, fixed in readline 7
- From: Tom Tromey <tom at tromey dot com>
- To: Philippe Waroquiers <philippe dot waroquiers at skynet dot be>
- Cc: gdb-patches at sourceware dot org
- Date: Sat, 29 Dec 2018 15:52:21 -0700
- Subject: Re: Leaks in gdb readline (old) version 6.2, fixed in readline 7
- References: <1546074915.1671.1.camel@skynet.be>
>>>>> "Philippe" == Philippe Waroquiers <philippe.waroquiers@skynet.be> writes:
Philippe> On my system (debian 9.6), the leaks are fixed by using
Philippe> --with-system-readline=yes
Philippe> with the system readline version being 7.0-3
Philippe> Switching to this readline version causes the following checks to fail:
Philippe> FAIL: gdb.gdb/selftest.exp: send SIGINT signal to child process (timeout)
Philippe> FAIL: gdb.gdb/selftest.exp: thread 1 (timeout)
Philippe> FAIL: gdb.gdb/selftest.exp: backtrace through signal handler (timeout)
The branch submit/readline-upgrade from my github upgrades to readline
7.0 patch 5.
I can't really tell if it has this bug, because I compiled with guile
and the test fails earlier with:
continue
Continuing.
warning: Loadable section ".note.gnu.property" outside of ELF segments
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff478abe7 in GC_find_limit_with_bound () from /lib64/libgc.so.1
(gdb) FAIL: gdb.gdb/selftest.exp: xgdb is at prompt
Tom