Bug 1973337

Summary: Segmentation fault during content-sync-plugin startup
Product: Red Hat Enterprise Linux 8 Reporter: John Keates <john>
Component: 389-ds-baseAssignee: LDAP Maintainers <ldap-maint>
Status: CLOSED DUPLICATE QA Contact: RHDS QE <ds-qe-bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: 8.4CC: ldap-maint, vashirov
Target Milestone: beta   
Target Release: 8.4   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-06-17 17:15:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
ns-slapd coredump none

Description John Keates 2021-06-17 16:28:56 UTC
Created attachment 1791860 [details]
ns-slapd coredump

Description of problem:

Segfault after content-sync-plugin produces error

Version-Release number of selected component (if applicable):

389-Directory/1.4.3.16 B2021.020.1847 starting up


How reproducible: happens every start once error condition occurs


Steps to Reproduce:
1. Setup 4-node FreeIPA cluster
2. Something happens related to the contents of the directory
3. Sefaults on every start onwards

Actual results:

Segfault

Expected results:

Normal operation

Additional info:

CentOS 8 Stream with DL1. Segfault happens immediately after:

[17/Jun/2021:16:17:56.043769753 +0000] - ERR - schema-compat-plugin - warning: no entries set up under cn=computers, cn=compat,dc=helios,dc=sx
[17/Jun/2021:16:17:56.045098995 +0000] - ERR - schema-compat-plugin - Finished plugin initialization.
[17/Jun/2021:16:18:34.353548778 +0000] - ERR - content-sync-plugin - sync_add_persist_post_op - operation not found on the pendling list

There seem to be different core dumps, one kind around 55MB, one kind around 13MB, I'm including the 13MB one since the larger one cannot be uploaded here.

Comment 1 Viktor Ashirov 2021-06-17 17:06:24 UTC
Could you please provide the exact version of 389-ds-base package?

rpm -q 389-ds-base

Thanks!

Comment 2 Viktor Ashirov 2021-06-17 17:15:50 UTC
Looking at the latest available rpm in CentOS 8 Stream and the version string from DS, looks like it's 389-ds-base-1.4.3.16-8.module_el8.4.0+644+ed25d39e.x86_64.rpm

It's a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1952804 
This will be fixed in RHEL 8.4.z and 8.5.0 (not sure when it will land in CentOS 8 Stream though).

*** This bug has been marked as a duplicate of bug 1952804 ***

Comment 3 John Keates 2021-06-17 17:48:15 UTC
Yes, that is 389-ds-base-1.4.3.16-8.module_el8.4.0+644+ed25d39e.x86_64 indeed! I was looking for a similar bug but I think I used the wrong search parameters. Thanks for linking to the pre-existing BZ. Also found the GitHub issue through that, good to know it's not a rare new issue.