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

Re: Inexcusable BDB upgrade triple blunder

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2006-03-01 01:10:23 CET

On Wed, 2006-03-01 at 00:16 +0100, Branko Èibej wrote:
> > Here's my brilliant idea: set bdb_cache to NULL in a pool cleanup for
> > bdb_cache_pool. In the svn_fs_destroy handler, check if bdb_cache is
> > NULL and don't touch the underlying environment handle if so.
 
> Yes, I was thinking along those lines. Except that it means we can't
> allocate the environment handles from pools, because then their lifetime
> will by definition be shorter than the cache's.

Eh? I don't understand.

apr_terminate invoked
Environment handle pools are cleaned up
Cache pool is cleaned up --> bdb_cache set to NULL
FS objects are cleaned up, but don't touch environment handles

What's the problem?

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Mar 1 01:11:39 2006

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.