delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/05/02/08:12:50

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: rsync over ssh hang issue understood
Date: Tue, 2 May 2006 13:12:30 +0100
Message-ID: <01f301c66de1$b157fa80$a501a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <Pine.CYG.4.58.0605010953330.380@PC1163-8460-XP.flightsafety.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 01 May 2006 15:58, Brian Ford wrote:

> On Thu, 27 Apr 2006, Dave Korn wrote:
> 
>> On 26 April 2006 20:34, Steven Hartland wrote:
>> 
>>> Interestingly if I try to get a thread dump using
>>> sysinternals process explorer the rsync process goes
>>> mad using all available cpu.
>> 
>>   That's a known issue, and one which I'd like to try and work on, but
>> it's really complex.  It's a side-effect of procexp doing an
>> RtlQueryProcessDebugInformation call on the cygwin process, which works
>> internally by injecting a remote thread into the cygwin process; this
>> new thread interacts badly with dll csrss in some way because it isn't
>> "lpc-registered".
> 
> FWIW, I believe this behavior started about the time thread local storage
> at the base of the stack was implimented via thread creation interception
> by the cygwin1.dll.
> 
> Just a WAG, but you might consider disabling that in some way to test.
> You might also consider disabling the code to force double stack alignment
> in same.  Just in case you're open for leads that I don't have time to
> investigate ;-).

  Thanks, that's just the sort of hint I was looking for.  Will report back as
and when (if!) I figure it out.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
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