delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/02/13/18:35:29

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <02ad01c2d3b8$8fc63510$78d96f83@pomello>
From: "Max Bowsher" <maxb AT ukf DOT net>
To: "Glenn, Billy" <BDG3 AT pge DOT com>, <cygwin AT cygwin DOT com>
References: <A64C83FEDE2C9147AE14B15F80E7A0D0172F86 AT EXCHANGE07 DOT utility DOT pge DOT com>
Subject: Re: DOH! Resolved RE: Compiling rsync 2.5.6 under Cygwin?
Date: Thu, 13 Feb 2003 23:35:15 -0000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

Glenn, Billy wrote:
> Max- (jump to the end for the spoiler)
>
> Thank you MUCH for your quick, and detailed response!  I'll go look
> to make sure I've got the Cygwin popt package installed.  As to the
> remainder of your questions, I'll take my best crack here, get with
> my client (I have YET to witness the problem myself :-( and see if I
> can get any of the additional output you requested.  I'm not familiar
> with the strace or gdb commands, but I'll familiarize myself and see
> if I can provide the info.

strace: Prints lots of debugging output from Cygwin DLL internals.
strace -o outputfile rsync <rsyncoptions>
Caveat: strace is a non-Cygwin program: It does *not* understand POSIX
paths.
You can also connect to a running process: strace -p pid

gdb: Probably easier to connect to a running, hung, process. The exe must be
unstripped for this to be useful.

Once you are connected to the process, type "bt" at the gdb prompt to get
the report.

You can't use both gdb and strace simultaneously on one process

> As to "when it hangs" - the user reports that it's "intermittent"
> (hard to believe) and that is seems to hang after rsync reports:
>
> <snip>
> rsync -rptvze ssh /home/crcq/rsynctest crcq AT wwwdev01:/home/crcq
> building file list ... done
> [HANG]
> </snip>

I don't think the widely complained about rsync hang would actually happen
there.

> As to the warnings vs. errors - I guess I cut my output off a bit shy.
>
> ARGH!!!  Damn... I JUST realized... I'm a complete idiot.  Despite
> the warnings... as you point out, the compile completes just fine,
> and I DO, in fact, have a new rsync.exe sitting in my source
> directory.
>
> DOH!  You wouldn't imagine how my co-workers are ribbing me right
> now.  Here's hoping this post doesn't wind up in Google!
>
> Thanks SO much for your help, quick response, and friendly response
> in the face of obvious ignorance...

:-)


Max.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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