This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Memory debug feature bug?
- From: Mike Jastrebtsoff <jam2000 at pisem dot net>
- To: ecos-discuss at sources dot redhat dot com
- Date: Wed, 15 Sep 2004 14:33:48 +0700
- Subject: [ECOS] Memory debug feature bug?
- Reply-to: Mike Jastrebtsoff <jam2000 at pisem dot net>
Hello, All.
I use two 512Kb memory banks.
I've defined 2 heaps: 1st at the end of the first memory bank(after
program) and the second at the last bank.
When i switched "Breakpoint site when running out of memory" option on
i often hit cyg_memalloc_alloc_fail procedure,
e.g. eCos fails to realloc memory.
It happens while using Doug Lea's malloc and variable malloc packages.
The strangerest thing is if i switch off "Breakpoint site when
running out of memory" option everything is running good.(or seems)
Where is the issue?
--
Regards,
Mike
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss