Bug 2192827 - Cleanall ruv on consumer crashes the server
Summary: Cleanall ruv on consumer crashes the server
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Directory Server
Classification: Red Hat
Component: 389-ds-base
Version: 12.1
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: DS12.3
: dirsrv-12.3
Assignee: thierry bordaz
QA Contact: LDAP QA Team
Evgenia Martynyuk
URL:
Whiteboard: sync-to-jira
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-05-03 08:01 UTC by thierry bordaz
Modified: 2023-08-15 12:09 UTC (History)
5 users (show)

Fixed In Version: redhat-ds-12-9030020230711000312-1674d57
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github 389ds 389-ds-base issues 5751 0 None open Cleanallruv task crashes on consumer 2023-05-03 08:10:00 UTC
Red Hat Issue Tracker IDMDS-2984 0 None None None 2023-05-03 08:03:31 UTC
Red Hat Issue Tracker IDMDS-3539 0 None None None 2023-08-09 10:21:07 UTC

Description thierry bordaz 2023-05-03 08:01:28 UTC
Description of problem:
A consumer that receives a cleanallruv task will try clear its CL. A consumer does not have any CL and dereference a NULL pointer


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


How reproducible:
Create a M2_C2 topology. Make sure replication works. then launch
dsconf supplier1 repl-tasks cleanallruv --suffix 'dc=example,dc=com' --replica-id 2 

Actual results:
It crashes one or two of the consumers


Expected results:
Consumers should not crash

Comment 4 Viktor Ashirov 2023-08-15 12:09:04 UTC
Automated test passed:
=============================================================================================== test session starts ================================================================================================
platform linux -- Python 3.9.17, pytest-6.2.2, py-1.10.0, pluggy-0.13.1 -- /usr/bin/python3
cachedir: .pytest_cache
389-ds-base: 2.3.5-1.module+el9dsrv+19320+04706864
nss: 3.90.0-2.el9_2
nspr: 4.35.0-2.el9_2
openldap: 2.6.3-1.el9
cyrus-sasl: not installed
FIPS: disabled
rootdir: /root/ds/dirsrvtests, configfile: pytest.ini
collected 1 item

cleanallruv_test.py::test_cleanallruv_consumer PASSED                                                                                                                                                        [100%]

========================================================================================== 1 passed in 250.71s (0:04:10) ===========================================================================================


Marking as VERIFIED.


Note You need to log in before you can comment on or make changes to this bug.