Merge lp:~gary-lasker/software-center/lp1041004 into lp:software-center
Proposed by
Gary Lasker
Status: | Merged |
---|---|
Merged at revision: | 3218 |
Proposed branch: | lp:~gary-lasker/software-center/lp1041004 |
Merge into: | lp:software-center |
Diff against target: |
58 lines (+19/-5) 2 files modified
softwarecenter/ui/gtk3/views/appdetailsview.py (+5/-5) tests/gtk3/test_appdetailsview.py (+14/-0) |
To merge this branch: | bzr merge lp:~gary-lasker/software-center/lp1041004 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
software-store-developers | Pending | ||
Review via email:
|
Description of the change
Small branch to fix the crasher in bug 1041004. This is one of the critical ca-escalated bugs. This one appears to have come in with the aptdaemon-based size calculation branch, and this corresponds roughly to when this bug was first reported.
This is currently #4 in the list of Quantal's top crashers at errors.ubuntu.com.
Unit test is included.
Many thanks for your review!
To post a comment you must log in.
Thanks for your work on this branch.
I was a bit puzzled under what circumstances AppDetailsView. app_details can become None (because db.get_appdetails() always returns a != None value).
It turns out that the root cause is a race condition if the second appdetailsview /bugs.launchpad .net/ubuntu/ +source/ software- center/ +bug/1041004/ comments/ 4 has the steps to reproduce. As this will cause other issues as well I created a branch:
for the installed pane is initialized. https:/
lp:~mvo/software-center/fix-size-calc-race that fixes the race (a description of it is in the branch merge description) and as a side-effect fixes this bug here as well.
This is a similar issue as the one lp:~mvo/software-center/downloader-fix-race839462-again.