← Back to team overview

desktop-packages team mailing list archive

[Bug 1305006] Re: Crashes running display server scripts for non X servers

 

** Description changed:

- [Errors Bucket]
+ [Impact]
+ Running non X server setups (e.g. Unity 8) and having display server scripts configured leads to LightDM crashing. This is due to a faulty assumption in LightDM assuming all display servers are X servers. Commonly caused by having nVidia prime support installed. Error reports in [1].
+ 
+ [Test Case]
+ 1. Install the Unity 8 desktop preview
+ 2. Configure a display setup script in the LightDM configuration:
+  [SeatDefaults]
+  display-setup-script=...
+ 3. Start LightDM
+ 4. Log in Unity 8
+ Expected result:
+ Setup script is run and you are logged into Unity 8
+ Observed result:
+ LightDM crashes
+ 
+ [Regression Potential]
+ Low, fix is simple. Tested with regression tests.
+ 
+ [1]
  https://errors.ubuntu.com/bucket/?id=/usr/sbin/lightdm%3A11%3Ax_server_local_get_authority_file_path%3Aseat_xlocal_run_script%3Arun_script%3Adisplay_server_ready_cb%3A_g_closure_invoke_va
- 
- switched from Unity 8 preview session to Unity 7. I am using Nouveau
- graphics drivers.
- 
- ProblemType: CrashDistroRelease: Ubuntu 14.04
- Package: lightdm 1.10.0-0ubuntu1
- ProcVersionSignature: Ubuntu 3.13.0-23.45-generic 3.13.8
- Uname: Linux 3.13.0-23-generic x86_64
- ApportVersion: 2.14.1-0ubuntu1
- Architecture: amd64
- Date: Wed Apr  9 06:53:22 2014
- ExecutablePath: /usr/sbin/lightdm
- InstallationDate: Installed on 2014-04-07 (2 days ago)
- InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Daily amd64 (20140406)
- ProcCmdline: lightdm
- ProcEnviron:
-  TERM=linux
-  PATH=(custom, no user)
- SegvAnalysis:
-  Segfault happened at: 0x41d419:	mov    0x30(%rax),%rax
-  PC (0x0041d419) ok
-  source "0x30(%rax)" (0x00000030) not located in a known VMA region (needed readable region)!
-  destination "%rax" ok
- SegvReason: reading NULL VMA
- Signal: 11SourcePackage: lightdm
- StacktraceTop:
-  ?? ()
-  ?? ()
-  ?? ()
-  ?? ()
-  ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
- Title: lightdm crashed with SIGSEGV
- UpgradeStatus: No upgrade log present (probably fresh install)
- UserGroups:

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

Title:
  Crashes running display server scripts for non X servers

Status in Light Display Manager:
  Fix Released
Status in Light Display Manager 1.10 series:
  Fix Released
Status in “lightdm” package in Ubuntu:
  Fix Released
Status in “lightdm” source package in Trusty:
  Triaged
Status in “lightdm” source package in Utopic:
  Fix Released

Bug description:
  [Impact]
  Running non X server setups (e.g. Unity 8) and having display server scripts configured leads to LightDM crashing. This is due to a faulty assumption in LightDM assuming all display servers are X servers. Commonly caused by having nVidia prime support installed. Error reports in [1].

  [Test Case]
  1. Install the Unity 8 desktop preview
  2. Configure a display setup script in the LightDM configuration:
   [SeatDefaults]
   display-setup-script=...
  3. Start LightDM
  4. Log in Unity 8
  Expected result:
  Setup script is run and you are logged into Unity 8
  Observed result:
  LightDM crashes

  [Regression Potential]
  Low, fix is simple. Tested with regression tests.

  [1]
  https://errors.ubuntu.com/bucket/?id=/usr/sbin/lightdm%3A11%3Ax_server_local_get_authority_file_path%3Aseat_xlocal_run_script%3Arun_script%3Adisplay_server_ready_cb%3A_g_closure_invoke_va

To manage notifications about this bug go to:
https://bugs.launchpad.net/lightdm/+bug/1305006/+subscriptions