[Bug python/11914] Multiple call to inferior function can leed to segfault
joachim.protze at zih dot tu-dresden.de
sourceware-bugzilla@sourceware.org
Fri Feb 11 12:09:00 GMT 2011
http://sourceware.org/bugzilla/show_bug.cgi?id=11914
--- Comment #1 from Joachim Protze <joachim.protze at zih dot tu-dresden.de> 2011-02-11 12:09:09 UTC ---
The bug is still reproducible in current weekly snapshot:
$ gdb a.out
GNU gdb (GDB) 7.2.50.20110208
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-unknown-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/jprotze/pptest/a.out...done.
(gdb) source pptest.py
(gdb) b 30
Breakpoint 1 at 0x4004ac: file pptest.c, line 30.
(gdb) r
Starting program: /home/jprotze/pptest/a.out
Breakpoint 1, main (argc=1, argv=0x7fffffffe198) at pptest2.c:30
30 f=5;
(gdb) python
>for i in range(10000):
> gdb.execute("info locals", False, True)
>end
Segmentation fault
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the Gdb-prs
mailing list