This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Assertions (Longshot)


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]