<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    I also want to add that SELinux is in permissive mode.<br>
    <br>
    <div class="moz-cite-prefix">On 10/10/17 14:14, Radu Pantiru wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:E15332C1-EC55-48FA-98BA-C99B72C69EA3@devinfotech.co.uk">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <meta name="Title" content="">
      <meta name="Keywords" content="">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:DengXian;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.msoIns
        {mso-style-type:export-only;
        mso-style-name:"";
        text-decoration:underline;
        color:teal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:595.0pt 842.0pt;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1027"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1"/>
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span style="font-size:11.0pt">I did
            request help with CentOS but my feeling is that you may be
            able to give me some information what happens at the code
            level.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">It is not
            happening every time when reloading the named-pkcs11
            service.<br>
            <br>
            The backtrace:<br>
            <br>
            (gdb) thread apply all bt<br>
            <br>
            Thread 8 (Thread 0x7f4083cbc700 (LWP 21357)):<br>
            #0 <a class="moz-txt-link-abbreviated" href="mailto:pthread_cond_wait@@GLIBC_2.3.2">pthread_cond_wait@@GLIBC_2.3.2</a> () at
            ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185<br>
            #1 0x00007f40890bd4be in dispatch (manager=0x7f4089aa9010)
            at task.c:1065<br>
            #2 run (uap=0x7f4089aa9010) at task.c:1286<br>
            #3 0x00007f4087227e25 in start_thread (arg=0x7f4083cbc700)
            at pthread_create.c:308<br>
            #4 0x00007f408629f34d in clone () at
            ../sysdeps/unix/sysv/linux/x86_64/clone.S:113<br>
            <br>
            Thread 7 (Thread 0x7f40844bd700 (LWP 21356)):<br>
            #0 <a class="moz-txt-link-abbreviated" href="mailto:pthread_cond_wait@@GLIBC_2.3.2">pthread_cond_wait@@GLIBC_2.3.2</a> () at
            ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185<br>
            #1 0x00007f40890bd4be in dispatch (manager=0x7f4089aa9010)
            at task.c:1065<br>
            #2 run (uap=0x7f4089aa9010) at task.c:1286<br>
            #3 0x00007f4087227e25 in start_thread (arg=0x7f40844bd700)
            at pthread_create.c:308<br>
            #4 0x00007f408629f34d in clone () at
            ../sysdeps/unix/sysv/linux/x86_64/clone.S:113<br>
            <br>
            Thread 6 (Thread 0x7f40824b9700 (LWP 21360)):<br>
            #0 <a class="moz-txt-link-abbreviated" href="mailto:pthread_cond_timedwait@@GLIBC_2.3.2">pthread_cond_timedwait@@GLIBC_2.3.2</a> () at
            ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238<br>
            #1 0x00007f40890d6e48 in isc_condition_waituntil (<a
              href="mailto:c=c@entry" moz-do-not-send="true">c=c@entry</a>=0x7f4089aaa078,
            <a href="mailto:m=m@entry" moz-do-not-send="true">m=m@entry</a>=0x7f4089aaa028,
            <a href="mailto:t=t@entry" moz-do-not-send="true">t=t@entry</a>=0x7f4089aaa06c)
            at condition.c:66<br>
            #2 0x00007f40890c1ef3 in run (uap=0x7f4089aaa010) at
            timer.c:825<br>
            #3 0x00007f4087227e25 in start_thread (arg=0x7f40824b9700)
            at pthread_create.c:308<br>
            #4 0x00007f408629f34d in clone () at
            ../sysdeps/unix/sysv/linux/x86_64/clone.S:113<br>
            <br>
            Thread 5 (Thread 0x7f40786d7700 (LWP 21875)):<br>
            #0 0x00007f4086294a3d in poll () at
            ../sysdeps/unix/syscall-template.S:81<br>
            #1 0x00007f407bbcebdb in poll (__timeout=<optimized
            out>, __nfds=<optimized out>, __fds=<optimized
            out>) at /usr/include/bits/poll2.h:46<br>
            #2 ldap_int_select (ld=<optimized out>,
            timeout=<optimized out>) at os-ip.c:1138<br>
            #3 0x00007f407bbb90bd in wait4msg (result=0x7f40786d6558,
            timeout=<optimized out>, all=2, msgid=4,
            ld=0x7f4070002b40) at result.c:312<br>
            #4 ldap_result (ld=0x7f4070002b40, msgid=4, <a
              href="mailto:all=all@entry" moz-do-not-send="true">all=all@entry</a>=2,
            timeout=<optimized out>, <a
              href="mailto:result=result@entry" moz-do-not-send="true">result=result@entry</a>=0x7f40786d65b8)
            at result.c:117<br>
            #5 0x00007f407bbe555c in ldap_sync_poll (<a
              href="mailto:ls=ls@entry" moz-do-not-send="true">ls=ls@entry</a>=0x7f407000d720)
            at ldap_sync.c:879<br>
            #6 0x00007f4080124362 in ldap_sync_doit (<a
              href="mailto:inst=inst@entry" moz-do-not-send="true">inst=inst@entry</a>=0x7f4089aacf40,
            conn=<optimized out>, <a
              href="mailto:filter_objcs=filter_objcs@entry"
              moz-do-not-send="true">filter_objcs=filter_objcs@entry</a>=0x7f408013a550
            "(|(objectClass=idnsZone) (objectClass=idnsForwardZone)
            (objectClass=idnsRecord))",<br>
                <a href="mailto:mode=mode@entry" moz-do-not-send="true">mode=mode@entry</a>=3)
            at ldap_helper.c:4651<br>
            #7 0x00007f408012485f in ldap_syncrepl_watcher
            (arg=0x7f4089aacf40) at ldap_helper.c:4727<br>
            #8 0x00007f4087227e25 in start_thread (arg=0x7f40786d7700)
            at pthread_create.c:308<br>
            #9 0x00007f408629f34d in clone () at
            ../sysdeps/unix/sysv/linux/x86_64/clone.S:113<br>
            <br>
            Thread 4 (Thread 0x7f4081cb8700 (LWP 21361)):<br>
            #0 0x00007f408629f923 in epoll_wait () at
            ../sysdeps/unix/syscall-template.S:81<br>
            #1 0x00007f40890ce916 in watcher (uap=0x7f4089aac010) at
            socket.c:3913<br>
            #2 0x00007f4087227e25 in start_thread (arg=0x7f4081cb8700)
            at pthread_create.c:308<br>
            #3 0x00007f408629f34d in clone () at
            ../sysdeps/unix/sysv/linux/x86_64/clone.S:113<br>
            <br>
            Thread 3 (Thread 0x7f40834bb700 (LWP 21358)):<br>
            #0 <a class="moz-txt-link-abbreviated" href="mailto:pthread_cond_wait@@GLIBC_2.3.2">pthread_cond_wait@@GLIBC_2.3.2</a> () at
            ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185<br>
            #1 0x00007f40890bd4be in dispatch (manager=0x7f4089aa9010)
            at task.c:1065<br>
            #2 run (uap=0x7f4089aa9010) at task.c:1286<br>
            #3 0x00007f4087227e25 in start_thread (arg=0x7f40834bb700)
            at pthread_create.c:308<br>
            #4 0x00007f408629f34d in clone () at
            ../sysdeps/unix/sysv/linux/x86_64/clone.S:113<br>
            <br>
            Thread 2 (Thread 0x7f4089ae5840 (LWP 21355)):<br>
            #0 0x00007f40861dc572 in do_sigsuspend (set=0x7ffe7ce76400)
            at ../sysdeps/unix/sysv/linux/sigsuspend.c:32<br>
            ---Type <return> to continue, or q <return> to
            quit---<br>
            #1 __GI___sigsuspend (<a href="mailto:set=set@entry"
              moz-do-not-send="true">set=set@entry</a>=0x7ffe7ce76400)
            at ../sysdeps/unix/sysv/linux/sigsuspend.c:46<br>
            #2 0x00007f40890c475c in isc__app_ctxrun (<a
              href="mailto:ctx0=ctx0@entry" moz-do-not-send="true">ctx0=ctx0@entry</a>=0x7f40892efd20
            <isc_g_appctx>) at app.c:695<br>
            #3 0x00007f40890c4b4c in isc__app_run () at app.c:722<br>
            #4 0x0000563558d91595 in main (argc=<optimized out>,
            argv=<optimized out>) at ./main.c:1118<br>
            <br>
            Thread 1 (Thread 0x7f4082cba700 (LWP 21359)):<br>
            #0 0x00007f40861dc1f7 in __GI_raise (<a
              href="mailto:sig=sig@entry" moz-do-not-send="true">sig=sig@entry</a>=6)
            at ../nptl/sysdeps/unix/sysv/linux/raise.c:56<br>
            #1 0x00007f40861dd8e8 in __GI_abort () at abort.c:90<br>
            #2 0x0000563558da1e7e in assertion_failed
            (file=<optimized out>, line=<optimized out>,
            type=<optimized out>, cond=<optimized out>) at
            ./main.c:222<br>
            #3 0x00007f408909d29a in isc_assertion_failed (<a
              href="mailto:file=file@entry" moz-do-not-send="true">file=file@entry</a>=0x7f408948a2d4
            "rdataset.c", <a href="mailto:line=line@entry"
              moz-do-not-send="true">line=line@entry</a>=266, <a
              href="mailto:type=type@entry" moz-do-not-send="true">type=type@entry</a>=isc_assertiontype_require,
            <a href="mailto:cond=cond@entry" moz-do-not-send="true">cond=cond@entry</a>=0x7f408948a3a8
            "rdataset->methods != ((void *)0)")<br>
                at assertions.c:57<br>
            #4 0x00007f40893df828 in dns_rdataset_first
            (rdataset=<optimized out>) at rdataset.c:266<br>
            #5 0x00007f40893f155c in fctx_getaddresses (<a
              href="mailto:fctx=fctx@entry" moz-do-not-send="true">fctx=fctx@entry</a>=0x7f4068192670,
            <a href="mailto:badcache=badcache@entry"
              moz-do-not-send="true">badcache=badcache@entry</a>=isc_boolean_false)
            at resolver.c:2727<br>
            #6 0x00007f40893f20fd in fctx_try (<a
              href="mailto:fctx=fctx@entry" moz-do-not-send="true">fctx=fctx@entry</a>=0x7f4068192670,
            <a href="mailto:retrying=retrying@entry"
              moz-do-not-send="true">retrying=retrying@entry</a>=isc_boolean_false,
            <a href="mailto:badcache=badcache@entry"
              moz-do-not-send="true">badcache=badcache@entry</a>=isc_boolean_false)
            at resolver.c:3062<br>
            #7 0x00007f40893f290c in fctx_start (task=<optimized
            out>, event=<optimized out>) at resolver.c:3444<br>
            #8 0x00007f40890bd6a6 in dispatch (manager=0x7f4089aa9010)
            at task.c:1116<br>
            #9 run (uap=0x7f4089aa9010) at task.c:1286<br>
            #10 0x00007f4087227e25 in start_thread (arg=0x7f4082cba700)
            at pthread_create.c:308<br>
            #11 0x00007f408629f34d in clone () at
            ../sysdeps/unix/sysv/linux/x86_64/clone.S:113<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">(gdb) frame
            5<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">#5 
            0x00007f7adb9c255c in fctx_getaddresses
            (fctx=fctx@entry=0x7f7ac103e6e0,
            badcache=badcache@entry=isc_boolean_false) at
            resolver.c:2727<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">2727                      
            for (result = dns_rdataset_first(&fctx->nameservers);<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">(gdb) list +<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">2722                      
            isc_stdtime_get(&now);<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">2723<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">2724                      
            INSIST(ISC_LIST_EMPTY(fctx->finds));<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">2725                      
            INSIST(ISC_LIST_EMPTY(fctx->altfinds));<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">2726<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">2727                      
            for (result = dns_rdataset_first(&fctx->nameservers);<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">2728                      
                 result == ISC_R_SUCCESS;<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">2729                      
                 result = dns_rdataset_next(&fctx->nameservers))<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">2730                      
            {<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">2731                                      
            dns_rdataset_current(&fctx->nameservers, &rdata);<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">(gdb) frame
            4<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">#4 
            0x00007f7adb9b0828 in dns_rdataset_first
            (rdataset=<optimized out>) at rdataset.c:266<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">266                        
            REQUIRE(rdataset->methods != NULL);<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt">thank you
            for your help!<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
      </div>
    </blockquote>
    <br>
  </body>
</html>