Page 1 of 1

Incompetent Mallocs.

Posted: Thu May 31, 2007 9:35 pm
by ghhyrd
What the hell is a Malloc? Can someone tell me because I don't know sh#t about them, all I know is that whatever they are, whatever they are meant to do, all they actually do is fail. I was testing a new mission just now (or trying) that I have been working on for a few months now. It got to the last bar of the loading sequence and informed me many times that a 'Malloc' or 'Mallocs' had failed.
Here is what I got;

Error: Malloc Failed!

File:J:\src\cvs\fs2_open_3_6_9.final\code\GlobalIncs\WinDebug.cpp
Line: 1677
[This filename points to the location of a file on the computer that built this executable]

Call stack:
------------------------------------------------------------------
í 3f800000()
------------------------------------------------------------------


All Iknow is that THAT is the last thing out of a string of similar notices that I was given. Could someone please explain wtf a 'Malloc' is, what it does, why it keeps failing, yada yada... please?

Posted: Fri Jun 01, 2007 12:14 am
by BlackHole
malloc() is a C++ memory allocation call. It means theres a memory allocation problem.

Posted: Fri Jun 01, 2007 12:35 am
by ghhyrd
BlackHole wrote:malloc() is a C++ memory allocation call. It means theres a memory allocation problem.
That is exactly what I thought it was (as in a memory problem) which is really no problem as I expected this anyway. Curse my ways. Oh well, I'm upgrading soon anyway, thanks!