[asterisk-bugs] [Asterisk 0017278]: tcptls.c:254 ast_tcptls_server_root: Accept failed: Bad file descriptor

Asterisk Bug Tracker noreply at bugs.digium.com
Mon May 3 13:50:27 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17278 
====================================================================== 
Reported By:                RamShadow
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17278
Category:                   Channels/chan_sip/TCP-TLS
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           Addons-1.6.2.1 
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-05-03 13:39 CDT
Last Modified:              2010-05-03 13:50 CDT
====================================================================== 
Summary:                    tcptls.c:254 ast_tcptls_server_root: Accept failed:
Bad file descriptor
Description: 
I use Asterisk 1.6.2.6-1 on Debian Squeeze from the repository.

On my old server i have the bug after the last aptitude upgrade.

So i have installed a new server.

On a new installation out of the box i have in the asterisk -r console
between 5-30 seconds after start messages like:

[May  3 20:26:48] WARNING[3189]: tcptls.c:254 ast_tcptls_server_root:
Accept failed: Bad file descriptor

ca. 100 per second.

on ctrl^c asterisk crashes in 2 of 5 times with 

dmesg:
test1:
[  692.462845] asterisk[2402]: segfault at b71c9ff8 ip b7570dce sp
b71c9ffc error 6 in libc-2.10.2.so[b7507000+141000]
test2:
[ 1800.410405] asterisk[2827]: segfault at b71f1ff8 ip b7598dce sp
b71f1ffc error 6 in libc-2.10.2.so[b752f000+141000]

in asterisk messages log i find this :

[May  3 20:29:43] WARNING[3189] tcptls.c: Accept failed: Bad file
descriptor

====================================================================== 

---------------------------------------------------------------------- 
 (0121302) pabelanger (manager) - 2010-05-03 13:50
 https://issues.asterisk.org/view.php?id=17278#c121302 
---------------------------------------------------------------------- 
If you use the same version from http://www.asterisk.org/downloads is there
a problem?  We cannot support a build from a Debian repo. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-05-03 13:50 pabelanger     Note Added: 0121302                          
======================================================================




More information about the asterisk-bugs mailing list