[Bug 937613] [NEW] Segmentation fault in libc

Jan J 937613 at bugs.launchpad.net
Tue Feb 21 09:10:22 UTC 2012


Public bug reported:

One of our consumer servers crashed today. This time with a segmentation
fault in libc.

kernel: [260975.164737] slapd[1730] general protection ip:7f9ceea923a4
sp:7f9bcd5f8d98 error:0 in libc-2.11.1.so[7f9ceea0b000+17a000]

Core was generated by `/usr/sbin/slapd -d 0 -h ldap:/// ldaps:/// -f /local/sukat/conf/slapd.conf'.
Program terminated with signal 11, Segmentation fault.
#0  _wordcopy_bwd_aligned (dstp=120086483211270720, srcp=120086482926199856, len=14993272029336390) at wordcopy.c:262
262     wordcopy.c: No such file or directory.
        in wordcopy.c
(gdb) bt
#0  _wordcopy_bwd_aligned (dstp=120086483211270720, srcp=120086482926199856, len=14993272029336390) at wordcopy.c:262
#1  0x00007f9ceea9083a in *__GI_memmove (dest=0x7f9bc37fa010, src=<value optimised out>, len=119946176234691120) at memmove.c:99
#2  0x00007f9cea6e2215 in bdb_idl_cache_get (bdb=<value optimised out>, db=<value optimised out>, key=<value optimised out>, ids=0x7f9bc37fa010)
    at /usr/include/bits/string3.h:59
#3  0x00007f9cea6e3619 in bdb_idl_fetch_key (be=<value optimised out>, db=<value optimised out>, txn=0x7f9bd04ccd10, key=0x7f9bcd678f40, ids=0x7f9bc37fa010, 
    saved_cursor=0x0, get_flag=0) at /build/buildd/openldap-2.4.21/servers/slapd/back-bdb/idl.c:567
#4  0x00007f9cea6db781 in bdb_key_read (be=0x7f9cf12be4a0, db=0x7f9cf1dc2790, txn=0x7f9bd04ccd10, k=0x7f9bd03c9ce8, ids=0x7f9bc37fa010, saved_cursor=0x0, 
    get_flag=0) at /build/buildd/openldap-2.4.21/servers/slapd/back-bdb/key.c:50
#5  0x00007f9cea6ddda3 in equality_candidates (op=0x7f9baee58ba0, rtxn=<value optimised out>, f=<value optimised out>, ids=<value optimised out>, 
    tmp=0x7f9bc37fa010, stack=<value optimised out>) at /build/buildd/openldap-2.4.21/servers/slapd/back-bdb/filterindex.c:788
#6  bdb_filter_candidates (op=0x7f9baee58ba0, rtxn=<value optimised out>, f=<value optimised out>, ids=<value optimised out>, tmp=0x7f9bc37fa010, 
    stack=<value optimised out>) at /build/buildd/openldap-2.4.21/servers/slapd/back-bdb/filterindex.c:154
#7  0x00007f9cea6de619 in list_candidates (op=<value optimised out>, rtxn=<value optimised out>, flist=0x7f9bd03c99c8, ftype=160, ids=0x7f9bc39fa010, 
    tmp=<value optimised out>, save=0x7f9bc3afa010) at /build/buildd/openldap-2.4.21/servers/slapd/back-bdb/filterindex.c:581
#8  0x00007f9cea6dd08a in bdb_filter_candidates (op=0x7f9baee58ba0, rtxn=<value optimised out>, f=0x7f9bd03c9a60, ids=0x7f9bc39fa010, 
    tmp=<value optimised out>, stack=0x7f9bc3afa010) at /build/buildd/openldap-2.4.21/servers/slapd/back-bdb/filterindex.c:198
#9  0x00007f9cea6de619 in list_candidates (op=<value optimised out>, rtxn=<value optimised out>, flist=0x7f9bcd7f96f0, ftype=161, ids=0x7f9bc38fa010, 
    tmp=<value optimised out>, save=0x7f9bc39fa010) at /build/buildd/openldap-2.4.21/servers/slapd/back-bdb/filterindex.c:581
#10 0x00007f9cea6dcda2 in bdb_filter_candidates (op=0x7f9baee58ba0, rtxn=<value optimised out>, f=0x7f9bcd7f96d0, ids=0x7f9bc38fa010, 
    tmp=<value optimised out>, stack=0x7f9bc39fa010) at /build/buildd/openldap-2.4.21/servers/slapd/back-bdb/filterindex.c:204
#11 0x00007f9cea6de619 in list_candidates (op=<value optimised out>, rtxn=<value optimised out>, flist=0x7f9bcd7f96b0, ftype=160, ids=0x7f9bcd679520, 
    tmp=<value optimised out>, save=0x7f9bc38fa010) at /build/buildd/openldap-2.4.21/servers/slapd/back-bdb/filterindex.c:581
#12 0x00007f9cea6dd08a in bdb_filter_candidates (op=0x7f9baee58ba0, rtxn=<value optimised out>, f=0x7f9bcd7f9710, ids=0x7f9bcd679520, 
    tmp=<value optimised out>, stack=0x7f9bc38fa010) at /build/buildd/openldap-2.4.21/servers/slapd/back-bdb/filterindex.c:198
#13 0x00007f9cea6d7e8d in search_candidates (op=0x7f9baee58ba0, rs=0x7f9bcd7fa900) at /build/buildd/openldap-2.4.21/servers/slapd/back-bdb/search.c:1206
#14 bdb_search (op=0x7f9baee58ba0, rs=0x7f9bcd7fa900) at /build/buildd/openldap-2.4.21/servers/slapd/back-bdb/search.c:586
#15 0x00007f9cf0d941d9 in fe_op_search (op=0x7f9baee58ba0, rs=0x7f9bcd7fa900) at /build/buildd/openldap-2.4.21/servers/slapd/search.c:366
#16 0x00007f9cf0d949b4 in do_search (op=0x7f9baee58ba0, rs=0x7f9bcd7fa900) at /build/buildd/openldap-2.4.21/servers/slapd/search.c:217
#17 0x00007f9cf0d9191f in connection_operation (ctx=0x7f9bcd7fab50, arg_v=<value optimised out>)
    at /build/buildd/openldap-2.4.21/servers/slapd/connection.c:1109
#18 0x00007f9cf0d9227d in connection_read_thread (ctx=<value optimised out>, argv=<value optimised out>)
    at /build/buildd/openldap-2.4.21/servers/slapd/connection.c:1245
#19 0x00007f9cf08f32d8 in ?? () from /usr/lib/libldap_r-2.4.so.2
#20 0x00007f9ceed949ca in start_thread (arg=<value optimised out>) at pthread_create.c:300
#21 0x00007f9ceeaf170d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#22 0x0000000000000000 in ?? ()

ProblemType: Bug 
Architecture: amd64
Date: Tue Feb 21 10:04:17 2012
Dependencies:
 adduser 3.112ubuntu1
 base-files 5.0.0ubuntu20.10.04.4
 base-passwd 3.5.22
 coreutils 7.4-2ubuntu3
 debconf 1.5.28ubuntu4
 debconf-i18n 1.5.28ubuntu4
 debianutils 3.2.2
 dpkg 1.15.5.6ubuntu4.5 [modified: sbin/start-stop-daemon]
 findutils 4.4.2-1ubuntu1
 gcc-4.4-base 4.4.3-4ubuntu5
 libacl1 2.2.49-2
 libattr1 1:2.4.44-1
 libbz2-1.0 1.0.5-4ubuntu0.2
 libc-bin 2.11.1-0ubuntu7.8
 libc6 2.11.1-0ubuntu7.8
 libcomerr2 1.41.11-1ubuntu2.1
 libdb4.7 4.7.25-9
 libdb4.8 4.8.24-1ubuntu1
 libgcc1 1:4.4.3-4ubuntu5
 libgcrypt11 1.4.4-5ubuntu2
 libgdbm3 1.8.3-9
 libgnutls26 2.8.5-2
 libgpg-error0 1.6-1ubuntu2
 libgssapi-krb5-2 1.8.1+dfsg-2ubuntu0.10
 libk5crypto3 1.8.1+dfsg-2ubuntu0.10
 libkeyutils1 1.2-12
 libkrb5-3 1.8.1+dfsg-2ubuntu0.10
 libkrb5support0 1.8.1+dfsg-2ubuntu0.10
 libldap-2.4-2 2.4.21-0ubuntu5.6
 liblocale-gettext-perl 1.05-6
 libltdl7 2.2.6b-2ubuntu1
 libncurses5 5.7+20090803-2ubuntu3
 libpam-modules 1.1.1-2ubuntu5.4
 libpam0g 1.1.1-2ubuntu5.4
 libperl5.10 5.10.1-8ubuntu2.1
 libreadline6 6.1-1
 libsasl2-2 2.1.23.dfsg1-5ubuntu1
 libselinux1 2.0.89-4
 libslp1 1.2.1-7.6ubuntu0.1
 libstdc++6 4.4.3-4ubuntu5
 libtasn1-3 2.4-1
 libtext-charwidth-perl 0.04-6
 libtext-iconv-perl 1.7-2
 libtext-wrapi18n-perl 0.06-7
 libwrap0 7.6.q-18
 lzma 4.43-14ubuntu2
 odbcinst 2.2.11-21
 odbcinst1debian1 2.2.11-21
 passwd 1:4.1.4.2-1ubuntu2.2
 perl 5.10.1-8ubuntu2.1
 perl-base 5.10.1-8ubuntu2.1
 perl-modules 5.10.1-8ubuntu2.1
 psmisc 22.10-1
 readline-common 6.1-1
 sensible-utils 0.0.1ubuntu3
 tzdata 2011n-0ubuntu0.10.04
 unixodbc 2.2.11-21
 zlib1g 1:1.2.3.3.dfsg-15ubuntu1
DistroRelease: Ubuntu 10.04
NonfreeKernelModules: openafs
Package: slapd 2.4.21-0ubuntu5.6
PackageArchitecture: amd64
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 LC_CTYPE=en_GB.UTF-8
ProcVersionSignature: Ubuntu 2.6.32-38.83-generic 2.6.32.52+drm33.21
SourcePackage: openldap
Tags: lucid
Uname: Linux 2.6.32-38-generic x86_64

** Affects: openldap (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openldap in Ubuntu.
https://bugs.launchpad.net/bugs/937613

Title:
  Segmentation fault in libc

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



More information about the Ubuntu-server-bugs mailing list