On Thu, 2017-01-12 at 04:16 -0600, Elizabeth Myers wrote:
> When restarting the OpenLDAP server, nslcd often crashes on multiple
> servers with the following messages logged (I know they're not
> helpful but it's what I have at the moment):
> 
> nslcd[14819]: segfault at 0 ip 00007fdc51502ce4 sp 00007fdc4e553fe0
> error 4 in libsasl2.so.2.0.25[7fdc514fb000+1a000]
> traps: nslcd[10619] general protection ip:7f0977bd322b
> sp:7f0974465bb0
> error:0 in libc-2.24.so[7f0977b5c000+195000]

Can you install the following packages and try to reproduce the crash:
  libc6-dbg
  libgnutls30-dbgsym
  libgssapi-perl-dbgsym
  libkrb5-dbg
 
libldap-2.4-2-dbg
  libsasl2-2-dbgsym
  libsasl2-modules-db-dbgsym
 
libsasl2-modules-dbgsym
(for installing the -dbgsym packages you probably need to add another
repo to APT, see https://wiki.debian.org/AutomaticDebugPackages)

If you could run nslcd under gdb and trigger the crash:

# gdb /usr/sbin/nslcd 
...
(gdb) r -d
...
   try to force the crash
...
(gdb) thread apply all bt full

Alternatively sometimes valgrind provides very useful crash
information.

Judging by the backtrace the crash is in libsasl2 which is used by
libldap so I expect the bug to be in one of those packages but we
probably need more information.

Thanks,

-- 
-- arthur - [email protected] - https://people.debian.org/~adejong --

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to