Just a quick note as I'm going through the code. It might be worth having acquire() check if self.fd is set before acquiring a new lock. It shouldn't be a problem in any case, but it seems weird to me that I can call acquire() multiple times and get a different fd everytime. I'd expect it to return self.fd if it's set.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/742935 Title: aptd crashed with OSError in release(): [Errno 9] Bad file descriptor -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
