<p class="MsoNormal" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><span style="background-color:transparent;color:rgb(31,73,125);font-family:Calibri,sans-serif;font-size:15px">Mar 21 15:44:21 VECTONE-CLOUDE kernel: libtdsodbc.so.0[17899]: segfault at 1 ip 0000000000000001 sp 00007fff7cfe4578 error 4 in libtdsodbc.so.0.0.0[</span><span style="background-color:transparent;color:rgb(31,73,125);font-family:Calibri,sans-serif;font-size:15px">7f9ee56e0000+56000]</span></p>

<p class="MsoNormal" style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">Mar 22 09:26:30 VECTONE-CLOUDE kernel: freeswitch[18652]: segfault at 20 ip 00007f9beebfd6a8 sp 00007f9bee7ad8a0 error 4 in mod_lua.so[7f9beebd9000+50000]<u></u><u></u></span></p>

<div><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><br></span></div><div><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">That is freeswitch crashing. It appears to be a crash a database access using the FreeTDS ODBC driver. </span><span style="color:rgb(31,73,125);font-family:Calibri,sans-serif;font-size:11pt">I suggest you upgrade to master&#39;s HEAD, and if you get another crash collect a backtrace and file a Jira.</span></div>

<div><span style="color:rgb(31,73,125);font-family:Calibri,sans-serif;font-size:11pt"><br></span></div><div><span style="color:rgb(31,73,125);font-family:Calibri,sans-serif;font-size:11pt">A segfault is always a bug. It may be in FreeSWITCH (and if so it may already be fixed in master&#39;s HEAD) or it may exist in FreeTDS. I would suggest you check whether any updates to FreeTDS are available too.</span></div>

<div><br></div><div><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)">-Steve</span></div><div><span style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(31,73,125)"><br></span></div>

<br><div class="gmail_quote">On 25 March 2013 17:07, Archana Venugopan <span dir="ltr">&lt;<a href="mailto:a.venugopan@mundio.com" target="_blank">a.venugopan@mundio.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">









<div lang="EN-GB" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Hi,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">I have found this error in /var/log/messages. Can you please let me know what this segmentation fault indicates? Many thanks.<u></u><u></u></span></p>


<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>  fil<u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Mar 17 03:38:01 VECTONE-CLOUDE kernel: imklog 4.6.2, log source = /proc/kmsg started.<u></u><u></u></span></p>


<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Mar 17 03:38:01 VECTONE-CLOUDE rsyslogd: [origin software=&quot;rsyslogd&quot; swVersion=&quot;4.6.2&quot; x-pid=&quot;1243&quot; x-info=&quot;<a href="http://www.rsyslog.com" target="_blank">http://www.rsyslog.com</a>&quot;] (re)start<u></u><u></u></span></p>


<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Mar 21 15:44:21 VECTONE-CLOUDE kernel: libtdsodbc.so.0[17899]: segfault at 1 ip 0000000000000001 sp 00007fff7cfe4578 error 4 in libtdsodbc.so.0.0.0[7f9ee56e0000+56000]<u></u><u></u></span></p>


<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Mar 22 09:26:30 VECTONE-CLOUDE kernel: freeswitch[18652]: segfault at 20 ip 00007f9beebfd6a8 sp 00007f9bee7ad8a0 error 4 in mod_lua.so[7f9beebd9000+50000]<u></u><u></u></span></p>


<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Mar 24 03:12:01 VECTONE-CLOUDE rsyslogd: [origin software=&quot;rsyslogd&quot; swVersion=&quot;4.6.2&quot; x-pid=&quot;1243&quot; x-info=&quot;<a href="http://www.rsyslog.com" target="_blank">http://www.rsyslog.com</a>&quot;] rsyslogd was HUPed, type
 &#39;restart&#39;.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Mar 24 03:12:01 VECTONE-CLOUDE kernel: Kernel logging (proc) stopped.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Archana Venugopan
<br>
<b>Sent:</b> 25 March 2013 16:08<br>
<b>To:</b> &#39;FreeSWITCH Users Help&#39;<br>
<b>Subject:</b> RE: [Freeswitch-users] freeswitch is hanging<u></u><u></u></span></p>
</div>
</div><div class="im">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Hi,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> <u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">No errors are there in logs. There are REGISTER messages continuously and after that I have got these thread messages.<u></u><u></u></span></p>


<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"> I tried giving commands in fs_cli but it hangs. If we re-start freeswitch once it hangs it will work properly. But again after few hours freeswitch it will
 hang. Not sure what is happening.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d">Archana<u></u><u></u></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>]
<b>On Behalf Of </b>Ken Rice<br>
<b>Sent:</b> 25 March 2013 16:49<br>
<b>To:</b> FreeSWITCH Users Help<br>
<b>Subject:</b> Re: [Freeswitch-users] freeswitch is hanging<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div><p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;">The MSG Thread is not whats making it hang, its spawning more threads cause someone is trying to hammer your box... Are you sure you arent getting DoS’d
 with something like sipvicious?</span></p><div><div class="h5"><br>
<br>
<br>
On 3/25/13 9:34 AM, &quot;Archana Venugopan&quot; &lt;<a href="http://a.venugopan@mundio.com" target="_blank">a.venugopan@mundio.com</a>&gt; wrote:</div></div><u></u><u></u><p></p><div><div class="h5">
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;">Hi,<br>
 <br>
At times freeswitch hangs inspite of freeswitch is running in background.  The version I am using is FreeSWITCH Version 1.2.3 (1.2.3). At the time of freeswitch hang I see below log messages. I feel that ‘MSG Thread’ is making it hang not sure though.<br>


 <br>
2013-03-25 15:16:00.194109 [WARNING] sofia_reg.c:1484 SIP auth challenge (REGISTER) on sofia profile &#39;internal&#39; for [<a href="http://gcmjanssen1@testcloud.com" target="_blank">gcmjanssen1@testcloud.com</a>] from ip 86.83.240.9<br>


2013-03-25 15:16:52.074111 [WARNING] switch_event.c:554 Create additional event dispatch thread 2<br>
2013-03-25 15:16:52.374112 [WARNING] switch_event.c:554 Create additional event dispatch thread 3<br>
2013-03-25 15:24:26.164449 [CONSOLE] sofia.c:1602 MSG Thread 2 Started<br>
2013-03-25 15:24:26.164449 [CONSOLE] sofia.c:1602 MSG Thread 1 Started<br>
2013-03-25 15:39:18.254110 [CONSOLE] sofia.c:1602 MSG Thread 3 Started<br>
2013-03-25 15:39:18.254110 [CONSOLE] sofia.c:1602 MSG Thread 4 Started<br>
 <br>
Can anyone please let me know why is it hanging at times and what can be done to resolve it? Many thanks<br>
 <br>
 <br>
 </span><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;"><u></u><u></u></span></p>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;">
<hr size="3" width="95%" align="center">
</span></div>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas">_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="http://consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="http://FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas"><br>
</span><span style="font-size:11.0pt;font-family:&quot;Courier New&quot;">-- <br>
Ken<br>
<u><span style="color:blue"><a href="http://www.FreeSWITCH.org" target="_blank">http://www.FreeSWITCH.org</a><br>
<a href="http://www.ClueCon.com" target="_blank">http://www.ClueCon.com</a><br>
<a href="http://www.OSTAG.org" target="_blank">http://www.OSTAG.org</a><br>
</span></u><a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch</span><u></u><u></u></p>
</div></div></div>
</div>

<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>