Comment 14 for bug 2003851

Revision history for this message
Mikko Rantalainen (mira) wrote :

This sounds like a race condition that leads to live lock, considering that both gpgv and apt are waiting for the other end to speak at the same time.

I assume the protocol between these is custom made for this connection. How the protocol is supposed to prevent this live lock situation from happening? If the protocol cannot avoid this situation, then the bug is in the protocol design and the least invasive fix is to add timeout for the waiting time and consider the execution as failed if timeout is triggered.