Mail Archives: cygwin/2002/09/24/19:02:39
Even further investigation. I learned of the -vvv flag. The tail end of
the output follows.
WINNT/twain_32/logiscan/
recv_generator(WINNT/twain_32/miitwain,9620)
set modtime of WINNT/twain_32/miitwain to (1001999972) Tue Oct 2 00:19:32
2001
WINNT/twain_32/miitwain/
recv_generator(WINNT/twunk_16.exe,9621)
recv_generator(WINNT/twunk_32.exe,9622)
recv_generator(WINNT/uneng.exe,9623)
recv_generator(WINNT/uninst.exe,9624)
recv_generator(WINNT/upwizun.exe,9625)
recv_generator(WINNT/vb.ini,9626)
recv_generator(WINNT/vbaddin.ini,9627)
recv_generator(WINNT/vmmreg32.dll,9628)
recv_generator(WINNT/vsapi32.dll,9629)
recv_generator(WINNT/win.ini,9630)
recv_generator(WINNT/winhelp.exe,9631)
recv_generator(WINNT/winhlp32.exe,9632)
recv_generator(WINNT/wininit.ini,9633)
recv_generator(WINNT/winrep.exe,9634)
recv_generator(WINNT/wmsetup.log,9635)
recv_generator(WINNT/yacs.log,9636)
generate_files phase=1
I'm reading the source to try and figure out where things went wrong. Any
insights would be helpful.
David Hinkle
-----Original Message-----
From: Dave Hinkle
Sent: Tuesday, September 24, 2002 5:33 PM
To: 'cygwin AT cygwin DOT com'
Subject: RE: Rsync over ssh hangs on win2k
Please CC any responses to me, as I'm not on the list.
Further investigation. I've figured out how to start up the debugger under
gygwin. I attach to the process and do a back trace but it doesn't tell me
anything :( I am quite good with gdb under linux but I've never seen output
like this.
$ gdb /bin/rsync.exe --nw
GNU gdb 5.0 (20010428-3)
Copyright 2001 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"...
(gdb) attach 5396
Attaching to program `/bin/rsync.exe', process 5396
[Switching to thread 5396.0x854]
(gdb) list
851 signal(SIGSEGV, rsync_panic_handler);
852 signal(SIGFPE, rsync_panic_handler);
853 signal(SIGABRT, rsync_panic_handler);
854 signal(SIGBUS, rsync_panic_handler);
855 #endif /* def MAINTAINER_MODE */
856
857 starttime = time(NULL);
858 am_root = (getuid() == 0);
859
860 memset(&stats, 0, sizeof(stats));
(gdb) bt
#0 0x77f97705 in _libkernel32_a_iname ()
#1 0x77ea1982 in _libkernel32_a_iname ()
#2 0x77e887dd in _libkernel32_a_iname ()
(gdb) detach
Detaching from program: /bin/rsync.exe thread 5396.0x854
(gdb) quit
After I detach the rsync dissapears. What am I seeing here? Is there a
reference for debugging under cygwin?
David
-----Original Message-----
From: Dave Hinkle
Sent: Tuesday, September 24, 2002 4:27 PM
To: 'cygwin AT cygwin DOT com'
Subject: Rsync over ssh hangs on win2k
Please CC any responses to me, I'm not subscribed to the list. When I try
to rsync a directory structure from a windows 2000 machine running cygwin to
my linux system (running it from the linux side) the transfers always hang.
Everything works beautifully to and from linux. This isn't the bug where
rsync hangs after it's done, I'll just work around that. (I've seen it
when I initiate a rsync from the windows box)
This happens on every one of half a dozen windows machines I've tried it on,
I'm surprised more people havn't seen it.
I get no error messages, but rsync's processor utilization drops to zero on
both sides.
I run the following command from my linux box (raid) to the windows box
(mail.mhdealer.com)
rsync -avzx --ignore-errors --delete-excluded --delete --progress
--exclude-from=system/excludes -e ssh
Administrator AT 205 DOT 244 DOT 224 DOT 130:/cygdrive/d profit/2002-09-24_11+51/
The following is all I see in a TCP dump when things go wrong:
15:10:42.248139 raid.34418 > mail.mhdealer.com.ssh: . 37767:39227(1460) ack
1914864 win 62780 (DF) [tos 0x8]
15:10:42.248224 raid.34418 > mail.mhdealer.com.ssh: . 39227:40687(1460) ack
1914864 win 62780 (DF) [tos 0x8]
15:10:42.271624 mail.mhdealer.com.ssh > raid.34418: . ack 40687 win 556 (DF)
15:10:42.559003 raid.34418 > mail.mhdealer.com.ssh: P 40687:41243(556) ack
1914864 win 62780 (DF) [tos 0x8]
15:10:42.740027 mail.mhdealer.com.ssh > raid.34418: . ack 41243 win 0 (DF)
15:10:43.069022 raid.34418 > mail.mhdealer.com.ssh: . ack 1914864 win 62780
(DF) [tos 0x8]
15:10:43.084147 mail.mhdealer.com.ssh > raid.34418: . ack 41243 win 0 (DF)
15:10:43.739017 raid.34418 > mail.mhdealer.com.ssh: . ack 1914864 win 62780
(DF) [tos 0x8]
15:10:43.744416 mail.mhdealer.com.ssh > raid.34418: . ack 41243 win 0 (DF)
These lines are then repeated forever as far as I can tell:
15:10:43.739017 raid.34418 > mail.mhdealer.com.ssh: . ack 1914864 win 62780
(DF) [tos 0x8]
15:10:43.744416 mail.mhdealer.com.ssh > raid.34418: . ack 41243 win 0 (DF)
My rsync version is 2.5.5.
Doesn't take it long at all to hang, and it happens every time.
I've seen a couple people asking about this in the list archives but no
answers (They appear to have been drowned out by the people with the hang
after completion bug)
If anybody has any idea's on where to start, please e-mail me back. This is
for a project that's very important to me, so I'll be willing to do whatever
is necessary to help you debug.
Thankyou
David Hinkle
--
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 -