delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/08/15:28:39

X-Spam-Check-By: sourceware.org
Message-ID: <43C1756F.6020107@gmail.com>
Date: Sun, 08 Jan 2006 15:26:23 -0500
From: Ken Senior <seniork AT gmail DOT com>
User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: cygwin and rsync
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> <1136745330 DOT 24628 DOT 251350787 AT webmail DOT messagingengine DOT com>
In-Reply-To: <1136745330.24628.251350787@webmail.messagingengine.com>
X-IsSubscribed: yes
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

Pushing from Windows to Linux works fine.  It's the pulling from Windows
into Linux (that is, initiating on Linux) which does not.

On the gdb front, I found that whenever I launched the gdb on the
Windows box, the process froze immediately instead of the usual place. 
That is, the gdb process seems to itself cause a freezing of rsync. 
Quitting out of gdb allows the process to resume until it freezes in the
"usual" place.  Two gdb outputs follow.  The first corresponds to the
first freeze (the one seemingly caused by gdb itself) while the
subsequent one is the one corresponding to the "usual" freezing point. 
I tried to make sense of these, but I'm afraid I don't know enough about
somes of these DLLs. 

OUTPUT 1
------------
(gdb) thread 1
[Switching to thread 1 (thread 200.0xbd0)]#0  0x7c90eb94 in
ntdll!LdrAccessResource () from /cygdrive/c/WINDOWS/system32/ntdll.dll
(gdb) bt
#0  0x7c90eb94 in ntdll!LdrAccessResource () from
/cygdrive/c/WINDOWS/system32/ntdll.dll
#1  0x7c90d68e in ntdll!ZwCreateFile () from
/cygdrive/c/WINDOWS/system32/ntdll.dll
#2  0x6101aa90 in cygwin_internal () from /usr/bin/cygwin1.dll
#3  0x61023e2a in cygwin_internal () from /usr/bin/cygwin1.dll
#4  0x61024d8d in cygwin_internal () from /usr/bin/cygwin1.dll
#5  0x610916fd in sync () from /usr/bin/cygwin1.dll
#6  0x610844ff in cygwin1!aclcheck () from /usr/bin/cygwin1.dll
#7  0x004164ba in make_file (fname=0x22d660 "NIST Novatel
RINEX/JLVR/jlvr1460.03o", flist=0x501468, filter_level=2) at flist.c:178
#8  0x00416da6 in send_file_name (f=1, flist=0x501468, fname=0x22d660
"NIST Novatel RINEX/JLVR/jlvr1460.03o", base_flags=0) at flist.c:974
#9  0x00416edf in send_directory (f=1, flist=0x501468, fbuf=0x22d660
"NIST Novatel RINEX/JLVR/jlvr1460.03o", len=23) at flist.c:1045
#10 0x0041713a in send_if_directory (f=1, flist=0x501468, file=0x5fa538)
at flist.c:1007
#11 0x00416f54 in send_directory (f=1, flist=0x501468, fbuf=0x22d7e0
"NIST Novatel RINEX", len=18) at flist.c:1066
#12 0x0041713a in send_if_directory (f=1, flist=0x501468, file=0x5402d0)
at flist.c:1007
#13 0x00416f54 in send_directory (f=1, flist=0x501468, fbuf=0x22d960
".", len=1) at flist.c:1066
#14 0x0041713a in send_if_directory (f=1, flist=0x501468, file=0x541ec0)
at flist.c:1007
#15 0x00417e6e in send_file_list (f=1, argc=0, argv=0x5002d8) at
flist.c:1230
#16 0x0040d146 in start_server (f_in=0, f_out=1, argc=2, argv=0x5002d0)
at main.c:511
#17 0x0040e288 in main (argc=2, argv=0x5002d0) at main.c:1166
(gdb) quit
The program is running.  Quit anyway (and detach it)? (y or n) y
Detaching from program: /usr/bin/rsync.exe, Pid 200

OUTPUT 2
------------
(gdb) thread info
No symbol "info" in current context.
(gdb) info thread
  4 thread 200.0xa10  0x7c901231 in ntdll!DbgUiConnectToDbg () from
/cygdrive/c/WINDOWS/system32/ntdll.dll
  3 thread 200.0x770  0x7c90eb94 in ntdll!LdrAccessResource () from
/cygdrive/c/WINDOWS/system32/ntdll.dll
  2 thread 200.0xeb0  0x7c90eb94 in ntdll!LdrAccessResource () from
/cygdrive/c/WINDOWS/system32/ntdll.dll
* 1 thread 200.0xbd0  0x7c90eb94 in ntdll!LdrAccessResource () from
/cygdrive/c/WINDOWS/system32/ntdll.dll
(gdb) thread 1
[Switching to thread 1 (thread 200.0xbd0)]#0  0x7c90eb94 in
ntdll!LdrAccessResource () from /cygdrive/c/WINDOWS/system32/ntdll.dll
(gdb) bt
#0  0x7c90eb94 in ntdll!LdrAccessResource () from
/cygdrive/c/WINDOWS/system32/ntdll.dll
#1  0x7c90e9ff in ntdll!ZwWriteFile () from
/cygdrive/c/WINDOWS/system32/ntdll.dll
#2  0x7c81100e in WriteFile () from
/cygdrive/c/WINDOWS/system32/kernel32.dll
#3  0x00000694 in ?? ()
#4  0x00000000 in ?? () from
(gdb) thread 2
[Switching to thread 2 (thread 200.0xeb0)]#0  0x7c90eb94 in
ntdll!LdrAccessResource () from /cygdrive/c/WINDOWS/system32/ntdll.dll
(gdb) bt
#0  0x7c90eb94 in ntdll!LdrAccessResource () from
/cygdrive/c/WINDOWS/system32/ntdll.dll
#1  0x7c90e288 in ntdll!ZwReadFile () from
/cygdrive/c/WINDOWS/system32/ntdll.dll
#2  0x7c801875 in ReadFile () from /cygdrive/c/WINDOWS/system32/kernel32.dll
#3  0x00000764 in ?? ()
#4  0x00000000 in ?? () from
(gdb) thread 3
[Switching to thread 3 (thread 200.0x770)]#0  0x7c90eb94 in
ntdll!LdrAccessResource () from /cygdrive/c/WINDOWS/system32/ntdll.dll
(gdb) bt
#0  0x7c90eb94 in ntdll!LdrAccessResource () from
/cygdrive/c/WINDOWS/system32/ntdll.dll
#1  0x7c90e9c0 in ntdll!ZwWaitForSingleObject () from
/cygdrive/c/WINDOWS/system32/ntdll.dll
#2  0x7c8025db in WaitForSingleObjectEx () from
/cygdrive/c/WINDOWS/system32/kernel32.dll
#3  0x00000754 in ?? ()
#4  0x00000000 in ?? () from
(gdb) thread 4
[Switching to thread 4 (thread 200.0xa10)]#0  0x7c901231 in
ntdll!DbgUiConnectToDbg () from /cygdrive/c/WINDOWS/system32/ntdll.dll
(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  0x8418a618 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
(gdb)



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