[Freeswitch-users] Getting to the bottom of a problem

Alex Lake alex at digitalmail.com
Thu Sep 4 20:19:15 MSD 2014


dmesg has nothing of interest.

No coredump (and I'd be surprised if there were one). For the record, I 
build it from source (in theory, 1.2 "stable"), rather than using packages.

Thanks
> Check dmesg - does it show that freeswitch crashed? You'll see a line 
> about segmentation fault, general protection error, or similar.
>
> If so, do you have a coredump? If you're using the Debian packages 
> (and perhaps if otherwise) it'll likely be /var/lib/freeswitch/core
>
> If so see 'Creating A Backtrace With gdb (Linux/Unix)' on 
> https://confluence.freeswitch.org/display/FREESWITCH/Reporting+Bugs 
> and file a Jira
>
>
>
> On 4 September 2014 15:32, Alex Lake <alex at digitalmail.com 
> <mailto:alex at digitalmail.com>> wrote:
>
>     My freeswitch installation (running under Ubuntu 12.04) has a habit of
>     mysteriously stopping. It's not doing this in a predictable manner
>     (eg.
>     it's not when any particular bit of dialplan is being executed).
>
>     I have a script that runs every minute to see if it's running, and
>     if it
>     isn't, starts it up (and sends me a notification).
>
>     I'd like to be able to get to the bottom of this, but am not
>     particularly (or at all!) experienced in running gdb. If I follow the
>     brief instructions in the Wiki to run "gdb bin/freeswitch" I don't
>     seem
>     to get a working freeswitch running at all. What should I see on the
>     command line when I issue that command? This what I currently see:
>
>     -----
>     root at hzhmay14a /home/oev/fs-pabx/scripts # gdb --args
>     /usr/local/freeswitch/bin/freeswitch -nonat
>     GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
>     Copyright (C) 2012 Free Software Foundation, Inc.
>     License GPLv3+: GNU GPL version 3 or later
>     <http://gnu.org/licenses/gpl.html>
>     This is free software: you are free to change and redistribute it.
>     There is NO WARRANTY, to the extent permitted by law. Type "show
>     copying"
>     and "show warranty" for details.
>     This GDB was configured as "x86_64-linux-gnu".
>     For bug reporting instructions, please see:
>     <http://bugs.launchpad.net/gdb-linaro/>...
>     Reading symbols from /usr/local/freeswitch/bin/freeswitch...done.
>     (gdb)
>     (gdb)
>     -----
>
>     There's a mysterious (to me) command line parameter "-core" that I was
>     wondering if it might be useful in my circumstances.
>
>     I'm also prepared to do a new build (with some kind of diagnostic
>     params) if that helps.
>
>     Any tips or suggestions of things to read up on most welcome....
>
>     _________________________________________________________________________
>     Professional FreeSWITCH Consulting Services:
>     consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>     http://www.freeswitchsolutions.com
>
>     Official FreeSWITCH Sites
>     http://www.freeswitch.org
>     http://confluence.freeswitch.org
>     http://www.cluecon.com
>
>     
>     
>
>     FreeSWITCH-users mailing list
>     FreeSWITCH-users at lists.freeswitch.org
>     <mailto: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://confluence.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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140904/1341cb2e/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list