This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/11151] Leakage of stap_uprobes slots
- From: "wcohen at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 14 Jan 2010 21:53:42 -0000
- Subject: [Bug translator/11151] Leakage of stap_uprobes slots
- References: <20100108221421.11151.wcohen@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From wcohen at redhat dot com 2010-01-14 21:53 -------
Identified the problem. The code generated by systemtap assumes there
are matching munmap for the mmaps operations. When the process exists
there are no munmaps for the regions with the probes. Thus, the
stap_uprobes[] fills with entries from processes that are no longer
around.
systemtap generated the following entry:
static struct stap_uprobe_tf stap_uprobe_finders[] = {
{ .finder={ .procname="/usr/bin/python",
.mmap_callback=&stap_uprobe_mmap_found,
.munmap_callback=&stap_uprobe_munmap_found,
},
.pathname="/usr/lib64/libpython2.6.so.1.0", },
};
There should be a call back when the process exist to clean up the stap_uprobes[].
--
http://sourceware.org/bugzilla/show_bug.cgi?id=11151
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.