tcsh out of memory and core dump

tsteven4 tsteven4@qwestoffice.net
Mon Nov 29 14:08:00 GMT 2010


I can readily reproduce a tcsh error "Out of memory", however the timing 
is variable.  In my actual application the time to failure varies from 
seconds to hours.  I have a test case that seems to be able to reproduce 
the error.

The symptom of the error is a message like:
188
./test2
189
./test2
190
./test2
191
tcsh current memory allocation:
free:       0  119   52   25   29   23   17    3    0    2    0    0    
2    0    0    0    0    0    0    0    0    0    0    0    0    0    
0    0    0
used:       0    9  204  167   51   33   19    3    1    1    2    2    
1    4    3    0    0    0    0    0    0    0    0    0    0    0    
0    0    0
         Total in use: 788560, total free: 100272
         Allocated memory from 0xab0000 to 0xffffffff.  Real top at 0xb89000
nbytes=32784: Out of memory
Abort (core dumped)
192
./test2
193
./test2
194
./test2
195
./test2


The test case is run by the command "./test1".  I have run it from a 
tcsh, but I don't know that this is required to generate the failure.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cygcheck.out
URL: <http://cygwin.com/pipermail/cygwin/attachments/20101129/4b64934d/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: test2
URL: <http://cygwin.com/pipermail/cygwin/attachments/20101129/4b64934d/attachment-0001.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: test1
URL: <http://cygwin.com/pipermail/cygwin/attachments/20101129/4b64934d/attachment-0002.ksh>
-------------- next part --------------
--
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


More information about the Cygwin mailing list