Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-5108

ns-slapd crash in referint_get_config

    • 389-ds-base-2.5.2-1.el9
    • None
    • None
    • sst_idm_ds
    • ssg_idm
    • 25
    • 0
    • QE ack
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Bug Fix
    • Hide
      .The Referential Integrity plug-in no longer leads to the server failure

      Previously, when you used the Referential Integrity plug-in with the deferred check, the thread that processed the check could access the released data structure at shutdown leading to server failure. With this update, the plug-in no longer releases the data structure until the deferred checking thread stops and no failure occurs.
      Show
      .The Referential Integrity plug-in no longer leads to the server failure Previously, when you used the Referential Integrity plug-in with the deferred check, the thread that processed the check could access the released data structure at shutdown leading to server failure. With this update, the plug-in no longer releases the data structure until the deferred checking thread stops and no failure occurs.
    • Done
    • None

      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
      Note that the CI test 'test_invalid_referint_log' succeeds only coredumpctl reveal the bug

      Expected results:
      No crash

      Additional info:

              jira-bugzilla-migration RH Bugzilla Integration
              vashirov@redhat.com Viktor Ashirov
              RH Bugzilla Integration RH Bugzilla Integration
              IdM DS QE IdM DS QE
              Evgenia Martyniuk Evgenia Martyniuk
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: