delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/09/16/11:03:20

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
From: Andrew Schulman <andrex AT alumni DOT utexas DOT net>
Subject: Re: Unison 2.9.20 and OpenSSH-4.1p1-2: hangs as server.
Date: Fri, 16 Sep 2005 10:59:37 -0400
Lines: 60
Message-ID: <0nmli19u21cmhdfn4n5nbe1uqs5744gki5@4ax.com>
References: <43290BA3 DOT 40709 AT stanford DOT edu> <sp5ji1t7egim2ob79hstnufovs69n4h06k AT 4ax DOT com> <4329C2DC DOT 6050602 AT stanford DOT edu>
Mime-Version: 1.0
X-IsSubscribed: yes

> > Brooks, I do remember seeing a lot of reports about 6 months or so
> > ago, that Unison was hanging.  My recollection is dim but I think it
> > had to do with some bad combination of versions of cygwin.dll and
> > Unison.  Are you using the latest cygwin.dll on your servers?
> 
> "uname -sr" returns "CYGWIN_NT-5.2 1.5.18(0.132/4/2)", which I believe 
> means I'm running the latest version.
> 
> I also noticed that there was a new OpenSSH package out; I've upgraded 
> to OpenSSH-4.2p1-1 on the server side, and found that this changed 
> nothing with regards to this bug.

OK.

> > Invoking unison with -debug will provide a lot of output, which may or
> > may not be useful.  At least you can see what was the last thing
> > Unison was doing before it hung, and that may ring a bell somewhere.
> > Also, exceptions and broken pipes are obvious errors that may lead
> > more easily to a solution if you report the details.
> 
> True enough.  I've attached the text of unison -debug 'all' to this; I'm 
> not sure if it's meaningful or not.

No, probably not.  At least not to me... it just looks like the
typical Unison hang:  everything seems to be going along fine, and
then it just stops.

> > Uncaught exception File "/home/aschulma/usr/cygwin/unison2.9.20/unison2.9.20-2.9.20/.build/remote.ml
> > ", line 483, characters 2-8: Assertion failed
> > Broken pipe
> 
> Incidentally, this points out a definite bug in Unison-2.9.20.  This 
> exact output also occurs if I specify "-maxthreads 1" on the command 
> line, indicating that it is ignoring that option and opening the default 
> 20 threads anyway.  (If I use the "-debug 'all'" option along with 
> "-maxthreads 1", it does report "maxthreads = 1" in the list at the 
> beginning, so it's parsing the option, just ignoring it.)

I suggest that you report both of these errors to the unison-users
list: http://groups.yahoo.com/group/unison-users.  The Unison
developers are generally pretty good about fixing failed assertions,
which shouldn't ever happen.  They may ask you for more information
and/or testing and then post a patch, in which case I'll immediately
incorporate it into the Cygwin package and release a new version.
However, they may also decline to keep supporting version 2.9.20-- I
don't know.  If they do, then that suggests that it may be time to
remove 2.9.20 (and also 2.9.1) from Cygwin, too.  We'll see.

> Unfortunately, I don't have root on the remote server, so it may be a 
> little difficult to upgrade, but I see that Cygwin does seem to allow 
> having multiple versions of unison around -- many thanks to whomever was 
> responsible for that!

You're welcome :)  As for being root on your server, that's not
required.  You can build and install a private copy of Unison
(whatever version you like), then from your client just run unison
with -serverCmd /path/to/your/local/unison.

Good luck,
A.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019