Red Hat Bugzilla – Bug 1266944
ns-slapd crash during ipa-replica-manage del
Last modified: 2015-11-19 06:44:18 EST
Description of problem:
During some ipa-replica-manage del tests, I see ns-slapd crash.
Core was generated by `/usr/sbin/ns-slapd -D /etc/dirsrv/slapd-TESTRELM-TEST -i /var/run/dirsrv/slapd-'.
Program terminated with signal 11, Segmentation fault.
#0 slapi_sdn_copy (from=0x0, to=to@entry=0x7f526809b390) at ldap/servers/slapd/dn.c:2474
2474 if (from->udn)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Exact steps unknown.
I saw the crash in a 5 node IPA server environment setup in a simple chain:
When I saw the crash it was on R3 doing ipa-replica-manage del R4.
I will upload abrt crash dir.
Created attachment 1077964 [details]
abrt dir for crash
I just saw this again in the same place and it's confirmed to be the same crash. I'm marking this TestBlocker since it is repeatable and is blocking tests from completing properly.
I've run a full battery of ipa-replica-manage tests where this was originally seen. I have not seen this issue again.
And here you can see a good del call:
:: [ BEGIN ] :: Running 'ipa-replica-manage -p Secret123 del nocp9.testrelm.test -f 2>&1 | tee /tmp/output.irm_useradd 2>&1'
ipa: INFO: Setting agreement cn=meTodell-pe1950-03.testrelm.test,cn=replica,cn=dc\=testrelm\,dc\=test,cn=mapping tree,cn=config schedule to 2358-2359 0 to force synch
ipa: INFO: Deleting schedule 2358-2359 0 from agreement cn=meTodell-pe1950-03.testrelm.test,cn=replica,cn=dc\=testrelm\,dc\=test,cn=mapping tree,cn=config
ipa: INFO: Replication Update in progress: FALSE: status: 0 Replica acquired successfully: Incremental update succeeded: start: 0: end: 0
Deleting replication agreements between nocp9.testrelm.test and dell-pe1950-03.testrelm.test
Deleted replication agreement from 'dell-pe1950-03.testrelm.test' to 'nocp9.testrelm.test'
Background task created to clean replication data. This may take a while.
This may be safely interrupted with Ctrl+C
:: [ PASS ] :: Command 'ipa-replica-manage -p Secret123 del nocp9.testrelm.test -f 2>&1 | tee /tmp/output.irm_useradd 2>&1' (Expected 0, got 0)
And here it shows that the replication agreement was indeed removed:
:: [ BEGIN ] :: Running 'ipa-replica-manage -p Secret123 list > /tmp/output.irm_useradd 2>&1'
:: [ PASS ] :: Command 'ipa-replica-manage -p Secret123 list > /tmp/output.irm_useradd 2>&1' (Expected 0, got 0)
:: [ BEGIN ] :: Running 'cat /tmp/output.irm_useradd'
:: [ PASS ] :: Command 'cat /tmp/output.irm_useradd' (Expected 0, got 0)
:: [ PASS ] :: File '/tmp/output.irm_useradd' should not contain 'nocp9.testrelm.test'
No crashes seen. Before crashes were causing tests to pause due to other debugging traps for failures. No pauses or hangs and with no crashes, this one is verified.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.