Activity log for bug #1416081

Date Who What changed Old value New value Message
2015-01-29 19:48:48 Ryan Tandy bug added bug
2015-01-29 19:48:48 Ryan Tandy attachment added validate the argument to gnome_idle_monitor_get_idletime https://bugs.launchpad.net/bugs/1416081/+attachment/4308235/+files/get_idletime_check_argument.patch
2015-01-29 19:49:01 Ryan Tandy information type Private Public
2015-01-29 19:50:24 Ryan Tandy affects gnome-session (Ubuntu) gnome-desktop3 (Ubuntu)
2015-01-29 19:56:05 Apport retracing service bug added subscriber Crash bug triagers for Ubuntu packages
2015-01-29 19:56:08 Apport retracing service attachment added Stacktrace.txt https://bugs.launchpad.net/bugs/1416081/+attachment/4308244/+files/Stacktrace.txt
2015-01-29 19:56:09 Apport retracing service attachment added StacktraceSource.txt https://bugs.launchpad.net/bugs/1416081/+attachment/4308245/+files/StacktraceSource.txt
2015-01-29 19:56:10 Apport retracing service attachment added ThreadStacktrace.txt https://bugs.launchpad.net/bugs/1416081/+attachment/4308246/+files/ThreadStacktrace.txt
2015-01-29 19:56:12 Apport retracing service attachment removed CoreDump.gz https://bugs.launchpad.net/bugs/1416081/+attachment/4308236/+files/CoreDump.gz
2015-01-29 19:56:13 Apport retracing service gnome-desktop3 (Ubuntu): importance Undecided Medium
2015-01-29 19:56:15 Apport retracing service tags amd64 apport-crash need-amd64-retrace patch trusty amd64 apport-crash patch trusty
2015-01-29 21:15:45 Ryan Tandy bug task added unity-settings-daemon (Ubuntu)
2015-02-03 23:35:29 Launchpad Janitor branch linked lp:~rtandy/unity-settings-daemon/lp1416081
2015-03-01 11:39:54 Ikuya Awashiro bug added subscriber Ikuya Awashiro
2015-03-06 19:26:34 Ryan Tandy attachment added trusty patch https://bugs.launchpad.net/ubuntu/+source/gnome-desktop3/+bug/1416081/+attachment/4336455/+files/gnome-desktop3_3.8.4-0ubuntu4.debdiff
2015-03-06 19:27:02 Ryan Tandy attachment added utopic patch https://bugs.launchpad.net/ubuntu/+source/gnome-desktop3/+bug/1416081/+attachment/4336456/+files/unity-settings-daemon_utopic.diff
2015-03-06 19:28:04 Ryan Tandy attachment added vivid patch (same as in the merge proposal) https://bugs.launchpad.net/ubuntu/+source/gnome-desktop3/+bug/1416081/+attachment/4336457/+files/unity-settings-daemon_vivid.diff
2015-03-06 20:18:58 Ubuntu Foundations Team Bug Bot bug added subscriber Ubuntu Sponsors Team
2015-03-18 15:25:26 Launchpad Janitor unity-settings-daemon (Ubuntu): status New Fix Released
2015-03-30 23:39:02 penalvch nominated for series Ubuntu Utopic
2015-03-30 23:39:02 penalvch nominated for series Ubuntu Trusty
2015-03-31 15:41:58 Ryan Tandy attachment removed utopic patch https://bugs.launchpad.net/ubuntu/+source/gnome-desktop3/+bug/1416081/+attachment/4336456/+files/unity-settings-daemon_utopic.diff
2015-03-31 15:44:51 Ryan Tandy attachment added utopic patch https://bugs.launchpad.net/ubuntu/+source/gnome-desktop3/+bug/1416081/+attachment/4362136/+files/unity-settings-daemon_14.04.0%2B14.10.20141014-0ubuntu2.debdiff
2015-03-31 18:09:02 Ryan Tandy attachment removed trusty patch https://bugs.launchpad.net/ubuntu/+source/gnome-desktop3/+bug/1416081/+attachment/4336455/+files/gnome-desktop3_3.8.4-0ubuntu4.debdiff
2015-03-31 18:09:07 Ryan Tandy attachment removed utopic patch https://bugs.launchpad.net/ubuntu/+source/gnome-desktop3/+bug/1416081/+attachment/4362136/+files/unity-settings-daemon_14.04.0%2B14.10.20141014-0ubuntu2.debdiff
2015-03-31 18:10:02 Ryan Tandy attachment added gnome-desktop3_3.8.4-0ubuntu4.debdiff https://bugs.launchpad.net/ubuntu/+source/gnome-desktop3/+bug/1416081/+attachment/4362269/+files/gnome-desktop3_3.8.4-0ubuntu4.debdiff
2015-03-31 18:10:13 Ryan Tandy attachment added unity-settings-daemon_14.04.0+14.10.20141014-0ubuntu2.debdiff https://bugs.launchpad.net/ubuntu/+source/gnome-desktop3/+bug/1416081/+attachment/4362270/+files/unity-settings-daemon_14.04.0%2B14.10.20141014-0ubuntu2.debdiff
2015-03-31 19:39:01 Ryan Tandy 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 SRU justification: [Impact] * The NX server (and derivatives e.g. FreeNX, X2Go) and Xvnc server (and derivatives e.g. tightvncserver, xrdp) do not support the IDLETIME counter. Violating the assumption that this is available leads to gnome-session (in trusty) or unity-settings-daemon (in utopic) crashing when trying to set up an idle monitor. * This bug renders GNOME Flashback unusable on the mentioned X servers. Per the justification in bug 1251281, these collectively affect quite a few users, particularly on the LTS which tends to be chosen when setting up a terminal server. * The proposed patch adds missing precondition checks to gnome_idle_monitor_get_idletime, avoiding the crash. Other public entry points to the idle monitor library already have similar checks. [Test Case] * Install gnome-session-flashback, tightvncserver, and vncviewer. * If bug 1251281 is not fixed in -updates yet: install gnome-session-bin from -proposed (needed for --disable-acceleration-check). * Create ~/.vnc/xstartup with the following content (3 lines): #!/bin/sh export STARTUP="gnome-session --session=gnome-flashback --disable-acceleration-check" exec /etc/X11/Xsession * Make it executable: chmod +x ~/.vnc/xstartup * Log out from the desktop, log in on a tty, and run: vncserver :1 * Log in to the desktop as a guest, and run: vncviewer :1 Expected results: a GNOME Flashback VNC session is started. Actual results: - trusty: gnome-session crashes on startup. - utopic: gnome-session starts, but unity-settings-daemon crashes, so gnome-session gives up shortly after (because it's a required component). [Regression Potential] * The patch was accepted in unity-settings-daemon for vivid and there were no regression reports so far. * There should be no changes observed under a conventional local (Xorg) session. [Other Info] * Packages for testing are available in ppa:rtandy/flashback. So far at least one user reported success using those packages in comment 68 on bug 1251281. Original 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
2015-04-02 08:47:11 Launchpad Janitor branch linked lp:ubuntu/vivid-proposed/unity-settings-daemon
2015-04-02 12:23:13 Dmitry Shachnev bug task added gnome-desktop3 (Ubuntu Trusty)
2015-04-02 12:23:13 Dmitry Shachnev bug task added unity-settings-daemon (Ubuntu Trusty)
2015-04-02 12:23:55 Dmitry Shachnev bug task added gnome-desktop3 (Ubuntu Utopic)
2015-04-02 12:23:55 Dmitry Shachnev bug task added unity-settings-daemon (Ubuntu Utopic)
2015-04-02 12:24:25 Dmitry Shachnev nominated for series Ubuntu Vivid
2015-04-02 12:24:25 Dmitry Shachnev bug task added gnome-desktop3 (Ubuntu Vivid)
2015-04-02 12:24:25 Dmitry Shachnev bug task added unity-settings-daemon (Ubuntu Vivid)
2015-04-02 12:25:53 Dmitry Shachnev gnome-desktop3 (Ubuntu Vivid): status New Invalid
2015-04-02 12:25:56 Dmitry Shachnev gnome-desktop3 (Ubuntu Utopic): status New Invalid
2015-04-02 12:26:01 Dmitry Shachnev gnome-desktop3 (Ubuntu Trusty): status New In Progress
2015-04-02 12:26:06 Dmitry Shachnev unity-settings-daemon (Ubuntu Trusty): status New Invalid
2015-04-02 12:29:00 Dmitry Shachnev unity-settings-daemon (Ubuntu Utopic): status New In Progress
2015-04-02 17:40:29 Brian Murray unity-settings-daemon (Ubuntu Utopic): status In Progress Fix Committed
2015-04-02 17:40:32 Brian Murray bug added subscriber Ubuntu Stable Release Updates Team
2015-04-02 17:40:34 Brian Murray bug added subscriber SRU Verification
2015-04-02 17:40:38 Brian Murray tags amd64 apport-crash patch trusty amd64 apport-crash patch trusty verification-needed
2015-04-02 17:42:55 Brian Murray gnome-desktop3 (Ubuntu Trusty): status In Progress Fix Committed
2015-04-02 17:43:40 Brian Murray removed subscriber Ubuntu Sponsors Team
2015-04-02 18:07:21 Launchpad Janitor branch linked lp:ubuntu/utopic-proposed/unity-settings-daemon
2015-04-02 18:08:16 Launchpad Janitor branch linked lp:ubuntu/trusty-proposed/gnome-desktop3
2015-04-02 20:07:32 Alberts Muktupāvels bug added subscriber Alberts Muktupāvels
2015-04-07 11:38:24 martin lantz bug added subscriber martin lantz
2015-04-09 10:14:29 Alberts Muktupāvels tags amd64 apport-crash patch trusty verification-needed amd64 apport-crash patch trusty verification-done
2015-04-15 00:52:13 Launchpad Janitor gnome-desktop3 (Ubuntu Trusty): status Fix Committed Fix Released
2015-04-15 00:52:19 Chris Halse Rogers removed subscriber Ubuntu Stable Release Updates Team
2015-04-22 16:17:39 Launchpad Janitor unity-settings-daemon (Ubuntu Utopic): status Fix Committed Fix Released