← Back to team overview

desktop-packages team mailing list archive

[Bug 1416081] Re: (FreeNX/X2Go) gnome-session crashed with SIGSEGV in gnome_idle_monitor_get_idletime()

 

This bug was fixed in the package unity-settings-daemon -
15.04.1+15.04.20150318-0ubuntu1

---------------
unity-settings-daemon (15.04.1+15.04.20150318-0ubuntu1) vivid; urgency=medium

  [ Ryan Tandy ]
  * Don't call XSyncQueryCounter with a null counter. Avoids a crash
    under FreeNX/X2Go which don't support the IDLETIME counter. (LP:
    #1416081)

  [ Sebastien Bacher ]
  * Open the battery info dialog when using the corresponding hotkey.
    The current code was trying to display a notification with the info
    but we don't have design on how that should look like with notify-
    osd so go back to what we were doing before (LP: #1432976)
  * Restore code that set the scaling factor according the screen dpi,
    but only when not under and Unity session. That was desactived in
    r4020 because Unity is handling those values, but this is not the
    case under ubiquity or unity-greeter. (LP: #1286878)
 -- CI Train Bot <ci-train-bot@xxxxxxxxxxxxx>   Wed, 18 Mar 2015 12:07:44 +0000

** Changed in: unity-settings-daemon (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-desktop3 in Ubuntu.
https://bugs.launchpad.net/bugs/1416081

Title:
  (FreeNX/X2Go) gnome-session crashed with SIGSEGV in
  gnome_idle_monitor_get_idletime()

Status in gnome-desktop3 package in Ubuntu:
  New
Status in unity-settings-daemon package in Ubuntu:
  Fix Released

Bug description:
  The X server used by FreeNX and X2Go does not support the IDLETIME
  counter. This eventually leads to a NULL pointer dereference by gnome-
  session due to a missing parameter check in
  gnome_idle_monitor_get_idletime. This renders GNOME Flashback unusable
  via FreeNX/X2Go in Trusty.

  Utopic and newer are not affected and the patch is not applicable as
  the GnomeIdleMonitor implementation was rewritten. Saucy is also
  affected but is EOL, however I would like to fix this in Trusty as the
  patch is tiny and IMO obviously correct.

  This and bug #1251281 are the only bugs preventing GNOME Flashback
  being used via FreeNX/X2Go in Trusty; and the latter has an easy
  workaround (divert the acceleration-check helper and replace it with
  /bin/true) and may be fixed properly soon.

  I would be happy to prepare a debdiff and fill out the SRU template if
  a sponsor agrees that the patch is SRUable.

  ProblemType: Crash
  DistroRelease: Ubuntu 14.04
  Package: gnome-session-bin 3.9.90-0ubuntu12 [modified: usr/lib/gnome-session/gnome-session-check-accelerated usr/lib/gnome-session/gnome-session-check-accelerated-helper]
  ProcVersionSignature: Ubuntu 3.13.0-32.57-generic 3.13.11.4
  Uname: Linux 3.13.0-32-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.6
  Architecture: amd64
  CasperVersion: 1.340
  Date: Thu Jan 29 19:28:42 2015
  ExecutablePath: /usr/bin/gnome-session
  ExecutableTimestamp: 1394758239
  LiveMediaBuild: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
  ProcCmdline: /usr/bin/gnome-session --session=gnome-flashback
  ProcCwd: /home/ubuntu
  ProcEnviron:
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
   LD_LIBRARY_PATH=<set>
  SegvAnalysis:
   Segfault happened at: 0x7fb690b29196 <gnome_idle_monitor_get_idletime+6>:	mov    0x18(%rdi),%rax
   PC (0x7fb690b29196) ok
   source "0x18(%rdi)" (0x00000018) not located in a known VMA region (needed readable region)!
   destination "%rax" ok
  SegvReason: reading NULL VMA
  Signal: 11
  SourcePackage: gnome-session
  StacktraceTop:
   gnome_idle_monitor_get_idletime (monitor=0x0) at gnome-idle-monitor.c:613
   reset_idle_watch (presence=0x7fb6780036f0) at gsm-presence.c:196
   gsm_presence_set_idle_enabled (presence=0x7fb6780036f0, enabled=1) at gsm-presence.c:354
   start_phase (manager=manager@entry=0x1658100) at gsm-manager.c:1568
   end_phase (manager=manager@entry=0x1658100) at gsm-manager.c:580
  Title: gnome-session crashed with SIGSEGV in gnome_idle_monitor_get_idletime()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-desktop3/+bug/1416081/+subscriptions


References