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

Asterisk Bug Tracker noreply at bugs.digium.com
Sat May 15 18:56:39 CDT 2010


The following issue has been UPDATED. 
====================================================================== 
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:                     closed
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:              
Resolution:                 suspended
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-05-03 13:39 CDT
Last Modified:              2010-05-15 18:56 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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-05-15 18:56 pabelanger     Resolution               open => suspended   
======================================================================




More information about the asterisk-bugs mailing list