[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Compiling Subversion Libraries as DLLs on Windows

From: Brandon Ehle <azverkan_at_yahoo.com>
Date: 2003-10-16 20:50:49 CEST

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

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.