This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
assertion failed with msg "stack top alignment"
- From: rakesh <mljangir at yahoo dot co dot in>
- To: ecos-mailing-list <ecos-discuss at sources dot redhat dot com>
- Date: Mon, 8 Sep 2003 04:03:13 -0700 (PDT)
- Subject: [ECOS] assertion failed with msg "stack top alignment"
I have enabled assertion in configtool. My code
asserts in file thread.inl in function
Cyg_Hardware_Thread::attach_stack() at line number
204. The assertion messages is "stack top alignment".
Without enabling assertion, application is running
well. I am running two threads in my application. How
do I know, which thread's stack has alignment proble?
I have 64kb and 4 kb size stack for two threads. How
come these values are non-aligned?
Regards
Rakesh
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss