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

svn 1.4.2 problems with svn+ssh (freeze, etc.)

From: Vincent Lefevre <vincent+svn_at_vinc17.org>
Date: 2006-11-17 16:35:34 CET

Here are problems I have with:

svn, version 1.4.2 (r22196)
   compiled Nov 13 2006, 16:36:12

under Mac OS X. There weren't such problems before.

When using SSH connection sharing, svn sometimes freezes, in particular
with "ssh log -v | less". I can reproduce the problem with both OpenSSH
4.3p2 and 4.5p1, and with two different servers. On one of them, I can
do a ps, and I can see no "svnserve -t" (there's normally one). When I
kill the process, I get the message (from the SSH master, AFAIK):

  mm_receive_fd: recvmsg: expected received 1 got 0

Without connection sharing, the processes don't always die after a
"svn log -v | less" (and quitting less before looking at the end of
the file). Indeed, after 3 tests, I have on the client side:

prunille:~> ps auxww | grep svnserve
vinc17 19030 0.0 0.1 31124 1744 q4 S 4:18PM 0:00.03 ssh -F /Users/vinc17/.ssh/config -C ay svnserve -t
vinc17 19127 0.0 0.1 31092 1724 q4 S 4:18PM 0:00.03 ssh -F /Users/vinc17/.ssh/config -C ay svnserve -t
vinc17 19153 0.0 0.1 31124 1736 q4 S 4:18PM 0:00.03 ssh -F /Users/vinc17/.ssh/config -C ay svnserve -t

and on the server side:

ay:~> ps -fp $(pgrep -d, -x svnserve)
lefevre 474 473 0 16:18 ? 00:00:00 svnserve -t
lefevre 519 517 0 16:18 ? 00:00:00 svnserve -t
lefevre 538 537 0 16:18 ? 00:00:00 svnserve -t

After quitting less, I get:

prunille:~/wd> svn log -v | less
svn: Write error: Broken pipe
zsh: exit 1 svn log -v |
zsh: done less

It seems that svn doesn't clean up after the broken pipe.

Vincent Lefèvre <vincent_at_vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Nov 17 16:36:04 2006

This is an archived mail posted to the Subversion Dev mailing list.