Comment 44 for bug 1277589

Revision history for this message
Barry Warsaw (barry) wrote :

I'm moving the status of this back to in-progress, but there does seem to be more going on. If you want to try an experimental package, look here:

https://launchpad.net/~barry/+archive/systemimage/+build/5590226

Turn your phone writable; download the .debs; dpkg -i them. Now try to do an update and watch /var/log/system-image/client.log.

For me, with this package installed, the first boot after flashing to 174 still gives me the errors, and the checksums in the error message still indicate zero-sized destination files written by udm.

There are two sets of concurrency guards in si now: we ensure unique ownership of the bus name and exit if we don't get that, and we use a threading lock to close the small race condition in the code while acquiring the "checking" lock.

Now, these tests were done without the udm atomic rename branch, so that may help, but in the meantime I'm can try two additional changes: 1) I think I can add an atomic rename to my side of the udm interface; 2) I'm going to put the same kind of threading lock around the 'downloading' flag, even though this error occurs before downloading is started.

If you do try the PPA packages, please follow up here with your experience. I'll let you know when I have new packages to try.