delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/08/13:14:06

X-Spam-Check-By: sourceware.org
Date: Sun, 8 Jan 2006 13:13:53 -0500 (EST)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Ken Senior <seniork AT gmail DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: cygwin and rsync
In-Reply-To: <43C138CB.3040606@gmail.com>
Message-ID: <Pine.GSO.4.63.0601081310120.11381@slinky.cs.nyu.edu>
References: <43BDAFBC DOT 9080401 AT gmail DOT com> <1136506661 DOT 2833 DOT 251196190 AT webmail DOT messagingengine DOT com> <43BDBBC2 DOT 1040100 AT gmail DOT com> <1136509322 DOT 5881 DOT 251198868 AT webmail DOT messagingengine DOT com> <43BDCD93 DOT 1060009 AT gmail DOT com> <loom DOT 20060108T093822-493 AT post DOT gmane DOT org> <1136730738 DOT 12349 DOT 251344216 AT webmail DOT messagingengine DOT com> <43C138CB DOT 3040606 AT gmail DOT com>
MIME-Version: 1.0
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 Sun, 8 Jan 2006, Ken Senior wrote:

> I am at home today and cannot perform all of these, but on the Linux ->
> Windows, I was able to issue the rsync on [LOCAL/Linux] and then attach
> to the rsync process on [REMOTE/Windows] using gdb with the resulting
> backtrace output:
>
> $ gdb rsync 3032
> GNU gdb 6.3.50_2004-12-28-cvs (cygwin-special)
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB.  Type "show warranty" for details.
> This GDB was configured as "i686-pc-cygwin"...
> Attaching to program `/usr/bin/rsync.exe', process 280
> [Switching to thread 280.0xdb8]
> (gdb) bt
> #0  0x7c901231 in ntdll!DbgUiConnectToDbg () from
> /cygdrive/c/WINDOWS/system32/ntdll.dll
> #1  0x7c9507a8 in ntdll!KiIntSystemCall () from
> /cygdrive/c/WINDOWS/system32/ntdll.dll
> #2  0x00000005 in ?? ()
> #3  0x00000004 in ?? ()
> #4  0x00000001 in ?? ()
> #5  0x18c0ffd0 in ?? ()
> #6  0x00018ca7 in ?? ()
> #7  0xffffffff in ?? ()
> #8  0x7c90ee18 in strchr () from /cygdrive/c/WINDOWS/system32/ntdll.dll
> #9  0x7c9507c8 in ntdll!KiIntSystemCall () from
> /cygdrive/c/WINDOWS/system32/ntdll.dll
> #10 0x00000000 in ?? () from
>
> This seems like a foreign language to me but maybe this screams
> something to someone?

Not really.  Most Cygwin applications are multi-threaded.  The above is
the output of one thread that's responsible for communicating with the
attached debugger -- it'll be the same for all applications, pretty much.

Use the 'info threads' command to see the list of all threads.  Then use
the 'thread TID' command to switch to thread TID, and 'backtrace' to get a
backtrace for that thread.

See if any of the backtraces tell *you* something before posting all of
them to the list.

> My chief purpose for all of this is to allow automatic backups onto a
> Linux file server from various systems (initiating on the Linux box),
> including Windows PCs.  This has been a project for some time, but after
> many different Runs-Linux-on-Windows distributions, I have met with
> little success.  But, I will press on with hope.  I've certainly learned
> a lot---as a non-IT person that is.

IMO, the best way to become an expert on something is to explore that
something with little initial knowledge.  :-)  Good luck!
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"


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