Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libtizonia: tizport.c:port_depopulate asserts in Executing state if there are no buffers allocated. #83

tizonia opened this issue Jun 9, 2014 · 0 comments


None yet
2 participants
Copy link

commented Jun 9, 2014

assert (nbufs == p_obj->portdef_.nBufferCountActual);

This is happening in a situation where the port is already disabled and in Executing state. After the that, the port is tunnelled and a Port Disable command is issued to the neighbouring port. In this situation, port_depopulate is getting called and the assert fires.

This assertion would only make sense like this:

if (nbufs > 0)
   assert (nbufs == p_obj->portdef_.nBufferCountActual);

@tizonia tizonia added this to the OpenMAX IL 0.1.0 milestone Jun 9, 2014

@tizonia tizonia added the bug label Jun 9, 2014

@juanrubio juanrubio closed this in e836336 Jun 9, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.