[Freeswitch-users] Freeswitch silent crash

Antoine Reversat antoine at fibrenoire.ca
Thu Apr 25 18:43:59 MSD 2013


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 at 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 at 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 at 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 at 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 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
>
>


-- 
Antoine Reversat
Fibrenoire - www.fibrenoire.ca
A: 550 ave Beaumont, suite 320, Montreal, Qc, H3N 1V1
T: 514 907-3002 x132
antoine at fibrenoire.ca <jf at fibrenoire.ca>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130425/797cfa1a/attachment.html 


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