many applications fail, general protection with LDAPS in libgcrypt on 11.10
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libgcrypt11 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
If I configure nsswitch.conf to use ldap, and have an ldaps uri in /etc/ldap.conf, then libgcrypt segfaults for any application that requires it:
Oct 14 15:37:05 ubu101751 kernel: [ 4195.439082] login[1025] general protection ip:b7b9fbad sp:bfffc568 error:0 in libgcrypt.
Oct 14 15:37:05 ubu101751 kernel: [ 4195.439747] init: tty2 main process (1025) killed by SEGV signal
Oct 14 15:37:05 ubu101751 kernel: [ 4195.439794] init: tty2 main process ended, respawning
Oct 14 15:40:24 ubu101751 sudo: Libgcrypt warning: missing initialization - please fix the application
Oct 14 15:40:48 ubu101751 kernel: [ 4417.796815] xterm[22965] general protection ip:b7299bad sp:bfffd254 error:0 in libgcrypt.
Oct 14 15:40:49 ubu101751 kernel: [ 4418.664457] xterm[22970] general protection ip:b7299bad sp:bfffd254 error:0 in libgcrypt.
Turning the encryption off in the ldap connection (ie, replacing ldaps:// with ldap://) causes the problem to stop.
$ lsb_release -rd
Description: Ubuntu 11.10
Release: 11.10
$ apt-cache policy libgcrypt11
libgcrypt11:
Installed: 1.5.0-1
Candidate: 1.5.0-1
Version table:
*** 1.5.0-1 0
500 http://
100 /var/lib/
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: libgcrypt11 1.5.0-1
ProcVersionSign
Uname: Linux 3.0.0-12-
ApportVersion: 1.23-0ubuntu3
Architecture: i386
Date: Fri Oct 14 15:57:02 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
ProcEnviron:
PATH=(custom, user)
LANG=en_GB.UTF-8
SHELL=/bin/bash
SourcePackage: libgcrypt11
UpgradeStatus: Upgraded to oneiric on 2011-10-14 (0 days ago)
Do you have a rather modern CPU with support for AES-NI? (grep -i aes /proc/cpuinfo) If that was the case this might be the same issue as http:// bugs.debian. org/643336 (Which is still unresolved.)