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

ns-slapd crash in slapi_attr_basetype [rhel-8.10.0]

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • rhel-8.10
    • rhel-8.8.0
    • 389-ds-base
    • 389-ds-1.4-8100020240116191029.945b6f6d
    • None
    • Critical
    • ZStream
    • rhel-sst-idm-ds
    • ssg_idm
    • 12
    • 25
    • 0
    • QE ack
    • False
    • Hide

      None

      Show
      None
    • Yes
    • None
    • Approved Blocker
    • Bug Fix
    • Hide
      .Directory Server no longer fails after abandoning the paged result search

      Previously, a race condition was a reason for heap corruption and Directory Server failure during abandoning paged result search. With this update, the race condition was fixed, and Directory Server failure no longer occurs.
      Show
      .Directory Server no longer fails after abandoning the paged result search Previously, a race condition was a reason for heap corruption and Directory Server failure during abandoning paged result search. With this update, the race condition was fixed, and Directory Server failure no longer occurs.
    • Done
    • x86_64
    • None

      What were you trying to do that didn't work?

      IPA LDAP server is crashing.

      The stack trace is:

       
      (gdb) where
      #0  0x00007f5d7cc88008 in slapi_attr_basetype () at /usr/lib64/dirsrv/libslapd.so.0
      #1  0x00007f5d7cd2c033 in vattr_map_lookup () at /usr/lib64/dirsrv/libslapd.so.0
      #2  0x00007f5d7cd2d4d8 in vattr_map_namespace_sp_getlist () at /usr/lib64/dirsrv/libslapd.so.0
      #3  0x00007f5d7cd2d601 in vattr_test_filter () at /usr/lib64/dirsrv/libslapd.so.0
      #4  0x00007f5d7ccb0c26 in slapi_vattr_filter_test_ext_internal () at /usr/lib64/dirsrv/libslapd.so.0
      #5  0x00007f5d7ccb0d34 in slapi_vattr_filter_test_ext_internal () at /usr/lib64/dirsrv/libslapd.so.0
      #6  0x00007f5d7ccb0b77 in slapi_vattr_filter_test_ext_internal () at /usr/lib64/dirsrv/libslapd.so.0
      #7  0x00007f5d7ccb1a3a in slapi_vattr_filter_test_ext () at /usr/lib64/dirsrv/libslapd.so.0
      #8  0x00007f5d6c14208f in ldbm_back_next_search_entry_ext (pb=0x7f5cda200000, use_extension=0) at ldap/servers/slapd/back-ldbm/ldbm_search.c:1770
      #9  0x00007f5d7ccdc34c in send_results_ext.constprop () at /usr/lib64/dirsrv/libslapd.so.0
      #10 0x00007f5d7ccddef9 in op_shared_search () at /usr/lib64/dirsrv/libslapd.so.0
      #11 0x00005648bc987c33 in do_search (pb=pb@entry=0x7f5cda200000) at ldap/servers/slapd/search.c:388
      #12 0x00005648bc974c04 in connection_dispatch_operation (pb=0x7f5cda200000, op=<optimized out>, conn=<optimized out>) at ldap/servers/slapd/connection.c:675
      #13 0x00005648bc974c04 in connection_threadmain (arg=<optimized out>) at ldap/servers/slapd/connection.c:1803
      #14 0x00007f5d796f98f8 in _pt_root (arg=0x7f5d18376140) at ../../.././nspr/pr/src/pthreads/ptthread.c:201
      #15 0x00007f5d790941ca in start_thread (arg=<optimized out>) at pthread_create.c:479
      #16 0x00007f5d7b33ee73 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
      

       

      Please provide the package NVR for which bug is seen:

      RHEL 8.8.0
      
      # rpm -qa |grep 389
      389-ds-base-1.4.3.35-2.module+el8.8.0+19693+b24f535c.x86_64
      python3-lib389-1.4.3.35-2.module+el8.8.0+19693+b24f535c.noarch
      389-ds-base-libs-1.4.3.35-2.module+el8.8.0+19693+b24f535c.x86_64
      #
      # rpm -qa |grep ipa-
      ipa-client-4.9.11-7.module+el8.8.0+19639+24a8b95c.x86_64
      ipa-healthcheck-0.12-1.module+el8.8.0+17582+6bf5bf91.noarch
      redhat-logos-ipa-84.5-1.el8.noarch
      ipa-server-common-4.9.11-7.module+el8.8.0+19639+24a8b95c.noarch
      ipa-client-common-4.9.11-7.module+el8.8.0+19639+24a8b95c.noarch
      sssd-ipa-2.8.2-3.el8_8.x86_64
      ipa-common-4.9.11-7.module+el8.8.0+19639+24a8b95c.noarch
      ipa-server-4.9.11-7.module+el8.8.0+19639+24a8b95c.x86_64
      ipa-selinux-4.9.11-7.module+el8.8.0+19639+24a8b95c.noarch
      ipa-healthcheck-core-0.12-1.module+el8.8.0+17582+6bf5bf91.noarch
      #

      How reproducible:

      At customer site.

      Steps to reproduce

      Crash is happening with an IPA deployment.

      Expected results

      LDAP server should not crash.

      Actual results

      LDAP server is crashing randomly.

              jachapma James Chapman
              rhn-support-tmihinto Têko Mihinto
              IdM DS Dev IdM DS Dev
              IdM DS QE IdM DS QE
              Evgenia Martyniuk Evgenia Martyniuk
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

                Created:
                Updated:
                Resolved: