This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: sshd crashing


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]