Crashes running display server scripts for non X servers
Bug #1305006 reported by
Tony Themelis
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Light Display Manager |
Fix Released
|
High
|
Robert Ancell | ||
1.10 |
Fix Released
|
High
|
Robert Ancell | ||
lightdm (Ubuntu) |
Fix Released
|
High
|
Robert Ancell | ||
Trusty |
Fix Released
|
Medium
|
Robert Ancell | ||
Utopic |
Fix Released
|
High
|
Robert Ancell |
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-
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.
tags: | added: utopic |
information type: | Private → Public |
summary: |
- lightdm crashed with SIGSEGV + Crashes running display server scripts for non X servers |
Changed in lightdm (Ubuntu): | |
status: | Confirmed → Triaged |
importance: | Medium → High |
Changed in lightdm: | |
assignee: | nobody → Robert Ancell (robert-ancell) |
Changed in lightdm: | |
status: | Triaged → In Progress |
Changed in lightdm: | |
status: | In Progress → Fix Committed |
Changed in lightdm (Ubuntu): | |
assignee: | nobody → Robert Ancell (robert-ancell) |
Changed in lightdm (Ubuntu Trusty): | |
assignee: | nobody → Robert Ancell (robert-ancell) |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in lightdm: | |
milestone: | none → 1.11.10 |
Changed in lightdm: | |
status: | Fix Committed → Fix Released |
description: | updated |
description: | updated |
To post a comment you must log in.
StacktraceTop: local_get_ authority_ file_path (server= server@ entry=0x7f4a400 0a960) at x-server- local.c: 304 run_script (seat=0x22559e0, display_ server= 0x7f4a4000a960, script=0x224e070) at seat-xlocal.c:290 entry=0x22559e0 , display_ server= display_ server@ entry=0x7f4a400 0a960, script_ name=0x2260a10 "/sbin/ prime-offload" , user=user@ entry=0x0) at seat.c:302 server_ ready_cb (display_ server= 0x7f4a4000a960, seat=0x22559e0) at seat.c:1197 invoke_ va (closure=0x2281970, return_value=0x0, instance= 0x7f4a4000a960, args=0x7fffc7c0 b568, n_params=0, param_types=0x0) at /build/ buildd/ glib2.0- 2.40.0/ ./gobject/ gclosure. c:831
x_server_
seat_xlocal_
run_script (seat=seat@
display_
_g_closure_