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 on 2012-02-20
This bug affects 29 people
Affects Status Importance Assigned to Milestone
Ubuntu Single Sign On Client
Status tracked in Trunk
Natalia Bidart
ubuntu-sso-client (Ubuntu)

Bug Description

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.

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

Michael Staengl (mistang) wrote :
tags: removed: need-duplicate-check
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) on 2012-05-22
Changed in ubuntu-sso-client:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Ubuntu One Desktop+ team (ubuntuone-desktop+)
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?

peterzay (peterzay) wrote :

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

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) on 2012-08-09
Changed in ubuntu-sso-client (Ubuntu Quantal):
status: Confirmed → Fix Released
dobey (dobey) on 2012-08-10
Changed in ubuntu-sso-client (Ubuntu Precise):
status: Confirmed → Fix Committed
dobey (dobey) on 2012-08-10
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://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) on 2012-08-16
tags: added: verification-done
removed: verification-needed
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.

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 :

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
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:

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

Other bug subscribers