Daniel,<div><br></div><div>I am using FreeBSD 9.1 Release so probably we are not having threading problems. Also we have downloaded and built the latest source from GIT.<br><br><div class="gmail_quote">On Fri, Jun 14, 2013 at 5:59 PM, Daniel Knaggs <span dir="ltr"><<a href="mailto:Daniel.Knaggs@realitysolutions.co.uk" target="_blank">Daniel.Knaggs@realitysolutions.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ashish,<br>
<br>
What version of FreeBSD are you using? If you're using FreeBSD 9.0 you will need to apply a patch to the threading for the kernel otherwise you can get signal 11 core dumps. If you need it, I'll send it - this issue doesn't affect <= 8.3 (as far as I'm aware) or >= 9.1 (I can confirm it's fine for 9.1). This issue can affect other processes as well so it's best to apply it. If that isn't the case it could be faulty memory, usually compiling a few ports will lead to failures if it's bad memory though. Both of these happened to us recently!<br>
<br>
According to FreshPorts, FreeSwitch is version 1.0.6 (<a href="http://www.freshports.org/net/freeswitch-core/" target="_blank">http://www.freshports.org/net/freeswitch-core/</a>). I highly advise you don't use the one in the ports, but instead build it from source via GIT and install the dependencies via the ports (after a "portsnap fetch update"). Again, I can send you the ports needed to install to build it. Perhaps I should create a FreeBSD specific wiki for how to install FreeSwitch? The one on there now isn't very good. Could also include the kernel patch...<br>
<br>
FreeSwitch works perfectly under FreeBSD and I also have it running under a non-root account in a production environment.<br>
<br>
<br>
<br>
P.S. I apologise in advance for my signature which is required by our company policy in this e-mail. I've converted to plain-text to try and help.<br>
<br>
<br>
<br>
<br>
<br>
<br>
From: <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>] On Behalf Of Ashish gautam<br>
Sent: 14 June 2013 12:47<br>
To: FreeSWITCH Users Help<br>
Subject: Re: [Freeswitch-users] FreeSWITCH crashed on signal 11<br>
<div class="im"><br>
Thanks Steven,<br>
<br>
This is not a production server but just a testing server. Thanks for your suggestion, ofcourse I will run it with some different user on production. The freeswitch version I am using is 1.2 ( I have installed it through ports in FreeBSD).<br>
<br>
Can this crash/segfault somewhere be related to the OS platform I am using(not centOS) ?<br>
<br>
On Fri, Jun 14, 2013 at 1:32 PM, Steven Ayre <<a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a>> wrote:<br>
uid 0<br>
<br>
Also are you running FreeSWITCH as root? If so that's a very bad idea (generally for any server software). You should be running it as a dedicated user (freeswitch would be a good name). Otherwise any security hole found could be exploited to give full access to your server.<br>
<br>
-Steve<br>
<br>
<br>
<br>
On 14 June 2013 14:50, Ashish gautam <<a href="mailto:ashish@nms.co.in">ashish@nms.co.in</a>> wrote:<br>
Hi,<br>
<br>
I have an FS machine running on FreeBSD system with Digium 8-span PRI card. PRI line is plugged only on span 1.<br>
<br>
Everything was running fine until all the channels got alarms suddenly and mod_ftdm attempted to restart them. But while restarting FS crashed. /var/log/messages show:<br>
<br>
Jun 14 12:36:03 ivrfr kernel: pid 759 (freeswitch), uid 0: exited on signal 11 (core dumped)<br>
<br>
I am attaching the messages file herewith. Please throw some light on what might have happened.<br>
<br>
<br>
--<br>
Ashish Gautam<br>
<br>
Nucleus Microsystems (Pvt.) Ltd.<br>
<br>
Ph. 011 47574758<br>
<br>
<br>
</div>Daniel Knaggs<br>
Software Developer<br>
<br>
Reality Solutions Ltd<br>
1 Global Business Park<br>
Hamburg Road<br>
Kingston upon Hull<br>
East Yorkshire, HU7 0AE<br>
<br>
Tel: 01482 373104<br>
Mobile: 07932 408313<br>
Email: mailto:<a href="mailto:Daniel.Knaggs@realitysolutions.co.uk">Daniel.Knaggs@realitysolutions.co.uk</a><br>
http://<br>
<div class="HOEnZb"><div class="h5"><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>
<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>
<br>
<br>
<br>
--<br>
Ashish Gautam<br>
<br>
Nucleus Microsystems (Pvt.) Ltd.<br>
<br>
Ph. 011 47574758<br>
<br>
<br>
<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>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><span style="color:rgb(0,0,102);font-family:georgia,serif">Ashish Gautam</span><br><font face="georgia, serif" color="#000066"><br>Nucleus Microsystems (Pvt.) Ltd.<br>
<br>Ph. 011 47574758</font>
</div>