Merge lp:~kdub/mir/fix-shutdown-bug into lp:~mir-team/mir/trunk
Proposed by
Kevin DuBois
Status: | Merged |
---|---|
Approved by: | Daniel van Vugt |
Approved revision: | no longer in the source branch. |
Merged at revision: | 592 |
Proposed branch: | lp:~kdub/mir/fix-shutdown-bug |
Merge into: | lp:~mir-team/mir/trunk |
Diff against target: |
30 lines (+11/-1) 2 files modified
src/server/surfaces/surface.cpp (+0/-1) tests/unit-tests/surfaces/test_surface.cpp (+11/-0) |
To merge this branch: | bzr merge lp:~kdub/mir/fix-shutdown-bug |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Daniel van Vugt | Approve | ||
Alexandros Frantzis (community) | Approve | ||
Alan Griffiths | Approve | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Review via email: mp+158710@code.launchpad.net |
Commit message
fixes: lp:1168072
if the swapper was empty at the time shutdown was called (eg when a client died), it would cause us to pop from an empty deque.
Description of the change
fixes: lp:1168072
if the swapper was empty at the time shutdown was called (eg when a client died), it would cause us to pop from an empty deque.
I could only produce this on my nexus 4 by running a server, and a few clients, and then starting/ctrl-c 'ing a client repeatedly. Returning is the proper thing to do; at the only time this bug could occur, the client is not waiting on the cv.
To post a comment you must log in.
PASSED: Continuous integration, rev:586 jenkins. qa.ubuntu. com/job/ mir-ci/ 380/ jenkins. qa.ubuntu. com/job/ mir-android- raring- i386-build/ 372 jenkins. qa.ubuntu. com/job/ mir-clang- raring- amd64-build/ 255 jenkins. qa.ubuntu. com/job/ mir-quantal- amd64-ci/ 385 jenkins. qa.ubuntu. com/job/ mir-quantal- amd64-ci/ 385/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ mir-vm- ci-build/ ./distribution= precise, flavor= amd64/169
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins: 8080/job/ mir-ci/ 380/rebuild
http://