<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
</head>
<body 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="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/19/2019 06:41 PM, johan de clercq
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:00f801d526b5$7dd11c50$797354f0$@democon.be">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<style><!--
/* Font Definitions */
@font-face
{font-family:Helvetica;
panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
color:black;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
tt
{mso-style-priority:99;
font-family:"Courier New";}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
color:black;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;
color:black;}
span.EmailStyle21
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle22
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle23
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span style="color:windowtext">Bogdan, see
below output : what am I doing wrong ? <o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">root@hendrix:/tmp#
gdb /tmp/core<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">GNU gdb
(Debian 7.12-6) 7.12.0.20161007-git<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">Copyright
(C) 2016 Free Software Foundation, Inc.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">License
GPLv3+: GNU GPL version 3 or later
<a class="moz-txt-link-rfc2396E" href="http://gnu.org/licenses/gpl.html"><http://gnu.org/licenses/gpl.html></a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">This is free
software: you are free to change and redistribute it.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">There is NO
WARRANTY, to the extent permitted by law. Type "show
copying"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">and "show
warranty" for details.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">This GDB was
configured as "x86_64-linux-gnu".<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">Type "show
configuration" for configuration details.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">For bug
reporting instructions, please see:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><a class="moz-txt-link-rfc2396E" href="http://www.gnu.org/software/gdb/bugs/"><http://www.gnu.org/software/gdb/bugs/></a>.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">Find the GDB
manual and other documentation resources online at:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><a class="moz-txt-link-rfc2396E" href="http://www.gnu.org/software/gdb/documentation/"><http://www.gnu.org/software/gdb/documentation/></a>.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">For help,
type "help".<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">Type
"apropos word" to search for commands related to "word"...<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext">"/tmp/core":
not in executable format: File format not recognized<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:windowtext"><o:p> </o:p></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="moz-txt-link-rfc2396E" href="mailto:bogdan@opensips.org"><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="moz-txt-link-rfc2396E" href="mailto:users@lists.opensips.org"><users@lists.opensips.org></a>; johan de clercq
<a class="moz-txt-link-rfc2396E" href="mailto:johan@democon.be"><johan@democon.be></a><br>
<b>Subject:</b> Re: [OpenSIPS-Users] segfault in
opensips30<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></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><o:p></o:p></p>
<pre>Bogdan-Andrei Iancu<o:p></o:p></pre>
<pre><o:p> </o:p></pre>
<pre>OpenSIPS Founder and Developer<o:p></o:p></pre>
<pre> <a href="https://www.opensips-solutions.com" moz-do-not-send="true">https://www.opensips-solutions.com</a><o:p></o:p></pre>
<pre>OpenSIPS Summit 2019<o:p></o:p></pre>
<pre> <a href="https://www.opensips.org/events/Summit-2019Amsterdam/" moz-do-not-send="true">https://www.opensips.org/events/Summit-2019Amsterdam/</a><o:p></o:p></pre>
<div>
<p class="MsoNormal">On 06/19/2019 06:11 PM, johan de clercq
wrote:<o:p></o:p></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<o:p></o:p></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<o:p></o:p></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<o:p></o:p></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<o:p></o:p></p>
<p class="MsoNormal">Jun 19 15:07:16 hendrix
/data/opensips/sbin/opensips[31541]: DBG:core:db_free_rows:
freeing 0 rows<o:p></o:p></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<o:p></o:p></p>
<p class="MsoNormal">Jun 19 15:07:16 hendrix
/data/opensips/sbin/opensips[31541]: DBG:registrar:_remove:
no record '32478720105' found!<o:p></o:p></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<o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></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" 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"
moz-do-not-send="true"><users@lists.opensips.org></a><br>
<b>Subject:</b> segfault in opensips30<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">When trying to register an unknown user,
I have a segfault. <o:p></o:p></p>
<p class="MsoNormal">I can easily reproduce, so please tell me
what I need to do to give you a dump. <o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><img
style="width:2.6541in;height:1.2583in"
id="_x0034_85395db-595c-48b6-9dfb-1ae976a74568"
src="cid:part5.A6783A90.B055723D@opensips.org"
alt="cid:F3100D46-F00D-4610-87ED-3E91DA790A82" class=""
height="121" border="0" width="255"><o:p></o:p></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><o:p></o:p></p>
<p class="MsoNormal"><span
style="font-size:14.0pt;font-family:"Helvetica",sans-serif">Tel
+3256980990 – GSM +32478720104</span><o:p></o:p></p>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><br>
<br>
<br>
<o:p></o:p></p>
<pre>_______________________________________________<o:p></o:p></pre>
<pre>Users mailing list<o:p></o:p></pre>
<pre><a href="mailto:Users@lists.opensips.org" moz-do-not-send="true">Users@lists.opensips.org</a><o:p></o:p></pre>
<pre><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" moz-do-not-send="true">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</blockquote>
<br>
</body>
</html>