delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/06/02/23:32:23

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4DE855B2.6070801@ece.cmu.edu>
Date: Thu, 02 Jun 2011 23:32:02 -0400
From: Ryan Johnson <ryanjohn AT ece DOT cmu DOT edu>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Lightning/1.0b2 Thunderbird/3.1.10
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Mercurial not returning with 20110601 snapshot
References: <BANLkTi=Ts9mMzReuWxq6z6QrT2SiL8Cz-A AT mail DOT gmail DOT com> <20110602122725 DOT GA23446 AT ednor DOT casa DOT cgf DOT cx> <BANLkTim7+mG41OifRJnx0S4JxMWc+scMRA AT mail DOT gmail DOT com> <4DE7915E DOT 3020801 AT ece DOT cmu DOT edu> <BANLkTikHkbNTuY7OKJ56jhxZeCefQ6CNxQ AT mail DOT gmail DOT com> <BANLkTimor2Re9+aEq0CUx-yTNgoQTs_vuQ AT mail DOT gmail DOT com> <20110603022441 DOT GA31731 AT ednor DOT casa DOT cgf DOT cx>
In-Reply-To: <20110603022441.GA31731@ednor.casa.cgf.cx>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

On 02/06/2011 10:24 PM, Christopher Faylor wrote:
> On Thu, Jun 02, 2011 at 11:47:47AM -0400, Chris Sutcliffe wrote:
>> On 2 June 2011 09:45, marco atzeri wrote:
>>> On Thu, Jun 2, 2011 at 3:34 PM, Ryan Johnson ?wrote:
>>>> Assuming cygwin sshd is running locally, couldn't you just create an empty
>>>> repo and then try to ssh-clone it?
>>>>
>>>> mkdir ~/test-repo
>>>> cd ~/test-repo
>>>> hg init
>>>> hg clone ssh://localhost/test-repo tr2
>> I tried this and I see the behaviour I described.  Adding '--debug' I see:
>>
>> csutclif AT bmotec3017201lt:[~/test-repo] $ hg --debug clone
>> ssh://localhost/test-repo tr2
>> running ssh localhost "hg -R test-repo serve --stdio"
>> sending hello command
>> sending between command
>> csutclif AT localhost's password:
>> remote: 94
>> remote: capabilities: lookup changegroupsubset branchmap pushkey
>> stream unbundle=HG10GZ,HG10BZ,HG10UN
>> remote: 1
>> sending heads command
>> no changes found
>> checking for updated bookmarks
>> sending listkeys command
>> updating to branch default
>> resolving manifests
>> overwrite False partial False
>> ancestor 000000000000 local 000000000000+ remote 000000000000
>> 0 files updated, 0 files merged, 0 files removed, 0 files unresolved
>>
>> It hangs at the last line until I Ctrl-C.
> Thanks for the test case.  I can duplicate the problem but, so far, I'm
> stumped.  python seems to be hanging in ExitProcess.

It seems that python isn't the problem. I downloaded the snapshot and 
tried the test case in strace, and just before hanging it reported:
>    24 26366182 [main] python 10128 pinfo::exit: Calling ExitProcess n 
> 0x0, exitcode 0x0

However, hitting ^C caused more output. Additional, similar pairs appear 
every minute or two, independent of further ^C (I couldn't actually get 
strace to exit until I killed ssh manually):
> 44088209 67106467 [unknown (0x25C4)] ssh 10076 _cygtls::remove: wait 0x0
>   101 67106568 [unknown (0x25C4)] ssh 10076 _cygtls::remove: removed 
> 0x2EACE64 element 2

Meanwhile, ps confirms zero python processes and one ssh.

Ryan



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

- Raw text -


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