<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><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:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
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",serif;
color:black;}
tt
{mso-style-priority:99;
font-family:"Courier New",serif;}
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",serif;
color:black;}
span.EmailStyle21
{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]--></head><body bgcolor=white lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='color:windowtext'>Bogdan, <o:p></o:p></span></p><p class=MsoNormal><span style='color:windowtext'>The fix works. <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'>Thanks and have a great weekend. <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 <bogdan@opensips.org> <br><b>Sent:</b> Friday, June 21, 2019 5:53 PM<br><b>To:</b> Johan De Clercq <Johan@democon.be><br><b>Cc:</b> OpenSIPS users mailling list <users@lists.opensips.org><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",serif'><br><br><tt>Thank you for the backtrace - I just pushed a fix for this crash. Please updated from GIT and give it another try.</tt><br><br><tt>Best 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">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/">https://www.opensips.org/events/Summit-2019Amsterdam/</a><o:p></o:p></pre><div><p class=MsoNormal>On 06/20/2019 12:13 PM, Johan De Clercq wrote:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal>Hello bogdan, do you have everything you need? <o:p></o:p></p><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal>Br, <o:p></o:p></p></div></div><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal>On Wed, 19 Jun 2019, 17:43 Bogdan-Andrei Iancu, <<a href="mailto:bogdan@opensips.org">bogdan@opensips.org</a>> wrote:<o:p></o:p></p></div><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in'><div><p class=MsoNormal><tt><span style='font-size:10.0pt'>Do "gdb /path/to/opensips /path/to/corefile"</span></tt><span style='font-size:10.0pt;font-family:"Courier New",serif'><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" target="_blank">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/" target="_blank">https://www.opensips.org/events/Summit-2019Amsterdam/</a><o:p></o:p></pre><div><p class=MsoNormal>On 06/19/2019 06:41 PM, johan de clercq wrote:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:windowtext'>Bogdan, see below output : what am I doing wrong ? </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:windowtext'> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:windowtext'>root@hendrix:/tmp# gdb /tmp/core</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:windowtext'>GNU gdb (Debian 7.12-6) 7.12.0.20161007-git</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:windowtext'>Copyright (C) 2016 Free Software Foundation, Inc.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:windowtext'>License GPLv3+: GNU GPL version 3 or later <a href="http://gnu.org/licenses/gpl.html" target="_blank"><http://gnu.org/licenses/gpl.html></a></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:windowtext'>This is free software: you are free to change and redistribute it.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:windowtext'>There is NO WARRANTY, to the extent permitted by law. Type "show copying"</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:windowtext'>and "show warranty" for details.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:windowtext'>This GDB was configured as "x86_64-linux-gnu".</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:windowtext'>Type "show configuration" for configuration details.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:windowtext'>For bug reporting instructions, please see:</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:windowtext'><a href="http://www.gnu.org/software/gdb/bugs/" target="_blank"><http://www.gnu.org/software/gdb/bugs/></a>.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:windowtext'>Find the GDB manual and other documentation resources online at:</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:windowtext'><a href="http://www.gnu.org/software/gdb/documentation/" target="_blank"><http://www.gnu.org/software/gdb/documentation/></a>.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:windowtext'>For help, type "help".</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:windowtext'>Type "apropos word" to search for commands related to "word"...</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:windowtext'>"/tmp/core": not in executable format: File format not recognized</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='color:windowtext'> </span><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 style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span style='color:windowtext'>From:</span></b><span style='color:windowtext'> Bogdan-Andrei Iancu <a href="mailto:bogdan@opensips.org" target="_blank"><bogdan@opensips.org></a> <br><b>Sent:</b> Wednesday, June 19, 2019 5:25 PM<br><b>To:</b> OpenSIPS users mailling list <a href="mailto:users@lists.opensips.org" target="_blank"><users@lists.opensips.org></a>; johan de clercq <a href="mailto:johan@democon.be" target="_blank"><johan@democon.be></a><br><b>Subject:</b> Re: [OpenSIPS-Users] segfault in opensips30</span><o:p></o:p></p></div></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'><tt><span style='font-size:10.0pt'>Hi Johan,</span></tt><span style='font-size:10.0pt;font-family:"Courier New",serif'><br><br><tt>Can you extract the full backtrace from the core file ?</tt><br><br><tt>Regards,</tt></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" target="_blank">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/" target="_blank">https://www.opensips.org/events/Summit-2019Amsterdam/</a><o:p></o:p></pre><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>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 style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>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 style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>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 style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>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 style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>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 style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>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 style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>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 style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>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 style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>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 style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <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 style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b>From:</b> johan de clercq <a href="mailto:johan@democon.be" target="_blank"><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"><users@lists.opensips.org></a><br><b>Subject:</b> segfault in opensips30<o:p></o:p></p></div></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>When trying to register an unknown user, I have a segfault. <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>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 style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><img border=0 width=255 height=121 style='width:2.6541in;height:1.2583in' id="m_-6153196389457618855485395db-595c-48b6-9dfb-1ae976a74568" src="cid:part5.A6783A90.B055723D@opensips.org" alt="cid:F3100D46-F00D-4610-87ED-3E91DA790A82"><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><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 style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:14.0pt;font-family:"Helvetica",sans-serif'>Tel +3256980990 – GSM +32478720104</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'><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" target="_blank">Users@lists.opensips.org</a><o:p></o:p></pre><pre><a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><o:p></o:p></pre></blockquote><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div></blockquote><p class=MsoNormal><o:p> </o:p></p></div></blockquote></div></blockquote><p class=MsoNormal><o:p> </o:p></p></div></body></html>