I've had a failure with the same symptom from a patched build. I see a flaw in my patch that could lead to it closing the same id twice if it has to retry twice - I should have reset the ids after cleanup(). I don't see how that could explain the remaining issue. Perhaps there's something else in the system randomly removing message queue ids. That sounds like fun to track down :(.
- Bug#856439: fakeroot doesn't detect and handle message queue ... Martin Dorey
- Bug#856439: fakeroot doesn't detect and handle message q... Martin Dorey