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 - cygheap base mismatch


On 7/31/2012 2:31 PM, Corinna Vinschen wrote:
On Jul 31 13:29, marco atzeri wrote:
on cygwin-1.7.16 and 20120730 snapshot,
when trying to connect at running ssh server I have

$ ssh marco@127.0.0.1
ssh_exchange_identification: Connection closed by remote host

and /var/log/sshd.log reports:
--------------------------------------------------------------------
    1231 [main] sshd (2860) E:\cygwin\usr\sbin\sshd.exe: *** fatal
error - cygheap base mismatch detected - 0x612708D0/0x6126F8D0.
This problem is probably due to using incompatible versions of the
cygwin DLL.
Search for cygwin1.dll using the Windows Start->Find/Search facility
and delete all but the most recent version.  The most recent version
*should*
reside in x:\cygwin\bin, where 'x' is the drive on which you have
installed the cygwin distribution.  Rebooting is also suggested if you
are unable to find another cygwin DLL.
       1 [main] sshd 4568 fork: child -1 - forked process 2860 died
unexpectedly, retry 0, exit code -1073741819, errno 11
       4 [main] sshd (1488) E:\cygwin\usr\sbin\sshd.exe: *** fatal
error - cygheap base mismatch detected - 0x612708D0/0x6126F8D0.

There's actually a 4K mismatch. Are you sure there's no other Cygwin DLL, not even due to a still running process?


Corinna

rebooting makes no change.


no other cygwin1.dll in the path

$ for i in $(echo $PATH | sed -e "s/:/ /g") ; do find $i -name cygwin1.dll ; done
/usr/bin/cygwin1.dll


And the only running processes are:

$ ps -e
PID PPID PGID WINPID TTY UID STIME COMMAND
4664 5792 4664 4136 pty0 1008 15:10:22 /usr/bin/ps
3152 5932 3152 184 ? 1960 15:09:43 /usr/sbin/sshd
5460 1 5460 5460 ? 1008 15:06:52 /usr/bin/mintty
5792 5460 5792 3792 pty0 1008 15:06:52 /usr/bin/bash
5932 1 5932 5932 ? 1960 15:09:43 /usr/bin/cygrunsrv



Another BLODA interference ?




--
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]