malloc problem

Samuel Bitton S.Bitton at sstl.co.uk
Fri May 11 08:27:06 UTC 2007


I am working on an application running on 386 with custom built BSP.
 
Calls to malloc in my application keep returning a null value.
malloc_free_space reports a free heap of 3.9M (as I would expect for my
configuration).
I've tried multiple calls to malloc interleaved with a check of the free
heap and it indicates that the free heap goes down correctly in line
with the memory I try to malloc but malloc always returns null.
 
Is that a known bug with malloc? Or am I missing something somewhere?
 
Thanks for your helps
 
Sam


This e-mail and any attachments may contain confidential and
privileged information. If you are not the intended recipient,
please notify the sender immediately by return e-mail, delete this
e-mail and destroy any copies. Any dissemination or use of this
information by a person other than the intended recipient is
unauthorised and may be illegal.

Surrey Satellite Technology Limited
Registered Office: Senate House, University of Surrey, Guildford, 
Surrey, GU2 7XH   Registered in England & Wales No. 1916260 . VAT 
Registration No. GB 413 5711 79
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20070511/a706403a/attachment.html>


More information about the users mailing list