X-Spam-Flag: YES X-Spam-Check-By: sourceware.org From: =?utf-8?q?Ren=C3=A9_Krell?= To: cygwin AT cygwin DOT com Subject: 1.5.19-4: fatal error - couldn't allocate heap after computer reboot (sshd - CopSSHd, Windows 2003 Server SP1) Date: Tue, 30 May 2006 15:06:07 +0200 User-Agent: KMail/1.9.1 MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_/MEfEvKXwWmmAkx" Message-Id: <200605301506.07213.rkrell@gk-software.com> X-GkMailAgent: AddressChanger(ForeignMail IN) - OK; date="Tue, 30 May 06 15:08:55 +0200"; mailserver="MailServer v20_00" X-GkMailAgent: PGPDecoder(ForeignMail IN) - OK; date="Tue, 30 May 06 15:08:55 +0200"; mailserver="MailServer v20_00" X-GkMailAgent: PGPEncoder(ForeignMail IN) - OK; date="Tue, 30 May 06 15:08:55 +0200"; mailserver="MailServer v20_00" X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Note-from-DJ: This may be spam --Boundary-00=_/MEfEvKXwWmmAkx Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I use an own unattended setup of the CopSSH 1.3.10 (may 2006,=20 http://itefix.no/copssh), based on the Cygwin rel. 1.5.19-4 on Windows 2003= =20 Server SP1. Hardware: Intel XEON 2.80 GHz, 2 GB RAM Every time I restart the computer the sshd service starts but all SSH=20 connections are refused. In the same moment in /var/log/sshd.log occur entr= y=20 pairs like these: --- =C2=A07 [main] ? (5856) c:\software\sshd\bin\sshd.exe: *** fatal error - co= uldn't=20 allocate heap, Win32 error 0, base 0x460000, top 0x470000, reserve_size=20 61440, allocsize 65536, page_const 4096 =C2=A0 =C2=A0 =C2=A051 [main] sshd 1740 child_copy: stack write copy failed= ,=20 0x22DDA0..0x230000, done 0, windows pid 2284756, Win32 error 5 --- If I restart the sshd system service only without restarting the computer t= he=20 connectivity works as expected. In that case, no further entries occur in= =20 sshd.log. On all other platforms I tested (Windows XP SP4, Windows 2003 Server R2) th= is=20 problem did not occur definitely. Some similar problems I already found in this conference with other Cygwin= =20 applications, too. But I haven't found a solution that fixed this behaviour. What I have tried to solve this (all followed by a computer restart): - regtool -i set /HKLM/Software/Cygnus\ Solutions/Cygwin/heap_chunk_in_mb 2= 048 - Check whether there is a second cygwin1.dll in the search path by mistake= -=20 actually not - Use an older version of OpenSSHD 3.8.1p1 based on an older cygwin release - Use the original CopSSHD setup =3D=3D> without any success. Thanks for your help with this, R. K. --Boundary-00=_/MEfEvKXwWmmAkx Content-Type: text/plain; charset="utf-8"; name="cygcheck.out" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="cygcheck.out" Cygwin Configuration Diagnostics Current System Time: Tue May 30 14:45:44 2006 Windows 2003 Server Ver 5.2 Build 3790 Service Pack 1 Running in Terminal Service session Path: C:\WINDOWS\system32 C:\WINDOWS C:\WINDOWS\System32\Wbem C:\PROGRA~1\CA\SHARED~1\SCANEN~1 C:\Program Files\Microsoft SQL Server\80\Tools\Binn\ C:\Program Files\Microsoft SQL Server\90\Tools\binn\ C:\Program Files\Microsoft SQL Server\90\DTS\Binn\ C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\ C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\ C:\Program Files\UltraEdit d:\gkretail\sshd\bin d:\gkretail\sshd\bin d:\gkretail\sshd\bin d:\gkretail\sshd\bin d:\gkretail\sshd\bin d:\gkretail\sshd\bin d:\gkretail\sshd\bin SysDir: C:\WINDOWS\system32 WinDir: C:\WINDOWS PWD = '/usr/bin' CYGWIN = 'binmode ntsec tty' HOME = '/home/Administrator' HOMEPATH = '\Documents and Settings\Administrator' APPDATA = 'C:\Documents and Settings\Administrator\Application Data' TERM = 'cygwin' PROCESSOR_IDENTIFIER = 'x86 Family 15 Model 2 Stepping 7, GenuineIntel' WINDIR = 'C:\WINDOWS' USERDOMAIN = 'SCE06SRV952POS1' OS = 'Windows_NT' ALLUSERSPROFILE = 'C:\Documents and Settings\All Users' ANT_HOME = 'd:/gkretail/apache-ant/1.6.5' COMMANDER_PATH = 'D:\tools\totalcmd' TEMP = '/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/1' COMMONPROGRAMFILES = 'C:\Program Files\Common Files' LIB = 'C:\Program Files\SQLXML 4.0\bin\' USERNAME = 'Administrator' CLUSTERLOG = 'C:\WINDOWS\Cluster\cluster.log' PROCESSOR_LEVEL = '15' FP_NO_HOST_CHECK = 'NO' SYSTEMDRIVE = 'C:' JAVA_HOME = 'd:/gkretail/j2re/sun/1.4.2_09' USERPROFILE = 'C:\Documents and Settings\Administrator' CLIENTNAME = 'BONSAI' LOGONSERVER = '\\SCE06SRV952POS1' ISUSER = 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\{0F86FD09-BA63-4E45-A70B-604C1106C2F2}\_isuser.dll' PROCESSOR_ARCHITECTURE = 'x86' SHLVL = '1' PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' HOMEDRIVE = 'C:' !D: = 'd:\' COMSPEC = 'C:\WINDOWS\system32\cmd.exe' TMP = '/cygdrive/c/DOCUME~1/ADMINI~1/LOCALS~1/Temp/1' SYSTEMROOT = 'C:\WINDOWS' PROCESSOR_REVISION = '0207' PROGRAMFILES = 'C:\Program Files' NUMBER_OF_PROCESSORS = '4' AVENGINE = 'C:\PROGRA~1\CA\SHARED~1\SCANEN~1' SESSIONNAME = 'RDP-Tcp#1' COMPUTERNAME = 'SCE06SRV952POS1' _ = '/usr/bin/cygcheck' POSIXLY_CORRECT = '1' HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin (default) = 0x00000800 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/ (default) = 'd:\gkretail/sshd' flags = 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/home (default) = 'C:\Documents and Settings' flags = 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) = 'd:\gkretail/sshd/bin' flags = 0x0000000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options a: fd N/A N/A c: hd NTFS 34718Mb 17% CP CS UN PA FC d: hd NTFS 138915Mb 13% CP CS UN PA FC DATA z: cd N/A N/A d:\gkretail/sshd / system binmode C:\Documents and Settings /home system binmode d:\gkretail/sshd/bin /usr/bin system binmode Not Found: awk Not Found: bash Not Found: cat Not Found: cp Not Found: cpp (good!) Not Found: crontab Not Found: find Not Found: gcc Not Found: gdb Not Found: grep Not Found: kill Not Found: ld Not Found: ls Not Found: make Not Found: mv Not Found: patch Not Found: perl Not Found: rm Not Found: sed Not Found: ssh Not Found: sh Not Found: tar Not Found: test Not Found: vi Not Found: vim 7k 2003/10/19 d:\gkretail\sshd\bin\cygcrypt-0.dll - os=4.0 img=1.0 sys=4.0 "cygcrypt-0.dll" v0.0 ts=2003/10/19 9:57 1047k 2005/10/11 d:\gkretail\sshd\bin\cygcrypto-0.9.8.dll - os=4.0 img=1.0 sys=4.0 "cygcrypto-0.9.8.dll" v0.0 ts=2005/10/11 14:47 947k 2005/11/20 d:\gkretail\sshd\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0 "cygiconv-2.dll" v0.0 ts=2005/11/20 3:24 22k 2001/12/13 d:\gkretail\sshd\bin\cygintl-1.dll - os=4.0 img=1.0 sys=4.0 "cygintl-1.dll" v0.0 ts=2001/12/13 10:28 37k 2003/08/10 d:\gkretail\sshd\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0 "cygintl-2.dll" v0.0 ts=2003/8/10 23:50 31k 2005/11/20 d:\gkretail\sshd\bin\cygintl-3.dll - os=4.0 img=1.0 sys=4.0 "cygintl-3.dll" v0.0 ts=2005/11/20 3:04 21k 2004/10/22 d:\gkretail\sshd\bin\cygminires.dll - os=4.0 img=1.0 sys=4.0 "cygminires.dll" v0.0 ts=2004/10/22 22:28 226k 2005/09/29 d:\gkretail\sshd\bin\cygncurses-8.dll - os=4.0 img=1.0 sys=4.0 "cygncurses-8.dll" v0.0 ts=2005/9/29 4:02 176k 2005/09/06 d:\gkretail\sshd\bin\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0 "cygpcre-0.dll" v0.0 ts=2005/9/6 22:49 63k 2003/04/11 d:\gkretail\sshd\bin\cygpcre.dll - os=4.0 img=1.0 sys=4.0 "cygpcre.dll" v0.0 ts=2003/4/11 10:31 152k 2006/02/18 d:\gkretail\sshd\bin\cygreadline6.dll - os=4.0 img=1.0 sys=4.0 "cygreadline6.dll" v0.0 ts=2006/2/18 7:03 65k 2005/08/23 d:\gkretail\sshd\bin\cygz.dll - os=4.0 img=1.0 sys=4.0 "cygz.dll" v0.0 ts=2005/8/23 4:03 1763k 2006/01/20 d:\gkretail\sshd\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0 "cygwin1.dll" v0.0 ts=2006/1/20 19:28 Cygwin DLL version info: DLL version: 1.5.19 DLL epoch: 19 DLL bad signal mask: 19005 DLL old termios: 5 DLL malloc env: 28 API major: 0 API minor: 150 Shared data: 4 DLL identifier: cygwin1 Mount registry: 2 Cygnus registry name: Cygnus Solutions Cygwin registry name: Cygwin Program options name: Program Options Cygwin mount registry name: mounts v2 Cygdrive flags: cygdrive flags Cygdrive prefix: cygdrive prefix Cygdrive default prefix: Build date: Fri Jan 20 13:28:43 EST 2006 CVS tag: cr-0x5ef Shared id: cygwin1S4 Service : OpenSSHd Display name : GK OpenSSH Server Description : GK OpenSSH Server and Deployment Components Current State : Stopped Command : /bin/sshd -D stdin path : /dev/null stdout path : /var/log/OpenSSHd.log stderr path : /var/log/OpenSSHd.log Special flags : --interactive --nohide Environment : CYGWIN="binmode ntsec tty" Process Type : Own Process, Interactive Startup : Automatic Dependencies : Tcpip Account : LocalSystem Cygwin Package Information No setup information found Use -h to see help about each section --Boundary-00=_/MEfEvKXwWmmAkx Content-Type: text/plain; charset=us-ascii -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ --Boundary-00=_/MEfEvKXwWmmAkx--