Please try again with the address sanitizer in CFLAGS. Compiling readline with that is the key to detecting the memory allocation problems.
On July 12, 2017, at 6:11 AM, Chet Ramey <[email protected]> wrote: On 7/11/17 9:32 PM, Ben Wong wrote: > I just double checked and the Debian 8 machine I'm using is actually 32-bit. > Perhaps that's the difference? It's hard to see how, but I suppose it's possible. > Or am I downloading the wrong code by using git? Here's what I just tried: > > git clone git://git.savannah.gnu.org/readline.git > cd readline > git checkout devel > CFLAGS="-g -fsanitize=address" ./configure > make > cd .. > gcc -g -fsanitize=address rltest.c -I. readline/lib{readline,history}.a > -lncurses -o rltest > > Is that not right? More or less what I did, except I used the termcap library instead of ncurses and I didn't bother with address sanitizer for configure. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/ _______________________________________________ Bug-readline mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-readline
