|
From: Howard C. <hy...@sy...> - 2008-07-09 02:50:08
|
Michael B Allen wrote: > On 7/8/08, Howard Chu<hy...@sy...> wrote: >> Typically this happens because the main program has unloaded the shared >> objects containing the relevant symbols in its shutdown/cleanup processing. >> We do this in OpenLDAP slapd too, and I #if out the unload calls when I need >> to do this kind of tracking. > > Is there any other workaround? > > Is it possible to somehow signal valgrind to generate the leak report > at runtime as opposed to on shutdown? > > Otherwise I guess I'll have to create a custom build of the main > program and comment out the dlclose() calls. That's annoying. You could always write a stub library with a no-op dlclose()... -- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/ |