Hi, I have a weird issue where once in a while (apparently randomly) freeswitch crashes silently (that is I don't see any mention of freeswitch having sgfaulted in the output of dmesg and the logs aren't helpgul either). The version of freeswitch is the latest 1.2 stable branch from git packaged by myself for ubuntu. The OS is Ubuntu 12.04 with the latest 3.2.0-39-generic #62-Ubuntu kernel. I have 2 servers and both randomly crash in the same way so I ruled out a hardware issue. Our whole call processing is done in LUA but the crash occurs with no call in progress. I know it's not a lot to work with but if you have pointers on how to get more information about what happens I'd be happy to try it out. -- Antoine Reversat Fibrenoire - www.fibrenoire.ca A: 550 ave Beaumont, suite 320, Montreal, Qc, H3N 1V1 T: 514 907-3002 x132 antoine@fibrenoire.ca <jf@fibrenoire.ca>
See if maybe one of your scripts is calling the exit syscall. This can terminate the whole process. Run FS in a unix screen session and run it from the console so you can see what happens in the stdout. On Tue, Apr 23, 2013 at 9:17 AM, Antoine Reversat <antoine@fibrenoire.ca>wrote:
Hi,
I have a weird issue where once in a while (apparently randomly) freeswitch crashes silently (that is I don't see any mention of freeswitch having sgfaulted in the output of dmesg and the logs aren't helpgul either).
The version of freeswitch is the latest 1.2 stable branch from git packaged by myself for ubuntu.
The OS is Ubuntu 12.04 with the latest 3.2.0-39-generic #62-Ubuntu kernel.
I have 2 servers and both randomly crash in the same way so I ruled out a hardware issue.
Our whole call processing is done in LUA but the crash occurs with no call in progress.
I know it's not a lot to work with but if you have pointers on how to get more information about what happens I'd be happy to try it out.
-- Antoine Reversat Fibrenoire - www.fibrenoire.ca A: 550 ave Beaumont, suite 320, Montreal, Qc, H3N 1V1 T: 514 907-3002 x132 antoine@fibrenoire.ca <jf@fibrenoire.ca>
_________________________________________________________________________ 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
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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
Doing what you told me yielded an interesting result. Freeswitch crashed with this : freeswitch: pthread_mutex_lock.c:62: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed. Should I run freeswitch in gdb to get why this happens ? On Tue, Apr 23, 2013 at 11:16 AM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
See if maybe one of your scripts is calling the exit syscall. This can terminate the whole process. Run FS in a unix screen session and run it from the console so you can see what happens in the stdout.
On Tue, Apr 23, 2013 at 9:17 AM, Antoine Reversat <antoine@fibrenoire.ca>wrote:
Hi,
I have a weird issue where once in a while (apparently randomly) freeswitch crashes silently (that is I don't see any mention of freeswitch having sgfaulted in the output of dmesg and the logs aren't helpgul either).
The version of freeswitch is the latest 1.2 stable branch from git packaged by myself for ubuntu.
The OS is Ubuntu 12.04 with the latest 3.2.0-39-generic #62-Ubuntu kernel.
I have 2 servers and both randomly crash in the same way so I ruled out a hardware issue.
Our whole call processing is done in LUA but the crash occurs with no call in progress.
I know it's not a lot to work with but if you have pointers on how to get more information about what happens I'd be happy to try it out.
-- Antoine Reversat Fibrenoire - www.fibrenoire.ca A: 550 ave Beaumont, suite 320, Montreal, Qc, H3N 1V1 T: 514 907-3002 x132 antoine@fibrenoire.ca <jf@fibrenoire.ca>
_________________________________________________________________________ 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
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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ 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
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
-- Antoine Reversat Fibrenoire - www.fibrenoire.ca A: 550 ave Beaumont, suite 320, Montreal, Qc, H3N 1V1 T: 514 907-3002 x132 antoine@fibrenoire.ca <jf@fibrenoire.ca>
Yes, and post a Jira... João Mesquita FreeSWITCH™ Solutions On Thu, Apr 25, 2013 at 11:23 AM, Antoine Reversat <antoine@fibrenoire.ca>wrote:
Doing what you told me yielded an interesting result.
Freeswitch crashed with this :
freeswitch: pthread_mutex_lock.c:62: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed.
Should I run freeswitch in gdb to get why this happens ?
On Tue, Apr 23, 2013 at 11:16 AM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
See if maybe one of your scripts is calling the exit syscall. This can terminate the whole process. Run FS in a unix screen session and run it from the console so you can see what happens in the stdout.
On Tue, Apr 23, 2013 at 9:17 AM, Antoine Reversat <antoine@fibrenoire.ca>wrote:
Hi,
I have a weird issue where once in a while (apparently randomly) freeswitch crashes silently (that is I don't see any mention of freeswitch having sgfaulted in the output of dmesg and the logs aren't helpgul either).
The version of freeswitch is the latest 1.2 stable branch from git packaged by myself for ubuntu.
The OS is Ubuntu 12.04 with the latest 3.2.0-39-generic #62-Ubuntu kernel.
I have 2 servers and both randomly crash in the same way so I ruled out a hardware issue.
Our whole call processing is done in LUA but the crash occurs with no call in progress.
I know it's not a lot to work with but if you have pointers on how to get more information about what happens I'd be happy to try it out.
-- Antoine Reversat Fibrenoire - www.fibrenoire.ca A: 550 ave Beaumont, suite 320, Montreal, Qc, H3N 1V1 T: 514 907-3002 x132 antoine@fibrenoire.ca <jf@fibrenoire.ca>
_________________________________________________________________________ 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
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
-- Anthony Minessale II
FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire
AIM: anthm MSN:anthony_minessale@hotmail.com GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com IRC: irc.freenode.net #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org googletalk:conf+888@conference.freeswitch.org pstn:+19193869900
_________________________________________________________________________ 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
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
-- Antoine Reversat Fibrenoire - www.fibrenoire.ca A: 550 ave Beaumont, suite 320, Montreal, Qc, H3N 1V1 T: 514 907-3002 x132 antoine@fibrenoire.ca <jf@fibrenoire.ca>
_________________________________________________________________________ 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
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
Please collect a backtrace and file a jira on this. Thanks Mike On Apr 25, 2013, at 10:23 AM, Antoine Reversat <antoine@fibrenoire.ca> wrote:
Doing what you told me yielded an interesting result.
Freeswitch crashed with this :
freeswitch: pthread_mutex_lock.c:62: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed.
Should I run freeswitch in gdb to get why this happens ?
On Tue, Apr 23, 2013 at 11:16 AM, Anthony Minessale <anthony.minessale@gmail.com> wrote: See if maybe one of your scripts is calling the exit syscall. This can terminate the whole process. Run FS in a unix screen session and run it from the console so you can see what happens in the stdout.
On Tue, Apr 23, 2013 at 9:17 AM, Antoine Reversat <antoine@fibrenoire.ca> wrote: Hi,
I have a weird issue where once in a while (apparently randomly) freeswitch crashes silently (that is I don't see any mention of freeswitch having sgfaulted in the output of dmesg and the logs aren't helpgul either).
The version of freeswitch is the latest 1.2 stable branch from git packaged by myself for ubuntu.
The OS is Ubuntu 12.04 with the latest 3.2.0-39-generic #62-Ubuntu kernel.
I have 2 servers and both randomly crash in the same way so I ruled out a hardware issue.
Our whole call processing is done in LUA but the crash occurs with no call in progress.
I know it's not a lot to work with but if you have pointers on how to get more information about what happens I'd be happy to try it out.
You should have core dumping enable for freeswitch, then get a backtrace... See http://wiki.freeswitch.org/wiki/Debugging_Freeswitch On 4/25/13 9:23 AM, "Antoine Reversat" <antoine@fibrenoire.ca> wrote:
Doing what you told me yielded an interesting result.
Freeswitch crashed with this :
freeswitch: pthread_mutex_lock.c:62: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed.
Should I run freeswitch in gdb to get why this happens ?
On Tue, Apr 23, 2013 at 11:16 AM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
See if maybe one of your scripts is calling the exit syscall. This can terminate the whole process. Run FS in a unix screen session and run it from the console so you can see what happens in the stdout.
On Tue, Apr 23, 2013 at 9:17 AM, Antoine Reversat <antoine@fibrenoire.ca> wrote:
Hi,
I have a weird issue where once in a while (apparently randomly) freeswitch crashes silently (that is I don't see any mention of freeswitch having sgfaulted in the output of dmesg and the logs aren't helpgul either).
The version of freeswitch is the latest 1.2 stable branch from git packaged by myself for ubuntu.
The OS is Ubuntu 12.04 with the latest 3.2.0-39-generic #62-Ubuntu kernel.
I have 2 servers and both randomly crash in the same way so I ruled out a hardware issue.
Our whole call processing is done in LUA but the crash occurs with no call in progress.
I know it's not a lot to work with but if you have pointers on how to get more information about what happens I'd be happy to try it out.
-- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch
Ok so this would have dumped a core if I had set up my environnment properly ? On Thu, Apr 25, 2013 at 10:40 AM, Ken Rice <krice@freeswitch.org> wrote:
You should have core dumping enable for freeswitch, then get a backtrace...
See http://wiki.freeswitch.org/wiki/Debugging_Freeswitch
On 4/25/13 9:23 AM, "Antoine Reversat" <antoine@fibrenoire.ca> wrote:
Doing what you told me yielded an interesting result.
Freeswitch crashed with this :
freeswitch: pthread_mutex_lock.c:62: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed.
Should I run freeswitch in gdb to get why this happens ?
On Tue, Apr 23, 2013 at 11:16 AM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
See if maybe one of your scripts is calling the exit syscall. This can terminate the whole process. Run FS in a unix screen session and run it from the console so you can see what happens in the stdout.
On Tue, Apr 23, 2013 at 9:17 AM, Antoine Reversat <antoine@fibrenoire.ca> wrote:
Hi,
I have a weird issue where once in a while (apparently randomly) freeswitch crashes silently (that is I don't see any mention of freeswitch having sgfaulted in the output of dmesg and the logs aren't helpgul either).
The version of freeswitch is the latest 1.2 stable branch from git packaged by myself for ubuntu.
The OS is Ubuntu 12.04 with the latest 3.2.0-39-generic #62-Ubuntu kernel.
I have 2 servers and both randomly crash in the same way so I ruled out a hardware issue.
Our whole call processing is done in LUA but the crash occurs with no call in progress.
I know it's not a lot to work with but if you have pointers on how to get more information about what happens I'd be happy to try it out.
-- Ken *http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org *irc.freenode.net #freeswitch
_________________________________________________________________________ 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
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
-- Antoine Reversat Fibrenoire - www.fibrenoire.ca A: 550 ave Beaumont, suite 320, Montreal, Qc, H3N 1V1 T: 514 907-3002 x132 antoine@fibrenoire.ca <jf@fibrenoire.ca>
It should, If you are running as a non-root user on linux there is a sysctl that should be referenced on the wiki (I can never remember it off the top of my head) you will need to set properly for the non-root user to dump the core file. Look at the sysctl kernel.core_pattern for the pattern of the file name used. K On 4/25/13 9:43 AM, "Antoine Reversat" <antoine@fibrenoire.ca> wrote:
Ok so this would have dumped a core if I had set up my environnment properly ?
On Thu, Apr 25, 2013 at 10:40 AM, Ken Rice <krice@freeswitch.org> wrote:
You should have core dumping enable for freeswitch, then get a backtrace...
See http://wiki.freeswitch.org/wiki/Debugging_Freeswitch
On 4/25/13 9:23 AM, "Antoine Reversat" <antoine@fibrenoire.ca <http://antoine@fibrenoire.ca> > wrote:
Doing what you told me yielded an interesting result.
Freeswitch crashed with this :
freeswitch: pthread_mutex_lock.c:62: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed.
Should I run freeswitch in gdb to get why this happens ?
On Tue, Apr 23, 2013 at 11:16 AM, Anthony Minessale <anthony.minessale@gmail.com <http://anthony.minessale@gmail.com> > wrote:
See if maybe one of your scripts is calling the exit syscall. This can terminate the whole process. Run FS in a unix screen session and run it from the console so you can see what happens in the stdout.
On Tue, Apr 23, 2013 at 9:17 AM, Antoine Reversat <antoine@fibrenoire.ca <http://antoine@fibrenoire.ca> > wrote:
Hi,
I have a weird issue where once in a while (apparently randomly) freeswitch crashes silently (that is I don't see any mention of freeswitch having sgfaulted in the output of dmesg and the logs aren't helpgul either).
The version of freeswitch is the latest 1.2 stable branch from git packaged by myself for ubuntu.
The OS is Ubuntu 12.04 with the latest 3.2.0-39-generic #62-Ubuntu kernel.
I have 2 servers and both randomly crash in the same way so I ruled out a hardware issue.
Our whole call processing is done in LUA but the crash occurs with no call in progress.
I know it's not a lot to work with but if you have pointers on how to get more information about what happens I'd be happy to try it out.
-- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch
echo 1 >/proc/sys/fs/suid_dumpable for any process like that -- I got bit by that for quite a while. Ken Rice <krice@freeswitch.org> wrote:
It should,
If you are running as a non-root user on linux there is a sysctl that should be referenced on the wiki (I can never remember it off the top of my head) you will need to set properly for the non-root user to dump the core file.
Look at the sysctl kernel.core_pattern for the pattern of the file name used.
K
On 4/25/13 9:43 AM, "Antoine Reversat" <antoine@fibrenoire.ca> wrote:
Ok so this would have dumped a core if I had set up my environnment properly ?
On Thu, Apr 25, 2013 at 10:40 AM, Ken Rice <krice@freeswitch.org> wrote:
You should have core dumping enable for freeswitch, then get a backtrace...
See http://wiki.freeswitch.org/wiki/Debugging_Freeswitch
On 4/25/13 9:23 AM, "Antoine Reversat" <antoine@fibrenoire.ca <http://antoine@fibrenoire.ca> > wrote:
Doing what you told me yielded an interesting result.
Freeswitch crashed with this :
freeswitch: pthread_mutex_lock.c:62: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed.
Should I run freeswitch in gdb to get why this happens ?
On Tue, Apr 23, 2013 at 11:16 AM, Anthony Minessale <anthony.minessale@gmail.com <http://anthony.minessale@gmail.com> > wrote:
See if maybe one of your scripts is calling the exit syscall. This can terminate the whole process. Run FS in a unix screen session and run it from the console so you can see what happens in the stdout.
On Tue, Apr 23, 2013 at 9:17 AM, Antoine Reversat <antoine@fibrenoire.ca <http://antoine@fibrenoire.ca> > wrote:
Hi,
I have a weird issue where once in a while (apparently randomly) freeswitch crashes silently (that is I don't see any mention of freeswitch having sgfaulted in the output of dmesg and the logs aren't helpgul either).
The version of freeswitch is the latest 1.2 stable branch from git packaged by myself for ubuntu.
The OS is Ubuntu 12.04 with the latest 3.2.0-39-generic #62-Ubuntu kernel.
I have 2 servers and both randomly crash in the same way so I ruled out a hardware issue.
Our whole call processing is done in LUA but the crash occurs with no call in progress.
I know it's not a lot to work with but if you have pointers on how to get more information about what happens I'd be happy to try it out.
-- Ken http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org irc.freenode.net #freeswitch
---------------------------------------------------- Alternatives:
---------------------------------------------------- _________________________________________________________________________ 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
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
-- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici covici@ccs.covici.com
it would be better to continue this discussion on the jira that you open(ed). -MC On Thu, Apr 25, 2013 at 7:43 AM, Antoine Reversat <antoine@fibrenoire.ca>wrote:
Ok so this would have dumped a core if I had set up my environnment properly ?
On Thu, Apr 25, 2013 at 10:40 AM, Ken Rice <krice@freeswitch.org> wrote:
You should have core dumping enable for freeswitch, then get a backtrace...
See http://wiki.freeswitch.org/wiki/Debugging_Freeswitch
On 4/25/13 9:23 AM, "Antoine Reversat" <antoine@fibrenoire.ca> wrote:
Doing what you told me yielded an interesting result.
Freeswitch crashed with this :
freeswitch: pthread_mutex_lock.c:62: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed.
Should I run freeswitch in gdb to get why this happens ?
On Tue, Apr 23, 2013 at 11:16 AM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
See if maybe one of your scripts is calling the exit syscall. This can terminate the whole process. Run FS in a unix screen session and run it from the console so you can see what happens in the stdout.
On Tue, Apr 23, 2013 at 9:17 AM, Antoine Reversat <antoine@fibrenoire.ca> wrote:
Hi,
I have a weird issue where once in a while (apparently randomly) freeswitch crashes silently (that is I don't see any mention of freeswitch having sgfaulted in the output of dmesg and the logs aren't helpgul either).
The version of freeswitch is the latest 1.2 stable branch from git packaged by myself for ubuntu.
The OS is Ubuntu 12.04 with the latest 3.2.0-39-generic #62-Ubuntu kernel.
I have 2 servers and both randomly crash in the same way so I ruled out a hardware issue.
Our whole call processing is done in LUA but the crash occurs with no call in progress.
I know it's not a lot to work with but if you have pointers on how to get more information about what happens I'd be happy to try it out.
-- Ken *http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org *irc.freenode.net #freeswitch
_________________________________________________________________________ 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
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
-- Antoine Reversat Fibrenoire - www.fibrenoire.ca A: 550 ave Beaumont, suite 320, Montreal, Qc, H3N 1V1 T: 514 907-3002 x132 antoine@fibrenoire.ca <jf@fibrenoire.ca>
_________________________________________________________________________ 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
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
-- Michael S Collins Twitter: @mercutioviz http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org
I just made sur the core dumping would work using fsctl crash, I will open a jira as soon as it happens again and I get a core dump. Antoine On Thu, Apr 25, 2013 at 1:10 PM, Michael Collins <msc@freeswitch.org> wrote:
it would be better to continue this discussion on the jira that you open(ed). -MC
On Thu, Apr 25, 2013 at 7:43 AM, Antoine Reversat <antoine@fibrenoire.ca>wrote:
Ok so this would have dumped a core if I had set up my environnment properly ?
On Thu, Apr 25, 2013 at 10:40 AM, Ken Rice <krice@freeswitch.org> wrote:
You should have core dumping enable for freeswitch, then get a backtrace...
See http://wiki.freeswitch.org/wiki/Debugging_Freeswitch
On 4/25/13 9:23 AM, "Antoine Reversat" <antoine@fibrenoire.ca> wrote:
Doing what you told me yielded an interesting result.
Freeswitch crashed with this :
freeswitch: pthread_mutex_lock.c:62: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed.
Should I run freeswitch in gdb to get why this happens ?
On Tue, Apr 23, 2013 at 11:16 AM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
See if maybe one of your scripts is calling the exit syscall. This can terminate the whole process. Run FS in a unix screen session and run it from the console so you can see what happens in the stdout.
On Tue, Apr 23, 2013 at 9:17 AM, Antoine Reversat <antoine@fibrenoire.ca> wrote:
Hi,
I have a weird issue where once in a while (apparently randomly) freeswitch crashes silently (that is I don't see any mention of freeswitch having sgfaulted in the output of dmesg and the logs aren't helpgul either).
The version of freeswitch is the latest 1.2 stable branch from git packaged by myself for ubuntu.
The OS is Ubuntu 12.04 with the latest 3.2.0-39-generic #62-Ubuntu kernel.
I have 2 servers and both randomly crash in the same way so I ruled out a hardware issue.
Our whole call processing is done in LUA but the crash occurs with no call in progress.
I know it's not a lot to work with but if you have pointers on how to get more information about what happens I'd be happy to try it out.
-- Ken *http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org *irc.freenode.net #freeswitch
_________________________________________________________________________ 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
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
-- Antoine Reversat Fibrenoire - www.fibrenoire.ca A: 550 ave Beaumont, suite 320, Montreal, Qc, H3N 1V1 T: 514 907-3002 x132 antoine@fibrenoire.ca <jf@fibrenoire.ca>
_________________________________________________________________________ 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
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
-- Michael S Collins Twitter: @mercutioviz
http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.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
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
-- Antoine Reversat Fibrenoire - www.fibrenoire.ca A: 550 ave Beaumont, suite 320, Montreal, Qc, H3N 1V1 T: 514 907-3002 x132 antoine@fibrenoire.ca <jf@fibrenoire.ca>
I think the coredump request was for this crash: freeswitch: pthread_mutex_lock.c:62: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed. Which sounds independant of the silent crash. Dmesg will always show either a segfault/general protection message. It's a ring buffer so the oldest entries will disappear so you can also check /var/log/messages.log. It'll always show a *crash* - it won't crash silently if it is indeed a crash. It won't show a program exiting normally though (eg a script calling exit) and for normally exiting programs you won't get a coredump. -Steve On 25 April 2013 18:40, Antoine Reversat <antoine@fibrenoire.ca> wrote:
I just made sur the core dumping would work using fsctl crash, I will open a jira as soon as it happens again and I get a core dump.
Antoine
On Thu, Apr 25, 2013 at 1:10 PM, Michael Collins <msc@freeswitch.org>wrote:
it would be better to continue this discussion on the jira that you open(ed). -MC
On Thu, Apr 25, 2013 at 7:43 AM, Antoine Reversat <antoine@fibrenoire.ca>wrote:
Ok so this would have dumped a core if I had set up my environnment properly ?
On Thu, Apr 25, 2013 at 10:40 AM, Ken Rice <krice@freeswitch.org> wrote:
You should have core dumping enable for freeswitch, then get a backtrace...
See http://wiki.freeswitch.org/wiki/Debugging_Freeswitch
On 4/25/13 9:23 AM, "Antoine Reversat" <antoine@fibrenoire.ca> wrote:
Doing what you told me yielded an interesting result.
Freeswitch crashed with this :
freeswitch: pthread_mutex_lock.c:62: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed.
Should I run freeswitch in gdb to get why this happens ?
On Tue, Apr 23, 2013 at 11:16 AM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
See if maybe one of your scripts is calling the exit syscall. This can terminate the whole process. Run FS in a unix screen session and run it from the console so you can see what happens in the stdout.
On Tue, Apr 23, 2013 at 9:17 AM, Antoine Reversat < antoine@fibrenoire.ca> wrote:
Hi,
I have a weird issue where once in a while (apparently randomly) freeswitch crashes silently (that is I don't see any mention of freeswitch having sgfaulted in the output of dmesg and the logs aren't helpgul either).
The version of freeswitch is the latest 1.2 stable branch from git packaged by myself for ubuntu.
The OS is Ubuntu 12.04 with the latest 3.2.0-39-generic #62-Ubuntu kernel.
I have 2 servers and both randomly crash in the same way so I ruled out a hardware issue.
Our whole call processing is done in LUA but the crash occurs with no call in progress.
I know it's not a lot to work with but if you have pointers on how to get more information about what happens I'd be happy to try it out.
-- Ken *http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org *irc.freenode.net #freeswitch
_________________________________________________________________________ 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
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
-- Antoine Reversat Fibrenoire - www.fibrenoire.ca A: 550 ave Beaumont, suite 320, Montreal, Qc, H3N 1V1 T: 514 907-3002 x132 antoine@fibrenoire.ca <jf@fibrenoire.ca>
_________________________________________________________________________ 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
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
-- Michael S Collins Twitter: @mercutioviz
http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.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
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
-- Antoine Reversat Fibrenoire - www.fibrenoire.ca A: 550 ave Beaumont, suite 320, Montreal, Qc, H3N 1V1 T: 514 907-3002 x132 antoine@fibrenoire.ca <jf@fibrenoire.ca>
_________________________________________________________________________ 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
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
Well apparently not : my dmesg doesn't show anything for this crash "freeswitch: pthread_mutex_lock.c:62: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed." or for the fsctl crash tests that I ran. On Thu, Apr 25, 2013 at 2:05 PM, Steven Ayre <steveayre@gmail.com> wrote:
I think the coredump request was for this crash: freeswitch: pthread_mutex_lock.c:62: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed. Which sounds independant of the silent crash.
Dmesg will always show either a segfault/general protection message. It's a ring buffer so the oldest entries will disappear so you can also check /var/log/messages.log. It'll always show a *crash* - it won't crash silently if it is indeed a crash. It won't show a program exiting normally though (eg a script calling exit) and for normally exiting programs you won't get a coredump.
-Steve
On 25 April 2013 18:40, Antoine Reversat <antoine@fibrenoire.ca> wrote:
I just made sur the core dumping would work using fsctl crash, I will open a jira as soon as it happens again and I get a core dump.
Antoine
On Thu, Apr 25, 2013 at 1:10 PM, Michael Collins <msc@freeswitch.org>wrote:
it would be better to continue this discussion on the jira that you open(ed). -MC
On Thu, Apr 25, 2013 at 7:43 AM, Antoine Reversat <antoine@fibrenoire.ca
wrote:
Ok so this would have dumped a core if I had set up my environnment properly ?
On Thu, Apr 25, 2013 at 10:40 AM, Ken Rice <krice@freeswitch.org>wrote:
You should have core dumping enable for freeswitch, then get a backtrace...
See http://wiki.freeswitch.org/wiki/Debugging_Freeswitch
On 4/25/13 9:23 AM, "Antoine Reversat" <antoine@fibrenoire.ca> wrote:
Doing what you told me yielded an interesting result.
Freeswitch crashed with this :
freeswitch: pthread_mutex_lock.c:62: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed.
Should I run freeswitch in gdb to get why this happens ?
On Tue, Apr 23, 2013 at 11:16 AM, Anthony Minessale < anthony.minessale@gmail.com> wrote:
See if maybe one of your scripts is calling the exit syscall. This can terminate the whole process. Run FS in a unix screen session and run it from the console so you can see what happens in the stdout.
On Tue, Apr 23, 2013 at 9:17 AM, Antoine Reversat < antoine@fibrenoire.ca> wrote:
Hi,
I have a weird issue where once in a while (apparently randomly) freeswitch crashes silently (that is I don't see any mention of freeswitch having sgfaulted in the output of dmesg and the logs aren't helpgul either).
The version of freeswitch is the latest 1.2 stable branch from git packaged by myself for ubuntu.
The OS is Ubuntu 12.04 with the latest 3.2.0-39-generic #62-Ubuntu kernel.
I have 2 servers and both randomly crash in the same way so I ruled out a hardware issue.
Our whole call processing is done in LUA but the crash occurs with no call in progress.
I know it's not a lot to work with but if you have pointers on how to get more information about what happens I'd be happy to try it out.
-- Ken *http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.org *irc.freenode.net #freeswitch
_________________________________________________________________________ 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
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
-- Antoine Reversat Fibrenoire - www.fibrenoire.ca A: 550 ave Beaumont, suite 320, Montreal, Qc, H3N 1V1 T: 514 907-3002 x132 antoine@fibrenoire.ca <jf@fibrenoire.ca>
_________________________________________________________________________ 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
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
-- Michael S Collins Twitter: @mercutioviz
http://www.FreeSWITCH.org http://www.ClueCon.com http://www.OSTAG.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
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
-- Antoine Reversat Fibrenoire - www.fibrenoire.ca A: 550 ave Beaumont, suite 320, Montreal, Qc, H3N 1V1 T: 514 907-3002 x132 antoine@fibrenoire.ca <jf@fibrenoire.ca>
_________________________________________________________________________ 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
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
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
-- Antoine Reversat Fibrenoire - www.fibrenoire.ca A: 550 ave Beaumont, suite 320, Montreal, Qc, H3N 1V1 T: 514 907-3002 x132 antoine@fibrenoire.ca <jf@fibrenoire.ca>
participants (8)
-
Anthony Minessale
-
Antoine Reversat
-
covici@ccs.covici.com
-
João Mesquita
-
Ken Rice
-
Michael Collins
-
Michael Jerris
-
Steven Ayre