delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/07/30/20:49:35

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-3.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KHOP_THREADED,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <34233493.post@talk.nabble.com>
Date: Mon, 30 Jul 2012 17:49:02 -0700 (PDT)
From: =?UTF-8?Q?Ale=C5=A1?= <ales AT lichner DOT name>
To: cygwin AT cygwin DOT com
Subject: Re: sshd crashing
In-Reply-To: <CA+7conmf=HORJ9nscNe4CA67EAeO+n7H6GkpVK4cPq315wJtzg@mail.gmail.com>
MIME-Version: 1.0
References: <CA+7conmf=HORJ9nscNe4CA67EAeO+n7H6GkpVK4cPq315wJtzg AT mail DOT gmail DOT com>
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

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.

Ales


pawel.jasinski wrote:
> 
> hi,
> 
> I have a fresh installation of cygwin on xp and win7 (both run 1.17.16-1).
> I have run ssh-host-config followed by rebaseall. The CYGWIN variable
> for sshd is not set.
> I have tried with and without priv. separation.
> It is started with cygrunsrv -S sshd
> I can connect with ssh localhost. Things are ok until I do vi
> /etc/profile. At this moment it crashes.
> 
> Now if I try the version without priv separation to start by hand:
> /usr/sbin/sshd -D -d -e things go well and it does not crashes when in
> ssh session /etc/profile is edited.
> Am I missing something in config?
> 
> --pawel
> 
> Info from Event Viewer:
> 
> The description for Event ID 0 from source sshd cannot be found.
> Either the component that raises this event is not installed on your
> local computer or the installation is corrupted. You can install or
> repair the component on the local computer.
> 
> If the event originated on another computer, the display information
> had to be saved with the event.
> 
> The following information was included with the event:
> 
> sshd: PID 484: service `sshd' failed: signal 11 raised
> 
>  
> --
> 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-tp34222715p34233493.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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019