delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-0.6 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KHOP_THREADED,T_RP_MATCHES_RCVD |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <34238382.post@talk.nabble.com> |
Date: | Tue, 31 Jul 2012 15:59:37 -0700 (PDT) |
From: | A Lichner <ales AT lichner DOT name> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: sshd crashing |
In-Reply-To: | <20120731201910.GJ9134@calimero.vinschen.de> |
MIME-Version: | 1.0 |
References: | <CA+7conmf=HORJ9nscNe4CA67EAeO+n7H6GkpVK4cPq315wJtzg AT mail DOT gmail DOT com> <34233493 DOT post AT talk DOT nabble DOT com> <20120731122824 DOT GA30188 AT calimero DOT vinschen DOT de> <20120731201910 DOT GJ9134 AT calimero DOT vinschen DOT de> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
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 |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id q6VN0Eq0022301 |
Thanks Corinna. The fix works. Ales Corinna Vinschen-2 wrote: > > On Jul 31 14:28, Corinna Vinschen wrote: >> On Jul 30 17:49, Aleš wrote: >> > >> > Hello, >> > >> > I can confirm the issue. It's occurring after upgrade to 1.7.16 and >> seems to >> > be limited to VMWare guests in my case. Any write attempt within the >> /etc >> > directory causes sshd to crash. Other directories are fine. >> > >> > uname -a before upgrade (sshd doens't crash): >> > CYGWIN_NT-6.0-WOW64 dbs6 1.7.15(0.260/5/3) 2012-05-09 10:25 i686 Cygwin >> > and after upgrade (sshd crashes): >> > CyGWIN_NT-6.0-WOW64 dbs6 1.7.16(0.262/5/3) 2012-07-20 22:55 i686 Cygwin >> > >> > >> > cygrunsrv -S sshd >> > ssh localhost >> > $ touch /etc/x >> > Connection to localhost closed by remote host. >> > Connection to localhost closed. >> > >> > >> > A familiar message appears in the event log: >> > service sshd failed: signal 11 raised >> > >> > The /etc/x file gets created in the example above. If running vim >> /etc/x >> > instead, the .x.swp file gets also created and a vim-nox.exe process >> keeps >> > on living, taking all CPU resources till it's killed. >> > >> > I have reproduced this on over ten machines running MS Server 2003 and >> 2008, >> > all VMware guests. >> >> I can reproduce this as well. I also found the patch which introduced >> the problem, but it's not clear yet, why. Stay tuned. > > I've just applied a patch to fix this problem. It seems this is a long > standing bug which could result in random stack corruption after changing > or adding any file to /etc. I'm just generating a developer snapshot. > Please test the today's snapshot from http://cygwin.com/snapshots/ > Just replacing /bin/cygwin1.dll with the snapshot DLL is sufficient. > > > Thanks in advance, > Corinna > > -- > Corinna Vinschen Please, send mails regarding Cygwin to > Cygwin Project Co-Leader cygwin AT cygwin DOT com > Red Hat > > -- > Problem reports: http://cygwin.com/problems.html > FAQ: http://cygwin.com/faq/ > Documentation: http://cygwin.com/docs.html > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > > > -- View this message in context: http://old.nabble.com/sshd-crashing-tp34222715p34238382.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |