Re: [Gems-users] MessageBuffer assertion


Date: Mon, 04 Jun 2007 18:38:12 -0500
From: Mike Marty <mikem@xxxxxxxxxxx>
Subject: Re: [Gems-users] MessageBuffer assertion
Dave Z. wrote:
Hello,

I'm getting the following assertion:

failed assertion 'isReady()' at fn void
MessageBuffer::recycle() in
buffers/MessageBuffer.C:369

I did some debugging and it turns out the assertion is
because the queue is empty when the recycle function
is called. Recycling moves a request at the head of
the queue to the end, right?
Yes

If so, the queue should
not be empty as there is at least one request in the
queue. Why would it complain that the queue is empty?

Perhaps you are recycling the wrong queue?

My other question is if there is a way to find out
which message buffer fails the assertion.

Try attaching a debugger and looking at the stack trace.

--mike


[← Prev in Thread] Current Thread [Next in Thread→]