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

Launchpad Bug Tracker 1004515 at bugs.launchpad.net
Tue Jul 23 13:27:54 UTC 2013


You have been subscribed to a public bug by Margarita Manterola (marga-9):

[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

** Affects: accountsservice (Ubuntu)
     Importance: Low
         Status: Fix Released

** Affects: gdm (Ubuntu)
     Importance: Undecided
         Status: Confirmed


** Tags: apport-collected precise third-party-packages
-- 
segfault in accounts-daemon when logging in / gdm crash if user account is added or deleted
https://bugs.launchpad.net/bugs/1004515
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list