[Freeswitch-users] FreeSWITCH crashed on signal 11

Ashish gautam ashish at nms.co.in
Sat Jun 15 08:43:37 MSD 2013


Dan,

FS version is "FreeSWITCH Version 1.5.1". Yeah I installed dependencies
from latest ports (latest updated one). This segfault could be a bug in
freeswitch which might not be related the OS platform (as all the
conditions suggest).

It could probably be verified by reproducing the same testing conditions in
which the segfault occurred. Also It will be really appreciable if you
write a wiki about how to make freeswitch up and running on FreeBSD
platform as many other people also might be waiting for.

On Fri, Jun 14, 2013 at 6:32 PM, Daniel Knaggs <
Daniel.Knaggs at realitysolutions.co.uk> wrote:

> Ashish,
>
> Very odd, I'm using FreeSwitch (v1.2.9) with FreeBSD 9.0 (with the patch)
> and 9.1 (doesn't require it as the patch is already present in the source)
> - both are amd64.
>
> Are you using x86 or amd64 version of FreeBSD?  Does FreeSwitch even
> startup?  If so, issue a "version" command into the CLI and report the
> build version.  Did you update your ports before building the dependencies?
>
>
>
> Regards,
>
>
>
> From: freeswitch-users-bounces at lists.freeswitch.org [mailto:
> freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Ashish gautam
> Sent: 14 June 2013 13:38
> To: FreeSWITCH Users Help
> Subject: Re: [Freeswitch-users] FreeSWITCH crashed on signal 11
>
> Daniel,
>
> 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.
> On Fri, Jun 14, 2013 at 5:59 PM, Daniel Knaggs <
> Daniel.Knaggs at realitysolutions.co.uk> wrote:
> Ashish,
>
> 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!
>
> According to FreshPorts, FreeSwitch is version 1.0.6 (
> http://www.freshports.org/net/freeswitch-core/).  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...
>
> FreeSwitch works perfectly under FreeBSD and I also have it running under
> a non-root account in a production environment.
>
>
>
> 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.
>
>
>
>
>
>
> From: freeswitch-users-bounces at lists.freeswitch.org [mailto:
> freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Ashish gautam
> Sent: 14 June 2013 12:47
> To: FreeSWITCH Users Help
> Subject: Re: [Freeswitch-users] FreeSWITCH crashed on signal 11
>
> Thanks Steven,
>
> 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).
>
> Can this crash/segfault somewhere be related to the OS platform I am
> using(not centOS) ?
>
> On Fri, Jun 14, 2013 at 1:32 PM, Steven Ayre <steveayre at gmail.com> wrote:
> uid 0
>
> 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.
>
> -Steve
>
>
>
> On 14 June 2013 14:50, Ashish gautam <ashish at nms.co.in> wrote:
> Hi,
>
> I have an FS machine running on FreeBSD system with Digium 8-span PRI
> card. PRI line is plugged only on span 1.
>
> 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:
>
> Jun 14 12:36:03 ivrfr kernel: pid 759 (freeswitch), uid 0: exited on
> signal 11 (core dumped)
>
> I am attaching the messages file herewith. Please throw some light on what
> might have happened.
>
>
> --
> Ashish Gautam
>
> Nucleus Microsystems (Pvt.) Ltd.
>
> Ph. 011 47574758
>
> Daniel Knaggs
> Software Developer
>
> Reality Solutions Ltd
> 1 Global Business Park
> Hamburg Road
> Kingston upon Hull
> East Yorkshire, HU7 0AE
>
> Tel:    01482 373104
> Mobile: 07932 408313
> Email:  mailto:Daniel.Knaggs at realitysolutions.co.uk
> http://
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
>
>
> --
> Ashish Gautam
>
> Nucleus Microsystems (Pvt.) Ltd.
>
> Ph. 011 47574758
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
>
>
> --
> Ashish Gautam
>
> Nucleus Microsystems (Pvt.) Ltd.
>
> Ph. 011 47574758
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



-- 
Ashish Gautam

Nucleus Microsystems (Pvt.) Ltd.

Ph. 011 47574758
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130615/2fdf780b/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list