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/11407] -stack-list-locals should catch python exceptions and return the error per variable


------- 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.


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