Thanks. Ok it doesn't sound related to my problem unfortunately :( I'll have to persevere!
Andrew,I loaded the core file into gdb and looked at the backtrace. It turns out that the problem was not in the FreeSWITCH code but rather in LuaSocket, and the error was thrown while I was caching fax results in a key-value store using a Lua script. My issue was very similar to this Jira: http://jira.freeswitch.org/browse/FS-2893. I recompiled LuaSocket with the FreeSWITCH includes and am hoping that fixes things.AdamOn Wed, Aug 1, 2012 at 11:27 AM, Andrew Cassidy <andrew@cassidywebservices.co.uk> wrote:
Hi, what have you done with the core file?On 31 July 2012 21:16, Adam Johnston <ajohnston@blimessaging.com> wrote:
That did it. My sporadic crash happened again and, sure enough, there's a core file.Thanks again,Adam JohnstonOn Fri, Jul 27, 2012 at 4:59 PM, Stefan Knoblich <stkn@freeswitch.org> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
You need to set /proc/sys/fs/suid_dumpable to a non-zero value (see man 5 proc), to enable core dumping for processes
On 07/27/12 21:34, Adam Johnston wrote:
> I use FreeSWITCH exclusively for high-volume fax, both sending and receiving, and I've been running into a sporadic issue where the FreeSWITCH process will die with nothing in the logs to
> indicate an issue and no core file anywhere on the system. I'm setting "ulimit -c unlimited" in my init script, so I would expect to see a core file. Version: FreeSWITCH Version
> 1.2.0-rc2+git~20120713T162602Z~0afd7318bd+unclean~20120713T182401Z
that switch their UID on startup (such as freeswitch with -u option).
By default, the freeswitch process will try to put the core file into the CWD (current work directory),
so make sure the UID it is running as can write there (or "cd" into a different directory before starting it).
You might also want to check out man 5 core, for all the other options (e.g. piping core dumps into a custom handler, with core_pattern).
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAlATASwACgkQjiIIAK4rYUrjvQCgh1grtcBfPVhbZNw8tdQpsyda
614Amwb1pKDFL93dU33cy2wj1FNYYnzJ
=0Xqk
-----END PGP SIGNATURE-----
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
--
Andrew Cassidy BSc (Hons) MBCS SSCAManaging Director
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list
FreeSWITCH-users@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@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
