[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: slapd segfaults with certain ACL's (ITS#4854)



Hello,

here the additional information:

configure command line:
        ./configure --prefix=/usr \
                --sysconfdir=/etc \
                --libexecdir=/usr/sbin \
                --localstatedir=/var/openldap \
                --disable-nls \
                --enable-debug \
                --enable-syslog \
                --with-threads \
                --with-tls \
                --with-cyrus-sasl \
                --enable-spasswd \
                --enable-dynamic \
                --enable-ipv6 \
                --enable-modules \
                --enable-crypt \
                --enable-rewrite \
                --enable-ldbm \
                --enable-ldbm-api=berkeley \
                --enable-ldbm-type=btree \
                --enable-bdb \
                --enable-hdb \
                --enable-ldap \
                --enable-meta \
                --enable-monitor \
                --enable-dnssrv \
                --enable-null \
                --enable-perl \
                --with-dyngroup \
                --with-proxycache \
                --enable-wrappers \
                --enable-slurpd \
                --enable-aci \
                --enable-shared

Backtrace of the segfault:
(gdb) run
Starting program: /ports/openldap/work/src/openldap-2.3.34/servers/slapd/.libs/slapd
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 16160)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 16160)]
0x4043e049 in free () from /lib/libc.so.6
(gdb) bt
#0  0x4043e049 in free () from /lib/libc.so.6
#1  0x40069ef8 in ber_memfree_x () from /usr/lib/liblber-2.3.so.0
#2  0x0809d4b6 in ch_free ()
#3  0x080be84d in str2anlist ()
#4  0x080ab33e in parse_acl ()
#5  0x08070c5c in config_generic ()
#6  0x0807b0f6 in config_set_vals ()
#7  0x0807cdd9 in read_config_file ()
#8  0x08075d1d in config_include ()
#9  0x0807b0f6 in config_set_vals ()
#10 0x0807cdd9 in read_config_file ()
#11 0x0807667b in read_config ()
#12 0x0806ffce in main ()

Regards,

Henry