<div dir="ltr">As I understand, the 5.2.5 version is stable.<br>Issue happens during Kamailio upgrade current latest stable release.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 16, 2021 at 10:22 AM Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    <p>Hello,</p>
    <p>the commit you references has nothing to do with version 5.2.5 --
      it was a revert of commits done during 5.5.x development.</p>
    <p>So the issue should be somewhere else, unless it was a mistake in
      typing the version and instead of 5.2.5 was supposed to be 5.5.2.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <div>On 16.09.21 09:13, Sergey Safarov
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">you need to make sure you used the latest commits
        in branch 5.5 or used master.
        <div><a href="https://github.com/kamailio/kamailio/issues/2843" target="_blank">https://github.com/kamailio/kamailio/issues/2843</a><br>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Thu, Sep 16, 2021 at 9:22
          AM Zé Santos <<a href="mailto:individuoestima@gmail.com" target="_blank">individuoestima@gmail.com</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
          <div dir="ltr">
            <div dir="ltr">
              <div dir="ltr">
                <div>Hi guys, I am currently using kamailio v5.2.5 and
                  running it inside a container. I already attempted to
                  upgrade the kamailio to the latest version however the
                  problem persists.</div>
                <div><br>
                </div>
                <div>This is the core dump that I got from using gdb:</div>
                <div><br>
                </div>
                <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Core was generated
                  by `/usr/sbin/kamailio -f
                  /etc/kazoo/kamailio/kamailio.cfg -m 512 -M 64 -x tlsf
                  -w'.<br>
                  Program terminated with signal 11, Segmentation fault.<br>
                  #0  0x000000000071c63c in select_cfg_var
                  (res=0x7ffd57d49b10, s=0x7f2649395040,
                  msg=0x7ffd57d4c340) at core/cfg/cfg_select.c:211<br>
                  211 i = *(int *)p;</blockquote>
                <div><br>
                </div>
                <div>It seems that the problem is with this line:</div>
                <div><br>
                </div>
                <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">modparam("dmq",
                  "notification_address", <a>"sip:DMQ_NOTIFY_ADDRESS"</a>)<br>
                </blockquote>
                <div><br>
                </div>
                <div>Also, I only have this issue while running on an
                  AWS instance, I have the same setup on my local
                  computer, however kamailio is able to start correctly.</div>
                <div><br>
                </div>
                <div>While kamailio is starting, I have this line</div>
                <div><br>
                </div>
                <div>#!substdef
                  "!DMQ_NOTIFY_ADDRESS!10.10.10.10:5090!g" </div>
                <div><br>
                </div>
                <div>It seems that after DMQ is able to obtain the IP
                  address, when it comes to actually sending the
                  message, it is interpreting the ip address of the
                  DMQ_NOTIFY_ADDRESS as an integer and then it gives out
                  a segmentation fault and the module stops.</div>
                <div><br>
                </div>
                <div>Another interesting thing is that if the
                  DMQ_NOTIFY_ADDRESS is the MY_IP_ADDRESS variable
                  instead of the 10.10.10.10, it seems to work properly.</div>
                <div><br>
                </div>
                <div>#!substdef
                  "!DMQ_NOTIFY_ADDRESS!MY_IP_ADDRESS:5090!g" <br>
                </div>
                <div><br>
                </div>
                <div>It also doesn't seem related to the ip being in a
                  variable, since I already tried using a DNS record,
                  and once again, it is able to obtain the IPs from the
                  DNS record, and the same issue applies.</div>
                <div><br>
                </div>
                <div>Has anyone ever seen anything like this? I can't
                  find any evidence of this actually happening.</div>
                <div><br>
                </div>
                <div>Thank you kindly for your time.</div>
                <div><br>
                </div>
                <div>Best Regards,</div>
                <div>José Santos</div>
                <div><br>
                </div>
                <div><br>
                </div>
                <div><br>
                </div>
                <div><br>
                </div>
                <div><br>
                </div>
              </div>
            </div>
          </div>
          __________________________________________________________<br>
          Kamailio - Users Mailing List - Non Commercial Discussions<br>
            * <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
          Important: keep the mailing list in the recipients, do not
          reply only to the sender!<br>
          Edit mailing list options or unsubscribe:<br>
            * <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
        </blockquote>
      </div>
      <br>
      <fieldset></fieldset>
      <pre>__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * <a href="mailto:sr-users@lists.kamailio.org" target="_blank">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 href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <pre cols="72">-- 
Daniel-Constantin Mierla -- <a href="http://www.asipto.com" target="_blank">www.asipto.com</a>
<a href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda" target="_blank">www.linkedin.com/in/miconda</a></pre>
  </div>

</blockquote></div>