From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3372 invoked by alias); 31 Jul 2012 21:53:22 -0000 Received: (qmail 3362 invoked by uid 22791); 31 Jul 2012 21:53:21 -0000 X-SWARE-Spam-Status: No, hits=-3.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,KHOP_RCVD_TRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org Received: from mail-yx0-f171.google.com (HELO mail-yx0-f171.google.com) (209.85.213.171) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 31 Jul 2012 21:53:02 +0000 Received: by yenq11 with SMTP id q11so6616093yen.2 for ; Tue, 31 Jul 2012 14:53:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.60.22.165 with SMTP id e5mr25329849oef.60.1343771581530; Tue, 31 Jul 2012 14:53:01 -0700 (PDT) Received: by 10.182.22.166 with HTTP; Tue, 31 Jul 2012 14:53:01 -0700 (PDT) In-Reply-To: <20120731201910.GJ9134@calimero.vinschen.de> References: <34233493.post@talk.nabble.com> <20120731122824.GA30188@calimero.vinschen.de> <20120731201910.GJ9134@calimero.vinschen.de> Date: Tue, 31 Jul 2012 21:53:00 -0000 Message-ID: Subject: Re: sshd crashing From: Pawel Jasinski To: cygwin@cygwin.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-07/txt/msg00667.txt.bz2 hi, the fix works, I have tested it with the only vm I have with me. thanks pawel On Tue, Jul 31, 2012 at 10:19 PM, Corinna Vinschen wrote: > On Jul 31 14:28, Corinna Vinschen wrote: >> On Jul 30 17:49, Ale=C5=A1 wrote: >> > >> > Hello, >> > >> > I can confirm the issue. It's occurring after upgrade to 1.7.16 and se= ems 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 > -- 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