Russell Yanofsky wrote:
>Brandon Ehle wrote:
>
>
>>Looks like switching to dlls introduces some memory leaks at shutdown
>>because of the way atexit(apr_terminate) is getting called. I'm not
>>entirely sure what the interaction is, but apr_initialize() is now
>>being called from within the libsvn_subr-1.dll instead of the
>>executable.
>>
>>
>
>Does it matter where apr_initialize is called from? How do you know there
>are problems at shutdown? (I haven't actually tried running the dynamically
>linked exe's yet).
>
>
Using a tool that tracks OS leaks such as Heap, Critical Sections,
Thread Local Storage, etc. None of these items where getting leaked
with the staticly linked version of svn, but they are leaking in the DLL
version, although the only things that are leaking are what
apr_terminate is supposed to clean up which isn't much.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 16 20:51:40 2003