Re: Latest snapshot with XP SP2 and unison and cvs
On Oct 1 16:12, Karl M wrote: Hi All... I just tried the latest snapshot (didn't expect a change, but felt obligated to try) with no change. Who submitted the pipe handling code changes? Any chance of a resolution soon? You can reasd the current state in the cygwin-patches archives. Bob is still looking into that problem. Where would I look to see the changes? What I mean is to look at the before and after? Erm... in the source code? The affected files are pipe.cc and select.cc if that helps. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:[EMAIL PROTECTED] Red Hat, Inc. -- 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/
RE: Latest snapshot with XP SP2 and unison and cvs
Hi All... I just tried the latest snapshot (didn't expect a change, but felt obligated to try) with no change. Who submitted the pipe handling code changes? Any chance of a resolution soon? Where would I look to see the changes? What I mean is to look at the before and after? Thanks, ...Karl From: Igor Pechtchanski [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: Dave Korn [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Subject: RE: Latest snapshot with XP SP2 and unison and cvs Date: Thu, 23 Sep 2004 11:37:06 -0400 (EDT) On Thu, 23 Sep 2004, Dave Korn wrote: -Original Message- From: cygwin-owner On Behalf Of Karl M Sent: 22 September 2004 19:36 Hi Dave... Sorry, I thought I covered all details, but... The firewall is off...I am behind a real firewall. The hanging can be averted by not using XP SP2 or by using a down rev cygwin1.dll Thanks, ...Karl Yep, Corinna made that clear. Perhaps it's caused by SP2 putting tighter default ACLs on pipes than earlier versions did? There are various tools that can let you examine ACLs on devices and other objects, for instance ProcExp from sysinternals (http://www.sysinternals.com/ntw2k/freeware/procexp.shtml). It might be informative to compare the ACLs on the pipe on a hung session with the ACLs on the pipe on a working session. FWIW, Corinna has identified a possible culprit (different behavior of NtQueryInformationFile under WinXP SP2). Hopefully the author of the recent pipe handling code changes will be able to fix this (maybe by an SP2-specific workaround for the problem). Until then, Karl will either have to use the previous version of cygwin1.dll, or compile his own CVS HEAD version with the corresponding pipe patch reverted. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Happiness lies in being privileged to work hard for long hours in doing whatever you think is worth doing. -- Dr. Jubal Harshaw -- 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/ _ Get ready for school! Find articles, homework help and more in the Back to School Guide! http://special.msn.com/network/04backtoschool.armx -- 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/
RE: Latest snapshot with XP SP2 and unison and cvs
-Original Message- From: cygwin-owner On Behalf Of Karl M Sent: 22 September 2004 19:36 Hi Dave... Sorry, I thought I covered all details, but... The firewall is off...I am behind a real firewall. The hanging can be averted by not using XP SP2 or by using a down rev cygwin1.dll Thanks, ...Karl Yep, Corinna made that clear. Perhaps it's caused by SP2 putting tighter default ACLs on pipes than earlier versions did? There are various tools that can let you examine ACLs on devices and other objects, for instance ProcExp from sysinternals (http://www.sysinternals.com/ntw2k/freeware/procexp.shtml). It might be informative to compare the ACLs on the pipe on a hung session with the ACLs on the pipe on a working session. cheers, DaveK -- Can't think of a witty .sigline today -- 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/
RE: Latest snapshot with XP SP2 and unison and cvs
On Thu, 23 Sep 2004, Dave Korn wrote: -Original Message- From: cygwin-owner On Behalf Of Karl M Sent: 22 September 2004 19:36 Hi Dave... Sorry, I thought I covered all details, but... The firewall is off...I am behind a real firewall. The hanging can be averted by not using XP SP2 or by using a down rev cygwin1.dll Thanks, ...Karl Yep, Corinna made that clear. Perhaps it's caused by SP2 putting tighter default ACLs on pipes than earlier versions did? There are various tools that can let you examine ACLs on devices and other objects, for instance ProcExp from sysinternals (http://www.sysinternals.com/ntw2k/freeware/procexp.shtml). It might be informative to compare the ACLs on the pipe on a hung session with the ACLs on the pipe on a working session. FWIW, Corinna has identified a possible culprit (different behavior of NtQueryInformationFile under WinXP SP2). Hopefully the author of the recent pipe handling code changes will be able to fix this (maybe by an SP2-specific workaround for the problem). Until then, Karl will either have to use the previous version of cygwin1.dll, or compile his own CVS HEAD version with the corresponding pipe patch reverted. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Happiness lies in being privileged to work hard for long hours in doing whatever you think is worth doing. -- Dr. Jubal Harshaw -- 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/
Re: Latest snapshot with XP SP2 and unison and cvs
Hi All... I have a testcase. It uses unison-2.9.1.exe available from http://www.cis.upenn.edu/~bcpierce/home.html (from here go to unison, downloads, current stable version, and select unison.win32-gtkui.exe) On a machine with XP, SP2, this test hangs and with XP or 2000 it executes to completion. The recipie is as follows (assuming you have openssh client and server set up): download unison rename the executable to unison.exe and place it somewhere on your PATH. in a cmd (not bash) shell type unison C:/ ssh://localhost/C:/ -testserver -rshargs -v -v -v thats it. Unison will use the ssh client to run a copy of itself and talk to it for the test. This does not work from a bash shell...never has. But...you can run it from strace cmd inside a bash shell to get strace output. Up until XP SP2 and the latest cygwin, I have been using it this way for years without a hitch. On XP SP2 the results are 100% repeatable. It hangs in the same place every time. I have run sshd in debug mode and found nothing unusual there. It appears to be a client problem. An XP SP2 server is fine, but the XP SP2 client (with the latest cygwin1.dll or snapshots I tried) hangs. Thanks, ...Karl From: Karl M [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Latest snapshot with XP SP2 and unison and cvs Date: Mon, 20 Sep 2004 15:31:23 -0700 Hi All... What can I do that would be usefull? I'm not sure how to tell where things are hanging, because unison-2.9.1 is a win32 program that invokes a cygwin ssh client. I did confirm that it is a ssh client side issue. That is, an XP SP2 machine is fine as the server, but not as the client. If I turn on the -v -v -v in ssh, the last thing I get is from a channel_input_window_adjust call. From: Corinna Vinschen [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Latest snapshot with XP SP2 and unison and cvs Date: Mon, 20 Sep 2004 11:20:14 +0200 On Sep 18 12:23, Karl M wrote: Hi All... I just updated an xp machine to sp2 and unison-2.9.1 (the win32 version) using ssh (cygwin) started hanging. I have done a clean install of cygwin and am running with the 16sep snapshot. cvs (cygwin) works fine with ssh. unison hangs with ssh. Because win32 unison will not run under bash, I opened a cygwin bash window, did an strace of cmd and then ran unison. The strace is attached. Any thoughts? No. I don't see any change in Cygwin between 1.5.10 and 1.5.11 which could result in a new behaviour on sockets. The strace is useless. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:[EMAIL PROTECTED] Red Hat, Inc. -- 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/ _ Is your PC infected? Get a FREE online computer virus scan from McAfee® Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 -- 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/ _ Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ -- 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/
RE: Latest snapshot with XP SP2 and unison and cvs
-Original Message- From: cygwin-owner On Behalf Of Karl M Sent: 22 September 2004 16:19 Hi All... It appears to be a client problem. An XP SP2 server is fine, but the XP SP2 client (with the latest cygwin1.dll or snapshots I tried) hangs. On Sep 18 12:23, Karl M wrote: Hi All... I just updated an xp machine to sp2 and unison-2.9.1 (the win32 version) using ssh (cygwin) started hanging. Wait a minute. You're saying it was all working fine, and then you put sp2 on and it stopped working? IOW, nothing about cygwin changed? Then the problem is probably because of the SP2 firewall, isn't it? NB. If you wish to test this theory by switching the firewall off, you'd probably better disconnect both machines from the network and wire them directly together with a crossover cable.. cheers, DaveK -- Can't think of a witty .sigline today -- 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/
Re: Latest snapshot with XP SP2 and unison and cvs
On Sep 22 17:48, Dave Korn wrote: -Original Message- From: cygwin-owner On Behalf Of Karl M Sent: 22 September 2004 16:19 Hi All... It appears to be a client problem. An XP SP2 server is fine, but the XP SP2 client (with the latest cygwin1.dll or snapshots I tried) hangs. On Sep 18 12:23, Karl M wrote: Hi All... I just updated an xp machine to sp2 and unison-2.9.1 (the win32 version) using ssh (cygwin) started hanging. Wait a minute. You're saying it was all working fine, and then you put sp2 on and it stopped working? IOW, nothing about cygwin changed? Then the problem is probably because of the SP2 firewall, isn't it? I thought the same, but it's not the firewall. I tested this a few minutes ago. The change in behaviour is apparently related to the changes in the pipe code made on 2004-09-02. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:[EMAIL PROTECTED] Red Hat, Inc. -- 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/
RE: Latest snapshot with XP SP2 and unison and cvs
Hi Dave... Sorry, I thought I covered all details, but... The firewall is off...I am behind a real firewall. The hanging can be averted by not using XP SP2 or by using a down rev cygwin1.dll Thanks, ...Karl From: Dave Korn [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: Latest snapshot with XP SP2 and unison and cvs Date: Wed, 22 Sep 2004 17:48:51 +0100 -Original Message- From: cygwin-owner On Behalf Of Karl M Sent: 22 September 2004 16:19 Hi All... It appears to be a client problem. An XP SP2 server is fine, but the XP SP2 client (with the latest cygwin1.dll or snapshots I tried) hangs. On Sep 18 12:23, Karl M wrote: Hi All... I just updated an xp machine to sp2 and unison-2.9.1 (the win32 version) using ssh (cygwin) started hanging. Wait a minute. You're saying it was all working fine, and then you put sp2 on and it stopped working? IOW, nothing about cygwin changed? Then the problem is probably because of the SP2 firewall, isn't it? NB. If you wish to test this theory by switching the firewall off, you'd probably better disconnect both machines from the network and wire them directly together with a crossover cable.. cheers, DaveK -- Can't think of a witty .sigline today -- 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/ _ Dont just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/ -- 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/
Re: Latest snapshot with XP SP2 and unison and cvs
I just updated an xp machine to sp2 and unison-2.9.1 (the win32 version) using ssh (cygwin) started hanging. I have done a clean install of cygwin and am running with the 16sep snapshot. cvs (cygwin) works fine with ssh. unison hangs with ssh. Because win32 unison will not run under bash, I opened a cygwin bash window, did an strace of cmd and then ran unison. The strace is attached. Karl, you may want to try a later version of Unison. 2.9.1 is pretty old now, and although I don't know about that version specifically, I know that there have been hanging bugs in other versions. A Cygwin version of Unison 2.10.2 has just been released; you should be able to find it in the Cygwin setup utility. However, the archive format has changed, so you will have to be using version 2.10.x (I believe) on both hosts or Unison will complain. It will also have to resync its archive lists. Good luck, Andrew. -- 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/
Re: Latest snapshot with XP SP2 and unison and cvs
On Sep 18 12:23, Karl M wrote: Hi All... I just updated an xp machine to sp2 and unison-2.9.1 (the win32 version) using ssh (cygwin) started hanging. I have done a clean install of cygwin and am running with the 16sep snapshot. cvs (cygwin) works fine with ssh. unison hangs with ssh. Because win32 unison will not run under bash, I opened a cygwin bash window, did an strace of cmd and then ran unison. The strace is attached. Any thoughts? No. I don't see any change in Cygwin between 1.5.10 and 1.5.11 which could result in a new behaviour on sockets. The strace is useless. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:[EMAIL PROTECTED] Red Hat, Inc. -- 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/
Re: Latest snapshot with XP SP2 and unison and cvs
Hi All... What can I do that would be usefull? I'm not sure how to tell where things are hanging, because unison-2.9.1 is a win32 program that invokes a cygwin ssh client. I did confirm that it is a ssh client side issue. That is, an XP SP2 machine is fine as the server, but not as the client. If I turn on the -v -v -v in ssh, the last thing I get is from a channel_input_window_adjust call. From: Corinna Vinschen [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: Latest snapshot with XP SP2 and unison and cvs Date: Mon, 20 Sep 2004 11:20:14 +0200 On Sep 18 12:23, Karl M wrote: Hi All... I just updated an xp machine to sp2 and unison-2.9.1 (the win32 version) using ssh (cygwin) started hanging. I have done a clean install of cygwin and am running with the 16sep snapshot. cvs (cygwin) works fine with ssh. unison hangs with ssh. Because win32 unison will not run under bash, I opened a cygwin bash window, did an strace of cmd and then ran unison. The strace is attached. Any thoughts? No. I don't see any change in Cygwin between 1.5.10 and 1.5.11 which could result in a new behaviour on sockets. The strace is useless. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:[EMAIL PROTECTED] Red Hat, Inc. -- 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/ _ Is your PC infected? Get a FREE online computer virus scan from McAfee® Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 -- 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/