<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">On 8/8/17 9:32 AM, Juan Settecase -
      Interlink S.R.L. wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:9004d5ad-4baf-188a-8824-fd838590cbe8@interlink.com.ar">Attach
      <br>
      <br>
      <br>
      <br>
      El 08/08/17 a las 10:16, Juan Settecase - Interlink S.R.L.
      escribió:
      <br>
      <blockquote type="cite">Hi,
        <br>
        <br>
        I was working with Marcin Siodelski and we found that kea gets a
        libmysqlclient segfault when it uses mysql host reservation with
        fname and sname options. Marcin did a patch that I applyed but
        stil failing
        <br>
        <br>
        Marcin is on his deserved vacation and I want to advance forward
        in this issue / fix
        <br>
        <br>
        If anyone want to get this with me, please write me.I attached
        to this email a zip file with:
        <br>
        - backtrace output
        <br>
        - kea-dhcp4.log (severity DEBUG verbosity 99)
        <br>
        - valgrind output
        <br>
        - dhcp4_srv.cc patched
        <br>
        <br>
        Kea 1.2 (dhcp4 only for now)
        <br>
        Debian 8.9
        <br>
        Mysql server is running on same host with Kea.
        <br>
        libmysqlclient18:amd64                 5.5.55-0+deb8u1
        <br>
        mysql-server                           5.5.55-0+deb8u1
        <br>
        segfault appears some minutes after i started kea, segfault
        appears, but now return libmysqlclient:
        <br>
            lt-kea-dhcp4[17492]: segfault at 451 ip 00007f299715716c sp
        00007fff90b1d890 error 4 in
        libmysqlclient.so.18.0.0[7f2997124000+2b8000]
        <br>
        <br>
        Regards!
        <br>
      </blockquote>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Kea-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Kea-users@lists.isc.org">Kea-users@lists.isc.org</a>
<a class="moz-txt-link-freetext" href="https://lists.isc.org/mailman/listinfo/kea-users">https://lists.isc.org/mailman/listinfo/kea-users</a></pre>
    </blockquote>
    <p><tt>Hello Juan:</tt></p>
    <p><tt>Following up with this while Marcin is on vacation.  Your zip
        file did not include the valgrind output, do you have it?  I am
        wondering if it is something specific in one or more of your
        host entries that is causing the code to choke.</tt></p>
    <p><tt>Do you have logging "flush" set to false?  The attached Kea
        log shows the last thing it logged was outputting an ACK but
        your stacktrace shows the segfault to be down in host reservation
        look up.<br>
      </tt></p>
    <p><tt>We have another user who reports a segfault but correlates it
        to the MySQL server being stopped momentarily for backups.  Do
        you know if anything similar is happening in your environment?
        What the server is currently coded to do is to exit with an
        error, if DB connectivity is lost.</tt></p>
    <p><tt>Thanks,</tt></p>
    <p><tt>Thomas Markwalder</tt></p>
    <p><tt>ISC Software Engineering<br>
      </tt></p>
    <p><tt><br>
      </tt></p>
    <p><tt><br>
      </tt></p>
    <p><tt><br>
      </tt></p>
    <p><tt><br>
      </tt></p>
  </body>
</html>