This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/11914] Multiple call to inferior function can leed tosegfault
- From: "joachim.protze at zih dot tu-dresden.de"<sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 11 Feb 2011 12:09:11 +0000
- Subject: [Bug python/11914] Multiple call to inferior function can leed tosegfault
- Auto-submitted: auto-generated
- References: <bug-11914-4717@http.sourceware.org/bugzilla/>
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.