ubuntu-sso-login crashed with RuntimeError in /usr/lib/python2.7/dist-packages/gi/overrides/Gdk.py: Gdk couldn't be initialized

Bug #937132 reported by Michael Staengl
220
This bug affects 29 people
Affects Status Importance Assigned to Milestone
Ubuntu Single Sign On Client
Status tracked in Trunk
Stable-3-0
Fix Committed
Undecided
Unassigned
Stable-4-0
Fix Released
Undecided
Unassigned
Trunk
Fix Released
High
Natalia Bidart
ubuntu-sso-client (Ubuntu)
Fix Released
High
Unassigned
Precise
Fix Released
High
dobey
Quantal
Fix Released
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

Revision history for this message
Michael Staengl (mistang) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

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
dobey (dobey)
Changed in ubuntu-sso-client:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Ubuntu One Desktop+ team (ubuntuone-desktop+)
Revision history for this message
Sebastien Bacher (seb128) wrote :

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?

Revision history for this message
peterzay (peterzay) wrote :

I was doing "sudo adduser --encrypt-home peter" when I got this bug.

Revision history for this message
Sebastien Bacher (seb128) wrote :

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)
dobey (dobey)
Changed in ubuntu-sso-client (Ubuntu Quantal):
status: Confirmed → Fix Released
dobey (dobey)
Changed in ubuntu-sso-client (Ubuntu Precise):
status: Confirmed → Fix Committed
dobey (dobey)
description: updated
Revision history for this message
Clint Byrum (clint-fewbar) wrote : Please test proposed package

Hello Michael, or anyone else affected,

Accepted ubuntu-sso-client into precise-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/ubuntu-sso-client/3.0.2-0ubuntu2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

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-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: added: verification-needed
dobey (dobey)
tags: added: verification-done
removed: verification-needed
Revision history for this message
dobey (dobey) wrote :

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.

Revision history for this message
Adam Conrad (adconrad) wrote : Update Released

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.

Revision history for this message
Launchpad Janitor (janitor) wrote :

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/patches/00_glib_main_fix.patch:
    - 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
Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

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://iso.qa.ubuntu.com/qatracker/reports/bugs/937132

tags: added: iso-testing
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.