Merge lp:~gary-lasker/software-center/fix-crash_lp973379 into lp:software-center/5.2
Proposed by
Gary Lasker
Status: | Merged |
---|---|
Merged at revision: | 3013 |
Proposed branch: | lp:~gary-lasker/software-center/fix-crash_lp973379 |
Merge into: | lp:software-center/5.2 |
Diff against target: |
11 lines (+1/-0) 1 file modified
softwarecenter/ui/gtk3/app.py (+1/-0) |
To merge this branch: | bzr merge lp:~gary-lasker/software-center/fix-crash_lp973379 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michael Vogt | Approve | ||
Review via email: mp+105725@code.launchpad.net |
Description of the change
This branch should fix intermittent crasher bug 973379 by makes sure the cache is ready before accessing the installed package list for upload to the recommender service. Since this happens asynchronously, it can occur on a cache refresh, causing the potential for the crash.
I could not find a reliable way to reproduce this error as it depends quite heavily on timing, but this should be a very low-risk change.
Thanks!
To post a comment you must log in.
Thanks for this branch, looks good. Its a bit scary that this can happen as the profile upload is timed after 45s but its probably a combination of cache-reopen after e.g. software- center- agent finished.