* *** unable to allocate heap, heap_chunk_size 0, Win32 error 0
@ 2003-09-29 16:33 Ronald van Gogh
2003-09-29 17:17 ` Christopher Faylor
0 siblings, 1 reply; 7+ messages in thread
From: Ronald van Gogh @ 2003-09-29 16:33 UTC (permalink / raw)
To: cygwin
I'm running every 10 minutes a bash script with cygwin software to collect
statistics information from a dominoserver. Now this works in 99% of the
time, but sometimes the error "d:\cygwin\bin\bash.exe: *** unable to
allocate heap, heap_chunk_size 0, Win32 error 0" appears.
We schedule the script with a seperate tool called Windows Scheduler.
Can somebody in simple terms explain to me what this means and how we can
avoid it ?
Kind regards, Ronald van Gogh
_________________________________________________________________
Chatten met je online vrienden via MSN Messenger. http://messenger.msn.nl/
--
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/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: *** unable to allocate heap, heap_chunk_size 0, Win32 error 0
2003-09-29 16:33 *** unable to allocate heap, heap_chunk_size 0, Win32 error 0 Ronald van Gogh
@ 2003-09-29 17:17 ` Christopher Faylor
0 siblings, 0 replies; 7+ messages in thread
From: Christopher Faylor @ 2003-09-29 17:17 UTC (permalink / raw)
To: cygwin
On Mon, Sep 29, 2003 at 05:40:38PM +0200, Ronald van Gogh wrote:
>I'm running every 10 minutes a bash script with cygwin software to
>collect statistics information from a dominoserver. Now this works in
>99% of the time, but sometimes the error "d:\cygwin\bin\bash.exe: ***
>unable to allocate heap, heap_chunk_size 0, Win32 error 0" appears. We
>schedule the script with a seperate tool called Windows Scheduler.
>
>Can somebody in simple terms explain to me what this means and how we
>can avoid it ?
Please peruse http://cygwin.com/problems.html and provide the information
requested on that page.
--
Please use the resources at cygwin.com rather than sending personal email.
Special for spam email harvesters: send email to aaaspam@sourceware.org
and be permanently blocked from mailing lists at sources.redhat.com
--
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/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: *** unable to allocate heap, heap_chunk_size 0, Win32 error 0
@ 2003-09-30 10:13 Ronald van Gogh
0 siblings, 0 replies; 7+ messages in thread
From: Ronald van Gogh @ 2003-09-30 10:13 UTC (permalink / raw)
To: cygwin
[-- Attachment #1: Type: text/plain, Size: 2837 bytes --]
First of all, sorry, but I didn't know how to post a reply, since I'm
registered on the mailinglist in digestmode.
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
_________________________________________________________________
[-- Attachment #2: cygcheck.out --]
[-- Type: text/plain, Size: 6856 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/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: *** unable to allocate heap, heap_chunk_size 0, Win32 error 0
@ 2003-10-06 10:09 Ronald van Gogh
0 siblings, 0 replies; 7+ messages in thread
From: Ronald van Gogh @ 2003-10-06 10:09 UTC (permalink / raw)
To: cygwin
First of all, sorry, but I still don't know how to post a reply when I'm
registered on the mailinglist in digest mode. And nobody seems to be able to
tell me !
Last week I asked a question about failing scripts (error: unable to
allocate heap. See mail of 29/9). I was then pointed to the page explaining
how to report problems. So I did, as told, collect all the necessary
information, put it in a mail (30/9) and posted it on the mailinglist.
And since that moment I don't hear anything anymore !
Can somebody please help me with this problem, since it's causing me really
big problems !
Kind regards, Ronald van Gogh
_________________________________________________________________
Chatten met je online vrienden via MSN Messenger. http://messenger.msn.nl/
--
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/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: *** unable to allocate heap, heap_chunk_size 0, Win32 error 0
@ 2003-10-23 9:35 Ronald van Gogh
2003-10-23 16:10 ` Igor Pechtchanski
0 siblings, 1 reply; 7+ messages in thread
From: Ronald van Gogh @ 2003-10-23 9:35 UTC (permalink / raw)
To: cygwin
[-- 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/
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: *** unable to allocate heap, heap_chunk_size 0, Win32 error 0
2003-10-23 9:35 Ronald van Gogh
@ 2003-10-23 16:10 ` Igor Pechtchanski
0 siblings, 0 replies; 7+ messages in thread
From: Igor Pechtchanski @ 2003-10-23 16:10 UTC (permalink / raw)
To: Ronald van Gogh; +Cc: cygwin
Ronald,
On Thu, 23 Oct 2003, Ronald van Gogh wrote:
> 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.
I don't think the hotmail web interface is sophisticated enough to allow
you to do this. Other mailers, like pine, will present each message in
the digest as an attachment to the main digest message, and you'll be able
to reply to any of them. I know there's a script around for fetching
Yahoo! mail messages in mbox format, so you can use pine locally on your
machine. No doubt there's a similar one for hotmail somewhere.
> 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).
Any particular reason you're not using cron?
> 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.
You might want to try writing the output of "cygcheck -svr" to the output
file from that script as well.
> Furthermore, to catch any stdout/stderr messages, we called the script
> by a batch file.
Huh? Why do you need a batch file to catch stderr messages? I must be
missing something.
> 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.
You should be able to detect this situation by the return code from bash,
and write the output of "cygcheck -svr" only in the failing cases.
Another possibility is running this under strace, waiting for it to fail,
and, if it failed, saving the strace output and looking through that.
> I've attached a cygcheck.out file for more information.
>
> Kind regards, Ronald van Gogh
Hope this helps,
Igor
--
http://cs.nyu.edu/~pechtcha/
|\ _,,,---,,_ pechtcha@cs.nyu.edu
ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D.
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster." -- Patrick Naughton
--
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/
^ permalink raw reply [flat|nested] 7+ messages in thread
* RE: *** unable to allocate heap, heap_chunk_size 0, Win32 error 0
@ 2003-10-23 9:39 Jörg Schaible
0 siblings, 0 replies; 7+ messages in thread
From: Jörg Schaible @ 2003-10-23 9:39 UTC (permalink / raw)
To: cygwin
Ronald van Gogh wrote on Thursday, October 23, 2003 10:44 AM:
> 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.
You might use gmane.org, that transforms the newslist into a normal news group.
> 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.
You might give the new bash release a try, since a bug in the pipe handling was detected by cfg, that manifested itself especially if a script was called using bash from DOSish environment in combination with pipe redirection.
Regards,
Jörg
--
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/
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2003-10-23 15:52 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-09-29 16:33 *** unable to allocate heap, heap_chunk_size 0, Win32 error 0 Ronald van Gogh
2003-09-29 17:17 ` Christopher Faylor
2003-09-30 10:13 Ronald van Gogh
2003-10-06 10:09 Ronald van Gogh
2003-10-23 9:35 Ronald van Gogh
2003-10-23 16:10 ` Igor Pechtchanski
2003-10-23 9:39 Jörg Schaible
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).