← Back to team overview

enterprise-support team mailing list archive

[Bug 2071785] [NEW] OpenLDAP (slapd) is broken in Ubuntu 22.04 after upgrade to version 2.5.17+dfsg-0ubuntu0.22.04.1

 

You have been subscribed to a public bug:

In Ubuntu 22.04, OpenLDAP (slapd) is broken after upgrade to version
2.5.17+dfsg-0ubuntu0.22.04.1 from version 2.5.16+dfsg-0ubuntu0.22.04.2.
I have a snapshot of the system immediately before the upgrade of
OpenLDAP, and with version 2.5.16+dfsg-0ubuntu0.22.04.2 everything is
working perfectly fine. Then, after upgrade of OpenLDAP (slapd) from
2.5.16+dfsg-0ubuntu0.22.04.2 to version 2.5.17+dfsg-0ubuntu0.22.04.1 the
"slapd" will crash immediately at startup with a "segmentation fault".
Since nothing else on the system was changed, it is 100% evident that
OpenLDAP 2.5.17+dfsg-0ubuntu0.22.04.1 is broken and, at the moment, this
can only be fixed by reverting to version 2.5.16+dfsg-0ubuntu0.22.04.2.
Indeed, if I revert to the snapshot just before the OpenLDAP (slapd),
everything is working again. Again, nothing else except for OpenLDAP
(slapd) changes on the system.

To reproduce the crash, it is sufficient to just upgrade OpenLDAP
(slapd) to version 2.5.17+dfsg-0ubuntu0.22.04.1 and then just run "
/usr/sbin/slapd". It will crash right away!

For evidence, here is stack trace:

Starting program: /usr/sbin/slapd
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
__strlen_evex () at ../sysdeps/x86_64/multiarch/strlen-evex.S:77
77    ../sysdeps/x86_64/multiarch/strlen-evex.S: Datei oder Verzeichnis nicht gefunden.
(gdb) backtrace
#0  __strlen_evex () at ../sysdeps/x86_64/multiarch/strlen-evex.S:77
#1  0x00007f32b3287489 in ber_strdup_x () from /lib/x86_64-linux-gnu/liblber-2.5.so.0
#2  0x00007f32b32c4b07 in ldap_charray_dup () from /lib/x86_64-linux-gnu/libldap-2.5.so.0
#3  0x00007f32b3220566 in slapi_int_read_config () from /lib/x86_64-linux-gnu/libslapi-2.5.so.0
#4  0x000055579bcb403f in ?? ()
#5  0x000055579bcbea03 in config_set_vals ()
#6  0x000055579bcc65c5 in config_parse_add ()
#7  0x000055579bcbceba in ?? ()
#8  0x000055579bcbde0b in ?? ()
#9  0x000055579bcdc738 in ?? ()
#10 0x000055579bce6ae8 in slap_send_search_entry ()
#11 0x000055579bd5f941 in ?? ()
#12 0x000055579bd5f9dd in ?? ()
#13 0x000055579bd60866 in ?? ()
#14 0x000055579bd608a0 in ?? ()
#15 0x000055579bcbad31 in ?? ()
#16 0x000055579bcbb05b in read_config ()
#17 0x000055579bcb0063 in main ()

** Affects: openldap (Ubuntu)
     Importance: Undecided
         Status: New

-- 
OpenLDAP (slapd) is broken in Ubuntu 22.04 after upgrade to version 2.5.17+dfsg-0ubuntu0.22.04.1
https://bugs.launchpad.net/bugs/2071785
You received this bug notification because you are a member of Ubuntu Server/Client Support Team, which is subscribed to openldap in Ubuntu.