Full_Name: Ben Goldsbury Version: 2.4.11 OS: Debian Lenny running under Xen URL: ftp://ftp.openldap.org/incoming/ Submission from: (NULL) (209.208.68.3)
Slapd dies whenever the accesslog is enabled with the following BT. Please let me know what additional information you might need. I am also in #openldap as bpgoldsb.
#0 0x00002b4ae5a45552 in ber_dupbv_x () from /usr/lib/liblber-2.4.so.2 #1 0x0000000000439a2e in attr_valadd (a=0x8ac4f0, vals=0x48, nvals=0x0, nn=1) at /home/devel/openldap/build-area/openldap-2.4.11/servers/slapd/attr.c:423 #2 0x00002b4aea39bf8d in accesslog_entry (op=0x407ffde0, rs=0x407fff50, logop=<value optimized out>, op2=0x4067f1d0) at /home/devel/openldap/build-area/openldap-2.4.11/servers/slapd/overlays/accesslog.c:1200 #3 0x00002b4aea39c40f in accesslog_response (op=0x407ffde0, rs=0x407fff50) at /home/devel/openldap/build-area/openldap-2.4.11/servers/slapd/overlays/accesslog.c:1363 #4 0x00000000004907a8 in over_back_response (op=0x407ffde0, rs=0x407fff50) at /home/devel/openldap/build-area/openldap-2.4.11/servers/slapd/backover.c:235 #5 0x00000000004402ef in slap_response_play (op=0x407ffde0, rs=0x407fff50) at /home/devel/openldap/build-area/openldap-2.4.11/servers/slapd/result.c:307 #6 0x0000000000442e0d in send_ldap_response (op=0x87b7e0, rs=0x48) at /home/devel/openldap/build-area/openldap-2.4.11/servers/slapd/result.c:381 #7 0x00000000004439ab in slap_send_ldap_result (op=0x407ffde0, rs=0x407fff50) at /home/devel/openldap/build-area/openldap-2.4.11/servers/slapd/result.c:642 #8 0x00002b4ae9f5e3b3 in bdb_search (op=0x407ffde0, rs=0x407fff50) at /home/devel/openldap/build-area/openldap-2.4.11/servers/slapd/back-bdb/search.c:928 #9 0x0000000000490a07 in overlay_op_walk (op=0x407ffde0, rs=0x407fff50, which=op_search, oi=0x7f3100, on=0x0) at /home/devel/openldap/build-area/openldap-2.4.11/servers/slapd/backover.c:646 #10 0x0000000000491473 in over_op_func (op=0x407ffde0, rs=0x2b4ae763ca50, which=op_bind) at /home/devel/openldap/build-area/openldap-2.4.11/servers/slapd/backover.c:698 #11 0x00002b4aea1903f9 in syncprov_findcsn (op=<value optimized out>, mode=<value optimized out>) at /home/devel/openldap/build-area/openldap-2.4.11/servers/slapd/overlays/syncprov.c:704 #12 0x00002b4aea191a7e in syncprov_db_otask (ptr=0x87b7e0) at /home/devel/openldap/build-area/openldap-2.4.11/servers/slapd/overlays/syncprov.c:2672 #13 0x00002b4ae70d8fc7 in start_thread () from /lib/libpthread.so.0 #14 0x00002b4ae73bd5ad in clone () from /lib/libc.so.6 #15 0x0000000000000000 in ?? ()
Relevant part of slapd.conf:
moduleload accesslog overlay accesslog logdb cn=log logops all
# Scan the accesslog DB every day # Purge entries older than 7 days logpurge 07+00:00 01+00:00 database bdb suffix cn=log directory /var/lib/ldap/accesslog/
# Allow manager to read the Monitor information access to dn.subtree="cn=log" by dn.exact="cn=Manager,dc=example,dc=com" read by * none