This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Assertions (Longshot)
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Andy Atkinson <andya at hydrix dot com>
- Cc: ECOS Newgroup <ecos-discuss at sources dot redhat dot com>
- Date: Tue, 22 Mar 2005 09:21:59 +0100
- Subject: Re: [ECOS] Assertions (Longshot)
- References: <1111443559.3690.20.camel@monty.private.hydrix.com>
On Tue, Mar 22, 2005 at 09:19:20AM +1100, Andy Atkinson wrote:
> Hi All
>
> I am currently debugging a simple application which downloads a file
> over a serial link and writes it to flash. The application is
> terminating with assertions occurring at the heart of the eCos kernel,
> for example:
>
> ASSERT FAIL: <4>flag.cxx[179]void Cyg_Flag::setbits() Both masks set
>
> ASSERT FAIL: <4>flag.cxx[180]void Cyg_Flag::setbits() Thread already
> awoken?
>
> ASSERT FAIL: <1>mlqueue.cxx[214]void
> Cyg_Scheduler_Implementation::add_thread() Map and queue disagree
>
> I am running with 4 threads : Idle (31), Network Support (7), Network
> Alarm Support (6) and the application (15). Is this sort of thing
> indicative of any eCos-specific problem/pitfall?
Stack overflow seems to be a common problem. Try making your
appplication stack bigger.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss