This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap 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 translator/11151] Leakage of stap_uprobes slots


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


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