Leaks in gdb readline (old) version 6.2, fixed in readline 7
Tom Tromey
tom@tromey.com
Sat Dec 29 22:52:00 GMT 2018
>>>>> "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
More information about the Gdb-patches
mailing list