<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello,</p>
    <p>did you upgrade the Kamailio only or also mysql server/client
      library? Is it Oracle's MySQL or MariaDB?</p>
    <p>A while ago, there were a few reports of problems with
      mysql-client (Oracle) library on Ubuntu 16.04 and 18.04, which
      typically happened after upgrades of the library, as I understood,
      the upgrade brought in a dependency on libssl 1.1, while libssl1.0
      was used by most of the other packages, resulting in mixed
      deployments. Upgrading to 20.04 seemed to solve it, as it came
      with libssl1.1 only.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <div class="moz-cite-prefix">On 02.06.21 20:51, Andrew Chen wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAEytwJ21_wUWohv43qWLbFwU=EOgBXb8m34R+Ks0pk-tUwT=Pw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hi all,
        <div><br>
        </div>
        <div>Today I upgraded Kamailio to 5.4.5 and a random crash was
          just reported in our crash monitoring script.  Below is the
          output of the crash:</div>
        <div><br>
        </div>
        <div>
          <p class="gmail-p1"
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span
              class="gmail-s1"
              style="font-variant-ligatures:no-common-ligatures">#3<span
                class="gmail-Apple-converted-space">  </span>0x00007fa149ebe58d
              in ?? () from
              /usr/lib/x86_64-linux-gnu/kamailio/modules/tls.so</span></p>
          <p class="gmail-p1"
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span
              class="gmail-s1"
              style="font-variant-ligatures:no-common-ligatures">#4<span
                class="gmail-Apple-converted-space">  </span>0x00007fa14989e277
              in ERR_clear_error () from
              /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1</span></p>
          <p class="gmail-p1"
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span
              class="gmail-s1"
              style="font-variant-ligatures:no-common-ligatures">#5<span
                class="gmail-Apple-converted-space">  </span>0x00007fa149933d81
              in X509_STORE_set_default_paths () from
              /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1</span></p>
          <p class="gmail-p1"
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span
              class="gmail-s1"
              style="font-variant-ligatures:no-common-ligatures">#6<span
                class="gmail-Apple-converted-space">  </span>0x00007fa10310d374
              in ?? () from
              /usr/lib/x86_64-linux-gnu/libmysqlclient.so.20</span></p>
          <p class="gmail-p1"
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span
              class="gmail-s1"
              style="font-variant-ligatures:no-common-ligatures">#7<span
                class="gmail-Apple-converted-space">  </span>0x00007fa10310d9f3
              in ?? () from
              /usr/lib/x86_64-linux-gnu/libmysqlclient.so.20</span></p>
          <p class="gmail-p1"
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span
              class="gmail-s1"
              style="font-variant-ligatures:no-common-ligatures">#8<span
                class="gmail-Apple-converted-space">  </span>0x00007fa1030e0427
              in mysql_real_connect () from
              /usr/lib/x86_64-linux-gnu/libmysqlclient.so.20</span></p>
          <p class="gmail-p1"
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span
              class="gmail-s1"
              style="font-variant-ligatures:no-common-ligatures">#9<span
                class="gmail-Apple-converted-space">  </span>0x00007fa10368428c
              in db_mysql_new_connection () from
              /usr/lib/x86_64-linux-gnu/kamailio/modules/db_mysql.so</span></p>
          <p class="gmail-p1"
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span
              class="gmail-s1"
              style="font-variant-ligatures:no-common-ligatures">#10
              0x00007fa1501f96dc in db_do_init2 () from
              /usr/lib/x86_64-linux-gnu/kamailio/libsrdb1.so.1</span></p>
          <p class="gmail-p1"
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span
              class="gmail-s1"
              style="font-variant-ligatures:no-common-ligatures">#11
              0x00007fa1501f83f9 in db_do_init () from
              /usr/lib/x86_64-linux-gnu/kamailio/libsrdb1.so.1</span></p>
          <p class="gmail-p1"
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span
              class="gmail-s1"
              style="font-variant-ligatures:no-common-ligatures">#12
              0x00007fa103689710 in db_mysql_init () from
              /usr/lib/x86_64-linux-gnu/kamailio/modules/db_mysql.so</span></p>
          <p class="gmail-p1"
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span
              class="gmail-s1"
              style="font-variant-ligatures:no-common-ligatures">#13
              0x00007fa15062d35f in carrierroute_db_open () from
              /usr/lib/x86_64-linux-gnu/kamailio/modules/carrierroute.so</span></p>
          <p class="gmail-p1"
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span
              class="gmail-s1"
              style="font-variant-ligatures:no-common-ligatures">#14
              0x00007fa1506719c6 in ?? () from
              /usr/lib/x86_64-linux-gnu/kamailio/modules/carrierroute.so</span></p>
          <p class="gmail-p1"
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span
              class="gmail-s1"
              style="font-variant-ligatures:no-common-ligatures"><br>
            </span></p>
        </div>
        <div>
          <div>Is this crash due to libcrypto or mysql client?</div>
          <div>Currently I have the following mysql client installed on
            the kamailio instance:</div>
          <div><br>
          </div>
          <div>
            <p class="gmail-p1"
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span
                class="gmail-s1"
                style="font-variant-ligatures:no-common-ligatures">ii<span
                  class="gmail-Apple-converted-space">  </span>lib</span><span
                class="gmail-s2"
                style="font-variant-ligatures:no-common-ligatures;color:rgb(202,51,35)"><b>mysql</b></span><span
                class="gmail-s1"
                style="font-variant-ligatures:no-common-ligatures">client20:amd64
                <span class="gmail-Apple-converted-space">             
                </span>5.7.34-0ubuntu0.18.04.1 <span
                  class="gmail-Apple-converted-space">            </span>amd64<span
                  class="gmail-Apple-converted-space">        </span>MySQL
                database client library</span></p>
            <p class="gmail-p1"
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span
                class="gmail-s1"
                style="font-variant-ligatures:no-common-ligatures">ii<span
                  class="gmail-Apple-converted-space">  </span></span><span
                class="gmail-s2"
                style="font-variant-ligatures:no-common-ligatures;color:rgb(202,51,35)"><b>mysql</b></span><span
                class="gmail-s1"
                style="font-variant-ligatures:no-common-ligatures">-client
                <span class="gmail-Apple-converted-space">             
                            </span>5.7.34-0ubuntu0.18.04.1 <span
                  class="gmail-Apple-converted-space">            </span>all<span
                  class="gmail-Apple-converted-space">          </span>MySQL
                database client (metapackage depending on the latest
                version)</span></p>
            <p class="gmail-p1"
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span
                class="gmail-s1"
                style="font-variant-ligatures:no-common-ligatures">ii<span
                  class="gmail-Apple-converted-space">  </span></span><span
                class="gmail-s2"
                style="font-variant-ligatures:no-common-ligatures;color:rgb(202,51,35)"><b>mysql</b></span><span
                class="gmail-s1"
                style="font-variant-ligatures:no-common-ligatures">-client-5.7
                <span class="gmail-Apple-converted-space">             
                        </span>5.7.34-0ubuntu0.18.04.1 <span
                  class="gmail-Apple-converted-space">            </span>amd64<span
                  class="gmail-Apple-converted-space">        </span>MySQL
                database client binaries</span></p>
            <p class="gmail-p1"
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span
                class="gmail-s1"
                style="font-variant-ligatures:no-common-ligatures">ii<span
                  class="gmail-Apple-converted-space">  </span></span><span
                class="gmail-s2"
                style="font-variant-ligatures:no-common-ligatures;color:rgb(202,51,35)"><b>mysql</b></span><span
                class="gmail-s1"
                style="font-variant-ligatures:no-common-ligatures">-client-core-5.7<span
                  class="gmail-Apple-converted-space">                </span>5.7.34-0ubuntu0.18.04.1
                <span class="gmail-Apple-converted-space">            </span>amd64<span
                  class="gmail-Apple-converted-space">        </span>MySQL
                database core client binaries</span></p>
            <p class="gmail-p1"
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span
                class="gmail-s1"
                style="font-variant-ligatures:no-common-ligatures">ii<span
                  class="gmail-Apple-converted-space">  </span></span><span
                class="gmail-s2"
                style="font-variant-ligatures:no-common-ligatures;color:rgb(202,51,35)"><b>mysql</b></span><span
                class="gmail-s1"
                style="font-variant-ligatures:no-common-ligatures">-common
                <span class="gmail-Apple-converted-space">             
                            </span>5.8+1.0.4 <span
                  class="gmail-Apple-converted-space">                 
                          </span>all<span
                  class="gmail-Apple-converted-space">          </span>MySQL
                database common files, e.g. /etc/</span><span
                class="gmail-s2"
                style="font-variant-ligatures:no-common-ligatures;color:rgb(202,51,35)"><b>mysql</b></span><span
                class="gmail-s1"
                style="font-variant-ligatures:no-common-ligatures">/my.cnf</span></p>
            <p class="gmail-p2"
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(170,171,37)"><span
                class="gmail-s1"
                style="font-variant-ligatures:no-common-ligatures">root@ashintgtpsg51:/var/lib/cores
                # </span><span class="gmail-s3"
                style="font-variant-ligatures:no-common-ligatures;color:rgb(0,0,0)">apt-cache
                madison mysql-client</span></p>
            <p class="gmail-p1"
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span
                class="gmail-s1"
                style="font-variant-ligatures:no-common-ligatures">mysql-client
                | 5.7.34-0ubuntu0.18.04.1 | <a
                  href="http://us-east-1.ec2.archive.ubuntu.com/ubuntu"
                  moz-do-not-send="true">http://us-east-1.ec2.archive.ubuntu.com/ubuntu</a>
                bionic-updates/main amd64 Packages</span></p>
            <p class="gmail-p1"
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span
                class="gmail-s1"
                style="font-variant-ligatures:no-common-ligatures">mysql-client
                | 5.7.34-0ubuntu0.18.04.1 | <a
                  href="http://security.ubuntu.com/ubuntu"
                  moz-do-not-send="true">http://security.ubuntu.com/ubuntu</a>
                bionic-security/main amd64 Packages</span></p>
            <p class="gmail-p1"
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span
                class="gmail-s1"
                style="font-variant-ligatures:no-common-ligatures">mysql-client
                | 5.7.21-1ubuntu1 | <a
                  href="http://us-east-1.ec2.archive.ubuntu.com/ubuntu"
                  moz-do-not-send="true">http://us-east-1.ec2.archive.ubuntu.com/ubuntu</a>
                bionic/main amd64 Packages</span></p>
            <p class="gmail-p2"
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(170,171,37)"><span
                class="gmail-s1"
                style="font-variant-ligatures:no-common-ligatures">root@ashintgtpsg51:/var/lib/cores
                #<span class="gmail-Apple-converted-space"> </span></span></p>
            <p class="gmail-p2"
style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo;color:rgb(170,171,37)"><br>
            </p>
          </div>
          <div>Any suggestions would be greatly appreciated.</div>
          <div>Thanks in advance.</div>
          <div><br>
          </div>
          -- <br>
          <div dir="ltr" class="gmail_signature"
            data-smartmail="gmail_signature">
            <div dir="ltr">
              <div dir="ltr">
                <div dir="ltr" style="font-size:12.8px">Andy Chen</div>
                <div dir="ltr" style="font-size:12.8px">
                  <div>Sr. Telephony Lead Engineer</div>
                  <div><a href="mailto:achen@thinkingphones.com"
                      target="_blank" moz-do-not-send="true">achen@</a><a
                      href="http://fuze.com" target="_blank"
                      moz-do-not-send="true">fuze.com</a></div>
                  <div><br>
                    <br>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">*Confidentiality
        Notice: The information contained in this e-mail and any</span><br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
      <span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">attachments
        may be confidential. If you are not an intended recipient, you</span><br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
      <span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">are
        hereby notified that any dissemination, distribution or copying
        of this</span><br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
      <span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">e-mail
        is strictly prohibited. If you have received this e-mail in
        error,</span><br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
      <span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">please
        notify the sender and permanently delete the e-mail and any</span><br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
      <span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">attachments
        immediately. You should not retain, copy or use this e-mail or</span><br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
      <span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">any
        attachment for any purpose, nor disclose all or any part of the</span><br
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">
      <span
style="color:rgb(51,51,51);font-family:Arial,sans-serif;font-size:14px;background-color:rgb(255,255,255)">contents
        to any other person. Thank you.*</span>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * <a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a>
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * <a class="moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio Advanced Training - Online - June 7-10, 2021 (America Timezone)
  * <a class="moz-txt-link-freetext" href="https://www.asipto.com/sw/kamailio-advanced-training-online/">https://www.asipto.com/sw/kamailio-advanced-training-online/</a></pre>
  </body>
</html>