This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygwin and rsync


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]