You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by David Glasser <gl...@davidglasser.net> on 2007/10/11 17:59:37 UTC

Re: svn commit: r27115 - trunk/subversion/libsvn_client

Depends; is "make check" a normal usage scenario?

--dave

On 10/11/07, Lieven Govaerts <sv...@mobsol.be> wrote:
> Can this segfault be triggered through a normal usage scenario?
>
> Lieven
>
> cmpilato@tigris.org wrote:
> > Author: cmpilato
> > Date: Thu Oct 11 10:42:33 2007
> > New Revision: 27115
> >
> > Log:
> > Fix a SEGFAULT caused by a pool lifetime issue.
> >
> > * subversion/libsvn_client/update.c
> >   (file_fetcher): Allocate the file fetcher's session from the right pool.
> >
> >
> > Modified:
> >    trunk/subversion/libsvn_client/update.c
> >
> > Modified: trunk/subversion/libsvn_client/update.c
> > URL: http://svn.collab.net/viewvc/svn/trunk/subversion/libsvn_client/update.c?pathrev=27115&r1=27114&r2=27115
> > ==============================================================================
> > --- trunk/subversion/libsvn_client/update.c   (original)
> > +++ trunk/subversion/libsvn_client/update.c   Thu Oct 11 10:42:33 2007
> > @@ -70,8 +70,9 @@
> >    if (! ffb->session)
> >      SVN_ERR(svn_client__open_ra_session_internal(&(ffb->session),
> >                                                   ffb->repos_root,
> > -                                                 NULL, NULL, NULL, FALSE, TRUE,
> > -                                                 ffb->ctx, pool));
> > +                                                 NULL, NULL, NULL,
> > +                                                 FALSE, TRUE,
> > +                                                 ffb->ctx, ffb->pool));
> >    SVN_ERR(svn_ra_get_file(ffb->session, path, revision, stream,
> >                            fetched_rev, props, pool));
> >    return SVN_NO_ERROR;
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: svn-unsubscribe@subversion.tigris.org
> > For additional commands, e-mail: svn-help@subversion.tigris.org
> >
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: dev-help@subversion.tigris.org
>
>


-- 
David Glasser | glasser@davidglasser.net | http://www.davidglasser.net/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org