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

Re: file not closed in update?

From: Ich Selbst <ichselbst_at_gmx.ch>
Date: 2002-10-21 22:40:42 CEST

> >I'm having some problems using the svn client library.
> >This is what I do (on windows):
> >
> >...
> >apr_pool_t * pool = svn_pool_create(NULL);
> >Err = svn_client_update (auth_obj, (LPCTSTR)path, NULL, getRevision
> >(revision), recurse, notify, (void *)this, pool);
> >svn_pool_destroy(pool);
> >...
> >
> >when calling svn_pool_destroy(pool) I get a first-chance exception with
an
> >invalid file handle.
> >The update itself completes successfully (the file is really updated).
> >Can someone help me with what I am doing wrong?
> >
> >
>
> I ran into the same bug just the other day, whils trying to reproduce
> Josef's proxy config bug report on Windows. I think we have a pool usage
> bug somewhere in there; possibly even in APR. I haven't had time to
> track this down yet.
>
> Do you think you could try debugging this one? It would help enormously.
I don't know apr and the libraries, but I could track down where the
exception is
thrown:
in APR_DECLARE(void) apr_pool_destroy(apr_pool_t *pool)
in the line 'run_cleanups(pool->cleanups)'
That's line 746 in apr_pools.c

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Oct 21 22:41:26 2002

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.