ubuntu-sso-login crashed with RuntimeError in /usr/lib/python2.7/dist-packages/gi/overrides/Gdk.py: Gdk couldn't be initialized
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Ubuntu Single Sign On Client | Status tracked in Trunk | |||||
| Stable-3-0 |
Undecided
|
Unassigned | |||
| Stable-4-0 |
Undecided
|
Unassigned | |||
| Trunk |
High
|
Natalia Bidart | |||
| ubuntu-sso-client (Ubuntu) |
High
|
Unassigned | |||
| Precise |
High
|
dobey | |||
| Quantal |
High
|
Unassigned |
Bug Description
[Impact]
This is one of the top crashers on errors.ubuntu.com, and has many duplicates here. Releasing this fix in updates should make those counts go down fairly quickly.
[Testcase]
No easy way to test this and force it to happen. One should just check that it is still possible to log in to Ubuntu One, or Ubuntu Software Center, after upgrading and ensuring any existing ubuntu-sso-login process has terminated.
[Regression Potential]
Minimal. The back-ported change simply changes the main loop to use only GLib instead of GTK+ when the glib main loop is used for the back-end service, which was not necessary as the back-end process does not display any UI; and the GTK+
main loop is simply an extension of the GLib main loop to deal with initializing a connection to the X server and such.
Related branches
- Diego Sarmentero (community): Approve on 2012-08-10
- Roberto Alsina (community): Approve on 2012-08-10
-
Diff: 41 lines (+9/-9)1 file modifiedubuntu_sso/main/glib.py (+9/-9)
Michael Staengl (mistang) wrote : | #1 |
tags: | removed: need-duplicate-check |
Launchpad Janitor (janitor) wrote : | #2 |
Changed in ubuntu-sso-client (Ubuntu): | |
status: | New → Confirmed |
tags: | added: bugpattern-needed |
visibility: | private → public |
Changed in ubuntu-sso-client (Ubuntu): | |
importance: | Undecided → High |
Changed in ubuntu-sso-client (Ubuntu Precise): | |
importance: | Undecided → High |
milestone: | none → precise-updates |
status: | New → Confirmed |
Changed in ubuntu-sso-client: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Ubuntu One Desktop+ team (ubuntuone-desktop+) |
Sebastien Bacher (seb128) wrote : | #3 |
That bug got around 900 reports on errors.ubuntu.com in 3 days this month, can we get the issue looked at for the LTS .1?
peterzay (peterzay) wrote : | #4 |
I was doing "sudo adduser --encrypt-home peter" when I got this bug.
Sebastien Bacher (seb128) wrote : | #5 |
Rodney, is there any chance you could catch that exception at least to lower whoopsie errors "noise" for the LTS users?
Changed in ubuntu-sso-client (Ubuntu Precise): | |
milestone: | precise-updates → ubuntu-12.04.1 |
assignee: | nobody → Rodney Dawes (dobey) |
Changed in ubuntu-sso-client (Ubuntu Quantal): | |
status: | Confirmed → Fix Released |
Changed in ubuntu-sso-client (Ubuntu Precise): | |
status: | Confirmed → Fix Committed |
description: | updated |
Hello Michael, or anyone else affected,
Accepted ubuntu-sso-client into precise-proposed. The package will build now and be available at http://
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please change the bug tag from verification-needed to verification-done. If it does not, change the tag to verification-
Further information regarding the verification process can be found at https:/
tags: | added: verification-needed |
tags: |
added: verification-done removed: verification-needed |
dobey (dobey) wrote : | #7 |
Set to verification-done after reading the code and testing that SSO still works correctly. As the code was switch to use a plain glib main loop, the X init calls that would result from use of Gtk+/Gdk main loop will not be called, and not result in this issue.
Adam Conrad (adconrad) wrote : Update Released | #8 |
The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.
Launchpad Janitor (janitor) wrote : | #9 |
This bug was fixed in the package ubuntu-sso-client - 3.0.2-0ubuntu2
---------------
ubuntu-sso-client (3.0.2-0ubuntu2) precise-proposed; urgency=low
* debian/
- Avoid using GTK+/Gdk in the main loop where not needed. (LP: #937132)
-- Rodney Dawes <email address hidden> Fri, 10 Aug 2012 10:53:37 -0400
Changed in ubuntu-sso-client (Ubuntu Precise): | |
status: | Fix Committed → Fix Released |
Ubuntu QA Website (ubuntuqa) wrote : | #10 |
This bug has been reported on the Ubuntu ISO testing tracker.
A list of all reports related to this bug can be found here:
http://
tags: | added: iso-testing |
Status changed to 'Confirmed' because the bug affects multiple users.