Bug 2229211

Summary: ns-slapd crash in referint_get_config
Product: Red Hat Enterprise Linux 9 Reporter: Viktor Ashirov <vashirov>
Component: 389-ds-baseAssignee: LDAP Maintainers <idm-ds-dev-bugs>
Status: NEW --- QA Contact: LDAP QA Team <idm-ds-qe-bugs>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 9.3CC: idm-ds-dev-bugs
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:

Description Viktor Ashirov 2023-08-04 16:20:51 UTC
Description of problem:
During teardown phase of  tests/suites/plugins/referint_test.py::test_invalid_referint_log test, ns-slapd crashes:

Thread 1 (Thread 0x7fcc483ff640 (LWP 149962)):
#0  0x00007fccc2132f0a in referint_get_config (delay=0x7fcc483fd884, logfile=0x7fcc483fd8a8) at ldap/servers/plugins/referint/referint.c:511
#1  0x00007fccc213486e in referint_thread_func (arg=<optimized out>) at ldap/servers/plugins/referint/referint.c:1404
#2  0x00007fccc69afc34 in _pt_root (arg=0x7fccc4c2fd40) at pthreads/../../../../nspr/pr/src/pthreads/ptthread.c:201
#3  0x00007fccc5e9f822 in start_thread (arg=<optimized out>) at pthread_create.c:443
#4  0x00007fccc5e3f450 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81


Version-Release number of selected component (if applicable):
389-ds-base-2.3.4-3.el9.x86_64


How reproducible:
always

Steps to Reproduce:
1. Run tests/suites/plugins/referint_test.py


Actual results:
coredumpctl reports a crash in referint_get_config

Expected results:
No crash

Additional info: