GDM crashes when Sugar session is selected

Bug #542338 reported by Dylan McCall
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
sugar-0.88 (Debian)
Fix Released
Unknown
sugar-0.88 (Ubuntu)
Won't Fix
Medium
Unassigned
Lucid
Won't Fix
Medium
Unassigned

Bug Description

*** START SRU INFO ***
This package causes GDM to crash as-is. The fix is to add a comment to the .desktop file. This is not fixed in Maverick, but the fix has been well-tested and will be included in the next Debian version of the package. slangasek on IRC said he didn't see a problem with uploading this without fixing it in Maverick first.

** TEST CASE **
Install sugar-0.88. Switch to GDM. Select a user, and select "Sugar" as the session.

OLD BEHAVIOR: GDM should crash, disappearing from the screen.
NEW BEHAVIOR: The option is selected.

*** END SRU INFO ***
I installed Sugar, and the session is properly listed as an option from GDM, but as soon as I select that session with the combo box GDM immediately crashes. This does not happen for any other sessions and occurs all the time for me.

I poked through the system log and the following stood out:

Mar 19 17:30:45 dylan-netbook gdm-session-worker[1439]: GLib-GObject-CRITICAL: g_value_get_boolean: assertion `G_VALUE_HOLDS_BOOLEAN (value)' failed
Mar 19 17:30:49 dylan-netbook gdm-simple-slave[933]: CRITICAL: Cannot read specified session file: sugar.desktop
Mar 19 17:30:49 dylan-netbook gdm-binary[767]: WARNING: GdmDisplay: display lasted 0.112974 seconds
Mar 19 17:30:49 dylan-netbook gdm-simple-greeter[1477]: WARNING: error opening connection: Failed to connect to socket /tmp/gdm-greeter-CveyZvQE: Connection refused

The fact that GDM is crashing is being filed as a separate bug.

Here is % cat /usr/share/xsessions/sugar.desktop
[Desktop Entry]
Encoding=UTF-8
Name=Sugar
GenericName=Sugar
Exec=sugar
Type=Application

ProblemType: Bug
Architecture: i386
Date: Fri Mar 19 17:41:36 2010
DistroRelease: Ubuntu 10.04
NonfreeKernelModules: wl
Package: sugar-session-0.88 0.87.2-1
PackageArchitecture: all
ProcEnviron:
 LANG=en_CA.utf8
 SHELL=/bin/zsh
ProcVersionSignature: Ubuntu 2.6.32-16.25-generic
SourcePackage: sugar-0.88
Uname: Linux 2.6.32-16-generic i686

Revision history for this message
Dylan McCall (dylanmccall) wrote :
Revision history for this message
Dylan McCall (dylanmccall) wrote :

GDM being a wimp and crashing in this case (instead of showing a proper error message) is filed separately, in bug #542345

Revision history for this message
Vu Do Quynh (vu-do-quynh) wrote :

Hi,

I have the same problem as reported by Dylan McCall:

On a fresh install of Ubuntu 10.04, I installed sugar from the Ubuntu software center. After login out, Sugar appears as a selection in the choice of desktop window manager. But when it is selected, there is a very short login time (< 1 second) then I'm returned to the login screen. This already happened when I was using Ubuntu 9.04. It doesn't look better with Ubuntu 10.04 until now.

Revision history for this message
Randall Whitman (ubuntu-whizman) wrote :

In our testing, Sugar worked in 10.04alpha, both as a session and when
started as an application under GNOME; but no longer worked under
10.04beta nor 10.04 release.

Luke Faraone (lfaraone)
Changed in sugar-0.88 (Ubuntu):
importance: Undecided → Medium
status: New → In Progress
assignee: nobody → Luke Faraone (lfaraone)
Revision history for this message
Luke Faraone (lfaraone) wrote :

Bug will be fixed in next upload to Debian.

Changed in sugar-0.88 (Ubuntu):
assignee: Luke Faraone (lfaraone) → nobody
status: In Progress → Triaged
Changed in sugar-0.88 (Debian):
status: Unknown → Fix Committed
Luke Faraone (lfaraone)
Changed in sugar-0.88 (Ubuntu):
status: Triaged → In Progress
assignee: nobody → Luke Faraone (lfaraone)
Changed in sugar-0.88 (Ubuntu Lucid):
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Luke Faraone (lfaraone)
Luke Faraone (lfaraone)
Changed in sugar-0.88 (Ubuntu):
status: In Progress → Triaged
Changed in sugar-0.88 (Ubuntu Lucid):
status: In Progress → Fix Committed
Luke Faraone (lfaraone)
description: updated
Luke Faraone (lfaraone)
Changed in sugar-0.88 (Ubuntu Lucid):
status: Fix Committed → Triaged
Changed in sugar-0.88 (Ubuntu):
assignee: Luke Faraone (lfaraone) → nobody
Changed in sugar-0.88 (Ubuntu Lucid):
assignee: Luke Faraone (lfaraone) → nobody
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted sugar-0.88 into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in sugar-0.88 (Ubuntu Lucid):
status: Triaged → Fix Committed
tags: added: verification-needed
Revision history for this message
Martin Pitt (pitti) wrote :

Perhaps for maverick we should fix gdm itself to not crash?

Revision history for this message
Dylan McCall (dylanmccall) wrote :

That's what is happening in bug #542345, Martin ;)

Thanks for fixing this, though! Turns out it was redundant, but better safe than sorry. Or something.

Revision history for this message
Dylan McCall (dylanmccall) wrote :

(Err, that is: thanks Martin _and_ Luke upstream!)

Revision history for this message
Martin Pitt (pitti) wrote :

thanks for clarifying. So I wontfix this for maverick.

Changed in sugar-0.88 (Ubuntu):
status: Triaged → Won't Fix
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

SRU Verification for Lucid

The version 0.87.2-1ubuntu0.1 in -proposed doesn't fix the issue. This is because the file sugar.desktop included in the package is the one in data/sugar.desktop and not debian/sugar.desktop. It is installed by the rule install-xsessionsDATA in data/Makefile.in.
Please resubmit once a fix is available. Thanks in advance.

I'm marking as verification-failed.

tags: added: verification-failed
removed: verification-needed
Changed in sugar-0.88 (Ubuntu Lucid):
status: Fix Committed → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

I removed the lucid-proposed package again.

Changed in sugar-0.88 (Ubuntu Lucid):
status: In Progress → Triaged
tags: removed: verification-failed
Changed in sugar-0.88 (Debian):
status: Fix Committed → Fix Released
Revision history for this message
Rolf Leggewie (r0lf) wrote :

lucid has seen the end of its life and is no longer receiving any updates. Marking the lucid task for this ticket as "Won't Fix".

Changed in sugar-0.88 (Ubuntu Lucid):
status: Triaged → Won't Fix
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.