[asterisk-bugs] [Asterisk 0010202]: idle console disconnects

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Apr 16 15:30:05 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10202 
====================================================================== 
Reported By:                bferell
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10202
Category:                   Core-General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.7.1  
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        No 
Request Review:              
====================================================================== 
Date Submitted:             07-13-2007 16:27 CDT
Last Modified:              04-16-2008 15:30 CDT
====================================================================== 
Summary:                    idle console disconnects
Description: 
Asterisk 1.4.7.1  on Mac OSX 10.4

No other entries in the logs
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0010881 Asterisk 1.4 console repeatedly showing...
====================================================================== 

---------------------------------------------------------------------- 
 putnopvut - 04-16-08 15:30  
---------------------------------------------------------------------- 
One big difference between 1.2 and 1.4 with regards to Mac OSX and the
build system was that in 1.2, a Darwin system would not use the poll(2)
system call but would instead use a version in the Asterisk source which
actually used select(2) to determine ready file descriptors.

When the 1.4 build system changed to create a main/ directory, the logic
for which version of poll to compile moved to that directory's Makefile.
The result of this appeared to be that two different versions of poll()
would be compiled, and depending on which file poll() was called from, one
or the other version would be used. This is bad.

I have written a patch which will revert 1.4 to properly using the version
of poll() in the Asterisk source for darwin systems. I have a feeling that
this could be the cause behind issues http://bugs.digium.com/view.php?id=10202
and http://bugs.digium.com/view.php?id=10342, so I am posting
the patches on both bugs.

Please test Makefile.patch and report if its use has solved the problem
reported. Thank you very much! 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-16-08 15:30  putnopvut      Note Added: 0085581                          
======================================================================




More information about the asterisk-bugs mailing list