While trying to remove a tombstone entry, ns-slapd crashed with segfault.
Steps to Reproduce: 1. search for nstombstone entry
459-690938d9,uid=abc,cn=users,cn=accounts,dc=gsslab,dc=pnq,dc=redhat,dc=com 3. check the output (fails with ldap server un-available error)
The delete request causes ns-slapd to segfault, the command fails with ldap server un-available.
stack trace: Core was generated by `/usr/sbin/ns-slapd -D /etc/dirsrv/slapd-GSSLAB-PNQ-REDHAT-COM -i /var/run/dirsr'. Program terminated with signal 11, Segmentation fault.
192 {
ldap/servers/plugins/replication/repl5_plugins.c:1067
pb=0x2a31460, call_one=0) at ldap/servers/slapd/plugin.c:1453
ldap/servers/slapd/plugin.c:1415
ldap/servers/slapd/plugin.c:398
ldap/servers/slapd/back-ldbm/ldbm_delete.c:1007
ldap/servers/slapd/delete.c:364
ldap/servers/slapd/delete.c:128
ldap/servers/slapd/connection.c:583
pthread_create.c:301
../sysdeps/unix/sysv/linux/x86_64/clone.S:115
This has already been fixed as a part of ticket 532 in master. The crash should be fixed in the 389-ds-base-1.2.11 and 389-ds-base-1.3.0 branches.
attachment 0001-Ticket-590-ns-slapd-segfaults-while-trying-to-delete.patch
git merge ticket590 Updating d8da32f..39f19ae Fast-forward ldap/servers/plugins/replication/repl5_plugins.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
[mareynol@localhost replication]$ git push origin 389-ds-base-1.3.0 Counting objects: 13, done. Delta compression using up to 4 threads. Compressing objects: 100% (7/7), done. Writing objects: 100% (7/7), 11.22 KiB, done. Total 7 (delta 4), reused 1 (delta 0) To ssh://git.fedorahosted.org/git/389/ds.git d8da32f..39f19ae 389-ds-base-1.3.0 -> 389-ds-base-1.3.0
git push origin 389-ds-base-1.2.11 Counting objects: 13, done. Delta compression using up to 4 threads. Compressing objects: 100% (7/7), done. Writing objects: 100% (7/7), 907 bytes, done. Total 7 (delta 5), reused 0 (delta 0) To ssh://git.fedorahosted.org/git/389/ds.git 8254669..f32980b 389-ds-base-1.2.11 -> 389-ds-base-1.2.11
Metadata Update from @mreynolds: - Issue assigned to mreynolds - Issue set to the milestone: 1.2.11.19
389-ds-base is moving from Pagure to Github. This means that new issues and pull requests will be accepted only in 389-ds-base's github repository.
This issue has been cloned to Github and is available here: - https://github.com/389ds/389-ds-base/issues/590
If you want to receive further updates on the issue, please navigate to the github issue and click on subscribe button.
subscribe
Thank you for understanding. We apologize for all inconvenience.
Metadata Update from @spichugi: - Issue close_status updated to: wontfix (was: Fixed)