This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Leaks in gdb readline (old) version 6.2, fixed in readline 7


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]