openldap won't install, aborts w/ double free each run
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openldap (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Using
root@email2:/tmp# dpkg -l | grep ldap
ii ldap-utils 2.4.31-
ii libldap-2.4-2:amd64 2.4.31-
ii libldap-
ii libldap2-dev:amd64 2.4.31-
ii php5-ldap 5.5.9+dfsg-
root@email2:/tmp# dpkg -l | grep slapd
iF slapd 2.4.31-
iU slapd-dbg 2.4.31-
root@email2:/tmp#
apt-get install fails when it first tries to run slapd. The installation aborts, incomplete. Using the debugger, here are the results:
gdb /usr/sbin/openldap
-h ldap://
...
55099a62 2.5.13.0 (objectIdentifi
TLS: could not set cipher list HIGH+TLSv1.
*** Error in `/usr/sbin/slapd': double free or corruption (top): 0x00007f416ea278a0 ***
Program received signal SIGABRT, Aborted.
0x00007f416af92cc9 in __GI_raise (sig=sig@entry=6) at ../nptl/
56 ../nptl/
(gdb) bt
#0 0x00007f416af92cc9 in __GI_raise (sig=sig@entry=6) at ../nptl/
#1 0x00007f416af960d8 in __GI_abort () at abort.c:89
#2 0x00007f416afcf394 in __libc_message (do_abort=
#3 0x00007f416afdb66e in malloc_printerr (ptr=<optimized out>, str=0x7f416b0ddc38 "double free or corruption (top)", action=1) at malloc.c:4996
#4 _int_free (av=<optimized out>, p=<optimized out>, have_lock=0) at malloc.c:3840
#5 0x00007f416c41ee11 in tlsg_ctx_free (ctx=0x7f416ea2
#6 0x00007f416c41c058 in ldap_int_
#7 0x00007f416c87a5ae in main (argc=<optimized out>, argv=0x7fff9189
(gdb)
This verion was installed over a previous openldap built against openssl. Gnutls//openlda should not crash the install because it doesn't like the formatting of an option string. Trusty lts
Hi, thanks for the report. This is already a known bug and fixed upstream in newer versions, so marking as a duplicate.