<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<tt>Hi Johan,<br>
<br>
Thank you for the backtrace - I just pushed a fix for this crash.
Please updated from GIT and give it another try.<br>
<br>
Best regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
OpenSIPS Summit 2019
<a class="moz-txt-link-freetext" href="https://www.opensips.org/events/Summit-2019Amsterdam/">https://www.opensips.org/events/Summit-2019Amsterdam/</a>
</pre>
<div class="moz-cite-prefix">On 06/20/2019 12:13 PM, Johan De Clercq
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAEVWGm-YeWnf4hMH7OvYs+D6CovVB94Qw5+uUBB_ewOkC+1CQA@mail.gmail.com">
<div dir="auto">Hello bogdan, do you have everything you need?
<div dir="auto"><br>
</div>
<div dir="auto">Br, </div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, 19 Jun 2019, 17:43
Bogdan-Andrei Iancu, <<a href="mailto:bogdan@opensips.org"
moz-do-not-send="true">bogdan@opensips.org</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> <tt>Do "g<tt>db
/path/t<tt>o/opensips /path/to/corefile<tt>"<br>
<br>
<tt>Regards,</tt><br>
</tt></tt></tt></tt>
<pre class="m_-6153196389457618855moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="m_-6153196389457618855moz-txt-link-freetext" href="https://www.opensips-solutions.com" target="_blank" rel="noreferrer" moz-do-not-send="true">https://www.opensips-solutions.com</a>
OpenSIPS Summit 2019
<a class="m_-6153196389457618855moz-txt-link-freetext" href="https://www.opensips.org/events/Summit-2019Amsterdam/" target="_blank" rel="noreferrer" moz-do-not-send="true">https://www.opensips.org/events/Summit-2019Amsterdam/</a>
</pre>
<div class="m_-6153196389457618855moz-cite-prefix">On
06/19/2019 06:41 PM, johan de clercq wrote:<br>
</div>
<blockquote type="cite">
<div class="m_-6153196389457618855WordSection1">
<p class="MsoNormal"><span style="color:windowtext">Bogdan,
see below output : what am I doing wrong ? </span></p>
<p class="MsoNormal"><span style="color:windowtext"> </span></p>
<p class="MsoNormal"><span style="color:windowtext">root@hendrix:/tmp#
gdb /tmp/core</span></p>
<p class="MsoNormal"><span style="color:windowtext">GNU
gdb (Debian 7.12-6) 7.12.0.20161007-git</span></p>
<p class="MsoNormal"><span style="color:windowtext">Copyright
(C) 2016 Free Software Foundation, Inc.</span></p>
<p class="MsoNormal"><span style="color:windowtext">License
GPLv3+: GNU GPL version 3 or later <a
class="m_-6153196389457618855moz-txt-link-rfc2396E"
href="http://gnu.org/licenses/gpl.html"
target="_blank" rel="noreferrer"
moz-do-not-send="true"><http://gnu.org/licenses/gpl.html></a></span></p>
<p class="MsoNormal"><span style="color:windowtext">This
is free software: you are free to change and
redistribute it.</span></p>
<p class="MsoNormal"><span style="color:windowtext">There
is NO WARRANTY, to the extent permitted by law.
Type "show copying"</span></p>
<p class="MsoNormal"><span style="color:windowtext">and
"show warranty" for details.</span></p>
<p class="MsoNormal"><span style="color:windowtext">This
GDB was configured as "x86_64-linux-gnu".</span></p>
<p class="MsoNormal"><span style="color:windowtext">Type
"show configuration" for configuration details.</span></p>
<p class="MsoNormal"><span style="color:windowtext">For
bug reporting instructions, please see:</span></p>
<p class="MsoNormal"><span style="color:windowtext"><a
class="m_-6153196389457618855moz-txt-link-rfc2396E"
href="http://www.gnu.org/software/gdb/bugs/"
target="_blank" rel="noreferrer"
moz-do-not-send="true"><http://www.gnu.org/software/gdb/bugs/></a>.</span></p>
<p class="MsoNormal"><span style="color:windowtext">Find
the GDB manual and other documentation resources
online at:</span></p>
<p class="MsoNormal"><span style="color:windowtext"><a
class="m_-6153196389457618855moz-txt-link-rfc2396E"
href="http://www.gnu.org/software/gdb/documentation/" target="_blank"
rel="noreferrer" moz-do-not-send="true"><http://www.gnu.org/software/gdb/documentation/></a>.</span></p>
<p class="MsoNormal"><span style="color:windowtext">For
help, type "help".</span></p>
<p class="MsoNormal"><span style="color:windowtext">Type
"apropos word" to search for commands related to
"word"...</span></p>
<p class="MsoNormal"><span style="color:windowtext">"/tmp/core":
not in executable format: File format not recognized</span></p>
<p class="MsoNormal"><span style="color:windowtext"> </span></p>
<div>
<div style="border:none;border-top:solid #e1e1e1
1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span
style="color:windowtext">From:</span></b><span
style="color:windowtext"> Bogdan-Andrei Iancu <a
class="m_-6153196389457618855moz-txt-link-rfc2396E"
href="mailto:bogdan@opensips.org"
target="_blank" rel="noreferrer"
moz-do-not-send="true"><bogdan@opensips.org></a>
<br>
<b>Sent:</b> Wednesday, June 19, 2019 5:25 PM<br>
<b>To:</b> OpenSIPS users mailling list <a
class="m_-6153196389457618855moz-txt-link-rfc2396E"
href="mailto:users@lists.opensips.org"
target="_blank" rel="noreferrer"
moz-do-not-send="true"><users@lists.opensips.org></a>;
johan de clercq <a
class="m_-6153196389457618855moz-txt-link-rfc2396E"
href="mailto:johan@democon.be" target="_blank"
rel="noreferrer" moz-do-not-send="true"><johan@democon.be></a><br>
<b>Subject:</b> Re: [OpenSIPS-Users] segfault in
opensips30</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><tt><span style="font-size:10.0pt">Hi
Johan,</span></tt><span
style="font-size:10.0pt;font-family:"Courier
New""><br>
<br>
<tt>Can you extract the full backtrace from the core
file ?</tt><br>
<br>
<tt>Regards,</tt><br>
<br>
</span></p>
<pre>Bogdan-Andrei Iancu</pre>
<pre> </pre>
<pre>OpenSIPS Founder and Developer</pre>
<pre> <a href="https://www.opensips-solutions.com" target="_blank" rel="noreferrer" moz-do-not-send="true">https://www.opensips-solutions.com</a></pre>
<pre>OpenSIPS Summit 2019</pre>
<pre> <a href="https://www.opensips.org/events/Summit-2019Amsterdam/" target="_blank" rel="noreferrer" moz-do-not-send="true">https://www.opensips.org/events/Summit-2019Amsterdam/</a></pre>
<div>
<p class="MsoNormal">On 06/19/2019 06:11 PM, johan de
clercq wrote:</p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">un 19 15:07:16 hendrix
/data/opensips/sbin/opensips[31541]:
DBG:db_mysql:db_mysql_get_columns: use DB_STRING
result type</p>
<p class="MsoNormal">Jun 19 15:07:16 hendrix
/data/opensips/sbin/opensips[31541]:
DBG:db_mysql:db_mysql_convert_rows: no rows returned
from the query</p>
<p class="MsoNormal">Jun 19 15:07:16 hendrix
/data/opensips/sbin/opensips[31541]:
DBG:usrloc:db_load_urecord: aor 32478720105 not
found in table location</p>
<p class="MsoNormal">Jun 19 15:07:16 hendrix
/data/opensips/sbin/opensips[31541]:
DBG:core:db_free_columns: freeing result columns at
0x7f0d8fa8c7f8</p>
<p class="MsoNormal">Jun 19 15:07:16 hendrix
/data/opensips/sbin/opensips[31541]:
DBG:core:db_free_rows: freeing 0 rows</p>
<p class="MsoNormal">Jun 19 15:07:16 hendrix
/data/opensips/sbin/opensips[31541]:
DBG:core:db_free_result: freeing result set at
0x7f0d8fa8b320</p>
<p class="MsoNormal">Jun 19 15:07:16 hendrix
/data/opensips/sbin/opensips[31541]:
DBG:registrar:_remove: no record '32478720105'
found!</p>
<p class="MsoNormal">Jun 19 15:07:16 hendrix
/data/opensips/sbin/opensips[31541]:
CRITICAL:core:sig_usr: segfault in process pid:
31541, id: 5</p>
<p class="MsoNormal"> </p>
<div>
<div style="border:none;border-top:solid #e1e1e1
1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> johan de clercq
<a href="mailto:johan@democon.be"
target="_blank" rel="noreferrer"
moz-do-not-send="true"><johan@democon.be></a>
<br>
<b>Sent:</b> Wednesday, June 19, 2019 4:53 PM<br>
<b>To:</b> 'OpenSIPS users mailling list' <a
href="mailto:users@lists.opensips.org"
target="_blank" rel="noreferrer"
moz-do-not-send="true"><users@lists.opensips.org></a><br>
<b>Subject:</b> segfault in opensips30</p>
</div>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal">When trying to register an
unknown user, I have a segfault. </p>
<p class="MsoNormal">I can easily reproduce, so please
tell me what I need to do to give you a dump. </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><img
style="width:2.6541in;height:1.2583in"
id="m_-6153196389457618855_x0034_85395db-595c-48b6-9dfb-1ae976a74568"
src="cid:part5.A6783A90.B055723D@opensips.org"
alt="cid:F3100D46-F00D-4610-87ED-3E91DA790A82"
moz-do-not-send="true" height="121" border="0"
width="255"></p>
<p class="MsoNormal"><span
style="font-size:14.0pt;font-family:"Helvetica",sans-serif">Johan
De Clercq, Managing Director<br>
Democon bvba - Ooigemstraat 41 - 8780 Oostrozebeke</span></p>
<p class="MsoNormal"><span
style="font-size:14.0pt;font-family:"Helvetica",sans-serif">Tel
+3256980990 – GSM +32478720104</span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><br>
<br>
<br>
</p>
<pre>_______________________________________________</pre>
<pre>Users mailing list</pre>
<pre><a href="mailto:Users@lists.opensips.org" target="_blank" rel="noreferrer" moz-do-not-send="true">Users@lists.opensips.org</a></pre>
<pre><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank" rel="noreferrer" moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a></pre>
</blockquote>
<p class="MsoNormal"> </p>
</div>
</blockquote>
<br>
</div>
</blockquote>
</div>
</blockquote>
<br>
</body>
</html>