[asterisk-users] Asterisk Restarting due to segfault
Sanjay Rajdev
sanjay.rajdev at featherstoneinformatics.com
Thu May 8 08:49:06 CDT 2008
I had a problem in the dictate app, which I have fixed. Thanks for the help.
By the way here is a description of what was happening.
app_dictate does not close the file descriptor after the call hangs or a new dictation starts, as and when the dictation increased the count of open file descriptor increased and forced the asterisk process to reach the limit of allowed maximum number of open file descriptor.
S o I added ast_closestream(fs), where ever I thought it was necessary and at the end I checked for
if(fs){
ast_closestream(fs) ;
}
this line was causing the problem, in case the file descriptor was already closed it was still going into the if and trying to close a closed descriptor.
I have made change to set fs = NULL everywhere after ast_closestream(fs)
I am not a developer for Asterisk and even cannot make changes in the SVN as I do not know lot about the branches in it, but if someone from your side can take the effort to change this It would be great help for others.
Regards,
Sanjay Rajdev
----- Original Message -----
From: "Russell Bryant" <russell at digium.com>
To: "Asterisk Users Mailing List - Non-Commercial Discussion" <asterisk-users at lists.digium.com>
Sent: Thursday, May 8, 2008 8:36:14 AM GMT +05:30 Chennai, Kolkata, Mumbai, New Delhi
Subject: Re: [asterisk-users] Asterisk Restarting due to segfault
Sanjay Rajdev wrote:
> I have Asterisk 1.4.15 installed on a Fedora Core 8 machine. Asterisk is
<snip>
> In the dialplan we have used MixMonitor() to record the calls.
>
> Can anyone help me on getting to the root of the problem or fixing it?
We have fixed a _lot_ of issues in that area of the code since 1.4.15. I would
suggest trying the latest version. If it still gives you trouble, please let us
know on http://bugs.digium.com so that we can fix it up for you.
Thanks,
--
Russell Bryant
Senior Software Engineer
Open Source Team Lead
Digium, Inc.
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080508/c7394d2c/attachment.htm
More information about the asterisk-users
mailing list