pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/37997: OpenLDAP wreckage



>Number:         37997
>Category:       pkg
>Synopsis:       OpenLDAP totally broken with BerkeleyDB backend (at least on 
>amd64)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Feb 11 12:10:00 +0000 2008
>Originator:     Tonnerre Lombard
>Release:        NetBSD 4.0
>Organization:
        BSD Project Network
>Environment:
System: NetBSD planck.pas-un-geek-en-tant-que-tel.ch 4.0 NetBSD 4.0 (GENERIC) 
#0: Sat Dec 15 22:25:31 PST 2007 
builds@wb28:/home/builds/ab/netbsd-4-0-RELEASE/amd64/200712160005Z-obj/home/builds/ab/netbsd-4-0-RELEASE/src/sys/arch/amd64/compile/GENERIC
 amd64
Architecture: x86_64
Machine: amd64
db4-4.6.21
openldap-client-2.4.7nb1
openldap-server-2.4.7nb1
openldap-doc-2.4.7
openldap-2.4.7
>Description:
        When firing up current OpenLDAP with bdb backend (the old but
        working ldbm backend was removed), OpenLDAP crashes horribly after
        importing some data whenever a search is requested.

        gdb says:

Program received signal SIGSEGV, Segmentation fault.
(gdb) bt
#0  bdb_idl_fetch_key (get_flag=0) at idl.c:510
#1  0x00000000004b71f5 in bdb_key_read (get_flag=0) at key.c:50
#2  0x00000000004b1ce0 in bdb_filter_candidates () at filterindex.c:771
#3  0x00000000004b2df9 in list_candidates () at filterindex.c:581
#4  0x00000000004b1839 in bdb_filter_candidates () at filterindex.c:204
#5  0x00000000004b2df9 in list_candidates () at filterindex.c:581
#6  0x00000000004b16a4 in bdb_filter_candidates () at filterindex.c:198
#7  0x0000000000484db2 in bdb_search () at search.c:1104
#8  0x0000000000420ed6 in fe_op_search () at search.c:368
#9  0x0000000000421650 in do_search () at search.c:217
#10 0x000000000041efc1 in connection_operation () at connection.c:1083
#11 0x000000000041f73a in connection_read_thread () at connection.c:1210
#12 0x00007f7ffdc0f6f3 in ldap_int_thread_pool_wrapper () at tpool.c:625
#13 0x00007f7ffce1055c in pthread_join () from /usr/lib/libpthread.so.0
(gdb) 
>How-To-Repeat:
        # /etc/rc.d/slapd start
        # ldapadd -D 'cn=Manager,dc=...' -W -x -f /root/dump.ldif
        # pgrep slapd && echo alright
        alright
        # ldapsearch -D 'cn=Manager,dc=...' -W -x
        [hangs]
        # pgrep slapd && echo alright
        #

>Fix:

Unknown



Home | Main Index | Thread Index | Old Index