public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Ronald van Gogh" <rogonl@hotmail.com>
To: cygwin@cygwin.com
Subject: Re: *** unable to allocate heap, heap_chunk_size 0, Win32 error 0
Date: Thu, 23 Oct 2003 09:35:00 -0000	[thread overview]
Message-ID: <LAW11-F71hn65DWG6tA00003349@hotmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 3103 bytes --]

First of all, sorry, but I still don't know how to post a reply, since I'm 
registered on the mailinglist in digestmode and nobody seems to be able to 
tell how to reply on a single mail I see in this list of mails.

This problem becomes very urgent to us. If we can't fix it we might have to 
look for alternatives !

As I've told before we're collecting information on a dominoserver every 10 
minutes by running a bash script (cygwin) scheduled by Windows Scheduler 
(Splinterware). We noticed that sometimes (once or twice a day) this failed. 
To check the cause we created a new small shell script, which only writes a 
date and time to a file. Furthermore, to catch any stdout/stderr messages, 
we called the script by a batch file. The sources of both programs are 
described below.

schedule_chk.bat
-----------------------
@echo off
d:\cygwin\bin\bash.exe --login -i 
"d:/Lotus/Domino/Data/StatCollect/bin/schedule_chk.sh" 
 >>d:\cygwin\tmp\schk.txt 2>&1


schedule_chk.sh
-----------------------
#!/usr/bin/ksh
echo $(date) >> /tmp/schedule_chk.log

This generated the following outputfiles (the file schk.txt contains the 
errors):


schedule_chk.log
------------------------
Tue Sep 30 08:00:01 2003
Tue Sep 30 08:10:01 2003
Tue Sep 30 08:20:01 2003
Tue Sep 30 08:30:01 2003
Tue Sep 30 08:40:01 2003
Tue Sep 30 08:50:01 2003
Tue Sep 30 09:00:01 2003
Tue Sep 30 09:10:01 2003
Tue Sep 30 09:30:00 2003
Tue Sep 30 09:40:00 2003
Tue Sep 30 09:50:00 2003
Tue Sep 30 10:00:00 2003
Tue Sep 30 10:10:01 2003
Tue Sep 30 10:30:00 2003

schk.txt
-----------
d:\cygwin\bin\bash.exe: *** unable to allocate heap, heap_chunk_size 0, 
Win32 error 0
d:\cygwin\bin\bash.exe: *** unable to allocate heap, heap_chunk_size 384, 
Win32 error 0
d:\cygwin\bin\bash.exe: *** unable to allocate heap, heap_chunk_size 0, 
Win32 error 0
d:\cygwin\bin\bash.exe: *** unable to allocate heap, heap_chunk_size 384, 
Win32 error 0
d:\cygwin\bin\bash.exe: *** unable to allocate heap, heap_chunk_size 384, 
Win32 error 0
d:\cygwin\bin\bash.exe: *** unable to allocate heap, heap_chunk_size 0, 
Win32 error 0
d:\cygwin\bin\bash.exe: *** unable to allocate heap, heap_chunk_size 384, 
Win32 error 0
d:\cygwin\bin\bash.exe: *** unable to allocate heap, heap_chunk_size 0, 
Win32 error 0
d:\cygwin\bin\bash.exe: *** unable to allocate heap, heap_chunk_size 0, 
Win32 error 0
d:\cygwin\bin\bash.exe: *** unable to allocate heap, heap_chunk_size 384, 
Win32 error 0
d:\cygwin\bin\bash.exe: *** unable to allocate heap, heap_chunk_size 0, 
Win32 error 0
d:\cygwin\bin\bash.exe: *** unable to allocate heap, heap_chunk_size 0, 
Win32 error 0
d:\cygwin\bin\bash.exe: *** unable to allocate heap, heap_chunk_size 384, 
Win32 error 0
d:\cygwin\bin\bash.exe: *** unable to allocate heap, heap_chunk_size 0, 
Win32 error 0

As you can see the log file sometimes contains gaps and errormessages are 
written to stderr.
I've attached a cygcheck.out file for more information.

Kind regards, Ronald van Gogh

_________________________________________________________________
MSN Zoeken, voor duidelijke zoekresultaten! http://search.msn.nl

[-- Attachment #2: cygcheck.out --]
[-- Type: text/plain, Size: 6858 bytes --]


Cygwin Win95/NT Configuration Diagnostics
Current System Time: Tue Sep 30 10:23:43 2003

Windows 2000 Advanced Server Ver 5.0 Build 2195 Service Pack 3

Path:	D:\cygwin\usr\local\bin
	D:\cygwin\bin
	D:\cygwin\bin
	c:\WINNT\system32
	c:\WINNT
	c:\WINNT\System32\Wbem
	d:\Program Files\Support Tools\
	d:\Program Files\Resource Kit\
	d:\lotus\Domino\
	d:\notrix
	.

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

HOME = `D:\cygwin'
MAKE_MODE = `unix'
PWD = `/'
USER = `nly21479'

ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
APPDATA = `C:\Documents and Settings\nly21479\Application Data'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `NLYEHVDMD1DSN04'
COMSPEC = `C:\WINNT\system32\cmd.exe'
HOMEDRIVE = `C:'
HOMEPATH = `\Documents and Settings\nly21479'
LOGONSERVER = `\\NLYEHVSAQ1DC002'
MANPATH = `:/usr/ssl/man'
NUMBER_OF_PROCESSORS = `2'
OLDPWD = `/usr/bin'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 10 Stepping 1, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0a01'
PROGRAMFILES = `C:\Program Files'
PROMPT = `$P$G'
PS1 = `\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$ '
SESSIONNAME = `Console'
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TEMP = `c:\DOCUME~1\nly21479\LOCALS~1\Temp'
TERM = `cygwin'
TMP = `c:\DOCUME~1\nly21479\LOCALS~1\Temp'
USERDNSDOMAIN = `code1.emi.philips.com'
USERDOMAIN = `CODE1'
USERNAME = `nly21479'
USERPROFILE = `C:\Documents and Settings\nly21479'
WINDIR = `C:\WINNT'
_ = `/usr/bin/cygcheck'

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
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x00000020
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `D:\cygwin'
  flags = 0x00000008
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `D:\cygwin/bin'
  flags = 0x00000008
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `D:\cygwin/lib'
  flags = 0x00000008
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

a:  fd           N/A    N/A
c:  hd  NTFS    8000Mb  51% CP CS UN PA FC     System
d:  hd  NTFS   26651Mb  17% CP CS UN PA FC     Apps
r:  cd           N/A    N/A

D:\cygwin      /          system  textmode
D:\cygwin/bin  /usr/bin   system  textmode
D:\cygwin/lib  /usr/lib   system  textmode
.              /cygdrive  user    textmode,cygdrive

Found: D:\cygwin\bin\bash.exe
Found: D:\cygwin\bin\cat.exe
Not Found: cpp (good!)
Found: D:\cygwin\bin\find.exe
Not Found: gcc
Not Found: gdb
Found: D:\cygwin\bin\ld.exe
Found: D:\cygwin\bin\ls.exe
Not Found: make
Found: D:\cygwin\bin\sh.exe

  643k 2002/11/09 D:\cygwin\bin\cygcrypto.dll - os=4.0 img=1.0 sys=4.0
                  "cygcrypto.dll" v0.0 ts=2002/11/9 10:56
   19k 2002/02/20 D:\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
                  "cyggdbm.dll" v0.0 ts=2002/2/20 4:05
   17k 2001/06/28 D:\cygwin\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory4.dll" v0.0 ts=2001/1/7 5:34
   20k 2002/10/10 D:\cygwin\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0
                  "cyghistory5.dll" v0.0 ts=2002/10/10 19:28
  929k 2002/06/24 D:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygiconv-2.dll" v0.0 ts=2002/6/24 20:24
   22k 2001/12/13 D:\cygwin\bin\cygintl-1.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-1.dll" v0.0 ts=2001/12/13 10:28
   28k 2002/09/20 D:\cygwin\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0
                  "cygintl-2.dll" v0.0 ts=2002/9/20 5:13
   40k 2001/11/21 D:\cygwin\bin\cygpcre.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcre.dll" v0.0 ts=2001/11/21 23:15
   39k 2001/11/21 D:\cygwin\bin\cygpcreposix.dll - os=4.0 img=1.0 sys=4.0
                  "cygpcreposix.dll" v0.0 ts=2001/11/21 23:15
   22k 2002/06/09 D:\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0
                  "cygpopt-0.dll" v0.0 ts=2002/6/9 7:45
  108k 2001/06/28 D:\cygwin\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline4.dll" v0.0 ts=2001/1/7 5:34
  127k 2002/10/10 D:\cygwin\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0
                  "cygreadline5.dll" v0.0 ts=2002/10/10 19:28
  169k 2002/11/09 D:\cygwin\bin\cygssl.dll - os=4.0 img=1.0 sys=4.0
                  "cygssl.dll" v0.0 ts=2002/11/9 10:56
   50k 2002/03/12 D:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
                  "cygz.dll" v0.0 ts=2002/3/12 5:38
  918k 2002/11/23 D:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2002/11/23 4:18
    Cygwin DLL version info:
        DLL version: 1.3.16
        DLL epoch: 19
        DLL bad signal mask: 19005
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 65
        Shared data: 3
        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 Nov 22 22:18:47 EST 2002
        Shared id: cygwin1S3


Cygwin Package Information
Last downloaded files to: @
Last downloaded files from: @

Package             Version
_update-info-dir    00093-1
ash                 20020731-1
base-files          1.1-1
base-passwd         1.0-1
bash                2.05b-8
binutils            20021117-1
cygutils            1.1.3-1
cygwin              1.3.16-1
diff                1.0-1
diffutils           2.8.1-1
fileutils           4.1-1
findutils           4.1.7-4
gawk                3.1.1-5
gdbm                1.8.0-4
gettext             0.11.5-1
grep                2.5-1
gzip                1.3.3-4
libiconv            1.8-2
libiconv2           1.8-2
libintl1            0.10.40-1
libintl2            0.11.5-1
libpopt0            1.6.4-4
libreadline4        4.1-2
libreadline5        4.3-2
login               1.7-1
openssh             3.5p1-2
openssl             0.9.6g-2
pcre                3.7-1
readline            4.3-2
sed                 4.0.1-1
sh-utils            2.0-2
tar                 1.13.25-1
texinfo             4.2-4
textutils           2.0.21-1
time                1.7-1
which               1.5-1
zlib                1.1.4-1

Use -h to see help about each section





[-- Attachment #3: Type: text/plain, Size: 218 bytes --]

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

             reply	other threads:[~2003-10-23  8:43 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-23  9:35 Ronald van Gogh [this message]
2003-10-23 16:10 ` Igor Pechtchanski
  -- strict thread matches above, loose matches on Subject: below --
2003-10-23  9:39 Jörg Schaible
2003-10-06 10:09 Ronald van Gogh
2003-09-30 10:13 Ronald van Gogh
2003-09-29 16:33 Ronald van Gogh
2003-09-29 17:17 ` Christopher Faylor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=LAW11-F71hn65DWG6tA00003349@hotmail.com \
    --to=rogonl@hotmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).