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

RHEL-7.9 OpenLDAP server 2.4.44-25.el7_9 crash in test_filter filterentry.c:69

    • Normal
    • sst_idm_ds
    • ssg_idm
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • If docs needed, set a value
    • None

      Description of problem:

      Program terminated with signal 11, Segmentation fault.
      #0 test_filter (op=op@entry=0x2ba29d35cf30, e=0x2ba30431f558, f=0x0) at filterentry.c:69
      69 if ( f->f_choice & SLAPD_FILTER_UNDEFINED ) {
      ...
      (gdb) l
      64 Filter *f )
      65 {
      66 int rc;
      67 Debug( LDAP_DEBUG_FILTER, "=> test_filter\n", 0, 0, 0 );
      68
      69 if ( f->f_choice & SLAPD_FILTER_UNDEFINED )

      { 70 Debug( LDAP_DEBUG_FILTER, " UNDEFINED\n", 0, 0, 0 ); 71 rc = SLAPD_COMPARE_UNDEFINED; 72 goto out; 73 }

      (gdb) bt
      #0 test_filter (op=op@entry=0x2ba29d35cf30, e=0x2ba30431f558, f=0x0) at filterentry.c:69
      #1 0x00002ba034e86598 in syncprov_matchops (op=op@entry=0x2ba29d35e510, opc=opc@entry=0x2ba2a8000998,
      saveit=saveit@entry=0) at syncprov.c:1334
      #2 0x00002ba034e880cb in syncprov_op_response (op=0x2ba29d35e510, rs=<optimized out>) at syncprov.c:1972
      #3 0x000055651ffff423 in slap_response_play (op=op@entry=0x2ba29d35e510, rs=rs@entry=0x2ba29d35dd70)
      at result.c:508
      #4 0x000055651ffff9e0 in send_ldap_response (op=op@entry=0x2ba29d35e510, rs=rs@entry=0x2ba29d35dd70)
      at result.c:583
      #5 0x0000556520000572 in slap_send_ldap_result (op=0x2ba29d35e510, rs=0x2ba29d35dd70) at result.c:861
      ...

      this signature seems to match an old bug report at
      https://bugs.openldap.org/show_bug.cgi?id=8013

      which was 
      fixed in master
      fixed in RE25
      fixed in RE24

      and this fix appears to be in openldap-servers-2.4.44-25.el7_9 :

      ./openldap-2.4.44/CHANGES:      Fixed slapo-syncprov synprov_matchops usage of test_filter (ITS#8013)

      so there may be something else or the fix was not complete.

      I do not know how to reproduce this event.

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

      RHEL-7.9
      redhat-release-server-7.9-6.el7_9.x86_64
      openldap-servers-2.4.44-25.el7_9.x86_64

      How reproducible:
      N/A
      in the report: slapd is crashing multiple times per week

      Steps to Reproduce:
      1. N/A
      2.
      3.

      Actual results:

      Expected results:

      Additional info:

            jira-bugzilla-migration RH Bugzilla Integration
            rhn-support-msauton Marc Sauton
            RH Bugzilla Integration RH Bugzilla Integration
            IdM DS QE IdM DS QE
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: