You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Kaltenberger, Stefan" <St...@fabasoft.com> on 2013/10/16 14:36:49 UTC
svn log hang
Hi,
I recently upgraded my Subversion client from version 1.7.5 to 1.8.3 and
from that time on I experience hangs when executing multiple 'svn log'
commands in a short amount of time. The "hanging" svn process consumes
all CPU cycles it gets but never finishes.
I can reproduce the problem using the following shell script (on Windows
using Cygwin):
#!/bin/bash
ROOT="http://example.com/svn/trunk"
for DIR in $(svn ls "${ROOT}" | head -n 4); do
svn log -v -l 5 "${ROOT}/${DIR}" 2>&1 | head -n 100 > /dev/null
done
In my environment I need at least 4 svn processes to achieve the faulty
behavior. The hang only occurs if the output is truncated using the head
command (but it can be redirected to a normal file instead of /dev/null
which then contains the expected log messages).
Regards, Stefan
P.S.: Could you please keep me CC as I'm not subscribed to the list. Thanks.
RE: svn log hang
Posted by "Kaltenberger, Stefan" <St...@fabasoft.com>.
Hi,
> It seems like issue #4425 [1] which is fixed in r1522892 and proposed
> for backport to Subversion
> 1.8.4.
I tried the nightly build of TortoiseSVN [1]
svn, version 1.8.4-dev (under development)
compiled Oct 16 2013, 23:05:56 on x86-microsoft-windows
(as I was not able to compile the 1.8.x branch myself using Visual
Studio 2008 because of a weird include path issue and the Subversion
nightly build site of Mr. Wright [2] delivers only a 404 page) and
I was not able to reproduce the issue using my test case so I guess
it is fixed.
Thank you!
Regards, Stefan
[1] http://nightlybuilds.tortoisesvn.net/latest/win32/full/
[2] http://people.apache.org/~hwright/svn/nightly/deploy/
Re: svn log hang
Posted by Ivan Zhakov <iv...@visualsvn.com>.
On 16 October 2013 16:36, Kaltenberger, Stefan
<St...@fabasoft.com> wrote:
> Hi,
>
> I recently upgraded my Subversion client from version 1.7.5 to 1.8.3 and
> from that time on I experience hangs when executing multiple 'svn log'
> commands in a short amount of time. The "hanging" svn process consumes
> all CPU cycles it gets but never finishes.
>
> I can reproduce the problem using the following shell script (on Windows
> using Cygwin):
>
> #!/bin/bash
> ROOT="http://example.com/svn/trunk"
> for DIR in $(svn ls "${ROOT}" | head -n 4); do
> svn log -v -l 5 "${ROOT}/${DIR}" 2>&1 | head -n 100 > /dev/null
> done
>
> In my environment I need at least 4 svn processes to achieve the faulty
> behavior. The hang only occurs if the output is truncated using the head
> command (but it can be redirected to a normal file instead of /dev/null
> which then contains the expected log messages).
>
It seems like issue #4425 [1] which is fixed in r1522892 and proposed
for backport to Subversion
1.8.4.
[1] http://subversion.tigris.org/issues/show_bug.cgi?id=4425
--
Ivan Zhakov
CTO | VisualSVN | http://www.visualsvn.com