Public bug reported: While trying to reproduce Ubuntu Bug #921489 I can repeatedly generate a Segmentation Fault in another code path.
The test I setup was one single client doing repeated searches against slapd using GSSAPI auth while true; do ldapsearch -Y GSSAPI -H ldap://server.example.com uid=user > /dev/null ; if [ $? -ne 0 ]; then sleep 2; fi ; done Using 15 of thease loops the server crashes within 30 minutes. syslog: kernel: [ 762.119437] slapd[1422] general protection ip:7fd4beda9a52 sp:7fd3a2ffb5c0 error:0 in libkrb5.so.25.0.0[7fd4bed67000+cd000] gdb: (The missing symbols is due to CRC mismatches in debug packages reported in #921499 and #921505). 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 0x00007fd4beda9a52 in ?? () from /usr/lib/libkrb5.so.25 (gdb) bt #0 0x00007fd4beda9a52 in ?? () from /usr/lib/libkrb5.so.25 #1 0x00007fd4beda9c69 in ?? () from /usr/lib/libkrb5.so.25 #2 0x00007fd4bedaa2c9 in ?? () from /usr/lib/libkrb5.so.25 #3 0x00007fd4bedbb9e8 in krb5_sendto () from /usr/lib/libkrb5.so.25 #4 0x00007fd4bedbbf1c in krb5_sendto_context () from /usr/lib/libkrb5.so.25 #5 0x00007fd4bedbc111 in krb5_sendto_kdc_flags () from /usr/lib/libkrb5.so.25 #6 0x00007fd4bed9f5b2 in krb5_get_in_cred () from /usr/lib/libkrb5.so.25 #7 0x00007fd4beda15c3 in krb5_get_init_creds_keytab () from /usr/lib/libkrb5.so.25 #8 0x00007fd4bf058c3e in ?? () from /usr/lib/libgssapi.so.2 #9 0x00007fd4bf05665d in ?? () from /usr/lib/libgssapi.so.2 #10 0x00007fd4bf050e63 in gss_acquire_cred () from /usr/lib/libgssapi.so.2 #11 0x00007fd4bf05c017 in ?? () from /usr/lib/libgssapi.so.2 #12 0x00007fd4bf050e63 in gss_acquire_cred () from /usr/lib/libgssapi.so.2 #13 0x00007fd4bf26c9f9 in ?? () from /usr/lib/sasl2/libgssapiv2.so.2 #14 0x00007fd4c36526f1 in sasl_server_step (conn=0x7fd37f448f70, clientin=<value optimised out>, clientinlen=<value optimised out>, serverout=0x7fd3a2ffc7c8, serveroutlen=<value optimised out>) at server.c:1433 #15 0x00007fd4c36538c4 in sasl_server_start (conn=0x7fd37f448f70, mech=<value optimised out>, clientin=0x7fd397d44abc "202\002\204\006\t*\206H\206\367\022\001\002\002\001", clientinlen=648, serverout=0x7fd3a2ffc7c8, serveroutlen=0x66666667) at server.c:1353 #16 0x00007fd4c47400e7 in slap_sasl_bind () #17 0x00007fd4c470b0c0 in fe_op_bind () #18 0x00007fd4c470b9ef in do_bind () #19 0x00007fd4c46ec91f in ?? () #20 0x00007fd4c46ed27d in ?? () #21 0x00007fd4c424e2d8 in ?? () from /usr/lib/libldap_r-2.4.so.2 #22 0x00007fd4c26ef9ca in start_thread () from /lib/libpthread.so.0 #23 0x00007fd4c244c70d in clone () from /lib/libc.so.6 #24 0x0000000000000000 in ?? () ProblemType: Bug Architecture: amd64 Date: Wed Jan 25 12:07:24 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-37.81-generic 2.6.32.49+drm33.21 SourcePackage: openldap Tags: lucid Uname: Linux 2.6.32-37-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/921547 Title: Segmentation fault in libkrb5.so.25 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/921547/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs