<div dir="ltr">Doing what you told me yielded an interesting result.<div><br></div><div style>Freeswitch crashed with this : </div><div style><br></div><div style>freeswitch: pthread_mutex_lock.c:62: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed.<br>
</div><div style><br></div><div style>Should I run freeswitch in gdb to get why this happens ?</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 23, 2013 at 11:16 AM, Anthony Minessale <span dir="ltr"><<a href="mailto:anthony.minessale@gmail.com" target="_blank">anthony.minessale@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">See if maybe one of your scripts is calling the exit syscall. This can terminate the whole process.<div>
Run FS in a unix screen session and run it from the console so you can see what happens in the stdout.</div>
<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Tue, Apr 23, 2013 at 9:17 AM, Antoine Reversat <span dir="ltr"><<a href="mailto:antoine@fibrenoire.ca" target="_blank">antoine@fibrenoire.ca</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi,<div><br></div><div>I have a weird issue where once in a while (apparently randomly) freeswitch crashes silently (that is I don't see any mention of freeswitch having sgfaulted in the output of dmesg and the logs aren't helpgul either).</div>
<div><br></div><div>The version of freeswitch is the latest 1.2 stable branch from git packaged by myself for ubuntu.</div><div><br></div><div>The OS is Ubuntu 12.04 with the latest 3.2.0-39-generic #62-Ubuntu kernel.</div>
<div><br></div><div>I have 2 servers and both randomly crash in the same way so I ruled out a hardware issue.</div><div><br></div><div>Our whole call processing is done in LUA but the crash occurs with no call in progress.</div>
<div><br></div><div>I know it's not a lot to work with but if you have pointers on how to get more information about what happens I'd be happy to try it out.</div><span><font color="#888888"><div><div>
<br></div>-- <br><div dir="ltr">
<span style="color:rgb(80,0,80)">Antoine Reversat</span><br style="color:rgb(80,0,80)"><span style="color:rgb(80,0,80)">Fibrenoire - </span><a href="http://www.fibrenoire.ca/" style="color:rgb(17,85,204)" target="_blank">www.fibrenoire.ca</a><br style="color:rgb(80,0,80)">
<span style="color:rgb(80,0,80)">A: 550 ave Beaumont, suite 320, Montreal, Qc, H3N 1V1</span><br style="color:rgb(80,0,80)"><span style="color:rgb(80,0,80)">T: <a href="tel:514%20907-3002%20x132" value="+15149073002" target="_blank">514 907-3002 x132</a> </span><br style="color:rgb(80,0,80)">
antoine<a href="mailto:jf@fibrenoire.ca" style="color:rgb(17,85,204)" target="_blank">@fibrenoire.ca</a><br>
</div>
</div></font></span></div>
<br></div></div>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto: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="mailto: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><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br><br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com" target="_blank">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com" target="_blank">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org" target="_blank">sip:888@conference.freeswitch.org</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org" target="_blank">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900
</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><br clear="all"><div><br></div>-- <br><div dir="ltr"><span style="color:rgb(80,0,80)">Antoine Reversat</span><br style="color:rgb(80,0,80)"><span style="color:rgb(80,0,80)">Fibrenoire - </span><a href="http://www.fibrenoire.ca/" style="color:rgb(17,85,204)" target="_blank">www.fibrenoire.ca</a><br style="color:rgb(80,0,80)">
<span style="color:rgb(80,0,80)">A: 550 ave Beaumont, suite 320, Montreal, Qc, H3N 1V1</span><br style="color:rgb(80,0,80)"><span style="color:rgb(80,0,80)">T: 514 907-3002 x132 </span><br style="color:rgb(80,0,80)">antoine<a href="mailto:jf@fibrenoire.ca" style="color:rgb(17,85,204)" target="_blank">@fibrenoire.ca</a><br>
</div>
</div>