← Back to team overview

desktop-packages team mailing list archive

[Bug 1377373] Re: Variables defined twice in config files lead to crash

 

** Description changed:

- Lightdm crashes on startup for me, on Ubuntu 14.10.
+ [Impact]
+ Having the same configuration variable defined in two places causes LightDM to a double free and potentially crash.
  
- This is the offending error:
+ [Test Case]
+ 1. Install two configuration files in /etc/lightdm/lightdm.conf.d which both define the same variable.
+ 2. Run LightDM
+ Expected result:
+ LightDM runs correctly.
+ Observed result:
+ LightDM double frees a variable (seen with valgrind) and can crash.
  
- *** Error in `lightdm': double free or corruption (fasttop): 0x0000000002535ca0 ***
- Aborted
+ [Regression Potential]
+ Low. The fix is not to double free the variable.

-- 
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/1377373

Title:
  Variables defined twice in config files lead to crash

Status in Light Display Manager:
  Fix Committed
Status in Light Display Manager 1.10 series:
  Fix Released
Status in Light Display Manager 1.12 series:
  Fix Released
Status in “lightdm” package in Ubuntu:
  Fix Released
Status in “lightdm” source package in Trusty:
  In Progress
Status in “lightdm” source package in Utopic:
  Fix Released
Status in “lightdm” package in Debian:
  Fix Released

Bug description:
  [Impact]
  Having the same configuration variable defined in two places causes LightDM to a double free and potentially crash.

  [Test Case]
  1. Install two configuration files in /etc/lightdm/lightdm.conf.d which both define the same variable.
  2. Run LightDM
  Expected result:
  LightDM runs correctly.
  Observed result:
  LightDM double frees a variable (seen with valgrind) and can crash.

  [Regression Potential]
  Low. The fix is not to double free the variable.

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