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

2.1.6 crash (ITS#2146)



Full_Name: Kervin Pierre
Version: 2.1.6
OS: Redhat 7.3
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (65.186.68.157)


slapd crashes at start up while apparently reading the config file.

export CFLAGS="-g -O2 -Wall -Wno-format"
./configure \
--prefix=/usr           \
--without-cyrus-sasl    \
--enable-phonetic       \
--enable-bdb            \
--enable-ldbm           \
--with-ldbm-api=berkeley 

#0  ber_bvarray_add (a=0x8139f1c, bv=0xbffffa20) at memory.c:695
        atmp = (BerVarray *) 0x1
        a = (BerVarray *) 0x8139f1c
        bv = (BerValue *) 0xbffffa20
        n = 1
#1  0x0805ae9e in read_config (fname=0x80f49b8 "/usr/etc/openldap/slapd.conf",
depth=0) at config.c:897
        dn = {bv_len = 23, bv_val = 0x81004a0 "dc=securestlucia,dc=com"}
        pdn = {bv_len = 23, bv_val = 0x813a1a8 "dc=securestlucia,dc=com"}
        ndn = {bv_len = 23, bv_val = 0x813a1f8 "dc=securestlucia,dc=com"}
        fname = 0xbffffa20 "\027"
        fp = (FILE *) 0x8100328
        line = 0x1 <Address 0x1 out of bounds>
        savefname = 0x1 <Address 0x1 out of bounds>
        saveline = 0x81397f0 "suffix\t\t\"dc=securestlucia,dc=com\""
        savelineno = 135503644
        lineno = 54
        i = 2
        rc = 135501848
        vals = {{bv_len = 9, bv_val = 0x0}, {bv_len = 135261784, bv_val = 0x0}}
        lastmod = 1
        bi = (BackendInfo *) 0x0
        be = (BackendDB *) 0x8139ee8
        fp = (FILE *) 0x8100328
        saveline = 0x81397f0 "suffix\t\t\"dc=securestlucia,dc=com\""
        lineno = 54
        i = 2
        vals = {{bv_len = 9, bv_val = 0x0}, {bv_len = 135261784, bv_val = 0x0}}
        lastmod = 1
        bi = (BackendInfo *) 0x0
        be = (BackendDB *) 0x8139ee8
#2  0x0804c327 in main (argc=8, argv=0xbffffb34) at main.c:408
        argv = (char **) 0xbffffb34
        i = 135219640
        no_detach = 1
        rc = 0
        urls = 0x80f49e0 "ldap://127.0.0.1/";
        username = 0x0
        groupname = 0x0
      sandbox = 0x0
        syslogUser = 160
        configfile = 0x80f49b8 "/usr/etc/openldap/slapd.conf"
        serverName = 0x0
#3  0x401eb507 in __libc_start_main (main=0x804bea0 <main>, argc=8,
ubp_av=0xbffffb34, init=0x804aed0 <_init>, 
    fini=0x80c9eb0 <_fini>, rtld_fini=0x4000dc14 <_dl_fini>,
stack_end=0xbffffb2c) at ../sysdeps/generic/libc-start.c:129
        ubp_av = (char **) 0xbffffb34
        fini = (void (*)()) 0x400168e4 <_dl_debug_mask>
        rtld_fini = (void (*)()) 0x8139810
        ubp_ev = (char **) 0xbffffb58