<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<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 class="moz-cite-prefix">On 16.09.21 09:13, Sergey Safarov
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAHtxdDeVruMgG+Vjo69v+Qi-5bQziT+Kh+HK-Tk1tCR+9E9MJQ@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<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"
moz-do-not-send="true">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"
moz-do-not-send="true">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 class="moz-txt-link-rfc2396E" href="sip:DMQ_NOTIFY_ADDRESS">"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" moz-do-not-send="true">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" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote>
</div>
<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></pre>
</body>
</html>