You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Lieven Govaerts <lg...@mobsol.be> on 2006/05/11 20:02:32 UTC
BUG: 'svn lock' hangs on svnserve
Hi,
when writing new authz tests I encountered a bug in svn/svnserve.
Description: when trying to lock a file on which you don't have read-access,
svn will hang. Expected behaviour is that svn bails out with Authorization
Failed (like ra_dav does).
When debugging I see that svn hangs on the line 294 of
libsvn_ra_svn/marschall.c:
SVN_ERR(readbuf_getchar(conn, pool, result));
Apparently svn is waiting on svnserve to send more data.
To reproduce the problem you can apply the attached patch (locally, please
do not commit this :). It's an extra testcase for the authz_write_access
test in authz_tests.py. Running 'authz_tests.py --url=svn://localhost 5'
will then hang.
regards,
Lieven.
Re: BUG: 'svn lock' hangs on svnserve
Posted by "Peter N. Lundblad" <pe...@famlundblad.se>.
Lieven Govaerts writes:
> Hi,
>
>
> when writing new authz tests I encountered a bug in svn/svnserve.
>
> Description: when trying to lock a file on which you don't have read-access,
> svn will hang. Expected behaviour is that svn bails out with Authorization
> Failed (like ra_dav does).
>
> When debugging I see that svn hangs on the line 294 of
Fixed in r19620.
Thanks,
//Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org