This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Why would malloc return NULL?



you probably have corrupted some memory elsewhere in the execution.  compiling
with debug can affect the locations of other memory, so the piece of code thats
trashing your current piece of memory is trashing a _different_ part when its
compiled using debug.

short term fix is (obviously) to compile with debug on..

Craig
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]