[Bug translator/14820] hang when running semok/nodwf01.stp
dsmith at redhat dot com
sourceware-bugzilla@sourceware.org
Mon Nov 12 17:03:00 GMT 2012
http://sourceware.org/bugzilla/show_bug.cgi?id=14820
--- Comment #1 from David Smith <dsmith at redhat dot com> 2012-11-12 17:03:34 UTC ---
Here's an update on this one. This also happens on a 1M vm (running
2.6.32-279.14.1.el6.x86_64).
With some debug prints added, I now believe that module_info::update_symtab()
really isn't the problem, that either elfutils or dwflpp.cxx is. Basically the
problem is that we're finding *way* too many function aliases when we don't
have dwarf info.
Here's a couple of randomly chosen functions:
piix4_io_quirk: 0 aliases with dwarf info, ~660 aliases without dwarf info
native_read_cr4_safe: 0 aliases with dwarf info, ~1320 aliases without dwarf
info
Without dwarf info, I'm seeing innermost loop of module_info::update_symtab()
find almost 18 million aliases (if I'm reading my debug output correctly). I
believe the hang here is just the time being taken trying to insert that many
items into the hash table.
I'd guess the problem is in map_by_addr.equal_range(), but I could certainly be
wrong.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the Systemtap
mailing list