Cygwin64: allocating too much memory causes a crash (corrected)

Bengt Larsson lists.cygwin4@bengtl.net
Tue Sep 10 16:09:00 GMT 2013


(I'm sorry I attached the wrong file. This should be right.)

On Cygwin64, if I malloc too much memory I get a stackdump, instead of a
NULL in return (for example testmalloc 5000000000).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: testmalloc.c
Type: application/octet-stream
Size: 339 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20130910/03da20b0/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testmalloc.exe.stackdump
Type: application/octet-stream
Size: 1286 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20130910/03da20b0/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 15804 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20130910/03da20b0/attachment-0002.obj>
-------------- 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