This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug python/11407] -stack-list-locals should catch python exceptions and return the error per variable
- From: "pmuldoon at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: 31 Mar 2010 15:12:28 -0000
- Subject: [Bug python/11407] -stack-list-locals should catch python exceptions and return the error per variable
- References: <20100320163108.11407.niko.sams@gmail.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From pmuldoon at redhat dot com 2010-03-31 15:12 -------
Thanks for the testcase! I've isolated the bug:
380 for (i = 0; i < options->print_max; ++i)
(top-gdb)
382 PyObject *py_v, *item = PyIter_Next (iter);
(top-gdb)
std::map with 258866279488 elementsCannot access memory at address 0x18
Basically the Python iterator is failing (because the child is
bogus/uninitialized). This happens in both mi and cli cases.
A patch will be forthcoming.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=11407
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.