Cygwin64: allocating too much memory causes a crash

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


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: testrealloc.c
Type: application/octet-stream
Size: 229 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20130910/cbf8b896/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/cbf8b896/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/cbf8b896/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