This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Help with Kernel MBOX ASSERT
On Mon, Mar 19, 2012 at 3:01 PM, Elad Yosef <elad.yosef@gmail.com> wrote:
> Hi,
> Can anyone give me reasons for the following Assert?
>
> ASSERT FAIL: <4>mboxt.inl[105] Cyg_Mboxt<T, QUEUE_SIZE>::~Cyg_Mboxt()
> Deleting mboxt with messages
> ASSERT FAIL: <4>mboxt.inl[105] Cyg_Mboxt<T, QUEUE_SIZE>::~Cyg_Mboxt()
> Deleting mboxt with messages
It's complaining about the the mailbox not being empty when it tries
to delete it.
Try stopping the thread that puts in the mailbox, consume all the
messages in the mailbox, and then delete the mailbox.
Edgar
>
> I'm not very familiar with the Kernel
>
> Elad
>
> --
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss