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

named-pkcs11 ABRT in zr_get_zone_ptr assertion

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • rhel-8.6.0
    • bind-dyndb-ldap
    • None
    • Moderate
    • rhel-sst-idm-ipa
    • ssg_idm
    • None
    • False
    • Hide

      None

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

      Description of problem:

      named-pkcs11 crash with SIGABRT due to assertion failure on what looks like a concurrency issue during an update attempt of a cached record. all threads full bt is attached. the corefile is available upon request, if needed.

      Core was generated by `/usr/sbin/named-pkcs11 -u named -c /etc/named.conf'.
      Program terminated with signal SIGABRT, Aborted.
      #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
      50 return ret;
      [Current thread is 1 (Thread 0x7f36024f0700 (LWP 7507))]
      (gdb) bt
      #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
      #1 0x00007f3605b40e05 in __GI_abort () at abort.c:79
      #2 0x0000556914d58cca in assertion_failed (file=<optimized out>, line=<optimized out>,
      type=<optimized out>, cond=<optimized out>) at ../../../bin/named-pkcs11/main.c:238
      #3 0x00007f3608e3a000 in isc_assertion_failed (file=file@entry=0x7f35f7df8c45 "zone_register.c",
      line=line@entry=516, type=type@entry=isc_assertiontype_require,
      cond=cond@entry=0x7f35f7df2b41 "zr != ((void *)0)") at ../../../lib/isc-pkcs11/assertions.c:51
      #4 0x00007f35f7defb63 in zr_get_zone_ptr (zr=<optimized out>, name=<optimized out>,
      rawp=rawp@entry=0x7f36024efc50, securep=securep@entry=0x7f36024efc58) at zone_register.c:532
      #5 0x00007f35f7de2700 in update_record (task=<optimized out>, event=<optimized out>)
      at ldap_helper.c:3913
      #6 0x00007f3608e6111f in dispatch (manager=0x7f36098e6010) at ../../../lib/isc-pkcs11/task.c:1157
      #7 run (uap=0x7f36098e6010) at ../../../lib/isc-pkcs11/task.c:1331
      #8 0x00007f36062541cf in start_thread (arg=<optimized out>) at pthread_create.c:479
      #9 0x00007f3605b58dd3 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
      (gdb) frame 5
      #5 0x00007f35f7de2700 in update_record (task=<optimized out>, event=<optimized out>)
      at ldap_helper.c:3913
      3913 CHECK(zr_get_zone_ptr(inst->zone_register, &entry->zone_name, &raw, &secure));
      (gdb) p inst->zone_register
      $2 = (zone_register_t *) 0x0
      (gdb) p inst
      $3 = (ldap_instance_t *) 0x7f36098fb520
      (gdb) p *inst
      $4 = {mctx = 0xbebebebe46776454, db_name = 0x556916ceb7d0 "CmeMxcmA`\"\n\t6\177",
      db_imp = 0xbebebebe52574c6b, view = 0x0, zmgr = 0x0, pool = 0x3, zone_register = 0x0,
      fwd_register = 0x0, kinit_lock = {_data = {_lock = 0, __count = 0, __owner = 0, __nusers = 0,
      _kind = 0, __spins = 0, __elision = 0, __list = {_prev = 0x0, __next = 0x0}},
      __size = '\000' <repeats 39 times>, __align = 0}, task = 0x0, watcher = 0, exiting = false,
      errors =

      {refs = 0}

      , local_settings = 0x0, global_settings = 0x0, empty_fwdz_settings =

      {mctx = 0x0, name = 0x0, parent_set = 0x0, lock = 0x0, first_setting = 0x0}

      , server_ldap_settings = 0x0,
      sctx = 0x400000000, mldapdb = 0x7f36098e17f0}
      (gdb) good luck!

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

      bind-pkcs11-9.11.36-3.el8

      How reproducible:

      Single occurrence so far.

      Steps to Reproduce:

      No in-house reproducer.

              rjeffman@redhat.com Rafael Jeffman
              abobrov@redhat.com Anton Bobrov
              Rafael Jeffman Rafael Jeffman
              IPA QE Bot IPA QE Bot
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: