[Freeswitch-users] Getting to the bottom of a problem
steveayre at gmail.com
Thu Sep 4 19:56:38 MSD 2014
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
file a Jira
On 4 September 2014 15:32, Alex Lake <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
> 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:
> Reading symbols from /usr/local/freeswitch/bin/freeswitch...done.
> 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
> Official FreeSWITCH Sites
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users