This is the mail archive of the gdb-prs@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]

[Bug python/16547] New: GDB crashes on calling Python has_line() or line()


https://sourceware.org/bugzilla/show_bug.cgi?id=16547

            Bug ID: 16547
           Summary: GDB crashes on calling Python has_line() or line()
           Product: gdb
           Version: 7.7
            Status: NEW
          Severity: normal
          Priority: P2
         Component: python
          Assignee: unassigned at sourceware dot org
          Reporter: jan.kratochvil at redhat dot com
            Target: x86_64-redhat-linux-gnu

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>

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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