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: Idle thread trying to sleep error


On Tue, 2004-08-10 at 11:44, Ajay Dudani wrote:
> I am getting an ASSERT fail from the eCos kernel and would appreciate
> any more information on the message.  The message is:
> 
> ASSERT FAIL: <1>mlqueue.cxx         [ 281] void
> Cyg_Scheduler_Implementation::rem_thread()  Idle thread trying to sleep!
> 
> I suspect there could be a heap corruption since I have lot of
> malloc/free calls in the code.  Is there any tool for check for heap
> corruption/verification I can use with eCos?

The most likely culprit here is that you've called some function which
needs to block from an ISR or DSR.  Have you tried setting a breakpoint
at cyg_assert_fail() and getting a backtrace?

-- 
Gary Thomas <gary@mlbassoc.com>
MLB Associates


-- 
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]