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

Re: Issue 2732 (was Unhandled exception when stopping apache)

From: Branko Čibej <brane_at_xbc.nu>
Date: 2007-04-01 18:46:14 CEST

D.J. Heap wrote:
> On 4/1/07, Branko Čibej <brane@xbc.nu> wrote:
> [snip]
>>
>> I think we decided once that this was a bug in DSO handling and really
>> has to be fixed in APR -- or at least, that APR should give apps a way
>> to delay the actual module unload until after pool cleanup. And I can't
>> imagine how it would work on other platforms, either. Unless it's
>> (again) about "freed" memory still having the original contents ... I
>> wouldn't be at all surprised if a DSOs memory remained mapped to the
>> proces some indefinite time after unload, on some systems (it would
>> scare me, though :).
>>
>
>
> Ah, I've seen that kind of thing before and that would explain it.
>
> I'm not deadly on the details, but is that pretty much the only way to
> actually fix this? We have a common_pool in the loader that appears
> to be trying to address this same kind of issue -- is there some way
> to pass it down so the bdb cache can use that? Or is that pool
> inappropriate for some reason?

In your case, we don't control the pool that "owns" mod_dav_svn.so --
HTTPD does. I suppose we could try changing the way HTTPD handles module
unloading.

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Apr 1 18:46:57 2007

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