[asterisk-bugs] [Asterisk 0017564]: Asterisk "locks up" the system when an external process is called from the 'h' extension with a lower priority than Asterisk.

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jun 30 04:28:51 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17564 
====================================================================== 
Reported By:                ramonpeek
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17564
Category:                   Resources/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.33 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-06-29 05:47 CDT
Last Modified:              2010-06-30 04:28 CDT
====================================================================== 
Summary:                    Asterisk "locks up" the system when an external
process is called from the 'h' extension with a lower priority than Asterisk.
Description: 
We noticed that Asterisk "locks up" the system when an external process is
called from the 'h' extension with a lower priority than Asterisk.
This issue is a follow up on issue:
https://issues.asterisk.org/view.php?id=16349

See Additional Information Field for more info....
====================================================================== 

---------------------------------------------------------------------- 
 (0124073) ramonpeek (reporter) - 2010-06-30 04:28
 https://issues.asterisk.org/view.php?id=17564#c124073 
---------------------------------------------------------------------- 
Good news!

We've found the culprit!!
In asterisk 1.4.22 changes made to autoservice.c  [r122713] cause this
behavior.
If I revert this change the problem completely disappears!

Change listen in changelog:
2008-06-13 21:44 +0000 [r122713]  Mark Michelson <mmichelson at digium.com>
 

* main/autoservice.c: Short circuit the loop in autoservice_run if there
are no channels to poll. If we continued, then the result would be calling
poll() with a NULL pollfd array. While this is fine with POSIX's poll(2)
system call, those who use Asterisk's internal poll mechanism (Darwin
systems) would have a failed assertion occur when poll is called. (related
to issue https://issues.asterisk.org/view.php?id=10342) 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-06-30 04:28 ramonpeek      Note Added: 0124073                          
======================================================================




More information about the asterisk-bugs mailing list