This is the mail archive of the
archer@sourceware.org
mailing list for the Archer project.
Re: New branch for Fedora 11 merges
In read_func_scope (dwarf2read.c), if the name is not set (in this case
it is) or dwarf2_read_pc_bounds fails (which it does), the code calls
explore_abstract_origin with the address of a locally uninitialized
variable (die_children). This is then simply dereferenced in
explore_abstract_origin, and consequently passed to xmalloc, which
attempts to allocate over 4GB in my case...
I introduced this problem earlier when i was trying to resolve a
conflict that I had with a patch of Jan's.
1de38657622396795ce681e64b03fb74e81e6c3d vs
60eb8684d0d85d0884aca7a2f013e5eb16a51d47
I'll check in a fix for this. The issue is that sometimes a function Die
might now have high/low pc tags but it has an abstract origin tag
pointing to useful namespace information.
PS. I notice that quite a few of the "using directive" patches are
malformed. Could you please update the patches to use the GNU coding
standard?
Will do.