Merge lp:~bregma/unity8/lp-1350878 into lp:unity8
Proposed by
Stephen M. Webb
Status: | Rejected |
---|---|
Rejected by: | Stephen M. Webb |
Proposed branch: | lp:~bregma/unity8/lp-1350878 |
Merge into: | lp:unity8 |
Diff against target: |
13 lines (+3/-0) 1 file modified
tests/mocks/LightDM/demo/GreeterPrivate.cpp (+3/-0) |
To merge this branch: | bzr merge lp:~bregma/unity8/lp-1350878 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michael Terry | Disapprove | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Review via email: mp+231248@code.launchpad.net |
Commit message
Avoid multiple concurrent authentications.
Description of the change
Hacks around the critical blocker preventing Unity 8 from running on the desktop.
The existing code starts authentication on the user twice. the second authentication session destroys the context of the first, leaves its future dangling, and makes non-threadsafe calls into non-reentrant code.
This fix is quick and dirty but gets the desktop back up and running while someone who understands the overall flow better can dream up a proper solution on a more leisurely schedule while not blocking other development.
To post a comment you must log in.
Unmerged revisions
- 1180. By Stephen M. Webb
-
reverse ifdef sense to enable fix
- 1179. By Stephen M. Webb
-
PAM authentication: don't slay non-reentrant code
PASSED: Continuous integration, rev:1180 jenkins. qa.ubuntu. com/job/ unity8- ci/4013/ jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- utopic- touch/3733 jenkins. qa.ubuntu. com/job/ unity-phablet- qmluitests- utopic/ 1014 jenkins. qa.ubuntu. com/job/ unity8- utopic- amd64-ci/ 1107 jenkins. qa.ubuntu. com/job/ unity8- utopic- armhf-ci/ 1107 jenkins. qa.ubuntu. com/job/ unity8- utopic- armhf-ci/ 1107/artifact/ work/output/ *zip*/output. zip jenkins. qa.ubuntu. com/job/ unity8- utopic- i386-ci/ 1107 jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- runner- mako/3607 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- utopic- armhf/4980 jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- utopic- armhf/4980/ artifact/ work/output/ *zip*/output. zip s-jenkins. ubuntu- ci:8080/ job/touch- flash-device/ 11696
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/unity8- ci/4013/ rebuild
http://