|
From: Howard C. <hy...@sy...> - 2008-07-09 01:51:22
|
Michael B Allen wrote: > Hi, > > I have a leak in my Apache module but I can't tell where it is because > there are no symbols in the backtraces. I've done this before > successfully but I don't know why it's not working anymore and I would > appreciate some tips. >> From looking at the leak report it seems the symbols are discarded > before the backtraces are emitted. Is that the problem? > > I have to hit Ctrl-C to stop Apache so maybe that's triggering > valgrind to prematurely discard the symbols? > > How can I track down this problem? > > I'm using valgrind-3.2.1-6.el5 on CentOS 5. 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. -- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/ |