CFLAGS="-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic" LDFLAGS="-static-libstdc++ -static-libgcc -Wl,-z,relro" ./configure --with-system-readline;make (ulimit -c unlimited;/usr/bin/runtest gdb.python/py-linetable.exp) particularly: cd gdb/testsuite; ../gdb -data-directory ../data-directory -ex start -ex 'python print gdb.selected_frame().find_sal().symtab.linetable().has_line(20)' gdb.python/py-linetable <segfault>
Fixed on trunk: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=2a081c592cf727c5103808374834c4915e83521a and on 7.7 branch: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=e661fce02d46838124aa94618c4b87b59d922ab3