gdm-simple-slave crashed with SIGSEGV in _nss_compat_getpwnam_r()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gdm (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Oneiric |
Won't Fix
|
Low
|
Unassigned | ||
Precise |
Fix Released
|
Low
|
Unassigned |
Bug Description
SRU justification:
[Impact]
* With automatic login enabled in /etc/gdm/
[Test Case]
* install gdm and choose it as the default display manager at the debconf prompt
* create /etc/gdm/
[daemon]
AutomaticLoginE
AutomaticLogin=
(where "some-username" is a user on the system)
* Reboot (or stop the previous display manager and start gdm)
* In gdm in precise-updates, instead of logging in, gdm crashes, the system drops to a text console, and a gdm-simple-slave segfault is recorded in dmesg.
[Regression Potential]
* Minimal. The change consists only of adding a missing NULL parameter check.
Original description:
Chrash happend while trying to change a desktop-icon. Searching the icon in a hidden folder ".xxxx" in the user directory.
ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: gdm 3.0.4-0ubuntu3
ProcVersionSign
Uname: Linux 3.0-2-generic-pae i686
NonfreeKernelMo
Architecture: i386
Date: Sun Jul 3 01:25:08 2011
ExecutablePath: /usr/lib/
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha i386 (20110531.1)
ProcCmdline: /usr/lib/
ProcEnviron:
LANGUAGE=de_AT:de
PATH=(custom, no user)
LANG=de_AT.UTF-8
SegvAnalysis:
Segfault happened at: 0xb77405b7 <_nss_compat_
PC (0xb77405b7) ok
source "(%edx)" (0x00000000) not located in a known VMA region (needed readable region)!
destination "%eax" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: gdm
StacktraceTop:
_nss_compat_
getpwnam_r () from /lib/i386-
getpwnam () from /lib/i386-
?? ()
?? ()
Title: gdm-simple-slave crashed with SIGSEGV in _nss_compat_
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
affects: | gdm (Ubuntu) → eglibc (Ubuntu) |
Changed in eglibc (Ubuntu): | |
assignee: | nobody → Canonical Foundations Team (canonical-foundations) |
assignee: | Canonical Foundations Team (canonical-foundations) → nobody |
Changed in gdm (Ubuntu): | |
status: | New → Triaged |
tags: | added: bugpattern-needed |
tags: | removed: bugpattern-needed |
tags: | added: bugpattern-written |
Changed in gdm (Ubuntu): | |
assignee: | Robert Ancell (robert-ancell) → nobody |
importance: | Medium → High |
tags: | added: precise |
Changed in gdm (Ubuntu Oneiric): | |
status: | Confirmed → Won't Fix |
importance: | Undecided → Low |
Changed in gdm (Ubuntu Precise): | |
importance: | Undecided → High |
status: | New → Triaged |
importance: | High → Low |
description: | updated |
StacktraceTop: getpwnam_ r (name=0x0, pwd=0xb742ec40, buffer=0x8bde400 "P\347B\ 267P\347B\ 267\370\ 343\275\ b\370\343\ 275\bct_ get_username: assertion `session != NULL' failed", buflen=1024, errnop=0xb70966e8) at nss_compat/ compat- pwd.c:860 267P\347B\ 267\370\ 343\275\ b\370\343\ 275\bct_ get_username: assertion `session != NULL' failed", buflen=1024, result=0xbfd38708) at ../nss/ getXXbyYY_ r.c:256 getXXbyYY. c:117 using_ecryptfs (username=<value optimized out>) at gdm-simple- slave.c: 640 to_display (slave=0x8bcb800) at gdm-simple- slave.c: 1435
_nss_compat_
__getpwnam_r (name=0x0, resbuf=0xb742ec40, buffer=0x8bde400 "P\347B\
getpwnam (name=0x0) at ../nss/
home_dir_
idle_connect_