← Back to team overview

dx-packages team mailing list archive

[Bug 1004515] Re: segfault in accounts-daemon when logging in / gdm crash if user account is added or deleted

 

I confirm that the package in proposed fixes the issue for me.

Thanks.

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to accountsservice in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1004515

Title:
  segfault in accounts-daemon when logging in / gdm crash if user
  account is added or deleted

Status in “accountsservice” package in Ubuntu:
  Fix Released
Status in “accountsservice” source package in Precise:
  Fix Committed

Bug description:
  [Impact]
  libaccountsservice contains a double free which under certain circumstances will cause accounts-daemon to segfault, and under other circumstances will cause gdm to segfault when a user account is added or removed.

  [Test case]
  In a precise machine with kerberos authentication, adding a new user via "sudo adduser test" will cause an X session running under GDM to crash with a segfault.

  Once the patch is applied, running the same command line should not
  affect a running X session.  For the test to have value, the session
  needs to have been started after the new accountsservice packages were
  installed.

  [Possible regressions]
  This is just one line removing a double free that has been applied upstream for 16 months, so the code itself should be fine.  To be certain that everything is alright, not only gdm but also lightdm should be tested.

  [Original description]
  I noticed this in my logs. It's not obviously broken anything, but segfaults are bad so I thought it worth reporting.

  May 25 14:16:16 e102475-lin gdm-session-worker[2198]: AccountsService-WARNING: SetLanguage call failed: not access to HOME yet so language not saved
  May 25 14:16:17 e102475-lin kernel: [ 6288.041531] accounts-daemon[2200]: segfault at 596fa6 ip 00007f283fad1e40 sp 00007fff221eb4e0 error 4 in libc-2.15.so[7f$
  M
  ---
  ApportVersion: 2.0.1-0ubuntu7
  Architecture: amd64
  DistroRelease: Ubuntu 12.04
  Package: accountsservice 0.6.15-2ubuntu9
  PackageArchitecture: amd64
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  ProcVersionSignature: Ubuntu 3.2.0-24.39-generic 3.2.16
  Tags: precise third-party-packages
  Uname: Linux 3.2.0-24-generic x86_64
  UpgradeStatus: Upgraded to precise on 2011-11-09 (197 days ago)
  UserGroups: adm fuse sbuild sudo

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/accountsservice/+bug/1004515/+subscriptions