[ECOS] configuration for malloc
Andrew Lunn
andrew.lunn@ascom.ch
Tue Apr 1 17:13:00 GMT 2003
On Tue, Apr 01, 2003 at 11:00:23AM -0600, paape@Hi-Techniques.com wrote:
> hello,
> I'm attempting to use malloc in my i386 configuration. The call always
> returns zero.
> If I enable 'asserting', I see the following at startup:
> ASSERT FAIL:
> <1>mvarimpl.inl[184]Cyg_Mempool_Variable_Implementation::Cyg_Mempoo
> l_Variable_Implementation() heap too small
> ASSERT FAIL: <1>mvarimpl.inl [ 184]
> Cyg_Mempool_Variable_Implementation::
> Cyg_Mempool_Variable_Implementation() heap too
> small
>
> I am using the simple allocator with the size of the fallback dynamic memory
> pool set to 23068672.
Take a look at
packages/services/memalloc/common/current/include/mvarimpl.inl, line
184.
Something strange is happening when its laying out the memory. I would
add some debug prints for base, size, alignment, bottom, and top. That
may give us an idea what is going on.
Andrew
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss
More information about the Ecos-discuss
mailing list