This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Error on Cyg_Counter::add_alarm
- From: "Anthony Tonizzo" <atonizzo at lycos dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Mon, 24 May 2004 16:29:34 -0700
- Subject: Re: [ECOS] Error on Cyg_Counter::add_alarm
- Organization: Lycos Mail (http://www.mail.lycos.com:80)
- Reply-to: atonizzo at lycos dot com
> If you enable assertions (always a good idea during
> development) you will also enable stack checking.
I did not have assertions enabled, and I should
have known better.
But after enabling the traces and providing my own
cyg_assert_fail() I noticed that, with the stack back
at 8K, the assertion comes immediately at the start of
the DHCP process (network stack).
So, the 8K might be plenty for a run-of-the-mill thread,
but as soon as you begin adding things such as an entire
network stack, things get ugly pretty quickly.
The only course of action now it to raise the stack space
until the assertions disappear, and then, as Arkadi
recommended, give it some slack.
Thanks
Tony
____________________________________________________________
Find what you are looking for with the Lycos Yellow Pages
http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss