Uploaded image for project: 'Red Hat Directory Server'
  1. Red Hat Directory Server
  2. DIRSRV-275

Crash in attrlist_find() when the Account Policy plugin is enabled. [dirsrv-11.9.z]

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Undefined Undefined
    • dirsrv-11.9.z
    • dirsrv-12.4
    • 389-ds-base
    • None
    • Important
    • rhel-sst-idm-ds
    • None
    • None

      Description of a problem

      RHDS is crashing when the Account Policy plugin is enabled and configured.
      
      The stack trace is:
      
      Core was generated by `/usr/sbin/ns-slapd -D /etc/dirsrv/slapd-<INSTANCE> -i /run/dirsrv/slapd-<INSTANCE>'.
      Program terminated with signal SIGSEGV, Segmentation fault.
      #0  0x00007f3fddec79a6 in attrlist_find () from /usr/lib64/dirsrv/libslapd.so.0
      [Current thread is 1 (Thread 0x7f3f683ff640 (LWP 5106))]
      
      
      Thread 1 (Thread 0x7f3f683ff640 (LWP 5106)):
      #0  0x00007f3fddec79a6 in attrlist_find () at /usr/lib64/dirsrv/libslapd.so.0
      #1  0x00007f3fddee2f36 in slapi_entry_attr_find () at /usr/lib64/dirsrv/libslapd.so.0
      #2  0x00007f3fddee55c9 in slapi_entry_attr_has_syntax_value () at /usr/lib64/dirsrv/libslapd.so.0
      #3  0x00007f3fdc586b95 in acct_bind_postop () at /usr/lib64/dirsrv/plugins/libacctpolicy-plugin.so
      #4  0x00007f3fddf2cb25 in plugin_call_func.lto_priv () at /usr/lib64/dirsrv/libslapd.so.0
      #5  0x00007f3fddf2cdc6 in plugin_call_plugins () at /usr/lib64/dirsrv/libslapd.so.0
      #6  0x0000561bde88a48c in do_bind ()
      #7  0x0000561bde88f4cb in connection_threadmain ()
      #8  0x00007f3fddcb4bd4 in _pt_root () at /lib64/libnspr4.so
      #9  0x00007f3fdda89c02 in start_thread () at /lib64/libc.so.6
      #10 0x00007f3fddb0ec40 in clone3 () at /lib64/libc.so.6
      

      Version-Release number of the selected component

      rpm -q 389-ds-base cockpit-389-ds

      cat <SOS_REPORT>/etc/redhat-release 
      Red Hat Enterprise Linux release 9.4 (Plow)
      
      grep ^389-ds <SOS_REPORT>/installed-rpms 
      389-ds-base-2.4.5-3.module+el9dsrv+21615+bdf90ebc.x86_64    Tue Oct 22 10:00:33 2024
      389-ds-base-libs-2.4.5-3.module+el9dsrv+21615+bdf90ebc.x86_64 Tue Oct 22 10:00:32 2024 

      Browser (if applicable)

       

      Steps to reproduce

      Crash is happening at customer site.
      

      Actual results

      RHDS is crashing.

      Expected results

      No crash.

      Additional information

       

              rhn-engineering-mareynol Mark Reynolds
              rhn-support-tmihinto Têko Mihinto
              IdM DS QE IdM DS QE
              Evgenia Martyniuk Evgenia Martyniuk
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: